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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
mov ebx, ecx
push esi
push edi
mov edi, edx
mov dword [esp + 0x1c], ebx
mov esi, dword [ebx + 8]
test esi, esi
jne 0x493573
cmp dword [ebx + 0x78], esi
jne 0x49356c
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x49356c
mov byte [ebx + 0x17], 1
call fcn.0042a0d0
mov esi, eax
mov dword [esp + 0x10], 0
test edi, edi
je 0x4937a5
lea eax, [edi + 0x58]
mov dword [esp + 0x18], eax
nop word [eax + eax]
mov ecx, dword [esi + 0x6c]
mov ebx, dword [edi + 0x2c]
mov edx, dword [edi + 0x34]
mov dword [esp + 0x14], ebx
cmp dword [esi + 0x70], ecx
jg 0x4935b8
push 0
push edx
push 0
mov edx, 0x4b
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x4935eb
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x4b
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 0x48]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x4935f9
mov ecx, dword [eax]
jmp 0x4935fb
xor ecx, ecx
cmp dword [esp + 0x10], ecx
jg 0x493615
test eax, eax
je 0x49360d
mov eax, dword [eax]
mov dword [esp + 0x10], eax
jmp 0x493615
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
cmp dword [eax], 0
jne 0x493796
mov eax, dword [ebx + 0x20]
cmp eax, str.nth_value
je 0x493637
cmp eax, str.first_value
jne 0x4936e0
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x40]
cmp dword [esi + 0x70], ecx
jg 0x493658
push 0
push edx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x49368b
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x4936ad
push 0
push edx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x4936e0
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
test dword [ebx + 4], 0x1000
je 0x493796
mov edx, dword [edi + 0x3c]
test edx, edx
je 0x493796
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x493716
push 0
push 0
push edx
mov edx, 0x92
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x493745
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x92
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 0x40]
mov ecx, dword [esi + 0x6c]
inc edx
cmp dword [esi + 0x70], ecx
jg 0x493767
push 0
push edx
push 0
mov edx, 0x47
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x493796
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edi, dword [edi + 0x24]
test edi, edi
jne 0x493590
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x2c]
pop edi
pop esi
lea eax, [ecx + 1]
add ecx, dword [esp + 8]
mov dword [ebx + 0x2c], ecx
pop ebx
mov esp, ebp
pop ebp
ret