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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x78]
mov ebx, dword [esp + 0x70]
test eax, eax
jne 0x466c3b
mov eax, dword [ebx + 0x18]
xor ecx, ecx
mov dword [esp + 0x24], 0
mov dword [esp + 0x34], eax
xor eax, eax
jmp 0x466c6e
mov dword [esp + 8], 0x46259d
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.004667cf
test eax, eax
mov edx, eax
jns 0x466c26
jmp 0x466fad
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + ecx*4]
cmp dword [edx + 0xec], 0
je 0x466c76
inc dword [esp + 0x24]
inc ecx
cmp ecx, dword [esp + 0x34]
jne 0x466c5a
jmp 0x466c9d
mov edx, dword [edx + 0xb0]
cmp dword [edx], 4
je 0x466c6d
mov edx, dword [edx + 4]
cmp edx, 0xa7
je 0x466c6d
cmp edx, 0x8b
setne dl
cmp dl, 1
sbb eax, 0xffffffff
jmp 0x466c6d
mov edi, dword [ebx + 0x4b0]
mov edx, dword [ebx + 0x50c]
mov esi, 1
mov dword [esp + 0x28], edi
mov edi, dword [ebx + 0x4b4]
mov ecx, dword [edx]
cmp dword [esp + 0x24], ecx
cmovne esi, dword [esp + 0x7c]
cmp edi, 0
mov dword [esp + 0x30], edi
jl 0x466dfa
jg 0x466cdd
cmp dword [esp + 0x28], 0
jbe 0x466dfa
mov edx, dword [edx + 4]
test edx, edx
je 0x466dfa
test esi, esi
jne 0x466dfa
add eax, dword [esp + 0x24]
cmp ecx, eax
je 0x466cff
xor esi, esi
jmp 0x466dfa
mov esi, dword [ebx + 0x1c]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov eax, dword [edx + 0x20]
mov eax, dword [esi + eax*4]
mov edi, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
mov edi, 0x80000000
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0x14]
xor ebp, ebp
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00647ec6
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], edx
lea eax, [esi + eax*4]
mov dword [esp + 0x34], eax
cmp esi, dword [esp + 0x34]
je 0x466daf
mov edx, dword [esi]
mov eax, dword [edx + 0xec]
test eax, eax
je 0x466daa
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00647ec6
sub eax, dword [esp + 0x38]
sbb edx, dword [esp + 0x3c]
cmp edi, edx
jg 0x466daa
jl 0x466da6
cmp ebp, eax
jae 0x466daa
mov ebp, eax
mov edi, edx
add esi, 4
jmp 0x466d52
cmp dword [esp + 0x30], edi
jg 0x466cf8
jl 0x466dc5
cmp dword [esp + 0x28], ebp
jae 0x466cf8
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], ebp
mov esi, 1
mov dword [esp + 0x10], edi
mov dword [esp + 8], 0x6d4a49
mov dword [esp + 4], 0x30
mov dword [esp], ebx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x18], eax
call fcn.00647705
mov edi, dword [ebx + 0x50c]
mov eax, dword [edi + 4]
test eax, eax
je 0x466e64
cmp dword [esp + 0x7c], 0
je 0x466e64
test byte [ebx + 0x44a], 0x10
je 0x466e64
mov ecx, dword [edi + 0x54]
lea edx, [ecx - 0x80000000]
or edx, dword [edi + 0x50]
jne 0x466e64
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
mov ecx, dword [eax + 0x20]
mov edx, dword [ebx + 0x1c]
mov edx, dword [edx + ecx*4]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00647ec6
mov dword [edi + 0x50], eax
mov dword [edi + 0x54], edx
mov eax, dword [edi + 0x54]
add eax, 0x80000000
or eax, dword [edi + 0x50]
je 0x466f37
mov ebp, dword [ebx + 0x50c]
mov edi, dword [ebp + 4]
test edi, edi
je 0x466f37
mov edx, dword [edi + 0x20]
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 0xf4240
lea ecx, [eax + edx*4]
mov eax, dword [ecx]
mov dword [esp + 0x34], ecx
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0x14]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00647ec6
mov dword [esp + 0x30], edx
mov edx, dword [ebp + 0x50]
mov ecx, dword [ebp + 0x54]
add edx, 1
adc ecx, 0
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x2c]
cmp dword [esp + 0x30], edx
jl 0x466f37
mov ecx, dword [esp + 0x34]
jg 0x466ef3
cmp eax, dword [esp + 0x28]
jbe 0x466f37
mov edx, dword [edi + 0x48]
mov dword [esp + 0x4c], edi
mov eax, dword [ecx]
test edx, edx
mov dword [ebp + 4], edx
jne 0x466f0a
mov dword [ebp + 8], 0
cmp edi, dword [eax + 0xec]
jne 0x466f1c
mov dword [eax + 0xec], 0
mov dword [esp], edi
xor esi, esi
call fcn.0047c59e
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.006489dc
jmp 0x466e75
cmp dword [esp + 0x24], 0
je 0x466f9f
test esi, esi
je 0x466f9f
mov edx, dword [ebx + 0x50c]
mov ecx, 0x12
mov edi, dword [esp + 0x74]
mov eax, dword [edx + 4]
mov esi, eax
mov dword [esp + 0x4c], eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x74]
mov ecx, dword [ebx + 0x1c]
mov ebx, dword [eax + 0x48]
test ebx, ebx
mov esi, dword [esi + 0x20]
mov ecx, dword [ecx + esi*4]
mov dword [edx + 4], ebx
jne 0x466f7a
mov dword [edx + 8], 0
cmp eax, dword [ecx + 0xec]
jne 0x466f8c
mov dword [ecx + 0xec], 0
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.006489dc
mov edx, 1
jmp 0x466fad
mov eax, dword [esp + 0x74]
mov dword [esp], eax
call fcn.0047bd83
xor edx, edx
add esp, 0x5c
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret