Function at 0x401ce0
Capabilities:
Accept command line arguments
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x47a65f
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x49d340]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49d340]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xbc]
mov esi, dword [ebx + 8]
cmp dword [ebx + 4], esi
mov dword [esp + 0x58], ebx
jbe 0x401d33
call fcn.00433461
mov edi, dword [ebx + 4]
cmp edi, dword [ebx + 8]
jbe 0x401d40
call fcn.00433461
push esi
push ebx
push edi
push ebx
lea eax, [esp + 0x6c]
push eax
push ebx
call fcn.00404fa0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ebp, ebp
mov ecx, eax
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], ebp
mov word [esp + 0x8c], bp
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x401d76
sub ecx, esi
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x90]
call fcn.00405290
mov dword [esp + 0xb4], ebp
push 4
mov edi, 7
push str.__r_n_t
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
call fcn.00405290
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x88]
mov byte [esp + 0xb4], 1
call fcn.0041c26a
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x88]
call fcn.0041c2d8
mov esi, 8
cmp dword [esp + 0x34], esi
jb 0x401dfc
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00433471
add esp, 4
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov byte [esp + 0xb4], 2
push 1
push 0x4861dc
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
call fcn.00405290
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0xc0], 3
call fcn.0041c023
add esp, 0xc
mov byte [esp + 0xb4], 2
cmp dword [esp + 0x34], esi
jb 0x401e6a
mov edx, dword [esp + 0x20]
push edx
call fcn.00433471
add esp, 4
mov esi, dword [esp + 0x44]
cmp esi, dword [esp + 0x48]
jbe 0x401e79
call fcn.00433461
mov dword [esp + 0x60], esi
add esi, 0x1c
cmp esi, dword [esp + 0x48]
lea eax, [esp + 0x40]
mov edi, eax
ja 0x401e92
cmp esi, dword [esp + 0x44]
jae 0x401e97
call fcn.00433461
mov ebx, esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebx
mov esi, dword [esp + 0x48]
cmp dword [esp + 0x44], esi
jbe 0x401eb0
call fcn.00433461
cmp edi, ebp
je 0x401ebc
lea eax, [esp + 0x40]
cmp edi, eax
je 0x401ec1
call fcn.00433461
cmp ebx, esi
je 0x4023d5
cmp edi, ebp
jne 0x401ed2
call fcn.00433461
cmp ebx, dword [edi + 8]
jb 0x401edc
call fcn.00433461
push 0xffffffffffffffff
push ebp
mov esi, 7
push ebx
lea ecx, [esp + 0x78]
mov dword [esp + 0x90], esi
mov dword [esp + 0x8c], ebp
mov word [esp + 0x7c], bp
call fcn.004075e0
mov byte [esp + 0xb4], 4
push 5
push 0x4861e0
lea ecx, [esp + 0x24]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], ebp
mov word [esp + 0x28], bp
call fcn.00405290
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb4], 5
call fcn.0041c26a
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x6c]
call fcn.0041c465
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x402053
mov edx, dword [esp + 0x84]
cmp edx, 8
mov ecx, dword [esp + 0x70]
mov eax, ecx
jae 0x401f69
lea eax, [esp + 0x70]
mov esi, dword [esp + 0x80]
lea ebx, [eax + esi*2]
cmp ebx, ebp
je 0x401f98
cmp edx, 8
mov eax, ecx
jae 0x401f82
lea eax, [esp + 0x70]
cmp eax, ebx
ja 0x401f98
cmp edx, 8
mov eax, ecx
jae 0x401f91
lea eax, [esp + 0x70]
lea eax, [eax + esi*2]
cmp ebx, eax
jbe 0x401faf
call fcn.00433461
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x70]
cmp edx, 8
jb 0x40202b
test ecx, ecx
mov ebp, ecx
je 0x401fdb
cmp edx, 8
mov eax, ecx
jae 0x401fc5
lea eax, [esp + 0x70]
cmp eax, ebp
ja 0x401fdb
cmp edx, 8
mov eax, ecx
jae 0x401fd4
lea eax, [esp + 0x70]
lea eax, [eax + esi*2]
cmp ebp, eax
jbe 0x401ff2
call fcn.00433461
mov edx, dword [esp + 0x84]
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x70]
cmp edx, 8
jb 0x402031
test ecx, ecx
mov edi, ecx
je 0x40201e
cmp edx, 8
mov eax, ecx
jae 0x402008
lea eax, [esp + 0x70]
cmp eax, edi
ja 0x40201e
cmp edx, 8
mov eax, ecx
jae 0x402017
lea eax, [esp + 0x70]
lea ecx, [eax + esi*2]
cmp edi, ecx
jbe 0x402023
call fcn.00433461
test ebp, ebp
jne 0x402037
xor esi, esi
jmp 0x40203d
lea ebp, [esp + 0x70]
jmp 0x401fba
lea edi, [esp + 0x70]
jmp 0x401ffd
mov esi, ebp
sub esi, edi
sar esi, 1
test ebx, ebx
jne 0x402048
xor eax, eax
jmp 0x402216
sub ebx, ebp
sar ebx, 1
mov eax, ebx
jmp 0x402216
mov esi, dword [esp + 0x84]
cmp esi, 8
mov edx, dword [esp + 0x70]
mov eax, edx
jae 0x402069
lea eax, [esp + 0x70]
mov edi, dword [esp + 0x80]
lea ecx, [eax + edi*2]
cmp ecx, ebp
mov dword [esp + 0x18], ecx
je 0x40209c
cmp esi, 8
mov eax, edx
jae 0x402086
lea eax, [esp + 0x70]
cmp eax, ecx
ja 0x40209c
cmp esi, 8
mov eax, edx
jae 0x402095
lea eax, [esp + 0x70]
lea eax, [eax + edi*2]
cmp ecx, eax
jbe 0x4020ac
call fcn.00433461
mov esi, dword [esp + 0x84]
mov edx, dword [esp + 0x70]
cmp esi, 8
jb 0x402158
cmp edx, ebp
mov edi, edx
je 0x4020e3
cmp esi, 8
mov eax, edx
jae 0x4020c6
lea eax, [esp + 0x70]
cmp eax, edi
ja 0x4020e3
cmp esi, 8
mov eax, edx
jae 0x4020d5
lea eax, [esp + 0x70]
mov ecx, dword [esp + 0x80]
lea edx, [eax + ecx*2]
cmp edi, edx
jbe 0x4020e8
call fcn.00433461
lea esi, [esp + 0x6c]
mov eax, esi
cmp eax, 0xfffffffe
mov dword [esp + 0x68], edi
je 0x402132
mov edx, dword [esp + 0x84]
cmp edx, 8
mov ecx, dword [esp + 0x70]
jae 0x40210b
lea ecx, [esp + 0x70]
mov ebp, dword [esp + 0x80]
lea eax, [edi + ebx*2]
lea ecx, [ecx + ebp*2]
cmp eax, ecx
ja 0x40212d
cmp edx, 8
mov ecx, dword [esp + 0x70]
jae 0x402129
lea ecx, [esp + 0x70]
cmp eax, ecx
jae 0x402132
call fcn.00433461
cmp esi, 0xfffffffe
lea edi, [edi + ebx*2]
mov ebx, esi
mov dword [esp + 0x68], edi
je 0x402180
test esi, esi
jne 0x402149
call fcn.00433461
mov ebp, dword [esi + 0x18]
cmp ebp, 8
lea eax, [esi + 4]
jb 0x402161
mov ecx, dword [eax]
jmp 0x402163
lea edi, [esp + 0x70]
jmp 0x4020bb
mov ecx, eax
mov esi, dword [esi + 0x14]
lea edx, [edi + 2]
lea ecx, [ecx + esi*2]
cmp edx, ecx
ja 0x40217b
cmp ebp, 8
jb 0x402177
mov eax, dword [eax]
cmp edx, eax
jae 0x402180
call fcn.00433461
mov edx, dword [esp + 0x84]
cmp edx, 8
mov ecx, dword [esp + 0x70]
lea ebp, [edi + 2]
jb 0x4021ce
test ecx, ecx
mov edi, ecx
je 0x4021c1
cmp edx, 8
mov eax, ecx
jae 0x4021a4
lea eax, [esp + 0x70]
cmp eax, edi
ja 0x4021c1
cmp edx, 8
mov eax, ecx
jae 0x4021b3
lea eax, [esp + 0x70]
mov edx, dword [esp + 0x80]
lea eax, [eax + edx*2]
cmp edi, eax
jbe 0x4021c6
call fcn.00433461
test ebp, ebp
jne 0x4021d4
xor esi, esi
jmp 0x4021f0
lea edi, [esp + 0x70]
jmp 0x402199
cmp ebx, 0xfffffffe
je 0x4021ea
test ebx, ebx
je 0x4021e5
lea ecx, [esp + 0x6c]
cmp ebx, ecx
je 0x4021ea
call fcn.00433461
mov esi, ebp
sub esi, edi
sar esi, 1
mov edi, dword [esp + 0x18]
test edi, edi
jne 0x4021fc
xor eax, eax
jmp 0x402216
lea edx, [esp + 0x6c]
cmp edx, 0xfffffffe
je 0x402210
mov eax, edx
cmp eax, ebx
je 0x402210
call fcn.00433461
sub edi, ebp
sar edi, 1
mov eax, edi
push eax
push esi
lea ecx, [esp + 0x74]
call fcn.00406f60
mov edi, dword [esp + 0x84]
cmp edi, 8
mov ecx, dword [esp + 0x70]
mov eax, ecx
jae 0x402237
lea eax, [esp + 0x70]
lea eax, [eax + esi*2]
test eax, eax
je 0x402264
cmp edi, 8
mov edx, ecx
jae 0x402249
lea edx, [esp + 0x70]
cmp edx, eax
ja 0x402264
cmp edi, 8
jae 0x402256
lea ecx, [esp + 0x70]
mov edx, dword [esp + 0x80]
lea ecx, [ecx + edx*2]
cmp eax, ecx
jbe 0x402269
call fcn.00433461
mov ebp, 8
cmp dword [esp + 0x34], ebp
jb 0x402281
mov edx, dword [esp + 0x20]
push edx
call fcn.00433471
add esp, 4
sub esp, 0x1c
mov ecx, esp
xor edi, edi
mov ebx, 7
mov dword [esp + 0x34], esp
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
mov dword [esp + 0x34], ecx
mov word [ecx + 4], di
mov byte [esp + 0xd0], 6
cmp dword [esp + 0xa0], ebp
mov eax, dword [esp + 0x8c]
jae 0x4022be
lea eax, [esp + 0x8c]
push eax
call fcn.0041ac59
call fcn.0041de8e
add esp, 0x1c
test al, al
je 0x40237c
lea eax, [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], edi
mov word [esp + 0x20], di
mov byte [esp + 0xb4], 7
cmp dword [esp + 0x84], ebp
mov eax, dword [esp + 0x70]
jae 0x402302
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x20]
call fcn.0041ac59
sub esp, 0x1c
mov ecx, esp
mov byte [esp + 0xd0], 4
mov dword [esp + 0x34], esp
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x40]
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], edi
push edx
lea esi, [esp + 0x84]
mov word [ecx + 4], di
call fcn.004075e0
mov ecx, esi
call fcn.0041e1a1
add esp, 0x1c
test al, al
je 0x4023c0
cmp dword [esp + 0x34], ebp
jb 0x40235c
mov eax, dword [esp + 0x20]
push eax
call fcn.00433471
add esp, 4
cmp dword [esp + 0x60], edi
ja 0x40237c
jb 0x40236e
cmp dword [esp + 0x5c], 0x80000
jae 0x40237c
mov ecx, dword [esp + 0x58]
lea edx, [esp + 0x6c]
push edx
call fcn.004027c0
mov byte [esp + 0xb4], 2
cmp dword [esp + 0x84], ebp
jb 0x40239a
mov eax, dword [esp + 0x70]
push eax
call fcn.00433471
add esp, 4
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
cmp edx, dword [ecx + 8]
jb 0x4023ac
call fcn.00433461
add dword [esp + 0x54], 0x1c
mov edi, dword [esp + 0x50]
mov ebx, dword [esp + 0x54]
xor ebp, ebp
jmp 0x401ea1
cmp dword [esp + 0x34], ebp
jb 0x40236e
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00433471
add esp, 4
jmp 0x40236e
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x4023fb
mov ecx, dword [esp + 0x58]
mov edi, dword [esp + 0x48]
push ecx
call fcn.00406b00
mov edx, dword [esp + 0x48]
add esp, 4
push edx
call fcn.00433471
add esp, 4
cmp dword [esp + 0xa0], 8
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
jb 0x402421
mov eax, dword [esp + 0x8c]
push eax
call fcn.00433471
add esp, 4
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.00433192
add esp, 0xa4
ret 4