Function at 0x401160
Capabilities:
Link many functions at runtime
Terminate process

Disassembly:
mov eax, dword [0x410b2c]
sub esp, 8
test eax, eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
jne 0x401205
mov ecx, dword [0x4108e4]
mov dword [0x410b2c], 1
test ecx, ecx
jne 0x4011a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
test ecx, ecx
mov dword [0x4108e4], ecx
je 0x4011e4
mov eax, dword [0x4108e0]
test eax, eax
jne 0x4011be
push str.LoadStringA
push ecx
call ebp
test eax, eax
mov dword [0x4108e0], eax
je 0x4011e4
mov ecx, dword [0x410b74]
push 0x400
push 0x4104e0
push 0x7d0
push ecx
call eax
test eax, eax
jne 0x4011df
mov byte [0x4104e0], al
mov eax, 0x4104e0
mov edi, dword [sym.imp.MSVCRT.dll_printf]
push eax
push 0x410158
call edi
push str._Version_6.00.8168
call edi
push str._nCopyright__C__Microsoft_Corp_1990_1998._All_rights_reserved._n_n
call edi
add esp, 0x10
jmp 0x40120b
mov edi, dword [sym.imp.MSVCRT.dll_printf]
mov eax, dword [0x410b70]
test eax, eax
jne 0x4012dc
mov ecx, dword [0x4108e4]
test ecx, ecx
jne 0x40123d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
test ecx, ecx
mov dword [0x4108e4], ecx
jne 0x40123d
xor esi, esi
jmp 0x40127e
mov eax, dword [0x4108e0]
test eax, eax
jne 0x40125b
push str.LoadStringA
push ecx
call ebp
test eax, eax
mov dword [0x4108e0], eax
jne 0x40125b
xor esi, esi
jmp 0x40127e
mov edx, dword [0x410b74]
push 0x400
push 0x4104e0
push 2
push edx
call eax
test eax, eax
jne 0x401279
mov byte [0x4104e0], al
mov esi, 0x4104e0
test esi, esi
mov dword [0x410b70], esi
je 0x4012d2
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
and ecx, 0xffff
push ecx
call fcn.0040e2f0
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.MSVCRT.dll_printf]
mov dword [0x410b70], eax
jmp 0x4012dc
mov eax, 0x410034
mov dword [0x410b70], eax
mov esi, dword [esp + 0x18]
push esi
push eax
push 0x41003c
call edi
mov eax, dword [0x4108e4]
add esp, 0xc
test eax, eax
jne 0x401309
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4108e4], eax
je 0x401349
mov ecx, dword [0x4108e0]
test ecx, ecx
jne 0x401327
push str.LoadStringA
push eax
call ebp
mov ecx, eax
test ecx, ecx
mov dword [0x4108e0], ecx
je 0x401349
mov edx, dword [0x410b74]
push 0x400
push 0x4104e0
push esi
push edx
call ecx
test eax, eax
jne 0x401344
mov byte [0x4104e0], al
mov eax, 0x4104e0
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call edi
push 0x410050
call edi
mov edx, dword [sym.imp.MSVCRT.dll__iob]
mov esi, dword [sym.imp.MSVCRT.dll_fflush]
add edx, 0x20
push edx
call esi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
add eax, 0x40
push eax
call esi
mov eax, dword [0x4109f8]
add esp, 0x14
test eax, eax
pop edi
pop esi
pop ebp
jne 0x4013fd
mov ecx, dword [0x410a24]
mov dword [0x4109f8], 1
test ecx, ecx
je 0x40139c
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [0x410a28]
test ecx, ecx
je 0x4013fd
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [0x410b50]
test eax, eax
je 0x4013c9
mov eax, dword [0x410b5c]
test eax, eax
je 0x4013fd
push eax
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
jmp 0x4013fd
mov edx, dword [0x410b5c]
test edx, edx
je 0x4013fd
mov ecx, dword [0x410a18]
test ecx, ecx
je 0x4013fd
mov eax, dword [0x410a1c]
test eax, eax
je 0x4013fd
mov dword [esp], ecx
lea ecx, [esp]
push ecx
push edx
mov dword [esp + 0xc], eax
call dword [sym.imp.MSVCRT.dll__utime]
add esp, 8
push 4
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [0x410b2c]
sub esp, 8
test eax, eax
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push edi
jne 0x4014b5
mov ecx, dword [0x4108e4]
mov dword [0x410b2c], 1
test ecx, ecx
jne 0x401454
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
test ecx, ecx
mov dword [0x4108e4], ecx
je 0x401494
mov eax, dword [0x4108e0]
test eax, eax
jne 0x40146e
push str.LoadStringA
push ecx
call ebp
test eax, eax
mov dword [0x4108e0], eax
je 0x401494
mov ecx, dword [0x410b74]
push 0x400
push 0x4104e0
push 0x7d0
push ecx
call eax
test eax, eax
jne 0x40148f
mov byte [0x4104e0], al
mov eax, 0x4104e0
mov edi, dword [sym.imp.MSVCRT.dll_printf]
push eax
push 0x410158
call edi
push str._Version_6.00.8168
call edi
push str._nCopyright__C__Microsoft_Corp_1990_1998._All_rights_reserved._n_n
call edi
add esp, 0x10
jmp 0x4014bb
mov edi, dword [sym.imp.MSVCRT.dll_printf]
mov eax, dword [0x410b70]
test eax, eax
jne 0x40158c
mov ecx, dword [0x4108e4]
test ecx, ecx
jne 0x4014ed
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
test ecx, ecx
mov dword [0x4108e4], ecx
jne 0x4014ed
xor esi, esi
jmp 0x40152e
mov eax, dword [0x4108e0]
test eax, eax
jne 0x40150b
push str.LoadStringA
push ecx
call ebp
test eax, eax
mov dword [0x4108e0], eax
jne 0x40150b
xor esi, esi
jmp 0x40152e
mov edx, dword [0x410b74]
push 0x400
push 0x4104e0
push 2
push edx
call eax
test eax, eax
jne 0x401529
mov byte [0x4104e0], al
mov esi, 0x4104e0
test esi, esi
mov dword [0x410b70], esi
je 0x401582
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
and ecx, 0xffff
push ecx
call fcn.0040e2f0
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.MSVCRT.dll_printf]
mov dword [0x410b70], eax
jmp 0x40158c
mov eax, 0x410034
mov dword [0x410b70], eax
mov esi, dword [esp + 0x18]
push esi
push eax
push 0x410054
call edi
mov eax, dword [0x4108e4]
add esp, 0xc
test eax, eax
jne 0x4015b9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4108e4], eax
je 0x4015f9
mov ecx, dword [0x4108e0]
test ecx, ecx
jne 0x4015d7
push str.LoadStringA
push eax
call ebp
mov ecx, eax
test ecx, ecx
mov dword [0x4108e0], ecx
je 0x4015f9
mov edx, dword [0x410b74]
push 0x400
push 0x4104e0
push esi
push edx
call ecx
test eax, eax
jne 0x4015f4
mov byte [0x4104e0], al
mov eax, 0x4104e0
movsx edx, byte [esp + 0x1c]
mov ecx, dword [esp + 0x20]
push ecx
push edx
push eax
call edi
push 0x410068
call edi
mov eax, dword [sym.imp.MSVCRT.dll__iob]
mov esi, dword [sym.imp.MSVCRT.dll_fflush]
add eax, 0x20
push eax
call esi
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
add ecx, 0x40
push ecx
call esi
mov eax, dword [0x4109f8]
add esp, 0x18
test eax, eax
pop edi
pop esi
pop ebp
jne 0x4016b3
mov ecx, dword [0x410a24]
mov dword [0x4109f8], 1
test ecx, ecx
je 0x401652
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [0x410a28]
test ecx, ecx
je 0x4016b3
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [0x410b50]
test eax, eax
je 0x40167f
mov eax, dword [0x410b5c]
test eax, eax
je 0x4016b3
push eax
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
jmp 0x4016b3
mov edx, dword [0x410b5c]
test edx, edx
je 0x4016b3
mov ecx, dword [0x410a18]
test ecx, ecx
je 0x4016b3
mov eax, dword [0x410a1c]
test eax, eax
je 0x4016b3
mov dword [esp], ecx
lea ecx, [esp]
push ecx
push edx
mov dword [esp + 0xc], eax
call dword [sym.imp.MSVCRT.dll__utime]
add esp, 8
push 4
call dword [sym.imp.MSVCRT.dll_exit]
nop
nop
nop
nop
nop