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

Disassembly:
push 0xffffffffffffffff
push 0x5c1e4a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18c
push ebx
push ebp
push edi
push 6
xor eax, eax
mov edi, 7
xor ebx, ebx
push str.folder
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
call fcn.00402710
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x1ac]
mov dword [esp + 0x1a4], ebx
call fcn.00413690
mov edx, dword [esp + 0x28]
push edx
mov byte [0x69572c], al
mov dword [esp + 0x1a4], 0xffffffff
call fcn.005844d1
mov ebp, 8
add esp, 4
cmp dword [esp + 0x20], ebp
jb 0x403919
mov eax, dword [esp + 0xc]
push eax
call fcn.00584768
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
cmp eax, ebx
jne 0x40392a
mov edx, 0x5f64c4
xor ecx, ecx
mov eax, edx
push esi
mov dword [esp + 0x84], edi
mov dword [esp + 0x80], ebx
mov word [esp + 0x70], cx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403945
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x78]
call fcn.00402710
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x90], ebx
push 3
xor edx, edx
mov esi, 1
push 0x5f76d4
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1ac], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], dx
call fcn.00402710
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push 2
xor eax, eax
push 0x5f76cc
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 2
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
call fcn.00402710
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
push esi
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x1b0], 3
call fcn.004224a0
mov eax, dword [esp + 0x2c]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x24], ebp
jb 0x403a0b
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x50]
xor edx, edx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
mov byte [esp + 0x1a8], 1
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x48], ebp
jb 0x403a42
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00584768
add esp, 4
push ebx
lea edx, [esp + 0x74]
push edx
lea eax, [esp + 0x64]
push eax
call fcn.00415070
add esp, 0xc
mov byte [esp + 0x1a4], 4
mov ebp, esi
cmp dword [esp + 0x64], esi
jle 0x403b7d
mov esi, 0x24
mov edi, edi
xor ecx, ecx
push 1
mov word [esp + 0x38], cx
push 0x5f76c8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
call fcn.00402710
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push 2
xor edx, edx
push 0x5f76c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x1ac], 5
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], dx
call fcn.00402710
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [esp + 0x68]
push 1
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esi + edx]
mov byte [esp + 0x1b0], 6
call fcn.004224a0
mov eax, dword [esp + 0x2c]
push eax
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x24], 8
jb 0x403b07
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00584768
add esp, 4
mov eax, dword [esp + 0x50]
xor edx, edx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], dx
mov byte [esp + 0x1a8], 4
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x48], 8
jb 0x403b3f
mov ecx, dword [esp + 0x34]
push ecx
call fcn.00584768
add esp, 4
mov edx, dword [esp + 0x68]
cmp dword [esi + edx + 0x10], ebx
lea eax, [esi + edx]
je 0x403b6f
cmp dword [eax + 0x14], 8
jb 0x403b54
mov eax, dword [eax]
movzx eax, word [eax]
cmp eax, 0x80
jb 0x403b67
push eax
call fcn.004238f0
add esp, 4
cmp al, 0x2d
jne 0x403dbe
inc ebp
add esi, 0x24
cmp ebp, dword [esp + 0x64]
jl 0x403a70
mov ebp, 8
xor ecx, ecx
push 0x10
mov word [esp + 0x14], cx
push 0x5f769c
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], ebx
call fcn.00402710
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
xor edx, edx
mov dword [esp + 0x12c], edi
mov dword [esp + 0x128], ebx
mov word [esp + 0x118], dx
mov dword [esp + 0x134], ebx
mov dword [esp + 0x138], ebx
push ebx
lea ecx, [esp + 0x140]
mov byte [esp + 0x1a8], 0x10
call fcn.0041df80
xor eax, eax
mov dword [esp + 0x164], edi
mov dword [esp + 0x160], ebx
mov word [esp + 0x150], ax
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], ebx
xor ecx, ecx
mov dword [esp + 0x188], edi
mov dword [esp + 0x184], ebx
mov word [esp + 0x174], cx
mov dword [esp + 0x190], ebx
mov dword [esp + 0x194], ebx
push ebx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x120]
mov byte [esp + 0x1ac], 0x13
call fcn.0042f4f0
mov byte [esp + 0x19a], bl
mov eax, dword [esp + 0x2c]
push eax
mov byte [esp + 0x1a8], 0x15
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x24], ebp
jb 0x403c79
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00584768
add esp, 4
xor edx, edx
mov word [esp + 0x10], dx
mov edx, dword [0x68a280]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ebx
cmp edx, ebx
jne 0x403c97
mov edx, 0x5f64c4
xor eax, eax
mov word [esp + 0x34], ax
mov eax, edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
lea esi, [eax + 2]
jmp 0x403cb0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403cb0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.00402710
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push ebx
lea ecx, [esp + 0x38]
push ecx
push 0x53
lea ecx, [esp + 0x124]
mov byte [esp + 0x1b0], 0x16
call fcn.00431840
mov edx, dword [esp + 0x50]
push edx
mov byte [esp + 0x1a8], 0x15
call fcn.005844d1
add esp, 4
pop esi
cmp dword [esp + 0x44], ebp
jb 0x403d17
mov eax, dword [esp + 0x30]
push eax
call fcn.00584768
add esp, 4
push ebx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x11c]
call fcn.0042e920
push eax
mov byte [esp + 0x1a4], 0x17
call fcn.00436be0
mov edx, dword [esp + 0x50]
push edx
call fcn.005844d1
add esp, 8
cmp dword [esp + 0x44], ebp
jb 0x403d57
mov eax, dword [esp + 0x30]
push eax
call fcn.00584768
add esp, 4
lea ecx, [esp + 0x114]
mov byte [esp + 0x1a0], 4
call fcn.00401e70
lea ecx, [esp + 0x58]
mov byte [esp + 0x1a0], 1
call fcn.0041e1d0
mov ecx, dword [esp + 0x88]
push ecx
call fcn.005844d1
add esp, 4
cmp dword [esp + 0x80], ebp
pop edi
pop ebp
pop ebx
jb 0x403da5
mov edx, dword [esp + 0x60]
push edx
call fcn.00584768
add esp, 4
mov ecx, dword [esp + 0x18c]
mov al, 1
mov dword fs:[0], ecx
add esp, 0x198
ret 4
mov ecx, dword [esp + 0x68]
lea eax, [ebp + ebp*8]
xor edx, edx
lea esi, [ecx + eax*4]
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], dx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
push ebx
lea ecx, [esp + 0xbc]
mov byte [esp + 0x1a8], 7
call fcn.0041df80
xor eax, eax
mov dword [esp + 0xe0], edi
mov dword [esp + 0xdc], ebx
mov word [esp + 0xcc], ax
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], ebx
xor ecx, ecx
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], ebx
mov word [esp + 0xf0], cx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x110], ebx
push ebx
push esi
lea ecx, [esp + 0x9c]
mov byte [esp + 0x1ac], 0xa
call fcn.0042f4f0
mov byte [esp + 0x116], bl
mov edx, dword [0x68a280]
mov byte [esp + 0x1a4], 0xb
cmp edx, ebx
jne 0x403e84
mov edx, 0x5f64c4
xor eax, eax
mov word [esp + 0x34], ax
mov eax, edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
lea esi, [eax + 2]
jmp 0x403ea0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403ea0
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.00402710
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
push ebx
lea ecx, [esp + 0x38]
push ecx
push 0x17
lea ecx, [esp + 0xa0]
mov byte [esp + 0x1b0], 0xc
call fcn.00431840
mov edx, dword [esp + 0x50]
push edx
mov byte [esp + 0x1a8], 0xb
call fcn.005844d1
mov ebp, 8
add esp, 4
cmp dword [esp + 0x48], ebp
jb 0x403f0b
mov eax, dword [esp + 0x34]
push eax
call fcn.00584768
add esp, 4
push 0x24
call fcn.00584773
add esp, 4
mov dword [esp + 0x58], eax
mov byte [esp + 0x1a4], 0xd
cmp eax, ebx
je 0x403f35
push ebx
push eax
lea ecx, [esp + 0x9c]
call fcn.0042e920
jmp 0x403f37
xor eax, eax
push 0x24
mov byte [esp + 0x1a8], 0xb
mov dword [0x695730], eax
call fcn.00584773
add esp, 4
mov dword [esp + 0x58], eax
mov byte [esp + 0x1a4], 0xe
cmp eax, ebx
je 0x403f6d
push eax
lea ecx, [esp + 0x98]
call fcn.0042e4e0
jmp 0x403f6f
xor eax, eax
lea ecx, [esp + 0x94]
mov dword [0x695734], eax
mov byte [esp + 0x1a4], 4
call fcn.00401e70
jmp 0x403b82