Function at 0x4053f6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8ec
push ebx
push esi
push edi
xor ebx, ebx
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x4ea]
mov word [ebp - 0x4ec], bx
rep stosd dword es:[edi], eax
mov esi, 0x2c8
mov dword [ebp - 4], ebx
push esi
mov dword [ebp - 0xc], ebx
push dword [ebp + 0x10]
mov dword [ebp - 8], ebx
stosw word es:[edi], ax
lea eax, [ebp - 0x2e4]
push eax
call fcn.0040c8c0
add esp, 0xc
cmp byte [ebp + 0x14], bl
je 0x405475
lea eax, [ebp - 0x4ec]
push 0x104
push eax
call fcn.0040501b
pop ecx
test al, al
pop ecx
je 0x40569f
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x4ec]
push eax
push dword [ebp + 0xc]
call fcn.00406085
add esp, 0xc
jmp 0x4054ac
mov eax, dword [ebp - 0x2e4]
lea edi, [eax + 0x400]
push edi
call fcn.0040d239
cmp eax, ebx
pop ecx
mov dword [ebp - 8], eax
je 0x40569f
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], edi
push ecx
push eax
push dword [ebp - 0x2e4]
push dword [ebp + 0xc]
call fcn.004061d4
add esp, 0x10
test eax, eax
je 0x40569f
push 0x421b30
mov byte [ebp - 0x1b], 0x65
push dword [ebp + 8]
mov byte [ebp - 0x1c], 0x25
mov byte [ebp - 0x1a], 0x52
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x19], 0x40
mov byte [ebp - 0x17], 0x6f
mov byte [ebp - 0x16], 0x50
mov byte [ebp - 0x15], 0x6d
mov byte [ebp - 0x13], 0x3c
mov byte [ebp - 0x14], 0x7c
mov byte [ebp - 0x12], 0x23
mov byte [ebp - 0x11], 0x59
mov byte [ebp - 0xf], 0x73
mov byte [ebp - 0x10], 0x4b
mov byte [ebp - 0xe], 0x24
mov byte [ebp - 0xd], 0x5e
call fcn.0040d4f4
mov edi, eax
pop ecx
cmp edi, ebx
pop ecx
mov dword [ebp + 0xc], edi
je 0x40569f
push 2
push ebx
push edi
call fcn.0040db7b
add esp, 0xc
cmp byte [ebp + 0x14], 0
je 0x405554
lea eax, [ebp - 0x4ec]
push 0x421b20
push eax
call fcn.0040d4f4
pop ecx
cmp eax, ebx
pop ecx
mov dword [ebp - 4], eax
jne 0x405547
push edi
call fcn.0040d30d
jmp 0x40569e
push ebx
push ebx
push eax
call fcn.0040db7b
add esp, 0xc
jmp 0x40555a
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov edi, dword [ebp - 0x20]
cmp edi, ebx
mov dword [ebp + 0x14], edi
jle 0x405618
mov ebx, 0x400
jmp 0x405572
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x4055a2
test byte [eax + 0xc], 0x10
jne 0x405616
cmp edi, ebx
jl 0x405589
mov edi, ebx
push dword [ebp - 4]
lea eax, [ebp - 0x8ec]
push edi
push 1
push eax
call fcn.0040dc34
add esp, 0x10
mov edi, eax
jmp 0x4055c6
cmp edi, ebx
mov eax, edi
jl 0x4055aa
mov eax, ebx
push eax
lea eax, [ebp - 0x8ec]
push dword [ebp - 0xc]
push eax
call fcn.0040c8c0
add esp, 0xc
cmp edi, ebx
jl 0x4055c3
mov edi, ebx
add dword [ebp - 0xc], edi
mov eax, dword [ebp - 0x48]
cmp eax, 0x20
jle 0x4055d1
push 0x20
pop eax
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8ec]
push edi
push eax
call fcn.004050c2
lea eax, [ebp - 0x8ec]
push edi
push eax
call fcn.004050ed
push dword [ebp + 0xc]
lea eax, [ebp - 0x8ec]
push edi
push 1
push eax
call fcn.0040d38a
add esp, 0x28
cmp eax, edi
jne 0x405678
sub dword [ebp + 0x14], eax
cmp dword [ebp + 0x14], 0
jg 0x40556f
xor ebx, ebx
lea eax, [ebp - 0x1c]
push 0x10
push eax
lea eax, [ebp - 0x2e4]
push esi
push eax
call fcn.004050c2
lea eax, [ebp - 0x2e4]
push esi
push eax
call fcn.004050ed
push dword [ebp + 0xc]
lea eax, [ebp - 0x2e4]
push esi
push 1
push eax
call fcn.0040d38a
push dword [ebp + 0xc]
call fcn.0040d30d
add esp, 0x2c
cmp dword [ebp - 4], ebx
je 0x405663
push dword [ebp - 4]
call fcn.0040d30d
pop ecx
cmp dword [ebp - 8], ebx
je 0x405671
push dword [ebp - 8]
call fcn.0040d2c5
pop ecx
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp + 0xc]
call fcn.0040d30d
cmp dword [ebp - 4], 0
pop ecx
je 0x405690
push dword [ebp - 4]
call fcn.0040d30d
pop ecx
cmp dword [ebp - 8], 0
je 0x40569f
push dword [ebp - 8]
call fcn.0040d2c5
pop ecx
xor al, al
jmp 0x405673