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

Disassembly:
push 0xffffffffffffffff
push 0x4a3df3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov eax, 0x7fff
push ebx
push ebp
mov word [esp + 0x14], ax
mov word [esp + 0x16], ax
xor ebp, ebp
mov eax, 0xffff8001
mov dword [esp + 0x38], ebp
mov dword [esp + 0x1c], ebp
mov word [esp + 0x18], ax
mov word [esp + 0x1a], ax
mov bl, 1
mov dword [esp + 0xa0], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], 0x3f800000
mov word [esp + 0x5a], bp
mov dword [esp + 0x7c], ebp
mov byte [esp + 0x58], bl
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov dword [esp + 0x68], ebp
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov byte [esp + 0xa0], bl
mov dword [esp + 0xc], ebp
mov word [eax], bp
mov word [ecx], bp
mov ecx, dword [esp + 0xa8]
mov eax, dword [ecx + 4]
cmp dword [eax + 0x10], ebp
je 0x412855
fld dword [ecx + 0x2c]
fild dword [0x4cb9d8]
push esi
lea edx, [esp + 0x5c]
push edi
push edx
fdiv st(1)
mov edx, dword [esp + 0xb8]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
push ecx
push edx
push eax
fstp st(0)
call fcn.0040fff0
mov esi, eax
push ebp
push esi
call fcn.00426530
mov edi, eax
push esi
push edi
call fcn.00425bd0
add esp, 0x20
cmp esi, ebp
mov dword [esp + 0x10], eax
je 0x412585
mov ecx, esi
call fcn.00402140
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
push edi
call fcn.00429370
mov edi, dword [esp + 0x14]
add esp, 4
mov al, byte [edi + 6]
shr al, 6
test bl, al
jne 0x4125b1
push ebp
push 2
push 0x4b1624
push 0x4c9ccc
call fcn.00441210
add esp, 0x10
lea ecx, [edi + 0x10]
mov dword [esp + 0x24], ecx
mov edx, dword [ecx]
mov dword [esp + 0x28], edx
mov eax, dword [ecx]
cmp eax, ebp
je 0x4125c8
mov eax, dword [eax]
jmp 0x4125ca
xor eax, eax
cmp eax, ebp
mov dword [esp + 0x2c], eax
je 0x4125d6
mov eax, dword [eax]
jmp 0x4125d8
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ebp
mov byte [esp + 0x3c], 0
mov byte [esp + 0x34], 0
mov byte [esp + 0x35], 0
call fcn.0043ff80
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xb0]
mov esi, dword [eax + 8]
mov cl, byte [esi + 6]
shr cl, 6
test bl, cl
jne 0x412621
push ebp
push 2
push 0x4b1624
push 0x4c9ccc
call fcn.00441210
add esp, 0x10
lea edx, [esi + 0x10]
mov dword [esp + 0x40], edx
mov eax, dword [edx]
mov dword [esp + 0x44], eax
mov eax, dword [edx]
cmp eax, ebp
je 0x412638
mov eax, dword [eax]
jmp 0x41263a
xor eax, eax
mov ecx, eax
cmp ecx, ebp
mov dword [esp + 0x48], ecx
je 0x412648
mov eax, dword [ecx]
jmp 0x41264a
xor eax, eax
cmp ecx, ebp
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], ebp
mov byte [esp + 0x50], 0
mov byte [esp + 0x51], 0
je 0x412666
mov dword [esp + 0x54], ecx
jmp 0x41266a
mov byte [esp + 0x51], bl
mov byte [esp + 0x58], 0
cmp dword [edx], ebp
je 0x412823
cmp ecx, dword [esp + 0x54]
jne 0x412689
mov al, byte [esp + 0x58]
test al, al
jne 0x412823
lea edx, [esp + 0x88]
push edx
call fcn.00435490
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov di, word [esp + 0x1c]
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
cmp eax, ebp
je 0x4126ed
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
je 0x4126ed
cmp ecx, ebp
jne 0x4126cc
cmp dword [esp + 0x28], eax
jne 0x4126cc
mov al, byte [esp + 0x34]
test al, al
jne 0x4126ed
lea edx, [esp + 0x98]
push edx
call fcn.00435490
cmp word [eax], di
jge 0x4126ed
lea ecx, [esp + 0x24]
call fcn.004403e0
dec dword [esp + 0x18]
jmp 0x4126a8
xor ebx, ebx
mov byte [esp + 0x5c], bl
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x5c]
inc ebx
push eax
call fcn.00440430
mov ecx, dword [esp + 0x48]
mov esi, eax
push ecx
push esi
call fcn.004121d0
add esp, 8
test al, al
jne 0x412780
movsx eax, word [esp + 0x18]
movsx edx, bx
sub eax, edx
test eax, eax
jle 0x412800
cmp bx, 0x81
jge 0x412800
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
cmp eax, ebp
je 0x412800
mov ecx, dword [esp + 0x2c]
cmp ecx, eax
je 0x412800
cmp ecx, ebp
jne 0x412763
cmp dword [esp + 0x28], eax
jne 0x412763
mov al, byte [esp + 0x34]
test al, al
jne 0x412800
lea edx, [esp + 0x90]
mov ecx, esi
push edx
call fcn.00435490
cmp word [eax], di
jne 0x412800
jmp 0x4126ef
mov ebx, dword [esp + 0xb0]
mov ecx, dword [esp + 0x48]
movsx edi, word [esp + 0x14]
mov eax, dword [ebx + 0x38]
add ecx, 4
mov esi, dword [eax]
add esi, edi
call fcn.0043ff80
mov dl, byte [esi]
push eax
push edx
call fcn.00412c80
add esp, 8
test ax, ax
jne 0x412800
mov eax, dword [esp + 0xb8]
inc word [eax]
mov ax, word [esp + 0x14]
cmp ax, word [ebx + 0x48]
jl 0x4127e7
push 0xf0
push 0x4b1654
push 0x4b1640
push ebp
push 0x4b1634
push 0x4c9d08
call fcn.00441210
add esp, 0x18
mov ecx, dword [ebx + 0x44]
lea ecx, [ecx + edi*4]
call fcn.00438a60
test al, al
jne 0x412800
mov eax, dword [esp + 0xbc]
inc word [eax]
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x40]
inc eax
mov dword [esp + 0x14], eax
call fcn.004403e0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x10]
jmp 0x41266f
cmp edi, ebp
je 0x412837
mov ecx, edi
call fcn.00402140
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
cmp word [esp + 0x62], bp
pop edi
mov byte [esp + 0xa4], 0
pop esi
jle 0x412855
mov edx, dword [esp + 0x7c]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x98]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9c
ret