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

Disassembly:
sub esp, 0xa8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
push esi
mov dword [esp + 0x14], 0xa
or ebp, 0xffffffff
fld1
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x54]
push ecx
sub esp, 8
fstp qword [esp]
push str.ff168c_0000009000ff_000000ff168c_0000000058ff_000000
push 0x420750
push 0x102
push 0x27a
push 0x2d
push 0xea
push 0x42507c
lea edx, [esp + 0x4c]
push edx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x20], ebp
je 0x41412b
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x58]
push ecx
push eax
push 0x42508c
mov dword [esp + 0x18], eax
lea eax, [esp + 0x58]
push eax
push 3
push 1
push 0x19
push edi
mov dword [esp + 0x30], ecx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea ecx, [esp + 0x38]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x64
call ebx
push 0
lea edx, [esp + 0x40]
push edx
jmp 0x414264
push 0xf
call ebx
fld1
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x84]
push ecx
sub esp, 8
fstp qword [esp]
push str.ff168c_0000009000ff_000000ff168c_0000000058ff_000000
push 0x420750
push 0x102
push 0x27a
push 0x2d
push 0xea
push 0x42507c
lea edx, [esp + 0x44]
push edx
push 3
push 1
push 4
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x40
cmp dword [esp + 0x18], ebp
je 0x4141d6
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x88]
push ecx
push eax
push 0x42508c
mov dword [esp + 0x18], eax
lea eax, [esp + 0x3c]
push eax
push 3
push 1
push 0x19
push edi
mov dword [esp + 0x30], ecx
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x20
push 0x32
call ebx
push 0
lea ecx, [esp + 0x48]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x64
call ebx
push 0
lea edx, [esp + 0x3c]
push edx
jmp 0x414264
push 0xf
call ebx
fld1
sub esp, 0x18
fstp qword [esp + 0x10]
mov eax, esp
mov ecx, 0xea
mov dword [eax], ecx
mov ecx, 0x2d
mov dword [eax + 4], ecx
mov ecx, 0x27a
mov dword [eax + 8], ecx
push 0x420750
mov ecx, 0x102
push edi
lea esi, [esp + 0x2c]
mov edx, str.ff168c_0000009000ff_000000ff168c_0000000058ff_000000
mov dword [eax + 0xc], ecx
call fcn.00401580
test eax, eax
je 0x41427a
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
push 0x42508c
lea edx, [esp + 0x30]
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 0x64
call ebx
push 0
lea ecx, [esp + 0x4c]
push ecx
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x7d0
call ebx
fld1
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xa4]
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 + 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
push 5
je 0x41430c
call ebx
push 0x150
push 0x21
push 0x42508c
lea edx, [esp + 0x34]
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 + 0x30]
push eax
push 3
push 1
push 0x11
push edi
call sub.MFC80U.DLL_Ordinal_3901
add esp, 0x18
push 0x1c2
call ebx
sub dword [esp + 0x14], 1
jne 0x41408a
pop esi
pop ebp
pop ebx
add esp, 0xa8
ret