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

Disassembly:
sub esp, 0x1cc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push esi
push edi
mov edi, eax
or ebp, 0xffffffff
fld1
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x74]
push ecx
sub esp, 8
fstp qword [esp]
push str.000000_0000000
push 0x41fec0
push 0xc1
push 0x48
push 0x99
push 0x13
push 0x42507c
lea edx, [esp + 0x48]
push edx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x1c], ebp
je 0x40db90
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x90]
push 0x1f4
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
call ebx
jmp 0x40db25
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x420470
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push edi
call fcn.0040c780
test al, al
jne 0x40dc12
fld1
lea edx, [esp + 0x70]
push edx
lea eax, [esp + 0x8c]
push eax
sub esp, 8
fstp qword [esp]
push str.33a700_202020
push 0x42047c
push 0xe1
push 0x24e
push 2
push 0x1b3
push 0x42507c
lea ecx, [esp + 0x48]
push ecx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x1c], ebp
je 0x40e58b
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
fld1
lea ecx, [esp + 0x158]
push ecx
lea edx, [esp + 0x17c]
push edx
sub esp, 8
fstp qword [esp]
push str.ffffff_2020200
push 0x41f960
push 0x168
push 0x40
push 0x13b
push 0x13
push 0x42507c
lea eax, [esp + 0x58]
push eax
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x2c], ebp
push 5
je 0x40dca7
call ebx
push 0x152
push 0x22
push 0x42508c
lea ecx, [esp + 0xd4]
push ecx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea edx, [esp + 0x64]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1f4
call ebx
mov ecx, edi
call fcn.004112a0
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x420484
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push edi
call fcn.0040c780
test al, al
je 0x40dfb2
call fcn.0040a0d0
mov eax, edi
call fcn.0040e5d0
test eax, eax
je 0x40dcf2
push 0x7d0
call ebx
mov eax, edi
call fcn.0040e5d0
test eax, eax
jne 0x40dce0
push 0x8d
push 0x18b
push 0x42508c
lea eax, [esp + 0x74]
push eax
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea ecx, [esp + 0x50]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call ebx
push 0
lea edx, [esp + 0xa8]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.jh.bmp
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
call fcn.00411a60
push 0x3e8
call ebx
fld1
lea eax, [esp + 0xf8]
push eax
lea ecx, [esp + 0xdc]
push ecx
sub esp, 8
fstp qword [esp]
push str.33a700_202020
push 0x42048c
push 0x13f
push 0x1ac
push 0x24
push 0xdf
push 0x42507c
lea edx, [esp + 0x5c]
push edx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x30], ebp
je 0x40ddd3
mov eax, dword [esp + 0xe0]
mov ecx, dword [esp + 0x100]
jmp 0x40de34
fld1
lea eax, [esp + 0x118]
push eax
lea ecx, [esp + 0x13c]
push ecx
sub esp, 8
fstp qword [esp]
push str.33a700_202020
push 0x42047c
push 0x75
push 0x254
push 0x43
push 0x200
push 0x42507c
lea edx, [esp + 0x64]
push edx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x38], ebp
je 0x40e572
mov eax, dword [esp + 0x140]
mov ecx, dword [esp + 0x120]
push ecx
push eax
push 0x42508c
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x60]
push eax
push 3
push 1
push 0x19
push edi
mov dword [esp + 0x34], ecx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea ecx, [esp + 0xb0]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call ebx
push 0
lea edx, [esp + 0x60]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebx
fld1
lea eax, [esp + 0x1b8]
push eax
lea ecx, [esp + 0x19c]
push ecx
sub esp, 8
fstp qword [esp]
push str.ffffff_2020200
push 0x420134
push 0x16b
push 0x57
push 0x13e
push 0xf
push 0x42507c
lea edx, [esp + 0x60]
push edx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x34], ebp
push 5
je 0x40df2a
call ebx
push 0x152
push 0x22
push 0x42508c
lea eax, [esp + 0xc0]
push eax
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea ecx, [esp + 0x68]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebx
push 0x3e8
call ebx
push edi
call fcn.00409f80
test al, al
jne 0x40df51
lea ecx, [ecx]
push 0x1c2
call ebx
push edi
call fcn.00409f80
test al, al
je 0x40df40
push 0xbb8
call ebx
fld1
lea edx, [esp + 0x168]
push edx
lea eax, [esp + 0x18c]
push eax
sub esp, 8
fstp qword [esp]
push str.eedfde_050505
push 0x420830
push 0x127
push 0x68
push 0x101
push 0x47
push 0x42507c
lea ecx, [esp + 0x4c]
push ecx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x20], ebp
je 0x40e572
push 0x1c2
jmp 0x40df56
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x42048c
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push edi
call fcn.0040c780
test al, al
jne 0x40e037
fld1
lea edx, [esp + 0x108]
push edx
lea eax, [esp + 0xec]
push eax
sub esp, 8
fstp qword [esp]
push str.33a700_202020
push 0x42047c
push 0x75
push 0x254
push 0x43
push 0x200
push 0x42507c
lea ecx, [esp + 0x68]
push ecx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x3c], ebp
je 0x40e377
mov edx, dword [esp + 0xf0]
mov eax, dword [esp + 0x110]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.0040a0d0
push 0x7a
push 0x117
push 0x42508c
lea ecx, [esp + 0xac]
push ecx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea edx, [esp + 0x48]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1c2
call ebx
push edi
call fcn.00409f80
test al, al
jne 0x40e0a1
lea ebx, [ebx]
push 0x1c2
call ebx
push edi
call fcn.00409f80
test al, al
je 0x40e090
mov eax, edi
call fcn.0040e5d0
test eax, eax
je 0x40e0c2
lea esp, [esp]
push 0x7d0
call ebx
mov eax, edi
call fcn.0040e5d0
test eax, eax
jne 0x40e0b0
push 0xb4
push 0x34
push 0x42508c
lea eax, [esp + 0xb4]
push eax
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea ecx, [esp + 0xc4]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1c2
call ebx
push edi
call fcn.00409f80
test al, al
jne 0x40e124
push 0x1c2
call ebx
push edi
call fcn.00409f80
test al, al
je 0x40e113
mov eax, edi
call fcn.0040e5d0
test eax, eax
je 0x40e142
nop
push 0x7d0
call ebx
mov eax, edi
call fcn.0040e5d0
test eax, eax
jne 0x40e130
push 0xb1
push 0x143
push 0x42508c
lea edx, [esp + 0xbc]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea eax, [esp + 0xd4]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call ebx
push 0
lea ecx, [esp + 0xbc]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.jh.bmp
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
call fcn.00411a60
push 0x3e8
call ebx
fld1
lea edx, [esp + 0x148]
push edx
lea eax, [esp + 0x12c]
push eax
sub esp, 8
fstp qword [esp]
push str.33a700_202020
push str._tNB_
push 0x13f
push 0x1ac
push 0x24
push 0xdf
push 0x42507c
lea ecx, [esp + 0x50]
push ecx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x24], ebp
je 0x40e316
mov ecx, dword [esp + 0x150]
mov eax, dword [esp + 0x130]
push ecx
push eax
push 0x42508c
lea edx, [esp + 0xa8]
push edx
push 3
push 1
push 0x19
push edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea eax, [esp + 0x4c]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call ebx
push 0
lea ecx, [esp + 0x54]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebx
push edi
call fcn.00409ad0
test al, al
je 0x40e2d7
push 0x152
push 0x22
push 0x42508c
lea edx, [esp + 0x64]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea eax, [esp + 0x44]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebx
push edi
call fcn.00409f80
test al, al
jne 0x40e30f
push 0x1c2
call ebx
mov eax, edi
call fcn.0040e5d0
test eax, eax
je 0x40e305
push 0x7d0
call ebx
mov eax, edi
call fcn.0040e5d0
test eax, eax
jne 0x40e2f3
push edi
call fcn.00409f80
test al, al
je 0x40e2e1
push 0x3e8
call ebx
push 0xbb8
call ebx
fld1
lea ecx, [esp + 0x1a8]
push ecx
lea edx, [esp + 0x1cc]
push edx
sub esp, 8
fstp qword [esp]
push str.eedfde_050505
push 0x420830
push 0x127
push 0x68
push 0x101
push 0x47
push 0x42507c
lea eax, [esp + 0x54]
push eax
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x28], ebp
je 0x40e572
push 0x1c2
jmp 0x40e31b
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str._tNB_
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push edi
call fcn.0040c780
test al, al
je 0x40e57c
call fcn.0040a0d0
mov eax, edi
call fcn.0040e5d0
test eax, eax
je 0x40e3b9
push 0x7d0
call ebx
mov eax, edi
call fcn.0040e5d0
test eax, eax
jne 0x40e3a7
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.jh.bmp
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
call fcn.00411a60
push 0x3e8
call ebx
fld1
sub esp, 0x18
fstp qword [esp + 0x10]
mov eax, esp
mov ecx, 0xdf
mov dword [eax], ecx
mov ecx, 0x24
mov dword [eax + 4], ecx
mov ecx, 0x1ac
mov dword [eax + 8], ecx
push 0x420468
mov ecx, 0x13f
push edi
lea esi, [esp + 0x30]
mov edx, str.33a700_202020
mov dword [eax + 0xc], ecx
call fcn.00401580
test eax, eax
je 0x40e572
fld qword [0x421c60]
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov ecx, 0xdf
mov dword [eax], ecx
mov ecx, 0x24
mov dword [eax + 4], ecx
mov ecx, 0x1ac
mov dword [eax + 8], ecx
push str.rwan.bmp
mov ecx, 0x13f
push edi
xor edx, edx
mov dword [eax + 0xc], ecx
call fcn.00401600
test eax, eax
jne 0x40e4a3
push 0xff
push 0x258
push 0x42508c
lea ecx, [esp + 0xc8]
push ecx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea edx, [esp + 0x70]
push edx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x12c
call ebx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push 0x42508c
lea edx, [esp + 0xd0]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea eax, [esp + 0x88]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x32
call ebx
push 0
lea ecx, [esp + 0xd0]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebx
push edi
call fcn.00409ad0
test al, al
je 0x40e55b
push 0x152
push 0x22
push 0x42508c
lea edx, [esp + 0xa4]
push edx
push 3
push 1
push 0x19
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea eax, [esp + 0xd8]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebx
push 0x1388
call ebx
call fcn.00409a20
test al, al
jne 0x40e572
push 0x1c2
call ebx
call fcn.00409a20
jmp 0x40db90
call fcn.00409a20
call fcn.00409a20
jmp 0x40db90
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
push 0x42047c
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push edi
call fcn.0040c780
test al, al
jne 0x40e5b7
call fcn.00409a20
test al, al
je 0x40e5b7
push 0x1c2
call ebx
push 0x1388
call ebx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1cc
ret