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

Disassembly:
push 0xffffffffffffffff
push 0x4ed16c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa8
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 0x4f57c0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0x2c], 0x4f6838
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], 0xa
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
add edx, eax
mov ecx, eax
cmp eax, edx
mov byte [esp + 0xc0], 1
mov dword [esp + 0x14], ecx
mov dword [esp + 0x4c], edx
je 0x47d6b0
mov edx, dword [esp + 0xcc]
mov esi, dword [esp + 0xc8]
mov edi, ecx
lea eax, [esp + 0x50]
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
push esi
mov ecx, ebp
mov dword [esp + 0x58], edi
call fcn.0047d770
cmp ax, bx
jl 0x47d6ac
test al, 1
je 0x47d441
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x10]
add ecx, edi
or edx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], edx
jmp 0x47d6a0
mov edx, dword [esp + 0x10]
or edx, eax
mov ax, word [esp + 0x50]
cmp ax, 1
mov dword [esp + 0x10], edx
jne 0x47d574
mov ecx, dword [esp + 0xcc]
lea edx, [esp + 0x78]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
push esi
mov ecx, ebp
call fcn.0047d910
cmp ax, bx
jl 0x47d6ac
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x54]
or ecx, eax
mov dword [esp + 0x10], ecx
lea eax, [edx + edi]
lea ecx, [esp + 0x18]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
push esi
mov ecx, ebp
call fcn.0047df00
cmp ax, bx
jl 0x47d6ac
mov edx, dword [esp + 0x10]
or edx, eax
mov eax, dword [esp + 0x20]
cmp eax, 1
mov dword [esp + 0x10], edx
jle 0x47d596
mov cx, word [esp + 0x7e]
cmp cx, 1
jne 0x47d550
dec eax
lea ecx, [esp + 0x18]
push eax
lea eax, [esp + 0x68]
push eax
call fcn.00416560
mov eax, dword [esp + 0x70]
cmp eax, 1
jne 0x47d50a
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + eax*4]
mov dword [edx + ecx*4 - 8], 2
lea ecx, [esp + 0x64]
call fcn.004ba050
jmp 0x47d596
cmp eax, 3
jne 0x47d52d
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
lea eax, [eax + eax*4]
mov dword [ecx + eax*4 - 8], 4
lea ecx, [esp + 0x64]
call fcn.004ba050
jmp 0x47d596
cmp eax, 0xa
jne 0x47d545
mov eax, dword [esp + 0x20]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x1c]
mov dword [eax + edx*4 - 0x1c], 8
lea ecx, [esp + 0x64]
call fcn.004ba050
jmp 0x47d596
cmp cx, 3
jne 0x47d596
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x80]
mov dword [ecx + 0x18], edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x84]
mov dword [ecx + 0x1c], eax
jmp 0x47d596
cmp ax, 4
jne 0x47d596
cmp word [esp + 0xcc], 0xc8
mov eax, dword [esp + 0x14]
jae 0x47d58f
add eax, 0x18
jmp 0x47d592
add eax, 0x20
mov dword [esp + 0x14], eax
lea edx, [esp + 0x2c]
mov eax, dword [esp + 0xc8]
push edx
mov ecx, 5
sub esp, 0x14
lea esi, [esp + 0x68]
mov edi, esp
sub esp, 0x24
rep movsd dword es:[edi], dword [esi]
mov ecx, 9
lea esi, [esp + 0x108]
mov edi, esp
push eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.0047ec30
cmp ax, bx
jl 0x47d6ac
mov edx, dword [esp + 0x10]
or edx, eax
mov ax, word [esp + 0x50]
cmp ax, 1
mov dword [esp + 0x10], edx
jne 0x47d5f7
cmp dword [esp + 0x20], 2
jge 0x47d60d
jmp 0x47d692
cmp ax, 4
jne 0x47d692
cmp dword [esp + 0x38], 2
jge 0x47d65e
jmp 0x47d692
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf0]
push ecx
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
sub esp, 0x40
mov edx, dword [esp + 0x11c]
mov ecx, 0x10
lea esi, [esp + 0xc8]
mov edi, esp
sub esp, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, 5
lea esi, [esp + 0xb4]
mov edi, esp
push edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
call fcn.0047fc40
jmp 0x47d692
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf0]
push eax
lea edx, [esp + 0x30]
mov eax, dword [esp + 0xd0]
push ecx
push edx
mov ecx, 5
sub esp, 0x14
lea esi, [esp + 0x70]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
push eax
mov ecx, ebp
call fcn.00480af0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
add ecx, edx
mov dword [esp + 0x14], ecx
cmp ecx, dword [esp + 0x4c]
jne 0x47d3f4
jmp 0x47d6b0
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], 0x4f6838
mov ebp, dword [esp + 0x30]
mov byte [esp + 0xc0], 2
cmp ebp, ebx
je 0x47d6e5
lea esi, [ebp + 8]
xor edi, edi
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax]
add esi, 0x30
mov ecx, edi
dec edi
test ecx, ecx
jne 0x47d6cd
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x47d6c8
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
call sub.MFC42.DLL_CPlex::FreeDataChain
mov dword [esp + 0x40], ebx
mov dword [esp + 0x2c], 0x4f4f00
mov dword [esp + 0x18], 0x4f57c0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc0], 3
cmp esi, ebx
je 0x47d749
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x47d740
lea edi, [eax]
mov edx, dword [esi]
push ebx
mov ecx, esi
call dword [edx]
add esi, 0x14
dec edi
jne 0x47d72f
mov esi, dword [esp + 0x1c]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xb8]
mov ax, word [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb4
ret 0x30