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

Disassembly:
sub esp, 0x24
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx]
push ebx
push edi
mov edi, dword [esp + 0x40]
mov edx, dword [edi]
xor ebx, ebx
mov dword [ecx], ebx
mov dword [edi], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
cmp dword [esi + 0x18], ebx
je 0x46879f
mov eax, dword [esi + 0x1c]
pop edi
pop ebx
add esp, 0x24
ret 0x1c
push ebp
lea ebp, [esi + 0x20]
mov dword [esp + 0x14], ebp
mov dword [ebp], 2
cmp dword [esi + 0xc], ebx
je 0x46888f
mov ecx, dword [esp + 0x48]
push ebp
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov dword [esp + 0x50], edx
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [esi + 0x88]
lea ecx, [esp + 0x48]
push ecx
mov ecx, dword [esi + 0x78]
xor edx, edx
call eax
mov edx, dword [esp + 0x44]
xor ecx, ecx
cmp dword [ebp], 1
mov ebx, eax
sete cl
mov dword [esi + 0x1c], ebx
mov dword [edi], edx
mov edx, dword [esp + 0x34]
add dword [esi + 0x14], edx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x40], ecx
test ebx, ebx
jne 0x468816
cmp dword [esp + 0x48], ebx
jne 0x468816
test ecx, ecx
je 0x46881d
mov dword [esi + 0x18], 1
mov ecx, dword [esi + 8]
cmp ecx, 1
jne 0x468836
mov eax, dword [esp + 0x38]
pop ebp
mov dword [eax], edx
pop edi
mov eax, ebx
pop ebx
add esp, 0x24
ret 0x1c
cmp dword [esi + 0x18], 0
je 0x468884
mov ebp, 1
cmp ecx, ebp
jbe 0x46887e
lea edi, [esi + 0x90]
jmp 0x468850
mov edx, dword [esi + 0xc]
mov ecx, dword [edi]
push eax
mov eax, dword [edi + 0x14]
call eax
cmp dword [esp + 0x40], 0
jne 0x468872
cmp dword [esp + 0x3c], 0
je 0x468875
mov ecx, dword [esp + 0x18]
cmp dword [esi + 0x14], ecx
jne 0x468875
mov eax, dword [esi + 0x14]
inc ebp
add edi, 0x18
cmp ebp, dword [esi + 8]
jb 0x468850
mov edx, dword [esp + 0x38]
mov dword [edx], eax
pop ebp
pop edi
mov eax, ebx
pop ebx
add esp, 0x24
ret 0x1c
cmp dword [esi + 8], 1
je 0x4688c6
cmp dword [esi + 4], ebx
jne 0x4688ba
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, 0x60000
call eax
mov dword [esi + 4], eax
cmp eax, ebx
jne 0x4688ba
pop ebp
pop edi
mov eax, 2
pop ebx
add esp, 0x24
ret 0x1c
mov dword [esp + 0x4c], ebx
jmp 0x4688c6
mov ebp, dword [esp + 0x14]
xor ebx, ebx
xor edi, edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x3c], ebx
mov dword [ebp], 2
cmp dword [esi + 8], edi
jbe 0x468a50
jmp 0x4688f0
lea ecx, [edi + edi*2 + 0xf]
lea ebp, [esi + ecx*8]
mov dword [esp + 0x28], ebp
test edi, edi
jne 0x468917
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x24]
sub edx, dword [ecx]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0xc], edx
jmp 0x468934
mov edx, dword [esi + edi*4 + 0x2c]
mov ebx, dword [esi + edi*4 + 0x38]
mov ecx, dword [esi + edi*4 + 0x20]
lea eax, [edi - 1]
shl eax, 0x11
add eax, dword [esi + 4]
add eax, edx
sub ebx, edx
mov dword [esp + 0xc], ebx
mov edx, dword [esi + 8]
dec edx
cmp edi, edx
jne 0x468955
mov ebp, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
sub ebx, dword [ebp]
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x10], ebx
jmp 0x468973
mov edx, dword [esi + edi*4 + 0x30]
cmp edx, dword [esi + edi*4 + 0x3c]
jne 0x468a30
mov edx, edi
shl edx, 0x11
add edx, dword [esi + 4]
mov dword [esp + 0x10], 0x20000
mov ebx, dword [esi + edi*4 + 0x68]
test ebx, ebx
je 0x46898f
cmp dword [esp + 0x3c], 0
jne 0x468a30
mov dword [esp + 0x3c], ebx
jmp 0x468a30
lea ebx, [esp + 0x2c]
push ebx
push dword [esp + 0x50]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [ebp]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [ebp + 0x10]
call eax
xor ebp, ebp
cmp eax, ebp
je 0x4689c0
mov dword [esi + edi*4 + 0x68], eax
cmp dword [esp + 0x3c], ebp
jne 0x4689c0
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x2c]
xor ecx, ecx
cmp edx, 1
sete cl
cmp ecx, ebp
jne 0x4689e4
cmp dword [esi + 8], 1
mov dword [esp + 0x20], ebp
jne 0x4689e4
cmp eax, ebp
jne 0x4689e4
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov edx, dword [esp + 0xc]
cmp edi, ebp
jne 0x4689f8
mov eax, dword [esp + 0x44]
add dword [eax], edx
add dword [esp + 0x40], edx
jmp 0x4689fc
add dword [esi + edi*4 + 0x2c], edx
mov eax, dword [esi + 8]
dec eax
cmp edi, eax
mov eax, dword [esp + 0x10]
jne 0x468a14
mov ecx, dword [esp + 0x38]
add dword [ecx], eax
add dword [esp + 0x34], eax
jmp 0x468a20
mov dword [esi + edi*4 + 0x3c], eax
mov dword [esi + edi*4 + 0x30], ebp
mov dword [esi + edi*4 + 0x24], ecx
cmp eax, ebp
jne 0x468a28
cmp edx, ebp
je 0x468a30
mov dword [esp + 0x1c], 1
inc edi
cmp edi, dword [esi + 8]
jb 0x4688f0
cmp dword [esp + 0x1c], 0
jne 0x4688c0
cmp dword [esp + 0x20], 0
je 0x468a57
mov ebp, dword [esp + 0x14]
mov dword [ebp], 1
mov eax, dword [esp + 0x3c]
pop ebp
pop edi
pop ebx
add esp, 0x24
ret 0x1c