Function at 0x5081c4
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 0x5081ea
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 0x5088d9
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.00622a64
mov eax, dword [ebx + 0x228]
mov eax, dword [eax + 0x120]
mov dword [ebx + 0x238], eax
xor eax, eax
call fcn.00500ce0
mov eax, dword [0x669648]
cmp byte [eax], 0
je 0x508264
mov eax, dword [ebx + 0x1b4]
mov edx, dword [eax + 0x2c]
inc edx
mov eax, dword [ebx + 0x1b4]
call fcn.0063f990
mov eax, dword [ebx + 0x1b8]
mov edx, dword [eax + 0x2c]
inc edx
mov eax, dword [ebx + 0x1b8]
call fcn.0063f990
mov eax, dword [ebx + 0x228]
mov esi, dword [eax + 0x34]
mov edx, dword [ebx + 0x1a0]
mov edx, dword [edx + 0x34]
call fcn.0063801c
mov edi, dword [ebx + 0x228]
mov eax, edi
call fcn.00637fd8
mov edx, dword [0x6699c8]
add eax, dword [edx + 4]
push eax
mov eax, dword [ebx + 0x228]
call fcn.0063fa68
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.0063f9c0
mov eax, dword [ebx + 0x228]
mov dword [eax + 0xa8], ebx
mov dword [eax + 0xa4], 0x506cac
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.0063f9c0
mov eax, dword [ebx + 0x228]
mov edx, dword [eax + 0x34]
add edx, dword [ebx + 0x34]
sub edx, esi
mov eax, ebx
call fcn.0063f9c0
mov eax, dword [ebx + 0x19c]
call fcn.0062b1c8
mov eax, dword [ebx + 0x1d4]
call fcn.0041fe4c
mov eax, 0x7bc0
call fcn.00627eec
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.0041fe4c
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 0x508364
call fcn.005336e0
mov esi, eax
mov eax, esi
call fcn.005bd35c
test al, al
je 0x5083a1
mov eax, dword [esi + 0x300]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x5083aa
mov eax, dword [esi + 0x258]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.005b85b8
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, esi
call fcn.005c0734
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.00619cf8
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.00619cf8
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.00619cf8
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.006550e0
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.0061b004
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.0061b004
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.0061b004
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.006550e0
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.0061b61c
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.0061b61c
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.0061b61c
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.006550e0
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
mov eax, dword [ebx + 0x1e0]
mov eax, dword [eax + 0x120]
mov ecx, 0x508904
xor edx, edx
call fcn.0064f438
mov eax, dword [ebx + 0x1e4]
mov dword [eax + 0x138], 0x7fff
mov eax, dword [ebx + 0x208]
call fcn.0041fe4c
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.0041fe4c
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 [0x50067c]
mov eax, dword [ebx + 0x1dc]
call fcn.00641710
mov esi, eax
mov dword [ebx + 0x240], esi
mov dword [esi + 0x134], ebx
mov dword [esi + 0x130], 0x506a70
mov dword [esi + 0x13c], ebx
mov dword [esi + 0x138], 0x505108
mov edx, 0x96
mov eax, esi
call fcn.0063f9a8
mov dl, 1
mov eax, dword [ebx + 0x240]
call fcn.00643b10
mov eax, dword [ebx + 0x1f0]
call fcn.00643a74
mov edx, eax
mov eax, dword [ebx + 0x240]
call fcn.00643af4
mov edx, dword [ebx + 0x240]
mov eax, dword [ebx + 0x1e8]
call fcn.00639048
call fcn.0064dfa0
mov dword [ebp - 0xc], eax
mov edx, dword [0x6050b4]
mov eax, dword [ebx + 0x1a4]
call fcn.00641710
mov esi, eax
mov dword [ebx + 0x244], esi
mov al, byte [0x50890c]
mov byte [esi + 0x157], al
mov eax, dword [0x669600]
mov eax, dword [eax]
mov edx, dword [0x669584]
mov edx, dword [edx]
add edx, edx
add eax, edx
mov edx, dword [0x66919c]
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.006228d8
push eax
mov eax, 0x186
call fcn.006228d8
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.0064e1f0
mov eax, dword [ebx + 0x244]
mov edx, dword [eax + 0x30]
push edx
push 1
push 0
mov dl, byte [0x508910]
push edx
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00608818
xor edx, edx
mov eax, dword [ebx + 0x244]
call fcn.00641938
mov dword [eax + 0xa0], ebx
mov dword [eax + 0x9c], 0x506cac
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x663a9c
mov dword [ebp - 0x18], eax
mov edx, dword [0x6050b4]
mov eax, dword [ebx + 0x224]
call fcn.00641710
mov edi, eax
mov al, byte [0x50890c]
mov byte [edi + 0x157], al
mov eax, dword [ebp - 0x10]
mov dword [ebx + eax*4 + 0x248], edi
mov eax, dword [0x669584]
mov eax, dword [eax]
mov edx, dword [0x66919c]
add eax, dword [edx]
mov edx, eax
add edx, edx
mov eax, dword [0x669600]
add edx, dword [eax]
mov eax, dword [0x669584]
add edx, dword [eax]
mov eax, edi
call fcn.0063f9a8
mov dl, 4
mov eax, edi
call fcn.0063f820
mov eax, dword [ebp - 0x18]
mov edx, eax
mov ecx, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.0064e1c8
mov eax, dword [edi + 0x30]
push eax
push 0x7fffffff
push 0
mov al, byte [0x508910]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00608818
mov eax, edi
call fcn.00641968
dec eax
cmp eax, 0
jl 0x508871
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.00641938
mov esi, eax
mov eax, dword [esi + 0x18]
cmp eax, 0x2530
je 0x508830
cmp eax, 0x2531
jne 0x508858
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x508858
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.006552a0
mov edx, dword [ebp - 0x1c]
lea eax, [esi + 0x58]
call fcn.004032c8
mov dword [esi + 0xa0], ebx
mov dword [esi + 0x9c], 0x506cac
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x508813
xor edx, edx
mov eax, edi
call fcn.0063f820
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 0x50877b
mov eax, dword [ebp - 0xc]
call fcn.0064e5c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5088e0
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00403298
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00403298
ret