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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4918
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x509dd8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [edi + 0x18]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [edi + 0x20], 0xffffffff
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], edx
test esi, esi
js 0x465bfe
mov eax, dword [edi + 0x30]
test eax, eax
je 0x465bfe
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x64], 8
push ecx
push 0
push 0x1006
push dword [eax + 0x70]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 8
mov dword [ebp - 0x50], 0
call dword [0x4dc624]
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
cmp byte [edi + 0x1c], 0
mov dword [edi + 0x18], 0xffffffff
mov byte [edi + 0x34], 1
mov dword [edi + 0x30], 0
mov byte [edi + 0x1d], 1
je 0x465e34
mov eax, dword [edi + 0x38]
mov dword [ebp - 0x38], ecx
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x34], edx
push dword [eax]
call dword [0x4dc6a0]
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x28], esi
lea ebx, [ebx]
mov eax, dword [edi + 0x38]
cmp dword [eax + 8], 1
jg 0x465c4e
cmp esi, dword [eax + 0xc]
jne 0x465c7a
push dword [ebx + eax + 0x78]
call dword [0x4dc5d0]
test eax, eax
je 0x465c7a
mov eax, dword [edi + 0x38]
push 3
push dword [ebp - 0x34]
push dword [ebp - 0x38]
mov esi, dword [ebx + eax + 0x78]
push dword [eax]
call dword [0x4dc5c8]
cmp eax, esi
je 0x465cb3
mov esi, dword [ebp - 0x28]
inc esi
add ebx, 0x168
mov dword [ebp - 0x28], esi
cmp ebx, 0x2d0
jl 0x465c40
cmp byte [edi + 0x34], 0
je 0x465cd9
mov eax, dword [edi + 0x40]
test eax, eax
js 0x465e34
imul ecx, eax, 0x168
mov eax, dword [edi + 0x38]
add eax, 0x74
add eax, ecx
mov dword [edi + 0x30], eax
jmp 0x465e34
mov edx, dword [ebp - 0x28]
mov eax, dword [edi + 0x38]
imul ecx, edx, 0x168
mov byte [edi + 0x34], 0
add ecx, 0x74
add eax, ecx
mov dword [edi + 0x30], eax
cmp edx, dword [edi + 0x3c]
jne 0x465c8c
mov byte [edi + 0x1d], 0
jmp 0x465e34
mov esi, dword [edi + 0x30]
mov ecx, esi
call fcn.00460670
test al, al
jne 0x465d34
mov ecx, esi
call fcn.00460640
test al, al
je 0x465e34
mov eax, dword [esi + 0xc8]
mov ecx, 0x4e0c24
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x465d27
test dx, dx
je 0x465d23
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x465d27
add eax, 4
add ecx, 4
test dx, dx
jne 0x465d01
xor eax, eax
jmp 0x465d2c
sbb eax, eax
or eax, 1
test eax, eax
je 0x465e34
mov eax, dword [edi + 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov esi, dword [eax + 0x70]
call dword [0x4dc5cc]
cmp eax, esi
jne 0x465e34
mov eax, dword [edi + 0x30]
lea ecx, [ebp - 0x30]
push ecx
push dword [eax + 0x70]
call dword [0x4dc6a0]
mov eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x2c]
push ecx
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x30]
push 0
push 0x1012
push dword [eax + 0x70]
call dword [0x4dc624]
mov ebx, eax
test ebx, ebx
js 0x465e34
mov ecx, dword [edi + 0x30]
lea eax, [ebp - 0x34]
push eax
push ebx
add ecx, 0x70
call fcn.00406a30
test al, al
jne 0x465db4
push 0x4f4cc4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 1
push eax
call fcn.004ad346
mov esi, dword [ebp - 0x34]
cmp esi, 0xffffffff
je 0x465e34
mov ecx, dword [edi + 0x30]
push esi
call fcn.0046dfb0
test al, al
je 0x465e34
mov ecx, dword [edi + 0x30]
lea eax, [ebp - 0x3c]
push esi
push eax
mov dword [edi + 0x20], esi
call fcn.0046ccc0
push eax
lea ecx, [edi + 0x24]
mov dword [ebp - 4], 0
call fcn.00402f30
push dword [ebp - 0x3c]
call fcn.00404630
add esp, 4
mov dword [ebp - 0x64], 8
lea eax, [ebp - 0x64]
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 8
push eax
mov eax, dword [edi + 0x30]
push 0
push 0x1006
mov dword [ebp - 0x54], 8
push dword [eax + 0x70]
mov dword [ebp - 0x50], 0
call dword [0x4dc624]
mov dword [edi + 0x18], ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004abb33
mov esp, ebp
pop ebp
ret 8