Function at 0x404224
Capabilities:
Accept command line arguments

Disassembly:
mov eax, 0x430964
call fcn.00430000
sub esp, 0x3c
mov eax, dword [0x43bbe8]
dec word [0x43bbda]
imul eax, eax, 0x8583ffff
push ebx
push esi
push edi
xor ebx, ebx
cmp byte [0x43bbcc], bl
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [0x43bc00], eax
mov dword [ebp - 0x18], ebx
je 0x40426a
cmp byte [0x43bbd1], bl
je 0x40426a
push 1
pop eax
jmp 0x40426c
xor eax, eax
add dword [0x43bc0c], eax
movsx eax, byte [0x43bbcd]
push eax
push 0xee67ffff
call fcn.00411d90
push dword [0x43bc08]
add word [0x43bbd6], ax
push 0xc03dffff
call fcn.00411cac
mov dword [0x43bbf0], eax
mov eax, dword [edi + 0x1c]
add esp, 0x10
lea edx, [ebp - 0x18]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x48]
push dword [0x43bbe8]
mov esi, eax
mov byte [0x43bbc9], 1
push 0xf367ffff
call fcn.00411d90
add word [0x43bbdc], ax
pop ecx
cmp esi, ebx
pop ecx
jl 0x40445c
cmp dword [ebp - 0x18], ebx
je 0x40445c
movsx eax, byte [0x43bbc8]
push eax
movsx eax, byte [0x43bbd1]
push eax
call fcn.00411c25
add byte [0x43bbc8], al
movsx eax, byte [0x43bbc9]
push eax
movsx eax, word [0x43bbd6]
push eax
call fcn.00411d90
add dword [0x43bbec], eax
add esp, 0x10
mov dword [ebp - 0x14], ebx
push 0x435644
lea eax, [ebp - 0x14]
push dword [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
call fcn.00408420
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push dword [0x43bc00]
mov dword [0x43bbf8], eax
push 0x5d1fffff
call fcn.00411d58
pop ecx
mov word [0x43bbe4], ax
mov eax, dword [ebp - 0x18]
pop ecx
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov al, byte [0x43bbfc]
mov dword [ebp - 0x18], ebx
movsx ecx, byte [0x43bbca]
mov byte [0x43bbc9], al
movsx eax, word [0x43bbd2]
imul eax, ecx
mov cx, word [0x43bbd4]
movsx edx, cx
add cx, word [0x43bbd8]
and edx, 0xdfedffff
add eax, edx
mov word [0x43bbd4], cx
movsx ecx, byte [0x43bbd0]
lea eax, [eax + ecx - 0x5e35ffff]
mov dword [0x43bc0c], eax
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40445c
mov dword [ebp - 0x10], ebx
cmp dword [edi + 0x4c], ebx
mov byte [ebp - 4], 1
jbe 0x404485
lea edx, [ebp - 0x1c]
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push edx
push 0x43b128
push eax
call dword [ecx]
cmp dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 2
je 0x40443b
lea ecx, [ebp - 0x28]
call fcn.004281f1
mov eax, dword [edi + 0x48]
mov byte [ebp - 4], 3
cmp eax, ebx
jne 0x4043fd
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405b14
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x10]
push edx
push dword [ebp - 0x28]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb8]
cmp dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
jne 0x40446f
call fcn.0042824f
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x40443b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x40444b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x40445c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
call fcn.0042824f
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x404485
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 8]
mov ecx, edi
push ebx
push ebx
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.004065c9
test al, al
jne 0x4047f3
mov al, byte [ebp + 0xb]
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x38], al
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
push ebx
lea eax, [ebp - 0x48]
push dword [ebp - 0x10]
mov ecx, edi
mov byte [ebp - 4], 4
push dword [ebp - 0x14]
push eax
call fcn.0040483e
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 5
call fcn.00408706
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.0040877f
push dword [ebp + 8]
lea eax, [ebp - 0x38]
mov ecx, edi
push ebx
push ebx
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call fcn.00403d43
test al, al
jne 0x4047e7
movsx eax, byte [0x43bbca]
push 0x4a27ffff
push eax
xor edi, edi
call fcn.00411cac
mov word [0x43bbda], ax
push 0x7ae1ffff
movsx ax, byte [0x43bbcf]
sub word [0x43bbde], ax
push 0x209dffff
call fcn.00411cd8
add byte [0x43bbca], al
or byte [0x43bbce], 0xff
mov eax, dword [ebp - 0x34]
add esp, 0x10
dec word [0x43bbe2]
cmp eax, dword [ebp - 0x30]
je 0x40458c
lea esi, [eax + 4]
push dword [0x43bbf4]
push 0x52b9ffff
call fcn.00411dc3
add byte [0x43bbc8], al
pop ecx
pop ecx
mov ecx, dword [esi]
cmp ecx, ebx
jne 0x404577
xor eax, eax
jmp 0x40457f
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 3
add esi, 0x10
add edi, eax
lea eax, [esi - 4]
cmp eax, dword [ebp - 0x30]
jne 0x404555
movsx eax, byte [0x43bbcd]
push 0x9f13ffff
push eax
call fcn.00411d58
cmp dword [0x43bbe8], ebx
mov word [0x43bbe0], ax
pop ecx
setne al
mov byte [0x43bbcb], al
pop ecx
movsx eax, word [0x43bbd6]
mov ecx, 0x72f3ffff
sub ecx, eax
add dword [0x43bbec], ecx
cmp edi, ebx
jne 0x4045dd
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004086d3
jmp 0x40443b
push 0x70c7ffff
push 0x2977ffff
call fcn.00411e04
mov word [0x43bbda], ax
movsx eax, word [0x43bbd8]
push eax
push dword [0x43bbf0]
call fcn.00411d58
mov word [0x43bbe4], ax
mov eax, dword [0x43bc08]
inc eax
push 0xd65fffff
add word [0x43bbd6], ax
push 0x3bdfffff
call fcn.00411d58
add esp, 0x18
mov byte [0x43bbd0], al
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv edi
cmp word [0x43bbd4], bx
mov edi, edx
jne 0x404650
cmp word [0x43bbe2], bx
jne 0x404650
xor eax, eax
jmp 0x404653
push 1
pop eax
add byte [0x43bbd1], al
mov esi, dword [ebp - 0x34]
cmp esi, dword [ebp - 0x30]
je 0x4047cf
cmp word [0x43bbd8], bx
jne 0x40467d
cmp byte [0x43bbca], bl
mov word [0x43bbdc], bx
je 0x404686
mov word [0x43bbdc], 1
push 0x28dffff
push 0x18f1ffff
call fcn.00411d1f
dec byte [0x43bbcd]
mov byte [0x43bbcc], al
mov eax, dword [esi + 4]
pop ecx
cmp eax, ebx
pop ecx
je 0x4046b5
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x4046ff
push 0x5e81ffff
push 0x7c9dffff
call fcn.00411d90
add byte [0x43bbce], al
push 0x2e27ffff
push 0xf1f1ffff
call fcn.00411dc3
add byte [0x43bbc9], al
mov ecx, dword [esi + 4]
add esp, 0x10
cmp ecx, ebx
jne 0x4046ed
xor eax, eax
jmp 0x4046f5
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
sub edi, eax
add esi, 0x10
jmp 0x40465c
mov eax, dword [0x43bbf4]
push dword [0x43bbfc]
add eax, 0xaf81ffff
inc dword [0x43bbf4]
push 0x1923ffff
mov dword [0x43bc00], eax
call fcn.00411cac
add dword [0x43bbfc], eax
push 0xefb5ffff
push 0x7909ffff
call fcn.00411d90
push dword [0x43bc08]
mov word [0x43bbda], ax
mov word [0x43bbe4], 0xfffe
push dword [0x43bc0c]
call fcn.00411e4a
add byte [0x43bbcd], al
add esp, 0x18
mov ecx, esi
push dword [ebp + 8]
push edi
call fcn.004087b2
push ecx
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0040481b
mov ecx, dword [ebp - 0x20]
call fcn.00405c3a
movsx eax, word [0x43bbde]
push 0x4ce3ffff
push eax
call fcn.00411cd8
add dword [0x43bc08], eax
mov al, byte [0x43bbd6]
or al, byte [0x43bc04]
pop ecx
pop ecx
add byte [0x43bbca], al
cmp word [0x43bbd4], bx
jne 0x4047c5
cmp word [0x43bbdc], bx
mov dword [0x43bc0c], ebx
je 0x4047cf
mov dword [0x43bc0c], 1
push 0x703fffff
push dword [0x43bc04]
call fcn.00411e4a
pop ecx
mov word [0x43bbd8], ax
pop ecx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 1
call fcn.004086d3
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x404803
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x404814
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, 1
jmp 0x40445e