Function at 0x5046b8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xa
push 0
push 0
dec ecx
jne 0x5046c0
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x504a9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x504797
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x50473a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov edx, esi
call fcn.004195b0
mov edx, dword [0x4fcdc4]
call fcn.00405ebc
inc esi
dec ebx
jne 0x50471e
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x504767
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
mov edx, esi
call fcn.004195b0
mov edx, dword [0x4fcdc4]
call fcn.00405ebc
inc esi
dec ebx
jne 0x50474b
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
call fcn.00403f0c
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
call fcn.00403f0c
mov edx, dword [0x4fcdf0]
mov eax, dword [ebp - 0x2c]
call fcn.00405ebc
inc dword [ebp - 0x28]
dec dword [ebp - 0x30]
jne 0x5046fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x44]
mov dl, 1
mov eax, dword [0x4172b4]
call fcn.00403edc
mov dword [ebp - 8], eax
mov eax, edi
call fcn.00409cd4
test al, al
je 0x5047f0
xor eax, eax
push ebp
push 0x5047de
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, edi
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x68]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5047f0
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x504a5e
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0xc]
call fcn.00409454
cmp dword [ebp - 0xc], 0
je 0x504a52
cmp dword [ebp - 0xc], 0
je 0x504841
mov eax, dword [ebp - 0xc]
cmp byte [eax], 0x3b
je 0x504a52
push 1
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 0x3c], 0x2c
mov byte [ebp - 0x3b], 9
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00477b90
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0xc]
call fcn.00404dd4
push 1
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 0x3c], 0x2c
mov byte [ebp - 0x3b], 9
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00477b90
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 0xc]
call fcn.00404dd4
push 1
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 0x3c], 0x2c
mov byte [ebp - 0x3b], 9
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.00477b90
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0xc]
call fcn.00404dd4
push 1
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 0x3c], 0x2c
mov byte [ebp - 0x3b], 9
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00477b90
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0xc]
call fcn.00404dd4
push 1
lea eax, [ebp - 0x4c]
push eax
mov byte [ebp - 0x3c], 0x2c
mov byte [ebp - 0x3b], 9
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00477b90
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 0xc]
call fcn.00404dd4
push 1
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 0x3c], 0x2c
mov byte [ebp - 0x3b], 9
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0xc]
call fcn.00477b90
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0xc]
call fcn.00404dd4
cmp dword [ebp - 0x10], 0
je 0x504a52
cmp dword [ebp - 0x1c], 0
je 0x504a52
cmp dword [ebp - 0x24], 0
je 0x504a52
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov esi, eax
test esi, esi
jge 0x5049b5
mov edx, dword [0x4fcdf0]
mov eax, 0xc
call fcn.00405ea8
mov dword [ebp - 0x2c], eax
mov dl, 1
mov eax, dword [0x416d0c]
call fcn.00403edc
mov edx, dword [ebp - 0x2c]
mov dword [edx + 4], eax
mov dl, 1
mov eax, dword [0x416d0c]
call fcn.00403edc
mov edx, dword [ebp - 0x2c]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov esi, eax
test esi, esi
jl 0x504a52
mov edx, dword [0x4fcdc4]
mov eax, 0x18
call fcn.00405ea8
mov ebx, eax
mov eax, ebx
mov edx, dword [ebp - 0x10]
call fcn.00404d90
lea eax, [ebx + 4]
mov edx, dword [ebp - 0x1c]
call fcn.00404d90
or edx, 0xffffffff
mov eax, dword [ebp - 0x14]
call fcn.0047796c
mov dword [ebx + 8], eax
or edx, 0xffffffff
mov eax, dword [ebp - 0x18]
call fcn.0047796c
mov dword [ebx + 0xc], eax
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.004098f4
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x24]
mov edx, 0x504ab4
call fcn.00405158
sete al
mov byte [ebx + 0x14], al
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, esi
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x2c], eax
cmp byte [ebx + 0x14], 0
je 0x504a45
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 4]
mov edx, ebx
call fcn.004193e8
jmp 0x504a52
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax + 8]
mov edx, ebx
call fcn.004193e8
inc dword [ebp - 0x28]
dec dword [ebp - 0x30]
jne 0x50480c
mov eax, dword [ebp - 8]
call fcn.00403f0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x504aa2
lea eax, [ebp - 0x50]
mov edx, 5
call fcn.00404d60
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00404d60
lea eax, [ebp - 0x24]
mov edx, 7
call fcn.00404d60
ret