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

Disassembly:
push 0xffffffffffffffff
push 0x4a3a23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call fcn.0043d1f0
mov ax, word [edi + 6]
mov ebx, dword [esp + 0x80]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
shr eax, 0xc
and eax, 0xff
mov dword [ebx], ecx
and eax, 1
mov dword [ebx + 4], edx
mov dword [esp + 0x14], eax
mov eax, dword [0x4c95b0]
xor ebp, ebp
neg eax
mov dword [esp + 0x68], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x28], ebp
mov word [esp + 0x70], bp
mov word [esp + 0x72], ax
lea eax, [esp + 0x70]
mov byte [esp + 0x68], 1
push eax
push ebx
call fcn.0040a080
mov cx, word [0x4c95b0]
mov word [esp + 0x78], bp
mov word [esp + 0x7a], cx
lea edx, [esp + 0x78]
lea esi, [ebx + 4]
push edx
push esi
mov byte [esp + 0x78], 2
call fcn.0040a080
mov eax, dword [0x4c95b0]
mov word [esp + 0x82], bp
neg eax
add word [ebx], ax
mov ax, word [0x4c95b0]
mov word [esp + 0x80], ax
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 3
push ecx
push esi
call fcn.0040a080
mov ebp, dword [esp + 0x8c]
add esp, 0x18
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
dec eax
mov word [esp + 0x70], cx
mov word [esp + 0x72], ax
xor esi, esi
mov word [esp + 0x12], 1
mov word [esp + 0x10], si
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 5
call fcn.004383d0
push eax
push ebx
mov byte [esp + 0x70], 6
call fcn.00438530
add esp, 8
mov cx, word [ebx + 2]
mov byte [esp + 0x68], 0
mov word [esp + 0x10], cx
mov ecx, ebx
call fcn.00402110
test al, al
jne 0x409c92
mov ax, word [ebx + 6]
mov cx, word [ebx + 2]
sub eax, ecx
mov dword [esp + 0x70], eax
jmp 0x409c96
mov dword [esp + 0x70], esi
mov dl, byte [edi + 6]
shr dl, 6
test dl, 1
jne 0x409cb6
push esi
push 2
push 0x4b1624
push 0x4c95bc
call fcn.00441210
add esp, 0x10
add edi, 0x10
mov dword [esp + 0x44], edi
mov eax, dword [edi]
mov dword [esp + 0x48], eax
mov edi, dword [edi]
cmp edi, esi
je 0x409ccd
mov edi, dword [edi]
jmp 0x409ccf
xor edi, edi
mov eax, edi
cmp eax, esi
mov dword [esp + 0x4c], eax
je 0x409cdd
mov eax, dword [eax]
jmp 0x409cdf
xor eax, eax
push 4
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], esi
mov byte [esp + 0x60], 0
mov byte [esp + 0x58], 0
mov byte [esp + 0x59], 0
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, esi
je 0x409d08
mov dword [eax], esi
jmp 0x409d0a
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov dword [ecx], eax
mov edx, dword [eax]
mov dword [esp + 0x2c], edx
mov eax, dword [eax]
cmp eax, esi
je 0x409d24
mov eax, dword [eax]
jmp 0x409d26
xor eax, eax
cmp eax, esi
mov dword [esp + 0x30], eax
je 0x409d32
mov eax, dword [eax]
jmp 0x409d34
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x4c]
cmp eax, esi
mov dword [esp + 0x3c], esi
mov byte [esp + 0x40], 0
mov byte [esp + 0x38], 0
mov byte [esp + 0x39], 0
je 0x409d59
mov dword [esp + 0x58], eax
jmp 0x409d5e
mov byte [esp + 0x55], 1
mov byte [esp + 0x5c], 0
mov ecx, dword [esp + 0x44]
cmp dword [ecx], esi
je 0x409e62
cmp eax, dword [esp + 0x58]
jne 0x409d81
mov al, byte [esp + 0x5c]
test al, al
jne 0x409e62
push 0x10
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x78], eax
cmp eax, esi
mov byte [esp + 0x68], 7
je 0x409db0
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x14]
push ecx
push edx
mov ecx, eax
call fcn.00408ed0
mov esi, eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x70], 0
call fcn.004091d0
test al, al
je 0x409deb
push 0x1f1
push 0x4b22ac
push 0x4b1640
push 0
push 0x4b226c
push 0x4c95f8
call fcn.00441210
add esp, 0x18
mov eax, dword [esp + 0x28]
cmp dword [eax], 0
jne 0x409e06
mov dword [esi], esi
mov ecx, dword [esp + 0x28]
mov dword [ecx], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x2c], esi
jmp 0x409e4a
mov edx, dword [esp + 0x34]
mov dword [esi], edx
mov eax, dword [esp + 0x30]
test eax, eax
je 0x409e2a
mov dword [eax], esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
cmp eax, dword [ecx]
jne 0x409e4a
mov dword [ecx], esi
jmp 0x409e4a
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov al, byte [esp + 0x38]
test al, al
je 0x409e3e
mov ecx, dword [esp + 0x28]
mov dword [ecx], esi
mov al, byte [esp + 0x39]
test al, al
je 0x409e4a
mov dword [esp + 0x3c], esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x30], esi
call fcn.004403e0
mov eax, dword [esp + 0x4c]
xor esi, esi
jmp 0x409d63
push ebx
push ebp
call fcn.0040a0a0
mov esi, dword [esp + 0x84]
add esp, 8
lea ecx, [esp + 0x28]
mov dword [esi], eax
mov dx, word [ebx]
mov word [esp + 0x70], dx
call fcn.004020e0
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x409e94
mov dword [esp + 0x3c], ecx
jmp 0x409e99
mov byte [esp + 0x39], 1
mov byte [esp + 0x40], 0
mov edi, dword [esp + 0x28]
cmp dword [edi], 0
je 0x409f51
cmp ecx, dword [esp + 0x3c]
jne 0x409ebd
mov al, byte [esp + 0x40]
test al, al
jne 0x409f51
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push edx
call fcn.004091d0
test al, al
je 0x409ef1
push 0x1ff
push 0x4b22ac
push 0x4b1640
push 0
push 0x4b221c
push 0x4c95f8
call fcn.00441210
add esp, 0x18
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x70]
mov edx, dword [esi]
push eax
push ecx
mov ecx, dword [esp + 0x38]
push edx
call fcn.004093c0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x38]
call fcn.004091d0
test al, al
je 0x409f3f
push 0x203
push 0x4b22ac
push 0x4b1640
push 0
push 0x4b221c
push 0x4c95f8
call fcn.00441210
add esp, 0x18
lea ecx, [esp + 0x28]
call fcn.004403e0
mov ecx, dword [esp + 0x30]
jmp 0x409e9e
mov eax, dword [edi]
mov byte [esp + 0x70], 0
test eax, eax
je 0x409f60
mov eax, dword [eax]
jmp 0x409f62
xor eax, eax
mov dword [esp + 0x30], eax
mov ecx, dword [edi]
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x409f74
mov ecx, dword [eax]
jmp 0x409f76
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x34], ecx
test eax, eax
mov ebp, eax
je 0x409f88
mov dword [esp + 0x3c], eax
jmp 0x409f8d
mov byte [esp + 0x39], 1
mov byte [esp + 0x40], 0
mov ecx, dword [edi]
test ecx, ecx
je 0x40a05e
cmp eax, dword [esp + 0x3c]
jne 0x409fae
mov dl, byte [esp + 0x40]
test dl, dl
jne 0x40a05e
mov edi, esi
cmp eax, ecx
mov esi, ebp
je 0x409fc8
test eax, eax
jne 0x409fcc
cmp dword [esp + 0x2c], ecx
jne 0x409fcc
mov al, byte [esp + 0x38]
test al, al
je 0x409fcc
xor ebp, ebp
jmp 0x409fd9
push 1
lea ecx, [esp + 0x2c]
call fcn.00440430
mov ebp, eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
push edx
push ebp
mov ecx, dword [eax]
push edi
push ebx
push ecx
mov ecx, esi
call fcn.004094c0
mov ecx, dword [esp + 0x74]
mov bl, al
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
push eax
push ecx
mov ecx, esi
call fcn.004091d0
test al, al
je 0x40a02b
push 0x219
push 0x4b22ac
push 0x4b1640
push 0
push 0x4b21d8
push 0x4c95f8
call fcn.00441210
add esp, 0x18
mov al, byte [esp + 0x70]
test al, al
jne 0x40a03c
test bl, bl
mov byte [esp + 0x70], 0
je 0x40a041
mov byte [esp + 0x70], 1
lea ecx, [esp + 0x28]
call fcn.004403e0
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x80]
jmp 0x409f92
mov al, byte [esp + 0x70]
test al, al
jne 0x409f51
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret