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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [edx + 0x20]
push ebx
mov ebx, ecx
push esi
mov eax, dword [eax + 0x1c]
push edi
mov esi, dword [ebx + 8]
mov edi, dword [edx + 0x44]
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x10], ebx
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
test esi, esi
jne 0x4a34b7
cmp dword [ebx + 0x74], esi
jne 0x4a34ac
mov eax, dword [ebx]
test byte [eax + 0x4c], 8
jne 0x4a34ac
mov byte [ebx + 0x17], 1
call fcn.0042a700
mov esi, eax
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 0x30]
mov dword [esp + 0x14], ecx
lea edx, [esi + 0x70]
mov ecx, dword [ecx]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0xc], edx
cmp dword [esi + 0x78], ecx
jg 0x4a34ee
push 0
push eax
push dword [esp + 0x20]
mov edx, 0x73
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
lea edx, [esi + 0x70]
jmp 0x4a3528
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [esp + 0xc], edx
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x73
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea ecx, [eax + 1]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4a355d
push 0
push eax
push dword [esp + 0x24]
mov edx, 0x70
mov ecx, esi
call fcn.0042a9a0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4a3593
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea ecx, [eax + 2]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4a35c8
push 0
push eax
push dword [esp + 0x24]
mov edx, 0x70
mov ecx, esi
call fcn.0042a9a0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4a35fe
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
lea ecx, [eax + 3]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x74]
cmp dword [esi + 0x78], ecx
jg 0x4a3633
push 0
push eax
push dword [esp + 0x24]
mov edx, 0x70
mov ecx, esi
call fcn.0042a9a0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4a3669
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x4a36dd
mov eax, dword [ebx + 0x2c]
mov ecx, dword [ecx]
inc eax
mov dword [edi + 0x44], eax
add dword [ebx + 0x2c], ecx
dec ecx
mov eax, dword [edi + 0x44]
add ecx, eax
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x78], ecx
jg 0x4a36ab
mov edx, dword [esp + 0x1c]
mov ecx, esi
push edx
push eax
push 0
mov edx, 0x49
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a36dd
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x49
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [ebx + 0x2c], eax
mov dword [edi + 0x54], eax
mov ecx, dword [esi + 0x74]
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x78], ecx
jg 0x4a370d
push 0
push eax
push 1
mov edx, 0x46
mov ecx, esi
call fcn.0042a9a0
mov edx, dword [esp + 0x18]
add esp, 0xc
jmp 0x4a3747
mov edx, dword [esp + 0xc]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x74], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x14], 0
je 0x4a3870
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x58], eax
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x3c], eax
inc dword [ebx + 0x28]
mov ecx, dword [esi + 0x74]
mov ebx, dword [edi + 0x58]
cmp dword [esi + 0x78], ecx
jg 0x4a378d
push 0
push ebx
push 1
mov edx, 0x46
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a37bb
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
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 ecx, dword [esi + 0x74]
mov edx, dword [esp + 0xc]
mov ebx, dword [edi + 0x5c]
cmp dword [esi + 0x78], ecx
jg 0x4a37e0
push 0
push ebx
push 0
mov edx, 0x46
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a380e
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
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 [esp + 0xc]
mov edi, dword [edi + 0x3c]
mov ebx, dword [eax]
cmp dword [esi + 0x78], ecx
jg 0x4a383d
push 0
push ebx
push edi
mov edx, 0x70
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 [edx]
mov dword [eax + ecx*4], 0x70
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 0x2c]
test dword [eax + 4], 0x1000
je 0x4a39a2
cmp byte [edi + 0x11], 0x5a
je 0x4a39a2
mov eax, dword [edi + 0x48]
mov ecx, ebx
push 0
push 0
mov edx, dword [eax + 0x14]
call fcn.0047afa0
mov ecx, dword [ebx + 0x28]
mov edx, eax
mov dword [edi + 0x3c], ecx
add esp, 8
mov eax, dword [ebx + 0x2c]
inc dword [ebx + 0x28]
inc eax
mov dword [edi + 0x40], eax
add dword [ebx + 0x2c], 3
mov dword [esp + 0x1c], edx
test edx, edx
je 0x4a38ce
mov eax, dword [edi + 0x2c]
mov eax, dword [eax + 0x20]
cmp byte [eax + 1], 0x69
jne 0x4a38ce
mov eax, dword [edx + 0x10]
mov byte [eax], 1
mov ecx, dword [esi + 0x74]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x78], ecx
jg 0x4a38f3
push 0
push 2
push eax
mov edx, 0x73
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a3929
mov edx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x73
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 2
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x1c]
cmp byte [ecx + 0x53], 0
je 0x4a3945
push edx
mov edx, 0xfffffff7
call fcn.0042b470
add esp, 4
jmp 0x4a395a
mov eax, dword [esi + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x74]
inc edx
cmp dword [esi + 0x78], ecx
jg 0x4a397f
push 0
push edx
push 0
mov edx, 0x46
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a3a41
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x46
mov dword [eax + ecx*4 + 4], 0
jmp 0x4a3a29
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x4a39cd
cmp eax, str.first_value
je 0x4a39cd
cmp eax, str.lead
je 0x4a39c5
cmp eax, 0x4e1d04
jne 0x4a3a41
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x3c], eax
jmp 0x4a39de
mov eax, dword [ebx + 0x2c]
inc eax
mov dword [edi + 0x40], eax
mov eax, dword [ebx + 0x28]
mov dword [edi + 0x3c], eax
add dword [ebx + 0x2c], 2
mov eax, dword [esp + 0x14]
inc dword [ebx + 0x28]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax]
mov eax, dword [edi + 0x3c]
mov dword [esp + 0x1c], eax
cmp dword [esi + 0x78], ecx
jg 0x4a3a0b
push 0
push edx
push eax
mov edx, 0x70
mov ecx, esi
call fcn.0042a9a0
add esp, 0xc
jmp 0x4a3a41
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4], 0x70
mov ebx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 0x10], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x4a3870
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret