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

Disassembly:
push 0xffffffffffffffff
push 0x4edae1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
mov eax, dword [esp + 0xdc]
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov ecx, dword [eax + 0xc]
push edi
cmp ecx, ebx
mov dword [esp + 0x10], esi
jne 0x48566e
mov ax, 1
jmp 0x485ae6
mov edi, 0xa
mov dword [esp + 0x44], ebx
mov dword [esp + 0x64], 0x4f67d8
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
xor ecx, ecx
mov dword [esp + 0xe4], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ebp, 0x4f9554
mov dword [esp + 0x78], ebx
mov dword [esp + 0x80], ebp
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], edi
xor ecx, ecx
mov byte [esp + 0xe4], 1
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov ecx, dword [esi + 0x7c]
mov edx, dword [esp + 0x88]
mov dword [esp + 0x94], ebx
push ebx
mov esi, dword [ecx]
push edx
lea ecx, [esp + 0x88]
call fcn.0048e1f0
mov dword [eax + 8], esi
mov ecx, dword [esp + 0x88]
cmp ecx, ebx
je 0x485721
mov dword [ecx], eax
jmp 0x485728
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x48], ebp
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], edi
xor ecx, ecx
mov byte [esp + 0xe4], 2
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov eax, dword [esp + 0x50]
mov dword [esp + 0x5c], ebx
xor esi, esi
mov ebp, dword [esp + 0x10]
push ebx
push eax
mov ecx, dword [ebp + 0x7c]
mov edi, dword [ecx + esi]
lea ecx, [esp + 0x50]
call fcn.0048e1f0
mov dword [eax + 8], edi
mov ecx, dword [esp + 0x50]
cmp ecx, ebx
je 0x485788
mov dword [ecx], eax
jmp 0x48578c
mov dword [esp + 0x4c], eax
add esi, 4
mov dword [esp + 0x50], eax
cmp esi, 0x40
jl 0x485764
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx]
cmp eax, ebx
mov dword [esp + 0x4c], eax
je 0x4857ab
mov dword [eax + 4], ebx
jmp 0x4857af
mov dword [esp + 0x50], ebx
push ecx
lea ecx, [esp + 0x4c]
call fcn.0048e260
mov esi, dword [esp + 0xec]
mov eax, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x485aa9
mov edx, dword [eax]
mov dword [esp + 0x14], edx
mov cl, byte [eax + 0xc]
mov byte [esp + 0x1c], cl
mov dl, byte [eax + 0xd]
mov byte [esp + 0x1d], dl
mov edi, dword [eax + 0x10]
mov dword [esp + 0x20], edi
mov edi, dword [eax + 0x14]
mov dword [esp + 0x24], edi
mov edi, dword [eax + 0x18]
mov dword [esp + 0x28], edi
mov edi, dword [eax + 0x1c]
mov dword [esp + 0x2c], edi
mov edi, dword [eax + 0x20]
mov dword [esp + 0x30], edi
mov edi, dword [eax + 0x24]
mov dword [esp + 0x34], edi
mov edi, dword [eax + 0x28]
mov dword [esp + 0x38], edi
mov edi, dword [eax + 0x2c]
mov dword [esp + 0x3c], edi
mov eax, dword [eax + 0x30]
mov dword [esp + 0x40], eax
mov dword [esp + 0x18], 0x4f67d4
cmp dl, 0xa
mov byte [esp + 0xe4], 3
jne 0x4858a0
sub esp, 0x2c
mov eax, esp
mov dword [esp + 0x3c], esp
mov byte [eax + 4], cl
mov cl, byte [esp + 0x49]
mov byte [eax + 5], cl
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x54]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x24], ecx
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x90]
mov dword [eax + 0x28], edx
mov dword [eax], 0x4f67d4
call fcn.0042ed70
jmp 0x4859a7
cmp dl, 0x14
je 0x4858b7
cmp dl, 0x1e
je 0x4858b7
cmp cl, bl
jne 0x4859a7
jmp 0x485a8c
sub esp, 0x2c
mov eax, esp
mov dword [esp + 0x3c], esp
mov byte [eax + 4], cl
mov cl, byte [esp + 0x49]
mov byte [eax + 5], cl
mov edx, dword [esp + 0x4c]
mov dword [eax + 8], edx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0xc], ecx
mov edx, dword [esp + 0x54]
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0x14], ecx
mov edx, dword [esp + 0x5c]
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x1c], ecx
mov edx, dword [esp + 0x64]
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x24], ecx
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0x90]
mov dword [eax + 0x28], edx
mov dword [eax], 0x4f67d4
call fcn.0042ed70
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.0042e960
mov dl, byte [eax + 4]
sub esp, 0x2c
mov ecx, esp
mov dword [esp + 0x3c], esp
mov byte [ecx + 4], dl
mov dl, byte [eax + 5]
mov byte [ecx + 5], dl
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ecx + 0xc], edx
mov edx, dword [eax + 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax + 0x14]
mov dword [ecx + 0x14], edx
mov edx, dword [eax + 0x18]
mov dword [ecx + 0x18], edx
mov edx, dword [eax + 0x1c]
mov dword [ecx + 0x1c], edx
mov edx, dword [eax + 0x20]
mov dword [ecx + 0x20], edx
mov edx, dword [eax + 0x24]
mov dword [ecx + 0x24], edx
mov eax, dword [eax + 0x28]
mov dword [ecx + 0x28], eax
mov dword [ecx], 0x4f67d4
lea ecx, [esp + 0xdc]
push ecx
lea ecx, [esp + 0x48]
call fcn.004d9bb0
lea ecx, [esp + 0xb0]
call fcn.004d9ba0
cmp dword [esp + 0x14], ebx
je 0x4859a7
mov cl, byte [esp + 0x1c]
cmp cl, bl
jne 0x4858b7
mov dword [esp + 0x9c], 0x4f57c0
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xa4], ebx
lea edx, [esp + 0x9c]
lea eax, [esp + 0x64]
push edx
push eax
mov byte [esp + 0xec], 4
call fcn.004ae830
mov ecx, dword [ebp + 0x5c]
mov edx, dword [ebp + 0x58]
push ebx
push ecx
lea eax, [esp + 0xac]
push edx
push eax
call fcn.004b0450
add esp, 0x18
cmp eax, ebx
je 0x485a58
mov edi, dword [esp + 0xf0]
cmp edi, ebx
je 0x485a21
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x30]
mov ecx, ebp
push edx
call fcn.00485be0
jmp 0x485a3d
mov edx, dword [esp + 0x68]
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0x4c]
mov eax, dword [edx + 0x30]
push ecx
push eax
mov ecx, ebp
call fcn.00485b10
mov ecx, dword [esp + 0xf4]
lea edx, [esp + 0x9c]
push ecx
push edi
push eax
push edx
mov ecx, ebp
call fcn.00485c90
jmp 0x485a60
mov dword [esp + 0x44], 1
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0xa4]
call fcn.004163d0
lea ecx, [esp + 0x64]
call fcn.0042eef0
lea ecx, [esp + 0x9c]
mov byte [esp + 0xe4], 3
call fcn.004166e0
lea ecx, [esp + 0x18]
mov byte [esp + 0xe4], 2
call fcn.004d9ba0
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x4857cf
lea ecx, [esp + 0x48]
mov byte [esp + 0xe4], 1
call fcn.0048dc00
lea ecx, [esp + 0x80]
mov byte [esp + 0xe4], bl
call fcn.0048dc00
lea ecx, [esp + 0x64]
mov dword [esp + 0xe4], 0xffffffff
call fcn.0042efc0
mov ax, word [esp + 0x44]
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xd8
ret 0xc