Function at 0x10001b5b
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call sub.KERNEL32.DLL_LoadLibraryA
mov ecx, eax
mov eax, 0x100504f1
mov esi, dword [eax]
add esi, eax
cmp esi, 0
jne 0x10001b83
mov esi, dword [eax + 8]
mov si, 4
mov esi, dword [eax + 0x14]
mov dword [eax + 8], esi
mov esi, dword [0x100504b0]
mov dword [0x1005062c], eax
mov dword [0x10050754], ecx
push esi
call sub.GDI32.DLL_GetBkColor
mov edi, dword [0x10050590]
mov eax, 0x10
mov eax, dword [0x100503e4]
cmp eax, edi
jne 0x10001bc3
mov eax, dword [0x1005051c]
sub eax, eax
add eax, eax
mov dword [0x100503e4], ecx
mov dword [0x100506d4], ecx
mov dword [0x100504b0], ecx
call sub.KERNEL32.DLL_GetCommandLineA
mov ecx, dword [0x10050760]
mov si, 0x80
test edx, edx
jb 0x10001bf7
mov edi, dword [0x10050444]
mov eax, dword [0x10050420]
mov eax, dword [0x10050484]
sub eax, eax
mov eax, dword [0x100506a0]
mov dword [0x100503e4], eax
mov eax, dword [0x1005049c]
mov edi, dword [0x10050604]
mov dword [0x10050484], eax
call sub.KERNEL32.DLL_GetCommandLineA
mov edx, dword [0x100505f0]
sub esi, edx
test esi, esi
jne 0x10001c3a
mov edx, dword [0x100506e0]
mov edi, dword [0x10050728]
mov dx, 0x40
or esi, dword [0x100504f0]
mov dword [0x10050694], edx
mov dword [0x100503e4], eax
mov edi, dword [0x10050434]
push ecx
xor eax, dword [0x10050774]
push eax
call sub.user32.dll_GetWindow
mov eax, dword [0x10050498]
mov ax, 0x17
mov ecx, dword [0x10050710]
cmp dword [0x10050654], 4
jae 0x10001c7d
mov edi, dword [0x10050670]
mov esi, dword [0x100503e4]
mov esi, 8
and eax, ecx
mov dword [0x100507c8], eax
mov dword [0x10050590], edi
mov dword [0x100507d0], ecx
push 0xb8
push 0
call sub.user32.dll_LoadBitmapA
mov edx, dword [0x10050568]
mov ax, pe_nt_image_headers32
mov ecx, dword [0x100507b4]
test eax, eax
jb 0x10001cb7
mov dword [0x10050540], edx
mov edi, dword [0x10050504]
add ecx, edx
mov dword [0x10050720], edx
push 0xbb
push 0
call sub.user32.dll_LoadBitmapA
mov ecx, dword [0x100506c4]
sub eax, esi
cmp eax, 1
ja 0x10001cf9
mov ecx, dword [0x10050788]
mov edx, dword [0x1005043c]
mov eax, 0x4a
mov eax, dword [0x100504dc]
add esi, eax
mov dword [0x1005043c], eax
mov ecx, dword [0x100503e4]
mov dword [0x100507d8], edi
mov eax, dword [0x10050548]
mov dword [0x100506c0], eax
mov ecx, dword [0x10050754]
mov eax, dword [ecx]
inc ecx
cmp eax, dword [0x10050395]
jne 0x10001d09
mov ecx, dword [0x100506f0]
mov eax, 8
add eax, esi
cmp dword [0x1005042c], eax
jne 0x10001d46
mov esi, dword [0x100507a8]
mov eax, dword [0x100507e0]
add eax, ecx
mov eax, dword [0x10050608]
mov dword [0x10050528], edx
mov dword [0x10050468], eax
mov dword [0x10050468], esi
mov eax, dword [0x10050434]
mov eax, dword [0x100506c0]
add eax, eax
mov edi, dword [0x100503e4]
cmp edi, 0
jne 0x10001d82
mov dword [0x100503e4], eax
mov eax, dword [0x10050748]
mov eax, dword [0x10050634]
mov eax, 0x10
mov dword [0x10050738], eax
mov dword [0x1005058c], esi
call sub.KERNEL32.DLL_GetCommandLineA
mov eax, dword [0x100503e4]
mov ax, 0xd2
cmp eax, dword [0x10050710]
jl 0x10001db8
mov esi, dword [0x100506ec]
mov eax, dword [0x100503e4]
add eax, edx
mov esi, dword [0x10050458]
sub edi, ecx
mov dword [0x1005045c], eax
mov edx, dword [0x100507c4]
mov dword [0x100504ac], eax
push eax
call sub.GDI32.DLL_GetBkColor
mov esi, dword [0x100505c8]
sub ecx, eax
cmp esi, 0
jge 0x10001df1
mov ecx, dword [0x10050604]
mov eax, dword [0x1005065c]
sub ecx, ecx
mov edx, dword [0x10050624]
add ecx, eax
mov dword [0x10050558], edx
mov dword [0x100503e8], edx
sbb edi, dword [0x10050570]
mov edx, dword [0x100505d8]
sub eax, ecx
mov eax, dword [0x10050724]
sub ecx, ecx
cmp edx, dword [0x1005060c]
jg 0x10001e31
mov dword [0x10050648], eax
adc eax, dword [0x100505dc]
mov ax, 2
mov eax, dword [0x10050650]
mov ax, 0x80
mov dword [0x10050418], eax
mov dword [0x100507d4], edx
mov dword [0x10050640], ecx
push 0x7f
mov dword [0x10050468], ecx
push 0
call sub.user32.dll_LoadBitmapA
mov eax, dword [0x10050430]
mov ecx, pe_nt_image_headers32
mov eax, dword [0x10050694]
sub edx, ecx
cmp edi, 1
jne 0x10001e6c
mov eax, dword [0x100503f0]
mov edi, 0x40
mov dword [0x100504dc], ecx
call fcn.1000170c
mov eax, dword [0x10050468]
add ecx, esi
mov eax, dword [0x100505b0]
test eax, eax
jg 0x10001ea4
mov dword [0x10050724], edi
mov edx, dword [0x100507d0]
mov eax, dword [0x100505c8]
sub eax, edi
mov ecx, dword [0x100504a0]
mov dword [0x10050584], eax
mov dword [0x100504d8], eax
call fcn.10002a10
mov eax, dword [0x100503e4]
mov eax, 0xb6
mov eax, dword [0x100504ec]
mov eax, 1
cmp eax, dword [0x10050468]
jg 0x10001ee8
mov eax, dword [0x10050634]
mov edx, dword [0x10050418]
add edx, edx
mov eax, 0xfd
mov dword [0x100504b0], eax
mov edi, dword [0x100505f0]
mov dword [0x100506bc], edi
mov dword [0x10050718], esi
push ecx
call sub.GDI32.DLL_GetBkColor
call fcn.10001228
mov eax, dword [0x100503e4]
add edx, eax
add ecx, dword [0x100504d8]
cmp dword [0x10050664], 0xb1
jbe 0x10001f3c
mov ecx, dword [0x100503fc]
mov ecx, dword [0x10050560]
mov di, 0x10
mov cx, 4
mov dword [0x100506f0], ecx
mov dword [0x10050524], edx
mov eax, dword [0x1005058c]
mov eax, dword [0x10050430]
mov eax, dword [0x100507d0]