Function at 0x512af8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x44], ebx
test dl, dl
je 0x512b1e
add esp, 0xfffffff0
call fcn.00402ab0
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov ebx, eax
xor eax, eax
push ebp
push 0x51321b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0x18]
mov edx, 0x3aa2
mov eax, ebx
call fcn.006262c4
mov eax, dword [ebx + 0x228]
mov eax, dword [eax + 0x120]
mov dword [ebx + 0x238], eax
xor eax, eax
call fcn.0050bbb8
mov eax, dword [0x6726a4]
cmp byte [eax], 0
je 0x512b98
mov eax, dword [ebx + 0x1b4]
mov edx, dword [eax + 0x2c]
inc edx
mov eax, dword [ebx + 0x1b4]
call fcn.00642de8
mov eax, dword [ebx + 0x1b8]
mov edx, dword [eax + 0x2c]
inc edx
mov eax, dword [ebx + 0x1b8]
call fcn.00642de8
mov eax, dword [ebx + 0x228]
mov esi, dword [eax + 0x34]
mov edx, dword [ebx + 0x1a0]
mov edx, dword [edx + 0x34]
call fcn.0063b420
mov edi, dword [ebx + 0x228]
mov eax, edi
call fcn.0063b3dc
mov edx, dword [0x672f54]
add eax, dword [edx + 4]
push eax
mov eax, dword [ebx + 0x228]
call fcn.00642ec0
mov edx, dword [ebx + 0x228]
mov edx, dword [edx + 0x34]
sub edx, eax
mov eax, edx
pop edx
add edx, eax
mov eax, edi
call fcn.00642e18
mov eax, dword [ebx + 0x228]
mov dword [eax + 0xa8], ebx
mov dword [eax + 0xa4], 0x511a54
mov edx, dword [ebx + 0x224]
mov ecx, dword [edx + 0x34]
mov eax, dword [eax + 0x34]
sub eax, esi
add ecx, eax
mov eax, ecx
xchg edx, eax
call fcn.00642e18
mov eax, dword [ebx + 0x228]
mov edx, dword [eax + 0x34]
add edx, dword [ebx + 0x34]
sub edx, esi
mov eax, ebx
call fcn.00642e18
mov eax, dword [ebx + 0x19c]
call fcn.0062e6b8
mov eax, dword [ebx + 0x1d4]
call fcn.0042f910
mov eax, 0x7bc0
call fcn.0062b84c
mov esi, eax
mov edi, dword [ebx + 0x1d4]
mov dword [edi + 0x138], esi
neg esi
mov dword [edi + 0x13c], esi
mov eax, dword [ebx + 0x1d8]
call fcn.0042f910
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x138]
mov eax, dword [ebx + 0x1d8]
mov dword [eax + 0x138], edx
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x13c]
mov dword [eax + 0x13c], edx
xor esi, esi
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov ecx, esi
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
inc esi
cmp esi, 8
jne 0x512c98
call fcn.0053c3b8
mov esi, eax
mov eax, esi
call fcn.005c504c
test al, al
je 0x512cd5
mov eax, dword [esi + 0x300]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x512cde
mov eax, dword [esi + 0x258]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.005c0310
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.005c8424
and eax, 0x3ff
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, 1
call fcn.0061d6c4
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea ecx, [ebp - 0x40]
mov edx, esi
mov eax, 2
call fcn.0061d6c4
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea ecx, [ebp - 0x44]
mov edx, esi
mov eax, 3
call fcn.0061d6c4
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x38]
mov ecx, 2
pop eax
call fcn.00659050
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 5
mov edi, dword [eax]
call dword [edi + 0x1c]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, 1
call fcn.0061e9d0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea ecx, [ebp - 0x40]
mov edx, esi
mov eax, 2
call fcn.0061e9d0
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea ecx, [ebp - 0x44]
mov edx, esi
mov eax, 3
call fcn.0061e9d0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x38]
mov ecx, 2
pop eax
call fcn.00659050
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 6
mov edi, dword [eax]
call dword [edi + 0x1c]
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 7
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
mov edx, esi
mov eax, 1
call fcn.0061efe8
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea ecx, [ebp - 0x40]
mov edx, esi
mov eax, 2
call fcn.0061efe8
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea ecx, [ebp - 0x44]
mov edx, esi
mov eax, 3
call fcn.0061efe8
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
lea edx, [ebp - 0x38]
mov ecx, 2
pop eax
call fcn.00659050
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov edx, 7
mov esi, dword [eax]
call dword [esi + 0x1c]
mov eax, dword [ebx + 0x1e0]
mov esi, dword [eax + 0x120]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
dec edx
mov eax, esi
mov ecx, 0x16
mov esi, dword [eax]
call dword [esi + 0x24]
push 0xff
lea eax, [ebp - 0x1c]
mov edx, dword [0x671918]
mov edx, dword [edx]
call fcn.00403438
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
xor edx, edx
call fcn.00653348
mov eax, dword [ebx + 0x1e4]
mov dword [eax + 0x138], 0x7fff
mov eax, dword [ebx + 0x208]
call fcn.0042f910
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x138]
mov eax, dword [ebx + 0x208]
mov dword [eax + 0x138], edx
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x13c]
mov dword [eax + 0x13c], edx
mov eax, dword [ebx + 0x20c]
call fcn.0042f910
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x138]
mov eax, dword [ebx + 0x20c]
mov dword [eax + 0x138], edx
mov edx, dword [ebx + 0x1d4]
mov edx, dword [edx + 0x13c]
mov dword [eax + 0x13c], edx
mov edx, dword [0x50b554]
mov eax, dword [ebx + 0x1dc]
call fcn.00644bb8
mov esi, eax
mov dword [ebx + 0x240], esi
mov dword [esi + 0x134], ebx
mov dword [esi + 0x130], 0x511824
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x138], 0x50fed0
mov edx, 0x96
mov eax, esi
call fcn.00642e00
mov dl, 1
mov eax, dword [ebx + 0x240]
call fcn.00646fb8
mov eax, dword [ebx + 0x1f0]
call fcn.00646f1c
mov edx, eax
mov eax, dword [ebx + 0x240]
call fcn.00646f9c
mov edx, dword [ebx + 0x240]
mov eax, dword [ebx + 0x1e8]
call fcn.0063c450
call fcn.00651de8
mov dword [ebp - 0xc], eax
mov edx, dword [0x60b224]
mov eax, dword [ebx + 0x1a4]
call fcn.00644bb8
mov esi, eax
mov dword [ebx + 0x244], esi
mov al, byte [0x51323c]
mov byte [esi + 0x157], al
mov eax, dword [0x672608]
mov eax, dword [eax]
mov edx, dword [0x6724ec]
mov edx, dword [edx]
add edx, edx
add eax, edx
mov edx, dword [0x671b8c]
add eax, dword [edx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, 0x97
call fcn.00626138
push eax
mov eax, 0x186
call fcn.00626138
mov edx, eax
mov eax, esi
pop ecx
mov esi, dword [eax]
call dword [esi + 0x3c]
mov edx, 0x251c
mov eax, dword [ebp - 0xc]
call fcn.00652038
mov eax, dword [ebx + 0x244]
mov edx, dword [eax + 0x30]
push edx
push 1
push 0
mov dl, byte [0x513240]
push edx
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.0060e8ac
xor edx, edx
mov eax, dword [ebx + 0x244]
call fcn.00644de0
mov dword [eax + 0xa0], ebx
mov dword [eax + 0x9c], 0x511a54
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x66c290
mov dword [ebp - 0x18], eax
mov edx, dword [0x60b224]
mov eax, dword [ebx + 0x224]
call fcn.00644bb8
mov edi, eax
mov al, byte [0x51323c]
mov byte [edi + 0x157], al
mov eax, dword [ebp - 0x10]
mov dword [ebx + eax*4 + 0x248], edi
mov eax, dword [0x6724ec]
mov eax, dword [eax]
mov edx, dword [0x671b8c]
add eax, dword [edx]
mov edx, eax
add edx, edx
mov eax, dword [0x672608]
add edx, dword [eax]
mov eax, dword [0x6724ec]
add edx, dword [eax]
mov eax, edi
call fcn.00642e00
mov dl, 4
mov eax, edi
call fcn.00642c78
mov eax, dword [ebp - 0x18]
mov edx, eax
mov ecx, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.00652010
mov eax, dword [edi + 0x30]
push eax
push 0x7fffffff
push 0
mov al, byte [0x513240]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.0060e8ac
mov eax, edi
call fcn.00644e10
dec eax
cmp eax, 0
jl 0x5131b3
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00644de0
mov esi, eax
mov eax, dword [esi + 0x18]
cmp eax, 0x2530
je 0x513172
cmp eax, 0x2531
jne 0x51319a
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x51319a
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x14]
mov eax, dword [esi + 0x58]
call fcn.00659210
mov edx, dword [ebp - 0x1c]
lea eax, [esi + 0x58]
call fcn.004032c8
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x9c], 0x511a54
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x513155
xor edx, edx
mov eax, edi
call fcn.00642c78
mov eax, dword [edi + 0x30]
push eax
mov esi, dword [ebx + 0x228]
mov eax, dword [esi + 0x34]
push eax
mov ecx, dword [esi + 0x2c]
mov edx, dword [edi + 0x28]
sub edx, 2
mov eax, edi
mov esi, dword [eax]
call dword [esi + 0x3c]
inc dword [ebp - 0x10]
add dword [ebp - 0x18], 0x2c
cmp dword [ebp - 0x10], 2
jne 0x5130bd
mov eax, dword [ebp - 0xc]
call fcn.00652408
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x513222
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00403298
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00403298
ret