Function at 0x42205c
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x500144]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x501104], 0
mov eax, dword [0x407598]
push ebx
mov dword [ebp - 0xc], eax
mov ax, word [0x40759c]
push esi
push edi
mov word [ebp - 8], ax
je 0x4220cc
mov eax, dword [section..data]
cmp eax, section..data
je 0x4220c2
test byte [eax + 0x1c], 1
je 0x4220c2
cmp byte [eax + 0x19], 2
jb 0x4220c2
call fcn.0042386b
push eax
mov eax, dword [section..data]
mov edx, 0x407870
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xa
pop ecx
call fcn.004238e7
mov esi, 0x80004005
jmp 0x42214d
xor edi, edi
mov dword [0x501378], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea edx, [ebp - 0xc]
mov ecx, eax
call fcn.0042381c
mov esi, eax
test esi, esi
je 0x42214b
xor ebx, ebx
inc ebx
mov edx, 0x4075a0
mov ecx, esi
call fcn.00423773
test eax, eax
je 0x42236a
mov edx, 0x4075ec
mov ecx, esi
call fcn.00423773
test eax, eax
je 0x4222cb
mov edx, 0x407630
mov ecx, esi
call fcn.00423773
test eax, eax
jne 0x42212b
mov dword [0x501378], ebx
mov edx, 0x407644
mov ecx, esi
call fcn.00423773
test eax, eax
je 0x42215e
lea edx, [ebp - 0xc]
mov ecx, esi
call fcn.0042381c
mov esi, eax
test esi, esi
jne 0x4220ed
mov esi, edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fb5e0
leave
ret
mov ecx, 0x501380
call fcn.004236c4
mov esi, eax
test esi, esi
jns 0x4221a4
mov eax, dword [section..data]
cmp eax, section..data
je 0x42214d
test byte [eax + 0x1c], 8
je 0x42214d
cmp byte [eax + 0x19], 2
jb 0x42214d
call fcn.0042386b
push esi
push 0x407658
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xf
jmp 0x4223ce
cmp dword [0x501378], edi
jne 0x422272
push 0x210
call fcn.004fb25b
pop ecx
test eax, eax
je 0x4221c8
mov ecx, eax
call fcn.0042709d
mov edi, eax
push edi
mov ecx, 0x501374
call fcn.004229a7
mov ecx, dword [0x501374]
test ecx, ecx
jne 0x422222
mov eax, dword [section..data]
cmp eax, section..data
je 0x422218
test byte [eax + 0x1c], 8
je 0x422218
cmp byte [eax + 0x19], 2
jb 0x422218
call fcn.0042386b
push 0x40767c
push eax
mov eax, dword [section..data]
mov edx, 0x407870
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x10
pop ecx
call fcn.0042200a
mov esi, 0x8007000e
jmp 0x42214d
add ecx, 4
call fcn.00427200
mov esi, eax
test esi, esi
jns 0x422272
mov eax, dword [section..data]
cmp eax, section..data
je 0x42214d
test byte [eax + 0x1c], 8
je 0x42214d
cmp byte [eax + 0x19], 2
jb 0x42214d
call fcn.0042386b
push esi
push 0x407698
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x11
jmp 0x4223ce
push ecx
call fcn.00422a21
mov esi, eax
test esi, esi
jns 0x4222c0
mov eax, dword [section..data]
cmp eax, section..data
je 0x42214d
test byte [eax + 0x1c], 8
je 0x42214d
cmp byte [eax + 0x19], 2
jb 0x42214d
call fcn.0042386b
push esi
push 0x4076c8
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0x12
jmp 0x4223ce
mov dword [0x50137c], ebx
jmp 0x42214d
mov ecx, ebx
call fcn.00421f51
mov esi, eax
test esi, esi
jns 0x42231a
mov eax, dword [section..data]
cmp eax, section..data
je 0x42214d
test byte [eax + 0x1c], 8
je 0x42214d
cmp byte [eax + 0x19], 2
jb 0x42214d
call fcn.0042386b
push esi
push 0x407600
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xd
jmp 0x4223ce
push ecx
push ecx
call fcn.00422bde
mov esi, eax
test esi, esi
jns 0x42242a
mov eax, dword [section..data]
cmp eax, section..data
je 0x42214d
test byte [eax + 0x1c], 8
je 0x42214d
cmp byte [eax + 0x19], 2
jb 0x42214d
call fcn.0042386b
push esi
push 0x407618
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xe
jmp 0x4223ce
mov esi, dword [0x5010e4]
test esi, esi
je 0x422384
mov ecx, esi
call dword [0x5035f0]
call esi
mov esi, eax
test esi, esi
js 0x422391
push ecx
push ecx
call fcn.00423487
mov esi, eax
test esi, esi
jns 0x4223de
mov eax, dword [section..data]
cmp eax, section..data
je 0x42214d
test byte [eax + 0x1c], 8
je 0x42214d
cmp byte [eax + 0x19], 2
jb 0x42214d
call fcn.0042386b
push esi
push 0x4075b8
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xb
mov edx, 0x407870
pop ecx
call fcn.0042371b
jmp 0x42214d
xor ecx, ecx
call fcn.00421f51
mov esi, eax
test esi, esi
jns 0x42242a
mov eax, dword [section..data]
cmp eax, section..data
je 0x42214d
test byte [eax + 0x1c], 8
je 0x42214d
cmp byte [eax + 0x19], 2
jb 0x42214d
call fcn.0042386b
push esi
push 0x4075d4
push eax
mov eax, dword [section..data]
push dword [eax + 0x14]
push dword [eax + 0x10]
push 0xc
jmp 0x4223ce
mov esi, 0x40200
jmp 0x42214d