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

Disassembly:
push 0xffffffffffffffff
push 0x4f0e99
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
fld qword [0x4f6e78]
fdiv qword [esp + 0xa4]
push ebx
push ebp
push esi
push edi
fmul qword [0x4faac0]
call sub.MSVCRT.dll__ftol
mov ebp, dword [esp + 0xb0]
mov dword [esp + 0x2c], eax
xor ebx, ebx
lea eax, [esp + 0x10]
push ebx
push eax
mov ecx, ebp
mov esi, 1
call fcn.00416560
cmp dword [esp + 0x1c], ebx
je 0x4b04ae
xor esi, esi
lea ecx, [esp + 0x10]
call fcn.004ba050
cmp esi, ebx
je 0x4b0895
mov dword [esp + 0x10], 0x4f67d8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], 0xa
lea ecx, [esp + 0x10]
mov dword [esp + 0xa8], ebx
push ecx
push ebp
push ebx
call fcn.004ada50
mov eax, dword [esp + 0xc8]
add esp, 0xc
cmp eax, ebx
je 0x4b06c9
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4b06c9
mov eax, esi
mov edi, esi
mov esi, dword [esi]
mov cl, byte [eax + 0xc]
mov byte [esp + 0x70], cl
mov dl, byte [eax + 0xd]
mov byte [esp + 0x71], dl
mov edx, dword [eax + 0x10]
mov dword [esp + 0x74], edx
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x78], ebp
mov ebx, dword [eax + 0x18]
mov dword [esp + 0x7c], ebx
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0x80], ebx
mov ebx, dword [eax + 0x20]
mov dword [esp + 0x84], ebx
mov ebx, dword [eax + 0x24]
mov dword [esp + 0x88], ebx
mov ebx, dword [eax + 0x28]
mov dword [esp + 0x8c], ebx
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x90], ebx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x94], eax
mov dword [esp + 0x6c], 0x4f67d4
cmp cl, 0x14
mov byte [esp + 0xa8], 1
jne 0x4b06a8
lea ecx, [esp + 0x9c]
lea eax, [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x8c]
push eax
mov eax, dword [esp + 0x8c]
push ecx
push eax
push ebp
push edx
call fcn.00432a80
add esp, 0x20
cmp eax, 1
jne 0x4b06a8
lea ecx, [esp + 0x30]
call fcn.004d9b70
mov cl, byte [esp + 0x71]
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
sub esp, 0x2c
mov byte [esp + 0x61], cl
mov ecx, dword [esp + 0xb0]
mov dword [esp + 0x64], edx
mov edx, dword [esp + 0xb4]
mov dword [esp + 0x68], eax
mov eax, esp
mov byte [esp + 0x60], 0xa
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], edx
mov byte [eax + 4], 0xa
mov cl, byte [esp + 0x61]
mov dword [esp + 0xc4], esp
mov byte [eax + 5], cl
mov edx, dword [esp + 0x64]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x70]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x74]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x78]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x24], ecx
mov edx, dword [esp + 0x84]
push edi
lea ecx, [esp + 0x40]
mov byte [esp + 0xd8], 2
mov dword [eax + 0x28], edx
mov dword [eax], 0x4f67d4
call fcn.004b9b20
xor eax, eax
mov byte [edi + 0xc], 0xa
xor ecx, ecx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], ecx
lea ecx, [esp + 0x30]
xor ebx, ebx
mov byte [esp + 0xa8], 1
call fcn.004d9ba0
jmp 0x4b06aa
xor ebx, ebx
lea ecx, [esp + 0x6c]
mov byte [esp + 0xa8], bl
call fcn.004d9ba0
cmp esi, ebx
jne 0x4b0514
mov ebp, dword [esp + 0xb0]
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4b0729
mov ecx, esi
mov edi, esi
mov esi, dword [esi]
add ecx, 8
mov al, byte [ecx + 4]
cmp al, 0x14
je 0x4b06e5
cmp al, 0x3c
jne 0x4b0725
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.004d9d50
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
sub eax, ecx
mov ecx, dword [esp + 0x64]
sub ecx, edx
cmp eax, ecx
jge 0x4b070b
mov eax, ecx
cmp dword [esp + 0x2c], eax
jbe 0x4b0725
cmp esi, ebx
je 0x4b0729
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x24]
mov dword [edi + 0x18], ecx
mov byte [edi + 0xc], 0xa
mov dword [edi + 0x1c], edx
cmp esi, ebx
jne 0x4b06d1
mov esi, dword [esp + 0x14]
cmp esi, ebx
je 0x4b0823
mov eax, esi
mov edi, esi
mov esi, dword [esi]
mov cl, byte [eax + 0xc]
mov byte [esp + 0x34], cl
mov dl, byte [eax + 0xd]
mov byte [esp + 0x35], dl
mov edx, dword [eax + 0x10]
mov dword [esp + 0x38], edx
mov ebx, dword [eax + 0x14]
mov dword [esp + 0x3c], ebx
mov ebp, dword [eax + 0x18]
mov dword [esp + 0x40], ebp
mov ebx, dword [eax + 0x1c]
mov dword [esp + 0x44], ebx
mov ebx, dword [eax + 0x20]
mov dword [esp + 0x48], ebx
mov ebx, dword [eax + 0x24]
mov dword [esp + 0x4c], ebx
mov ebx, dword [eax + 0x28]
mov dword [esp + 0x50], ebx
mov ebx, dword [eax + 0x2c]
mov dword [esp + 0x54], ebx
mov eax, dword [eax + 0x30]
mov dword [esp + 0x58], eax
mov dword [esp + 0x30], 0x4f67d4
cmp cl, 0xa
mov byte [esp + 0xa8], 3
jne 0x4b0802
cmp edx, ebp
jne 0x4b0802
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
cmp eax, ecx
jne 0x4b0802
cmp edi, dword [esp + 0x14]
jne 0x4b07bb
mov edx, dword [edi]
mov dword [esp + 0x14], edx
jmp 0x4b07c2
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov dword [eax], ecx
cmp edi, dword [esp + 0x18]
jne 0x4b07d1
mov edx, dword [edi + 4]
mov dword [esp + 0x18], edx
jmp 0x4b07d9
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
lea edx, [edi + 8]
push 1
push edx
call fcn.0048e1c0
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
jne 0x4b0802
lea ecx, [esp + 0x10]
call fcn.0042eef0
xor ebx, ebx
lea ecx, [esp + 0x30]
mov byte [esp + 0xa8], bl
call fcn.004d9ba0
cmp esi, ebx
jne 0x4b0735
mov ebp, dword [esp + 0xb0]
push 0xffffffffffffffff
push ebx
mov ecx, ebp
call fcn.004163d0
cmp dword [esp + 0x1c], ebx
je 0x4b08de
lea ecx, [esp + 0x10]
push ebp
push ecx
call fcn.004ae830
add esp, 8
mov dword [esp + 0x10], 0x4f67d8
mov esi, dword [esp + 0x14]
mov dword [esp + 0xa8], 5
cmp esi, ebx
je 0x4b0871
lea edx, [esi + 8]
push 1
push edx
call fcn.0048e1c0
mov esi, dword [esi]
cmp esi, ebx
jne 0x4b0860
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [esp + 0xa8], 0xffffffff
push ebx
lea ecx, [esp + 0x60]
push ebp
push ecx
call fcn.004b3ad0
mov eax, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
sub eax, edi
sub ecx, esi
add esp, 0xc
cmp eax, ecx
jge 0x4b08be
mov eax, ecx
cmp eax, dword [esp + 0x2c]
sbb eax, eax
inc eax
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x9c
ret
mov dword [esp + 0x10], 0x4f67d8
mov esi, dword [esp + 0x14]
mov dword [esp + 0xa8], 4
cmp esi, ebx
je 0x4b090a
lea eax, [esi + 8]
push 1
push eax
call fcn.0048e1c0
mov esi, dword [esi]
cmp esi, ebx
jne 0x4b08f9
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
xor eax, eax
jmp 0x4b08c5