Function at 0x4016c0
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 0x401765
mov ecx, dword [0x4108e4]
mov dword [0x410b2c], 1
test ecx, ecx
jne 0x401704
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
test ecx, ecx
mov dword [0x4108e4], ecx
je 0x401744
mov eax, dword [0x4108e0]
test eax, eax
jne 0x40171e
push str.LoadStringA
push ecx
call ebp
test eax, eax
mov dword [0x4108e0], eax
je 0x401744
mov ecx, dword [0x410b74]
push 0x400
push 0x4104e0
push 0x7d0
push ecx
call eax
test eax, eax
jne 0x40173f
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 0x40176b
mov edi, dword [sym.imp.MSVCRT.dll_printf]
mov eax, dword [0x410b70]
test eax, eax
jne 0x40183c
mov ecx, dword [0x4108e4]
test ecx, ecx
jne 0x40179d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
test ecx, ecx
mov dword [0x4108e4], ecx
jne 0x40179d
xor esi, esi
jmp 0x4017de
mov eax, dword [0x4108e0]
test eax, eax
jne 0x4017bb
push str.LoadStringA
push ecx
call ebp
test eax, eax
mov dword [0x4108e0], eax
jne 0x4017bb
xor esi, esi
jmp 0x4017de
mov edx, dword [0x410b74]
push 0x400
push 0x4104e0
push 2
push edx
call eax
test eax, eax
jne 0x4017d9
mov byte [0x4104e0], al
mov esi, 0x4104e0
test esi, esi
mov dword [0x410b70], esi
je 0x401832
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 0x40183c
mov eax, 0x410034
mov dword [0x410b70], eax
mov esi, dword [esp + 0x18]
push esi
push eax
push 0x41006c
call edi
mov eax, dword [0x4108e4]
add esp, 0xc
test eax, eax
jne 0x401869
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x4108e4], eax
je 0x4018a9
mov ecx, dword [0x4108e0]
test ecx, ecx
jne 0x401887
push str.LoadStringA
push eax
call ebp
mov ecx, eax
test ecx, ecx
mov dword [0x4108e0], ecx
je 0x4018a9
mov edx, dword [0x410b74]
push 0x400
push 0x4104e0
push esi
push edx
call ecx
test eax, eax
jne 0x4018a4
mov byte [0x4104e0], al
mov eax, 0x4104e0
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call edi
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
je 0x4018ce
push eax
call dword [sym.imp.MSVCRT.dll_strerror]
push eax
push str.:__s
call edi
add esp, 0xc
push 0x410088
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, 0xc
test eax, eax
pop edi
pop esi
pop ebp
jne 0x40197a
mov ecx, dword [0x410a24]
mov dword [0x4109f8], 1
test ecx, ecx
je 0x401919
mov edx, dword [ecx]
call dword [edx]
mov ecx, dword [0x410a28]
test ecx, ecx
je 0x40197a
mov eax, dword [ecx]
call dword [eax + 0x28]
mov eax, dword [0x410b50]
test eax, eax
je 0x401946
mov eax, dword [0x410b5c]
test eax, eax
je 0x40197a
push eax
call dword [sym.imp.MSVCRT.dll__unlink]
add esp, 4
jmp 0x40197a
mov edx, dword [0x410b5c]
test edx, edx
je 0x40197a
mov ecx, dword [0x410a18]
test ecx, ecx
je 0x40197a
mov eax, dword [0x410a1c]
test eax, eax
je 0x40197a
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
nop
nop
nop