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

Disassembly:
sub esp, 0xe8
push ebx
push ebp
push esi
mov ebx, eax
push edi
mov edi, ebx
call fcn.00409a20
test al, al
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
je 0x404e14
push 0x1c2
call ebp
call fcn.00409a20
test al, al
je 0x404e24
push 0x1c2
call ebp
call fcn.00409a20
test al, al
je 0x404e3d
call fcn.00409a20
test al, al
je 0x404e3d
push 0x1c2
call ebp
mov edi, ebx
call fcn.00409a20
test al, al
je 0x404e4f
push 0x1c2
call ebp
cmp dword [ebx + 0x20], 0
mov esi, dword [esp + 0xfc]
jne 0x404ea3
mov eax, dword [esi*4 + 0x425998]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x41fc9c
push eax
call edi
push esi
call fcn.0040a310
mov ecx, dword [esi*4 + 0x425998]
push 0x41fcc0
push ecx
call edi
mov eax, ebx
call fcn.00412cc0
mov edx, dword [esi*4 + 0x425998]
push 0x41fce0
push edx
call edi
mov ecx, ebx
call fcn.004112a0
mov edi, ebx
call fcn.00409a20
test al, al
je 0x404eb5
push 0x1c2
call ebp
call fcn.00409a20
test al, al
je 0x404ec5
push 0x1c2
call ebp
lea eax, [esi*4 + 0x426d08]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov edi, 0x41fcfc
call fcn.00404600
mov edx, dword [eax]
mov eax, dword [esi*4 + 0x425998]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
add esp, 8
push edx
push eax
call edi
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea esp, [esp]
push 0x12c
mov eax, ebx
call fcn.004096e0
lea esp, [esp]
fld1
lea ecx, [esp + 0xd8]
push ecx
lea edx, [esp + 0xbc]
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 + 0x44]
push eax
push 3
push 1
push 4
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x18], 0xffffffff
je 0x404f69
push 0x1f4
call ebp
jmp 0x404f10
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0x41fd14
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push ebx
call fcn.0040c780
test al, al
je 0x404fe3
mov eax, ebx
call fcn.0040c850
mov ecx, dword [esi*4 + 0x425998]
push 0x41fce0
push ecx
call edi
mov ecx, ebx
call fcn.004112a0
mov edx, dword [esi*4 + 0x425998]
push 0x41fc9c
push edx
call edi
push esi
call fcn.0040a310
mov eax, dword [esi*4 + 0x425998]
push 0x41fd20
push eax
call edi
mov eax, ebx
call fcn.00412cc0
mov ecx, dword [esi*4 + 0x425998]
push 0x41fd38
push ecx
call edi
push 0x7530
call ebp
push 0x1c2
call ebp
push ebx
call fcn.00409f80
test al, al
jne 0x405005
push 0x12c
call ebp
push ebx
call fcn.00409f80
test al, al
je 0x404ff4
mov edi, ebx
call fcn.0040bdc0
push 0x12c
mov eax, ebx
call fcn.004096e0
test al, al
jne 0x405612
fld1
lea edx, [esp + 0x98]
push edx
lea eax, [esp + 0xac]
push eax
sub esp, 8
fstp qword [esp]
push str.ffffff_2020200
push 0x41f960
push 0x168
push 0x40
push 0x13b
push 0x13
push 0x42507c
lea ecx, [esp + 0x50]
push ecx
push 3
push 1
push 4
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x24], 0xffffffff
push 5
je 0x405126
call ebp
fld1
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x7c]
push edx
sub esp, 8
fstp qword [esp]
push str.000000_0000000
push 0x41fd68
push 0x142
push 0x191
mov esi, 0xa0
push esi
mov edi, 0x40
push edi
push 0x42507c
lea eax, [esp + 0x48]
push eax
push 3
push 1
push 4
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x1c], 0xffffffff
je 0x40548f
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x80]
push ecx
push eax
push 0x42508c
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x34]
push ecx
push 3
push 1
push 0x19
push ebx
mov dword [esp + 0x30], eax
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebp
push 0
lea edx, [esp + 0x78]
push edx
push 3
push 1
push 0x11
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
jmp 0x405554
call ebp
push ebx
call fcn.00409ad0
test al, al
jne 0x40541f
push 0x1c2
call ebp
call fcn.00409a20
test al, al
je 0x40514d
push 0x1c2
call ebp
call fcn.00409a20
test al, al
je 0x40515d
push 0x1c2
call ebp
call fcn.00409a20
test al, al
je 0x40516d
push 0x1c2
call ebp
call fcn.00409a20
test al, al
je 0x40517d
push 0x1c2
call ebp
push 0x91
push 0x256
push 0x42508c
lea edx, [esp + 0x60]
push edx
push 3
push 1
push 0x19
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebp
push 0
lea eax, [esp + 0x34]
push eax
push 3
push 1
push 0x11
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebp
fld1
sub esp, 0x18
fstp qword [esp + 0x10]
mov eax, esp
mov ecx, 0x98
mov dword [eax], ecx
mov edx, 0x28
mov dword [eax + 4], edx
mov esi, 0xf7
mov dword [eax + 8], esi
push 0x41fd58
mov edi, 0x13b
push ebx
lea esi, [esp + 0x30]
mov edx, str.000000_0000000
mov dword [eax + 0xc], edi
call fcn.00401580
test eax, eax
je 0x405269
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push 0x42508c
lea eax, [esp + 0x7c]
push eax
push 3
push 1
push 0x19
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebp
push 0
lea ecx, [esp + 0x3c]
push ecx
push 3
push 1
push 0x14
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebp
push 5
call ebp
mov esi, dword [esp + 0xfc]
push 5
call ebp
push 5
call ebp
push 5
call ebp
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x404f00
push 0x12
push 0x1b6
push 0x42508c
lea edx, [esp + 0x74]
push edx
push 3
push 1
push 0x19
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebp
push 0
lea eax, [esp + 0x44]
push eax
push 3
push 1
push 0x11
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebp
fld1
sub esp, 0x18
fstp qword [esp + 0x10]
mov eax, esp
mov edi, 0x89
mov dword [eax], edi
mov ecx, 0x2a
mov edx, 0xde
mov dword [eax + 4], ecx
mov esi, 0x13e
mov dword [eax + 8], edx
push 0x41fd60
mov dword [eax + 0xc], esi
push ebx
lea esi, [esp + 0x30]
mov edx, str.000000_0000000
call fcn.00401580
test eax, eax
je 0x405356
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push 0x42508c
lea eax, [esp + 0x68]
push eax
push 3
push 1
push 0x19
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebp
push 0
lea ecx, [esp + 0x4c]
push ecx
push 3
push 1
push 0x14
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
call ebp
push 5
call ebp
push 5
call ebp
mov esi, dword [esp + 0xfc]
push 5
call ebp
push 5
call ebp
push 5
call ebp
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x404f00
fld1
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov dword [eax], edi
mov ecx, 0x2a
mov dword [eax + 4], ecx
mov ecx, 0xde
mov dword [eax + 8], ecx
push 0x41fd60
mov ecx, 0x13e
push ebx
lea esi, [esp + 0x30]
mov edx, str.000000_0000000
mov dword [eax + 0xc], ecx
call fcn.00401580
test eax, eax
je 0x4053c4
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
push ebx
call fcn.004017b0
push 0x32
call ebp
push 0
lea ecx, [esp + 0x68]
push ecx
push 3
push 1
push 0x14
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
jmp 0x4053f3
mov ecx, 0xfa
push ecx
mov eax, 0x181
push eax
push 0
mov edi, ebx
call fcn.00402690
test al, al
jne 0x4053f1
push 0x12c
mov eax, ebx
call fcn.004096e0
test al, al
je 0x405621
push 5
call ebp
push 5
call ebp
push 5
call ebp
push 5
call ebp
mov esi, dword [esp + 0xfc]
push 5
call ebp
push 5
call ebp
push 5
call ebp
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x404f00
push 0x12c
call ebp
push 0x12c
mov eax, ebx
call fcn.004096e0
call fcn.00414720
push 0x150
push 0x21
push 0x42508c
lea edx, [esp + 0x5c]
push edx
push 3
push 1
push 0x19
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebp
push 0
lea eax, [esp + 0x70]
push eax
push 3
push 1
push 0x11
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1c2
call ebp
push 5
call ebp
push 5
call ebp
push 5
call ebp
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x404f00
fld1
sub esp, 0x18
mov eax, esp
fstp qword [esp + 0x10]
mov dword [eax], edi
mov dword [eax + 4], esi
mov ecx, 0x191
mov dword [eax + 8], ecx
push 0x41fd74
mov ecx, 0x142
push ebx
lea esi, [esp + 0x30]
mov edx, str.000000_0000000
mov dword [eax + 0xc], ecx
call fcn.00401580
test eax, eax
je 0x40550b
push 0xc3
push 0x14f
push 0x42508c
lea eax, [esp + 0x6c]
push eax
push 3
push 1
push 0x19
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebp
push 0
lea ecx, [esp + 0x30]
push ecx
push 3
push 1
push 0x11
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x3e8
jmp 0x405554
push ebx
call fcn.004099b0
test al, al
je 0x405556
push 0x150
push 0x21
push 0x42508c
lea edx, [esp + 0x40]
push edx
push 3
push 1
push 0x19
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebp
push 0
lea eax, [esp + 0x40]
push eax
push 3
push 1
push 0x11
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1388
call ebp
push ebx
call fcn.004099b0
test al, al
jne 0x40556a
push ebx
call fcn.00409ad0
test al, al
je 0x4055b0
push 0x150
push 0x21
push 0x42508c
lea ecx, [esp + 0x50]
push ecx
push 3
push 1
push 0x19
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebp
push 0
lea edx, [esp + 0x50]
push edx
push 3
push 1
push 0x11
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1c2
call ebp
jmp 0x4055b0
fld1
lea eax, [esp + 0xc8]
push eax
lea ecx, [esp + 0xec]
push ecx
sub esp, 8
fstp qword [esp]
push str.eedfde_050505
push 0x420830
push 0x127
push 0x68
push 0x101
push 0x47
push 0x42507c
lea edx, [esp + 0x4c]
push edx
push 3
push 1
push 4
push ebx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x20], 0xffffffff
je 0x405607
push 0x1f4
jmp 0x4055a9
mov esi, dword [esp + 0xfc]
push 5
call ebp
push 5
call ebp
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x404f00
pop edi
pop esi
pop ebp
mov dword [ebx + 0x20], 1
pop ebx
add esp, 0xe8
ret 4