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

Disassembly:
sub esp, 0x24
lea eax, [esp]
lea ecx, [esp + 4]
lea edx, [esp + 8]
push ebx
push ebp
push esi
push edi
push eax
push ecx
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x3c]
push edx
lea ecx, [esp + 0x44]
push eax
lea edx, [esp + 0x4c]
push ecx
push edx
push 0
call fcn.00469440
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x78]
add esp, 0x28
mov dword [eax], 0
mov dword [ecx], 0
test ebx, ebx
je 0x4650ab
mov ecx, 0xeef8
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
mov word [edx], 0
mov edx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x54]
push ecx
push edx
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push eax
call fcn.0055ae5f
call fcn.004f4d30
mov ebp, eax
add esp, 0x2c
test ebp, ebp
je 0x4652fc
mov eax, dword [ebp + 0x29c]
cmp eax, 4
je 0x4652d5
mov ecx, dword [ebp + 0x3a90]
test ecx, ecx
jne 0x4652d5
mov ecx, dword [ebp + 0x38ec]
test ecx, ecx
jne 0x4652d5
mov ecx, dword [ebp + 0x38f0]
test ecx, ecx
jne 0x4652d5
cmp eax, 0x98
je 0x4652d5
cmp eax, 0x65
je 0x4652d5
mov eax, dword [ebp + 0x2c4]
test eax, eax
jne 0x4652d5
mov eax, dword [ebp + 0x2b8]
test eax, eax
je 0x465178
cmp dword [eax + 0x2e3c], 1
jg 0x4652d5
mov ecx, dword [ebp]
push ecx
mov ecx, dword [esp + 0x58]
call fcn.0055af82
mov eax, dword [ebp + 4]
test eax, eax
je 0x46518f
push eax
jmp 0x465194
push 0x73768c
mov ecx, dword [esp + 0x5c]
call fcn.0055af82
mov eax, dword [esp + 0x5c]
mov edx, dword [ebp + 8]
mov dword [eax], edx
mov esi, dword [ebp + 0x2b8]
test esi, esi
je 0x4651e0
mov ecx, 0xeef8
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xc]
xor eax, eax
test ecx, ecx
jle 0x4651e0
lea edx, [ebx + 0x2b18]
cmp byte [ebx + eax + 0x24], 1
jne 0x4651d8
cmp dword [edx], 0
jne 0x4652b8
inc eax
add edx, 4
cmp eax, ecx
jl 0x4651c8
mov ebx, dword [ebp + 0x2a0]
test ebx, ebx
je 0x465261
mov eax, dword [ebx + 0x9c8c]
test eax, eax
je 0x465208
push 1
push ebx
call fcn.00494970
add esp, 8
cmp eax, 1
jne 0x4652e9
mov eax, dword [ebx + 0x11d78]
test eax, eax
jne 0x4652e9
mov eax, dword [ebx + 0x11d7c]
test eax, eax
jne 0x4652e9
mov edi, dword [esp + 0x3c]
lea esi, [ebx + 0x9d30]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x3aa8]
test eax, eax
je 0x465249
push ebp
call fcn.004f3350
add esp, 4
mov eax, dword [esp + 0x60]
mov edx, dword [ebx + 0x11dd8]
mov dword [eax], edx
mov edx, dword [esp + 0x64]
mov ecx, dword [ebx + 0x11de0]
mov dword [edx], ecx
mov eax, dword [ebp + 0x3a98]
test eax, eax
je 0x465287
lea esi, [eax + 0x23c]
mov al, byte [eax + 0x23c]
test al, al
je 0x465287
mov edi, dword [esp + 0x3c]
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x40]
mov eax, dword [ebp + 0x29c]
mov dword [ecx], eax
mov eax, dword [esp + 0x44]
mov edx, dword [ebp + 0x40]
mov dword [eax], edx
mov edx, dword [esp + 0x48]
mov ecx, dword [ebp + 0x44]
mov dword [edx], ecx
mov ecx, dword [esp + 0x4c]
mov eax, dword [ebp + 0x3c]
mov dword [ecx], eax
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ecx, dword [esp + 0x68]
push ebp
mov dword [ecx], 1
call fcn.0041a250
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov edx, dword [esp + 0x6c]
mov eax, dword [esp + 0x68]
mov dword [edx], 0x17
mov dword [eax], 1
push ebp
call fcn.0041a250
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x24
ret