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

Disassembly:
push 0xffffffffffffffff
push 0x4a60c6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
xor ebx, ebx
push ebp
push esi
mov dword [esp + 0xc], ebx
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0xac], ebx
call fcn.0040f9a0
mov ebp, dword [esp + 0xb4]
mov ecx, dword [ebp]
mov dword [ebp + 0x10], ebx
cmp dword [ecx], ebx
jne 0x470e16
movsx edx, word [ebp + 6]
movsx eax, word [ebp + 4]
imul edx, eax
dec edx
mov eax, dword [ebp + 0x10]
cmp eax, edx
jge 0x470e16
inc eax
mov dword [ebp + 0x10], eax
cmp dword [ecx + eax*4], ebx
je 0x470e06
mov edx, dword [ebp + 0x10]
lea ecx, [ecx + edx*4]
push ecx
lea ecx, [esp + 0x30]
call fcn.0040f9a0
mov esi, dword [esp + 0xb0]
lea ecx, [esp + 0x48]
mov dword [esp + 0x68], ebx
lea eax, [esi + 0x30]
push eax
call fcn.0040f9a0
add esi, 0x34
lea ecx, [esp + 0x84]
push esi
call fcn.0040f9a0
mov ecx, dword [esp + 0x2c]
cmp dword [ecx], ebx
je 0x4710b5
push edi
jmp 0x470e5f
xor ebx, ebx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
cmp eax, ebx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], eax
je 0x470e77
mov eax, dword [eax]
jmp 0x470e79
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x470e85
mov eax, dword [eax]
jmp 0x470e87
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ebx
mov byte [esp + 0x2c], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0
mov ecx, 7
lea esi, [esp + 0x30]
lea edi, [esp + 0x6c]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x30]
call fcn.004403e0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
mov eax, dword [eax]
cmp eax, ebx
je 0x470eec
cmp ecx, dword [eax]
je 0x470eec
cmp ecx, ebx
jne 0x470eda
cmp dword [esp + 0x34], eax
jne 0x470eda
mov al, byte [esp + 0x40]
test al, al
je 0x470eec
push ecx
mov ecx, dword [esp + 0x78]
call fcn.0042d380
test al, al
je 0x470ead
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
mov eax, dword [edx]
cmp eax, ebx
je 0x470f0c
cmp ecx, dword [eax]
je 0x470f0c
cmp ecx, ebx
jne 0x470e9e
cmp dword [esp + 0x34], eax
jne 0x470e9e
mov al, byte [esp + 0x40]
test al, al
jne 0x470e9e
lea ecx, [esp + 0x6c]
call fcn.00402070
mov ecx, dword [esp + 0x14]
cmp dword [ecx], ebx
jne 0x470f2f
mov dword [eax], eax
mov edx, dword [esp + 0x14]
mov dword [edx], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
jmp 0x470f73
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
cmp ecx, ebx
je 0x470f53
mov dword [ecx], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
cmp ecx, dword [edx]
jne 0x470f73
mov dword [edx], eax
jmp 0x470f73
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov cl, byte [esp + 0x24]
test cl, cl
je 0x470f67
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov cl, byte [esp + 0x25]
test cl, cl
je 0x470f73
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x14]
lea eax, [esp + 0x88]
push edx
push eax
push ebp
call fcn.004710f0
push 8
mov bl, al
call sub.MFC42.DLL_operatornew
add esp, 0x10
mov dword [esp + 0x68], eax
test eax, eax
mov byte [esp + 0xac], 1
je 0x470fb4
lea ecx, [esp + 0x10]
push ecx
mov ecx, eax
call fcn.0043b4a0
jmp 0x470fb6
xor eax, eax
test bl, bl
mov byte [esp + 0xac], 0
je 0x47102f
mov edx, dword [esp + 0x4c]
cmp dword [edx], 0
jne 0x470fe1
mov dword [eax], eax
mov ecx, dword [esp + 0x4c]
mov dword [ecx], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
jmp 0x47103c
mov edx, dword [esp + 0x58]
mov dword [eax], edx
mov ecx, dword [esp + 0x54]
test ecx, ecx
je 0x471009
mov dword [ecx], eax
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x50], ecx
cmp ecx, dword [edx]
jne 0x471029
mov dword [edx], eax
mov dword [esp + 0x54], eax
jmp 0x47103c
mov ecx, dword [esp + 0x50]
mov dword [ecx], eax
mov cl, byte [esp + 0x5c]
test cl, cl
je 0x47101d
mov edx, dword [esp + 0x4c]
mov dword [edx], eax
mov cl, byte [esp + 0x5d]
test cl, cl
je 0x471029
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], eax
jmp 0x47103c
push eax
lea ecx, [esp + 0x8c]
call fcn.00426fb0
mov ecx, dword [ebp]
mov eax, dword [ebp + 0x10]
cmp dword [ecx + eax*4], 0
jne 0x471065
movsx edx, word [ebp + 6]
movsx eax, word [ebp + 4]
imul edx, eax
dec edx
mov eax, dword [ebp + 0x10]
cmp eax, edx
jge 0x471065
inc eax
mov dword [ebp + 0x10], eax
cmp dword [ecx + eax*4], 0
je 0x471054
mov edx, dword [ebp + 0x10]
lea eax, [ecx + edx*4]
mov dword [esp + 0x30], eax
mov ecx, dword [eax]
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
test ecx, ecx
je 0x47107f
mov ecx, dword [ecx]
jmp 0x471081
xor ecx, ecx
test ecx, ecx
mov dword [esp + 0x38], ecx
je 0x47108d
mov ecx, dword [ecx]
jmp 0x47108f
xor ecx, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x44], 0
mov byte [esp + 0x48], 0
mov byte [esp + 0x40], 0
mov byte [esp + 0x41], 0
mov ecx, dword [eax]
test ecx, ecx
jne 0x470e5d
pop edi
push 0x42be60
lea ecx, [esp + 0x10]
mov dword [esp + 0xac], 0xffffffff
call fcn.0043fe20
mov ecx, dword [esp + 0xa0]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret