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

Disassembly:
push 0xffffffffffffffff
push 0x4dae53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push esi
push edi
mov edi, dword [esp + 0x78]
mov esi, ecx
cmp edi, 1
mov dword [esp + 0xc], esi
jb 0x49db36
mov ecx, dword [esi]
push ebx
xor ebx, ebx
push ebp
cmp ecx, ebx
je 0x49d8a5
mov eax, dword [ecx]
push 3
call dword [eax]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea eax, [edi + edi*2]
lea ebp, [eax + eax*4]
shl ebp, 2
mov dword [esp + 0x18], ebp
lea ecx, [ebp + 4]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x80], eax
cmp eax, ebx
mov dword [esp + 0x78], ebx
je 0x49d8e7
push fcn.00499920
push fcn.00499870
lea esi, [eax + 4]
push edi
push 0x3c
push esi
mov dword [eax], edi
call fcn.004ce784
jmp 0x49d8e9
xor esi, esi
mov ecx, dword [esp + 0x14]
cmp edi, ebx
mov dword [esp + 0x78], 0xffffffff
mov dword [ecx], esi
jbe 0x49db2a
mov ebp, dword [esp + 0x84]
add esi, 0xc
mov dword [esp + 0x10], edi
lea ebx, [ebp + 8]
mov edx, dword [ebp + 4]
mov ecx, ebx
mov dword [esi - 8], edx
lea edi, [esi - 4]
call fcn.0049db50
test eax, eax
je 0x49da3b
lea eax, [esi - 4]
cmp eax, ebx
je 0x49da3b
mov ebp, dword [edi]
test ebp, ebp
jne 0x49d942
mov dword [esp + 0x80], ebp
jmp 0x49d961
mov ecx, dword [esi + 4]
mov eax, 0x88888889
sub ecx, ebp
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov dword [esp + 0x80], edx
mov eax, dword [ebx]
test eax, eax
je 0x49d98a
mov ecx, dword [ebx + 4]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x80]
cmp eax, edx
jb 0x49d9f5
mov dword [esi], ebp
mov eax, dword [ebx + 4]
mov edi, dword [ebx]
mov dword [esp + 0x80], eax
cmp edi, eax
je 0x49d9b5
push edi
mov ecx, ebp
call fcn.004a17d0
mov eax, dword [esp + 0x80]
add edi, 0x3c
add ebp, 0x3c
cmp edi, eax
jne 0x49d99c
mov eax, dword [ebx]
test eax, eax
jne 0x49d9cd
xor edx, edx
lea eax, [edx + edx*2]
lea edx, [eax + eax*4]
mov eax, dword [esi - 4]
lea ecx, [eax + edx*4]
mov dword [esi], ecx
jmp 0x49da3b
mov ecx, dword [ebx + 4]
sub ecx, eax
mov eax, 0x88888889
imul ecx
add edx, ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea eax, [edx + edx*2]
lea edx, [eax + eax*4]
mov eax, dword [esi - 4]
lea ecx, [eax + edx*4]
mov dword [esi], ecx
jmp 0x49da3b
lea ecx, [esp + 0x34]
call fcn.00499870
push eax
mov ecx, ebx
mov dword [esp + 0x7c], 1
call fcn.0049db50
push eax
mov ecx, edi
call fcn.0049d860
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], 0xffffffff
call fcn.00499920
mov edx, dword [edi]
mov eax, dword [ebx + 4]
mov ecx, dword [ebx]
push edx
push eax
push ecx
call fcn.004a14c0
add esp, 0xc
mov dword [esi], eax
mov eax, dword [esp + 0x84]
lea edi, [eax + 0x14]
mov ecx, edi
call fcn.00496780
test eax, eax
je 0x49dae1
lea ebp, [esi + 8]
cmp ebp, edi
je 0x49dae1
mov ecx, dword [ebp]
test ecx, ecx
jne 0x49da6a
xor eax, eax
jmp 0x49da72
mov eax, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
mov ecx, dword [edi]
test ecx, ecx
je 0x49da84
mov edx, dword [edi + 4]
sub edx, ecx
sar edx, 2
cmp eax, edx
jb 0x49daa9
mov eax, dword [ebp]
mov dword [esi + 0xc], eax
mov ecx, dword [edi]
push eax
mov eax, dword [edi + 4]
push eax
push ecx
call fcn.0041a6b0
add esp, 0xc
mov ecx, edi
call fcn.00496780
mov edx, dword [ebp]
lea eax, [edx + eax*4]
jmp 0x49dade
lea ecx, [esp + 0x80]
mov dword [esp + 0x80], 0
push ecx
mov ecx, edi
call fcn.00496780
push eax
mov ecx, ebp
call fcn.0049d160
mov edx, dword [ebp]
mov eax, dword [edi + 4]
mov edi, dword [edi]
push edx
push eax
push edi
call fcn.0041a6b0
add esp, 0xc
mov dword [esi + 0xc], eax
mov ebp, dword [esp + 0x84]
lea eax, [esp + 0x1c]
lea ecx, [esi + 0x14]
lea edi, [ebp + 0x20]
push edi
push eax
call fcn.004051b0
add edi, 0xc
lea ecx, [esp + 0x28]
push edi
push ecx
lea ecx, [esi + 0x20]
call fcn.004051b0
mov edx, dword [ebp + 0x38]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x2c], edx
add esi, 0x3c
dec eax
mov dword [esp + 0x10], eax
jne 0x49d910
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
add ebp, eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebp
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x6c
ret 8