Function at 0x50bf5c
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 0x50bf82
add esp, 0xfffffff0
call fcn.00402ab0
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov esi, eax
xor eax, eax
push ebp
push 0x50c6bf
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
xor edx, edx
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x18]
mov edx, 0x3aa2
mov eax, esi
call fcn.0062c418
xor eax, eax
call fcn.005046e8
mov eax, dword [0x672364]
mov eax, dword [eax]
call fcn.004093b4
test al, al
je 0x50bff0
mov eax, dword [esi + 0x1b0]
mov edx, dword [eax + 0x2c]
inc edx
mov eax, dword [esi + 0x1b0]
call fcn.00646330
mov eax, dword [esi + 0x1b4]
mov edx, dword [eax + 0x2c]
inc edx
mov eax, dword [esi + 0x1b4]
call fcn.00646330
mov eax, dword [esi + 0x224]
mov ebx, dword [eax + 0x34]
mov edx, dword [esi + 0x19c]
mov edx, dword [edx + 0x34]
call fcn.0063eaec
mov edi, dword [esi + 0x224]
mov eax, edi
call fcn.0063eaa8
mov edx, dword [0x6729bc]
add eax, dword [edx]
push eax
mov eax, dword [esi + 0x224]
call fcn.00646424
mov edx, dword [esi + 0x224]
mov edx, dword [edx + 0x34]
sub edx, eax
mov eax, edx
pop edx
add edx, eax
mov eax, edi
call fcn.00646374
mov eax, dword [esi + 0x224]
mov dword [eax + 0xa8], esi
mov dword [eax + 0xa4], 0x50a954
mov edx, dword [esi + 0x220]
mov ecx, dword [edx + 0x34]
mov eax, dword [eax + 0x34]
sub eax, ebx
add ecx, eax
mov eax, ecx
xchg edx, eax
call fcn.00646374
mov eax, dword [esi + 0x224]
mov edx, dword [eax + 0x34]
add edx, dword [esi + 0x34]
sub edx, ebx
mov eax, esi
call fcn.00646374
mov eax, dword [esi + 0x198]
call fcn.00634ac0
lea eax, [ebp - 0x1c]
call fcn.00631788
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x1d0]
call fcn.00421b9c
mov eax, 0x7bc0
call fcn.006317e8
mov ebx, eax
mov edi, dword [esi + 0x1d0]
mov dword [edi + 0x138], ebx
neg ebx
mov dword [edi + 0x13c], ebx
lea eax, [ebp - 0x1c]
call fcn.00631788
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x1d4]
call fcn.00421b9c
mov edx, dword [esi + 0x1d0]
mov edx, dword [edx + 0x138]
mov eax, dword [esi + 0x1d4]
mov dword [eax + 0x138], edx
mov edx, dword [esi + 0x1d0]
mov edx, dword [edx + 0x13c]
mov dword [eax + 0x13c], edx
xor ebx, ebx
mov eax, dword [esi + 0x1dc]
mov eax, dword [eax + 0x120]
mov ecx, ebx
mov edx, ebx
mov edi, dword [eax]
call dword [edi + 0x24]
inc ebx
cmp ebx, 8
jne 0x50c105
call fcn.005397f4
mov ebx, eax
mov eax, ebx
call fcn.005c514c
test al, al
je 0x50c142
mov eax, dword [ebx + 0x2f8]
mov eax, dword [eax + 4]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
jmp 0x50c14b
mov eax, dword [ebx + 0x250]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.005c0358
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.005c86c0
and eax, 0x3ff
mov ebx, eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
mov eax, dword [esi + 0x1dc]
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, ebx
mov eax, 1
call fcn.0062392c
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea ecx, [ebp - 0x40]
mov edx, ebx
mov eax, 2
call fcn.0062392c
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea ecx, [ebp - 0x44]
mov edx, ebx
mov eax, 3
call fcn.0062392c
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.0065d7d4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x1dc]
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 [esi + 0x1dc]
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, ebx
mov eax, 1
call fcn.00624c38
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea ecx, [ebp - 0x40]
mov edx, ebx
mov eax, 2
call fcn.00624c38
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea ecx, [ebp - 0x44]
mov edx, ebx
mov eax, 3
call fcn.00624c38
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.0065d7d4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x1dc]
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 [esi + 0x1dc]
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, ebx
mov eax, 1
call fcn.00625250
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
lea ecx, [ebp - 0x40]
mov edx, ebx
mov eax, 2
call fcn.00625250
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea ecx, [ebp - 0x44]
mov edx, ebx
mov eax, 3
call fcn.00625250
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.0065d7d4
mov ecx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x1dc]
mov eax, dword [eax + 0x120]
mov edx, 7
mov ebx, dword [eax]
call dword [ebx + 0x1c]
mov eax, dword [esi + 0x1dc]
mov ebx, dword [eax + 0x120]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xc]
mov edx, eax
dec edx
mov eax, ebx
mov ecx, 0x16
mov ebx, dword [eax]
call dword [ebx + 0x24]
push 0xff
mov eax, dword [esi + 0x1dc]
mov eax, dword [eax + 0x120]
mov ecx, 0x50c6e8
xor edx, edx
call fcn.00657dcc
mov eax, dword [esi + 0x1e0]
mov dword [eax + 0x138], 0x7fff
lea eax, [ebp - 0x1c]
call fcn.00631788
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x204]
call fcn.00421b9c
mov edx, dword [esi + 0x1d0]
mov edx, dword [edx + 0x138]
mov eax, dword [esi + 0x204]
mov dword [eax + 0x138], edx
mov edx, dword [esi + 0x1d0]
mov edx, dword [edx + 0x13c]
mov dword [eax + 0x13c], edx
lea eax, [ebp - 0x1c]
call fcn.00631788
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi + 0x208]
call fcn.00421b9c
mov edx, dword [esi + 0x1d0]
mov edx, dword [edx + 0x138]
mov eax, dword [esi + 0x208]
mov dword [eax + 0x138], edx
mov edx, dword [esi + 0x1d0]
mov edx, dword [edx + 0x13c]
mov dword [eax + 0x13c], edx
mov ecx, esi
mov dl, 1
mov eax, dword [0x50407c]
call fcn.005088f8
mov ebx, eax
mov dword [esi + 0x238], ebx
mov edx, dword [esi + 0x1d8]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [esi + 0x238]
mov dword [eax + 0x134], esi
mov dword [eax + 0x130], 0x50a6e4
mov dword [eax + 0x13c], esi
mov dword [eax + 0x138], 0x508ccc
mov edx, 0x96
call fcn.00646354
mov dl, 1
mov eax, dword [esi + 0x238]
call fcn.0064a558
mov eax, dword [esi + 0x1ec]
call fcn.0064a470
mov edx, eax
mov eax, dword [esi + 0x238]
call fcn.0064a53c
mov edx, dword [esi + 0x238]
mov eax, dword [esi + 0x1e4]
call fcn.0063fab0
call fcn.00656a20
mov dword [ebp - 0xc], eax
mov ecx, esi
mov dl, 1
mov eax, dword [0x60e7c8]
call fcn.0064aecc
mov ebx, eax
mov dword [esi + 0x23c], ebx
mov al, byte [0x50c6f0]
mov byte [ebx + 0x157], al
mov eax, dword [0x6724c0]
mov eax, dword [eax]
mov edx, dword [0x672450]
mov edx, dword [edx]
add edx, edx
add eax, edx
mov edx, dword [0x6720cc]
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.0062c210
push eax
mov eax, 0x186
call fcn.0062c210
mov edx, eax
mov eax, ebx
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov edx, dword [esi + 0x1a0]
mov eax, dword [esi + 0x23c]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x251c
mov eax, dword [ebp - 0xc]
call fcn.00656c78
mov eax, dword [esi + 0x23c]
mov eax, dword [eax + 0x30]
push eax
push 1
push 0
mov al, byte [0x50c6f4]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [esi + 0x23c]
call fcn.00612050
xor edx, edx
mov eax, dword [esi + 0x23c]
call fcn.006482e0
mov dword [eax + 0xa0], esi
mov dword [eax + 0x9c], 0x50a954
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x66c3d0
mov dword [ebp - 0x18], eax
mov ecx, dword [esi + 0x220]
mov dl, 1
mov eax, dword [0x60e7c8]
call fcn.0064aecc
mov edi, eax
mov al, byte [0x50c6f0]
mov byte [edi + 0x157], al
mov eax, dword [ebp - 0x10]
mov dword [esi + eax*4 + 0x240], edi
mov eax, dword [0x672450]
mov eax, dword [eax]
mov edx, dword [0x6720cc]
add eax, dword [edx]
mov edx, eax
add edx, edx
mov eax, dword [0x6724c0]
add edx, dword [eax]
mov eax, dword [0x672450]
add edx, dword [eax]
mov eax, edi
call fcn.00646354
mov dl, 4
mov eax, edi
call fcn.006461dc
mov edx, dword [esi + 0x220]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x18]
mov edx, eax
mov ecx, 0x2c
mov eax, dword [ebp - 0xc]
call fcn.00656c50
mov eax, dword [edi + 0x30]
push eax
push 0x7fffffff
push 0
mov al, byte [0x50c6f4]
push eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00612050
mov eax, edi
call fcn.00648310
dec eax
cmp eax, 0
jl 0x50c657
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
mov eax, edi
call fcn.006482e0
mov ebx, eax
mov eax, dword [ebx + 0x18]
cmp eax, 0x2530
je 0x50c616
cmp eax, 0x2531
jne 0x50c63e
mov eax, dword [ebp - 8]
cmp dword [eax + 8], 0
je 0x50c63e
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x14]
mov eax, dword [ebx + 0x58]
call fcn.0065d968
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x58]
call fcn.004032c8
mov dword [ebx + 0xa0], esi
mov dword [ebx + 0x9c], 0x50a954
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jne 0x50c5f9
xor edx, edx
mov eax, edi
call fcn.006461dc
mov edx, dword [edi + 0x30]
push edx
mov eax, dword [esi + 0x224]
mov edx, dword [eax + 0x34]
push edx
mov ecx, dword [eax + 0x2c]
mov edx, dword [edi + 0x28]
sub edx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x3c]
inc dword [ebp - 0x10]
add dword [ebp - 0x18], 0x2c
cmp dword [ebp - 0x10], 2
jne 0x50c553
mov eax, dword [ebp - 0xc]
call fcn.00656ff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50c6c6
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00403298
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00403298
ret