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

Disassembly:
push 0xffffffffffffffff
push 0x4b3b39
mov eax, dword fs:[0]
push eax
mov eax, 0x42d0
call fcn.004b2570
mov eax, dword [0x4db040]
xor eax, esp
mov dword [esp + 0x42c8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4db040]
xor eax, esp
push eax
lea eax, [esp + 0x42e4]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x42ec], ebx
cmp dword [0x4dd400], ebx
jne 0x4652f7
lea eax, [esp + 0x14]
push eax
push 0x28
call dword [0x4c20b4]
push eax
call dword [0x4c2020]
test eax, eax
je 0x4652ed
lea ecx, [esp + 0x40]
push ecx
push 0x4c6a2c
push ebx
call dword [0x4c2024]
mov eax, dword [esp + 0x14]
push ebx
push ebx
push ebx
lea edx, [esp + 0x48]
push edx
push ebx
push eax
mov dword [esp + 0x54], 1
mov dword [esp + 0x60], 2
call dword [0x4c2028]
mov dword [0x4dd400], 1
lea edi, [esp + 0x42f4]
call fcn.004666a0
lea ecx, [esp + 0x18]
push ecx
push 0x4000
lea edx, [esp + 0x9c]
push edx
call fcn.004a209a
mov esi, dword [esp + 0x18]
shr esi, 2
mov dword [esp + 0x14], esi
cmp esi, 0x1000
jbe 0x465339
mov dword [esp + 0x14], 0x1000
mov esi, dword [esp + 0x14]
push 0x208
lea ecx, [esp + 0x40d2]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x40d8], ax
call fcn.004a54d0
add esp, 0xc
cmp esi, ebx
jbe 0x4654b4
mov edx, dword [esp + ebx*4 + 0x94]
push edx
push 0
push 0x411
call dword [0x4c20b8]
mov ebp, eax
test ebp, ebp
je 0x4654ab
lea eax, [esp + 0x18]
push eax
push 4
lea ecx, [esp + 0x24]
push ecx
push ebp
call fcn.004a20a0
test eax, eax
je 0x4654a4
mov eax, dword [esp + 0x1c]
push 0x20a
lea edx, [esp + 0x40d0]
push edx
push eax
push ebp
call fcn.004a20a6
mov edi, 7
xor ecx, ecx
lea eax, [esp + 0x40cc]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], 0
mov word [esp + 0x24], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4653d4
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x40d0]
lea esi, [esp + 0x24]
call fcn.00466330
mov edx, esi
push edx
lea ecx, [esp + 0x4098]
mov byte [esp + 0x42f0], 1
call fcn.00466740
add esp, 4
mov byte [esp + 0x42ec], 3
cmp dword [esp + 0x38], 8
jb 0x46542a
mov eax, dword [esp + 0x24]
push eax
call fcn.004a21e6
add esp, 4
mov dword [esp + 0x38], edi
xor ecx, ecx
xor esi, esi
lea edi, [esp + 0x4094]
mov dword [esp + 0x34], esi
mov word [esp + 0x24], cx
call fcn.004666a0
mov eax, dword [esp + 0x4098]
mov edi, 0x10
cmp dword [esp + 0x40ac], edi
jae 0x465463
lea eax, [esp + 0x4098]
mov edx, dword [esp + 0x40a8]
push edx
push eax
lea eax, [esp + 0x42fc]
push eax
xor eax, eax
call fcn.004172d0
test eax, eax
jge 0x4654f6
mov byte [esp + 0x42ec], 0
cmp dword [esp + 0x40ac], edi
jb 0x4654a0
mov ecx, dword [esp + 0x4098]
push ecx
call fcn.004a21e6
add esp, 4
mov esi, dword [esp + 0x14]
push ebp
call dword [0x4c2088]
inc ebx
cmp ebx, esi
jb 0x465361
cmp dword [esp + 0x430c], 0x10
jb 0x4654ce
mov edx, dword [esp + 0x42f8]
push edx
call fcn.004a21e6
add esp, 4
mov ecx, dword [esp + 0x42e4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x42c8]
xor ecx, esp
call fcn.004a2151
add esp, 0x42dc
ret
push esi
push ebp
call dword [0x4c20bc]
mov eax, 0x4c44f8
mov dword [esp + 0x40c8], 0xf
mov dword [esp + 0x40c4], esi
mov byte [esp + 0x40b4], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x465520
sub eax, ecx
push eax
push 0x4c44f8
lea ecx, [esp + 0x40b8]
call fcn.00406c40
mov byte [esp + 0x42ec], 4
mov edx, dword [esp + ebx*4 + 0x94]
push edx
push 0x4c6a50
lea esi, [esp + 0x40b8]
call fcn.004065c0
push 0x44
lea eax, [esp + 0x58]
push 0
push eax
call fcn.004a54d0
xor ecx, ecx
mov word [esp + 0x90], cx
add esp, 0x14
mov edi, esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x4c], 0x44
mov dword [esp + 0x78], 1
call fcn.004665e0
mov edi, 8
cmp dword [eax + 0x18], edi
jb 0x4655a1
mov eax, dword [eax + 4]
jmp 0x4655a4
add eax, 4
lea edx, [esp + 0x3c]
push edx
lea ecx, [esp + 0x50]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [0x4c20c0]
mov esi, eax
cmp dword [esp + 0x38], edi
jb 0x4655d8
mov edx, dword [esp + 0x24]
push edx
call fcn.004a21e6
add esp, 4
test esi, esi
mov esi, dword [0x4c2088]
je 0x4655f0
mov eax, dword [esp + 0x40]
push eax
call esi
mov ecx, dword [esp + 0x3c]
push ecx
call esi
mov edi, 0x10
cmp dword [esp + 0x40c8], edi
jb 0x46560e
mov edx, dword [esp + 0x40b4]
push edx
call fcn.004a21e6
add esp, 4
push ebp
call esi
cmp dword [esp + 0x40ac], edi
jb 0x46562a
mov eax, dword [esp + 0x4098]
push eax
call fcn.004a21e6
add esp, 4
mov dword [esp + 0x40ac], 0xf
mov dword [esp + 0x40a8], 0
mov byte [esp + 0x4098], 0
cmp dword [esp + 0x430c], edi
jb 0x4654ce
mov ecx, dword [esp + 0x42f8]
push ecx
jmp 0x4654c6