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

Disassembly:
push 0xffffffffffffffff
push 0x4691fb
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x48c9dc]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x70], 2
mov dword [esp + 0x20], 0
call dword [sym.imp.MFC80.DLL_Ordinal_3934]
test al, al
je 0x412aca
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_3934]
test al, al
je 0x412aca
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x84]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
xor eax, eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC80.DLL_Ordinal_3934]
test al, al
jne 0x412e8c
push 0xa
lea ecx, [esp + 0x50]
call sub.MFC80.DLL_Ordinal_427
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
push 0
mov bl, 6
push 0x476034
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], bl
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov esi, eax
cmp esi, 0xffffffff
je 0x412ced
lea ebp, [esi - 1]
push ebp
push 1
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x84]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 7
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x34]
mov byte [esp + 0x70], bl
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0
push 0x4763a4
lea ecx, [esp + 0x80]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov edi, eax
test edi, edi
jne 0x412bc3
push 1
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 0x80]
call dword [sym.imp.MFC80.DLL_Ordinal_4108]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 8
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], bl
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push edi
push 0x4763a4
lea ecx, [esp + 0x80]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov edi, eax
mov esi, ebp
lea edx, [esi + 1]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x80]
call dword [sym.imp.MFC80.DLL_Ordinal_4108]
cmp edi, 0xffffffff
mov byte [esp + 0x70], 9
lea ecx, [esp + 0x18]
jne 0x412c33
push 0
push 0x4760ec
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
cmp eax, edi
je 0x412c27
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x20]
call dword [sym.imp.MFC80.DLL_Ordinal_3997]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0xa
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 9
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC80.DLL_Ordinal_2131]
jmp 0x412c97
mov edx, edi
sub edx, esi
sub edx, 1
push edx
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.MFC80.DLL_Ordinal_3997]
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x74], 0xb
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], 9
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push edi
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x80]
call dword [sym.imp.MFC80.DLL_Ordinal_4108]
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 0xc
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], 9
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
lea ecx, [esp + 0x30]
mov esi, eax
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push esi
push eax
lea ecx, [esp + 0x54]
call sub.MFC80.DLL_Ordinal_870
mov ecx, eax
call dword [sym.imp.MFC80.DLL_Ordinal_784]
lea ecx, [esp + 0x18]
mov byte [esp + 0x70], bl
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0
push 0x476034
lea ecx, [esp + 0x80]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
mov esi, eax
cmp esi, 0xffffffff
jne 0x412b2a
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], 0
call dword [sym.imp.MFC80.DLL_Ordinal_310]
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x44]
push 0x4761c0
mov bl, 0xf
push eax
mov byte [esp + 0x7c], bl
call fcn.00411fb0
push 0x4761c0
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x88], 0x10
call fcn.00402500
add esp, 0x18
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x74], 0x11
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], bl
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov eax, dword [esp + 0x58]
neg eax
sbb eax, eax
mov dword [esp + 0x24], eax
je 0x412e37
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x58]
call sub.MFC80.DLL_Ordinal_3023
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x44]
push 0x4761c0
push eax
call fcn.00411fb0
push 0x4761c0
push eax
lea ecx, [esp + 0x58]
push ecx
mov byte [esp + 0x88], 0x12
call fcn.00402500
add esp, 0x18
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 0x13
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x44]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x40]
mov byte [esp + 0x70], bl
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
cmp eax, 0xffffffff
jne 0x412e1d
cmp dword [esp + 0x24], 0
jne 0x412d85
jmp 0x412e37
mov ecx, dword [esp + 0x80]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.MFC80.DLL_Ordinal_781]
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x70], 2
call sub.MFC80.DLL_Ordinal_664
cmp dword [esp + 0x20], 0
jne 0x41301a
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_3934]
test al, al
jne 0x412a93
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
push 0x4761d4
lea ecx, [esp + 0x40]
mov byte [esp + 0x74], 0x14
call dword [sym.imp.MFC80.DLL_Ordinal_304]
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC80.DLL_Ordinal_310]
mov bl, 0x16
lea ecx, [esp + 0x7c]
mov byte [esp + 0x70], bl
call dword [sym.imp.MFC80.DLL_Ordinal_2902]
sub eax, 2
push eax
push 1
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x88]
call dword [sym.imp.MFC80.DLL_Ordinal_4109]
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x74], 0x17
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x48]
mov byte [esp + 0x70], bl
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x84]
push ecx
lea edx, [esp + 0x48]
push 0x4761c0
push edx
call fcn.00411fb0
push 0x4761c0
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x88], 0x18
call fcn.00402500
add esp, 0x18
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x74], 0x19
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], bl
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x7c]
push ecx
lea edx, [esp + 0x48]
push 0x4761c0
push edx
call fcn.00411fb0
push 0x4761c0
push eax
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x88], 0x1a
call fcn.00402500
add esp, 0x18
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x74], 0x1b
call dword [sym.imp.MFC80.DLL_Ordinal_781]
lea ecx, [esp + 0x48]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x44]
mov byte [esp + 0x70], bl
call dword [sym.imp.MFC80.DLL_Ordinal_578]
push 0
lea ecx, [esp + 0x34]
call dword [sym.imp.MFC80.DLL_Ordinal_876]
push eax
lea ecx, [esp + 0x84]
call dword [sym.imp.MFC80.DLL_Ordinal_2272]
cmp eax, 0xffffffff
je 0x412ffc
mov ecx, dword [esp + 0x80]
push 0x4761d4
call dword [sym.imp.MFC80.DLL_Ordinal_784]
mov dword [esp + 0x20], 1
lea ecx, [esp + 0x40]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x78]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x7c]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
lea ecx, [esp + 0x84]
call dword [sym.imp.MFC80.DLL_Ordinal_578]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret