Function at 0x4a5250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
push ebx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x3c], ebx
mov edx, dword [ebx + 4]
mov esi, dword [ebx + 8]
mov dword [esp + 0x20], edx
cmp dword [edx + 0x58], 0
je 0x4a527c
call fcn.004a4ae0
jmp 0x4a59cb
mov edi, dword [ebx]
mov ebx, edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], edx
nop dword [eax + eax]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x4a56b9
cmp eax, str.first_value
je 0x4a56b9
cmp eax, str.lead
je 0x4a52c2
cmp eax, 0x4e1d04
jne 0x4a59b8
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0x14]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x3c]
dec dword [edi + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x30], eax
mov al, byte [edi + 0x13]
mov dword [esp + 0x38], ecx
test al, al
jne 0x4a52ee
inc dword [edi + 0x2c]
mov eax, dword [edi + 0x2c]
jmp 0x4a52fd
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov eax, dword [edi + eax*4 + 0x98]
mov dword [esp + 0x18], eax
cmp ecx, 3
mov eax, dword [edx + 0x30]
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x2c], eax
jge 0x4a5362
cmp dword [esi + 0x78], ecx
jg 0x4a5335
push 0
push eax
push 0
mov edx, 0x49
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a53b7
mov edx, dword [esp + 0x2c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
jmp 0x4a53af
mov edx, dword [ebx + 0x50]
add edx, 2
cmp dword [esi + 0x78], ecx
jg 0x4a5384
push eax
push edx
push dword [esp + 0x2c]
mov edx, 0x5c
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a53b7
mov edi, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4a53df
mov edx, dword [esp + 0x18]
mov ecx, esi
push 0
push edx
push dword [esp + 0x2c]
mov edx, 0x85
call fcn.0042a9a0
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4a5412
mov edx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [eax + 0x20]
xor eax, eax
cmp dword [esp + 0x38], 2
jge 0x4a5496
cmp ecx, str.lead
mov ecx, dword [esi + 0x74]
sete al
lea eax, [eax*2 - 1]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x4a545a
push 0
push eax
push edx
mov edx, 0x54
mov ecx, esi
call fcn.0042a9a0
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4a55aa
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4], 0x54
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4a55aa
cmp ecx, str.lead
setne al
add eax, 0x6a
mov dword [esp + 0x34], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x4a54b5
inc dword [edi + 0x2c]
mov edx, dword [edi + 0x2c]
jmp 0x4a54c4
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov edx, dword [edi + eax*4 + 0x98]
mov eax, dword [ebx + 0x50]
mov ecx, dword [esi + 0x74]
inc eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x4a54f3
push edx
push eax
push dword [esp + 0x2c]
mov edx, 0x5c
mov ecx, esi
call fcn.0042a9a0
mov edx, dword [esp + 0x38]
add esp, 0xc
jmp 0x4a5526
mov ebx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4a5549
mov eax, dword [esp + 0x18]
mov ecx, esi
push eax
push eax
push edx
mov edx, dword [esp + 0x40]
call fcn.0042a9a0
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4a557f
mov ebx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov byte [eax + ecx*4], bl
xor ebx, ebx
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov word [eax + ecx*4 + 2], bx
mov dword [eax + ecx*4 + 0x10], ebx
mov byte [eax + ecx*4 + 1], bl
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], edx
mov ecx, dword [esp + 0x2c]
lea eax, [ebx + 0x50]
mov dword [esp + 0x24], eax
test ecx, ecx
je 0x4a55b1
mov edx, dword [esp + 0x18]
mov dword [esp + 0x24], eax
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4a55b1
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
lea eax, [ebx + 0x50]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4a55d3
push edx
push dword [esp + 0x34]
mov edx, 0x20
mov ecx, esi
push dword [esp + 0x30]
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a5606
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x24]
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0x38]
mov eax, dword [eax]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x4a5632
push edx
push eax
push dword [esp + 0x30]
mov edx, 0x5c
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a5665
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a5683
push edx
mov edx, esi
call fcn.0042b160
add esp, 4
jmp 0x4a568c
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
test ecx, ecx
je 0x4a59b8
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4a59b8
movzx eax, al
mov dword [edi + eax*4 + 0x98], ecx
inc byte [edi + 0x13]
jmp 0x4a59b8
mov eax, dword [ebx + 0x3c]
dec dword [edi + 0x38]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 0x38]
mov dword [esp + 0x30], eax
mov al, byte [edi + 0x13]
test al, al
jne 0x4a56d9
inc dword [edi + 0x2c]
mov ebx, dword [edi + 0x2c]
jmp 0x4a56e8
dec al
mov byte [edi + 0x13], al
movzx eax, al
mov ebx, dword [edi + eax*4 + 0x98]
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
mov eax, dword [edx + 0x38]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x4a5715
push 0
push eax
push 0
mov edx, 0x49
mov ecx, esi
call fcn.0042a9a0
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4a574c
mov edi, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x74]
cmp dword [eax + 0x20], 0x4e21dc
jne 0x4a57d4
mov eax, dword [esp + 0x20]
mov edx, dword [edx + 0x50]
inc edx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x4a5795
push ebx
push edx
push eax
mov edx, 0x5c
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
mov edx, ebx
mov ecx, edi
push 2
call fcn.004a3a60
add esp, 4
jmp 0x4a581e
mov edi, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
push 2
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, ebx
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, edi
call fcn.004a3a60
add esp, 4
jmp 0x4a581e
cmp dword [esi + 0x78], ecx
jg 0x4a57ef
push 0
push ebx
push 1
mov edx, 0x46
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a581e
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 0x40]
cmp dword [esi + 0x78], ecx
jg 0x4a5841
push ebx
push edx
push ebx
mov edx, 0x6a
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a586c
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x6a
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 0x40]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x4a5893
push ebx
push dword [esp + 0x34]
mov ecx, esi
push edx
mov edx, 0x36
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a58c2
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x36
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4a58e2
push ebx
push 0
push dword [esp + 0x30]
mov edx, 0x20
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a5911
mov edx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4], 0x20
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 0x38]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x38], eax
cmp dword [esi + 0x78], ecx
jg 0x4a593e
push edx
push eax
push dword [esp + 0x30]
mov edx, 0x5c
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a5971
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x5c
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x30]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4a598f
push edx
mov edx, esi
call fcn.0042b160
add esp, 4
jmp 0x4a5998
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x74]
mov dword [ecx + edx*4], eax
mov edx, dword [esp + 0x20]
test ebx, ebx
je 0x4a59b4
mov al, byte [edi + 0x13]
cmp al, 8
jae 0x4a59b4
movzx eax, al
mov dword [edi + eax*4 + 0x98], ebx
inc byte [edi + 0x13]
mov ebx, dword [esp + 0x14]
mov ebx, dword [ebx + 0x24]
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x4a5290
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esi + 0x74]
mov edx, dword [ebx + 0xc]
mov edi, dword [ebx + 0x10]
cmp dword [esi + 0x78], ecx
jg 0x4a59f3
push 0
push edx
push edi
mov edx, 0xc
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x70]
mov dword [eax + ecx*4 + 4], edi
pop edi
pop esi
mov dword [eax + ecx*4], 0xc
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop ebx
mov esp, ebp
pop ebp
ret