Function at 0x406358
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff78
push ebx
push esi
push edi
mov eax, 0x544d68
call fcn.004e95f0
mov dword [ebp - 0x54], 1
lea edx, [ebp + 0xc]
lea eax, [ebp + 0xc]
call fcn.004f8554
inc dword [ebp - 0x54]
mov word [ebp - 0x60], 0xc
mov word [ebp - 0x60], 0x18
xor edx, edx
mov dword [ebp - 4], edx
inc dword [ebp - 0x54]
mov word [ebp - 0x60], 0xc
mov word [ebp - 0x60], 0x24
xor ecx, ecx
mov dword [ebp - 8], ecx
inc dword [ebp - 0x54]
mov word [ebp - 0x60], 0xc
mov word [ebp - 0x60], 0x30
xor eax, eax
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
inc dword [ebp - 0x54]
lea eax, [ebp + 0xc]
call fcn.004f88b4
lea edx, [ebp - 0x14]
lea eax, [ebp - 8]
call fcn.004f86cc
dec dword [ebp - 0x54]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004f86a4
mov word [ebp - 0x60], 0x3c
lea eax, [ebp - 0xc]
call fcn.004021e4
inc dword [ebp - 0x54]
inc dword [ebp - 0x54]
mov word [ebp - 0x60], 0xc
mov word [ebp - 0x60], 0x48
lea eax, [ebp - 0x10]
call fcn.004021e4
inc dword [ebp - 0x54]
inc dword [ebp - 0x54]
mov word [ebp - 0x60], 0xc
xor edx, edx
mov dword [ebp - 0x74], edx
mov word [ebp - 0x60], 0x54
lea edx, [ebp - 8]
lea eax, [ebp - 0x18]
xor ecx, ecx
call fcn.004f7d1c
inc dword [ebp - 0x54]
lea eax, [ebp - 0x18]
inc dword [ebp - 0x54]
push dword [eax]
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x1c]
call fcn.004021e4
inc dword [ebp - 0x54]
lea edx, [ebp - 0x1c]
push edx
inc dword [ebp - 0x54]
call fcn.0053e090
add esp, 0xc
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.004f7df4
sub dword [ebp - 0x54], 2
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00402190
sub dword [ebp - 0x54], 2
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00402190
mov dword [ebp - 0x78], 1
jmp 0x406616
mov word [ebp - 0x60], 0x60
lea eax, [ebp - 0x20]
call fcn.004021e4
inc dword [ebp - 0x54]
lea edx, [ebp - 0x20]
push edx
inc dword [ebp - 0x54]
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [ebp - 0x78]
call fcn.00403964
lea eax, [ebp - 0x20]
push dword [eax]
call fcn.004040c4
pop ecx
push eax
sub dword [ebp - 0x54], 2
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00402190
pop ecx
test cl, cl
je 0x40654b
mov word [ebp - 0x60], 0x6c
lea eax, [ebp - 0x24]
call fcn.004021e4
inc dword [ebp - 0x54]
lea edx, [ebp - 0x24]
push edx
inc dword [ebp - 0x54]
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [ebp - 0x78]
call fcn.00403964
xor eax, eax
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x28]
call fcn.00411614
lea edx, [ebp - 0x28]
inc dword [ebp - 0x54]
mov eax, dword [edx]
call fcn.0044ee68
add dword [ebp - 0x74], eax
dec dword [ebp - 0x54]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004f86a4
sub dword [ebp - 0x54], 2
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00402190
jmp 0x4065f5
mov word [ebp - 0x60], 0x78
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x84], ecx
push dword [ebp - 0x84]
lea eax, [ebp - 0xc]
push eax
call fcn.004f7ae8
add esp, 8
lea eax, [ebp - 0xc]
call fcn.00403a00
mov edx, dword [ebp - 0x84]
add edx, dword [ebp - 0xc]
dec edx
movsx eax, byte [edx]
xor edx, edx
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x2c]
inc dword [ebp - 0x54]
mov edx, 2
call fcn.0044ee3c
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x30]
xor ecx, ecx
call fcn.004f7d1c
inc dword [ebp - 0x54]
inc dword [ebp - 0x54]
lea edx, [ebp - 0x30]
lea eax, [ebp - 0x10]
call fcn.004f7df4
sub dword [ebp - 0x54], 2
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00402190
dec dword [ebp - 0x54]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.004f86a4
push 0x10
push 0
cmp dword [ebp - 0x10], 0
jne 0x4065e6
mov ecx, 0x543881
jmp 0x4065e9
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004f22b4
add esp, 0xc
add dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x78]
and eax, 0x80000001
jns 0x406604
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
je 0x406613
mov edx, dword [ebp - 0x74]
add edx, dword [ebp - 0x78]
add edx, edx
mov dword [ebp - 0x74], edx
inc dword [ebp - 0x78]
cmp dword [ebp - 0xc], 0
je 0x40662b
lea eax, [ebp - 0xc]
push eax
call fcn.00403954
pop ecx
mov edx, dword [eax + 8]
jmp 0x40662d
xor edx, edx
cmp edx, dword [ebp - 0x78]
jge 0x406493
mov word [ebp - 0x60], 0x84
cmp dword [0x55ca1c], 0
je 0x406682
mov word [ebp - 0x60], 0x90
xor eax, eax
mov dword [ebp - 0x34], eax
lea edx, [ebp - 0x34]
inc dword [ebp - 0x54]
mov eax, dword [ebp - 0x74]
imul eax, dword [0x55ca1c]
call fcn.0044eccc
lea edx, [ebp - 0x34]
lea eax, [ebp - 4]
call fcn.004f86cc
dec dword [ebp - 0x54]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.004f86a4
jmp 0x4066ba
mov word [ebp - 0x60], 0x9c
xor ecx, ecx
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x38]
inc dword [ebp - 0x54]
mov eax, dword [ebp - 0x74]
imul eax, dword [ebp - 0x74]
call fcn.0044eccc
lea edx, [ebp - 0x38]
lea eax, [ebp - 4]
call fcn.004f86cc
dec dword [ebp - 0x54]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004f86a4
mov word [ebp - 0x60], 0xc
jmp 0x406705
mov word [ebp - 0x60], 0xc0
push 1
push 0
lea ecx, [ebp - 0x85]
push ecx
call fcn.004e90c7
add esp, 0xc
or byte [ebp - 0x85], 1
lea eax, [ebp - 0x85]
mov dl, byte [eax]
push edx
xor ecx, ecx
mov dword [ebp - 0x48], ecx
lea eax, [ebp - 0x48]
push eax
inc dword [ebp - 0x54]
mov edx, 0x543884
lea eax, [ebp - 0x44]
call fcn.004f8514
inc dword [ebp - 0x54]
push dword [eax]
mov edx, 0x543882
lea eax, [ebp - 0x40]
call fcn.004f8514
inc dword [ebp - 0x54]
mov edx, dword [eax]
mov eax, dword [ebp - 4]
pop ecx
call fcn.004553ec
lea edx, [ebp - 0x48]
lea eax, [ebp - 4]
call fcn.004f86cc
dec dword [ebp - 0x54]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004f86a4
dec dword [ebp - 0x54]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004f86a4
dec dword [ebp - 0x54]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.004f86a4
mov word [ebp - 0x60], 0xcc
push dword [ebp - 4]
xor ecx, ecx
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x4c]
push eax
inc dword [ebp - 0x54]
call fcn.00405b7c
add esp, 8
lea edx, [ebp - 0x4c]
mov eax, dword [ebp + 8]
call fcn.004f86cc
mov eax, dword [ebp + 8]
mov word [ebp - 0x60], 0xd8
push eax
dec dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.004f86a4
sub dword [ebp - 0x54], 2
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00402190
sub dword [ebp - 0x54], 2
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00402190
dec dword [ebp - 0x54]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004f86a4
dec dword [ebp - 0x54]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004f86a4
dec dword [ebp - 0x54]
lea eax, [ebp + 0xc]
mov edx, 2
call fcn.004f86a4
pop eax
mov word [ebp - 0x60], 0xcc
inc dword [ebp - 0x54]
mov edx, dword [ebp - 0x70]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret