Function at 0x509f2b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5e68ab
push eax
mov dword fs:[0], esp
sub esp, 0x634
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x50a3e6
mov eax, dword [ecx]
push edi
call dword [eax + 0x5c]
push 0
lea ecx, [esp + 0xc]
mov edi, eax
call fcn.005173f0
test edi, edi
mov dword [esp + 0x644], 0
je 0x509f68
push edi
lea ecx, [esp + 0x5cc]
call fcn.0050b280
lea ecx, [esp + 8]
call fcn.005d995e
cmp eax, 1
pop edi
je 0x50a188
lea ecx, [esp + 0x624]
mov dword [esp + 0x640], 0x19
call fcn.005d7969
lea ecx, [esp + 0x5c4]
mov byte [esp + 0x640], 0x18
call fcn.0050b160
lea ecx, [esp + 0x588]
mov byte [esp + 0x640], 0x17
call fcn.005e0b6b
lea ecx, [esp + 0x54c]
mov byte [esp + 0x640], 0x16
call fcn.005e0b6b
lea ecx, [esp + 0x510]
mov byte [esp + 0x640], 0x15
call fcn.005e08bd
lea ecx, [esp + 0x4d4]
mov byte [esp + 0x640], 0x14
call fcn.005e08bd
lea ecx, [esp + 0x498]
mov byte [esp + 0x640], 0x13
call fcn.005e08bd
lea ecx, [esp + 0x45c]
mov byte [esp + 0x640], 0x12
call fcn.005e0a68
lea ecx, [esp + 0x420]
mov byte [esp + 0x640], 0x11
call fcn.005e08bd
lea ecx, [esp + 0x3e4]
mov byte [esp + 0x640], 0x10
call fcn.005e0b6b
lea ecx, [esp + 0x3a8]
mov byte [esp + 0x640], 0xf
call fcn.005e0b6b
lea ecx, [esp + 0x36c]
mov byte [esp + 0x640], 0xe
call fcn.005e0b6b
lea ecx, [esp + 0x330]
mov byte [esp + 0x640], 0xd
call fcn.005e0b6b
lea ecx, [esp + 0x2f4]
mov byte [esp + 0x640], 0xc
call fcn.005e0b6b
lea ecx, [esp + 0x2b8]
mov byte [esp + 0x640], 0xb
call fcn.005e0b6b
lea ecx, [esp + 0x27c]
mov byte [esp + 0x640], 0xa
call fcn.005e0a68
lea ecx, [esp + 0x240]
mov byte [esp + 0x640], 9
call fcn.005e0b6b
lea ecx, [esp + 0x204]
mov byte [esp + 0x640], 8
call fcn.005e0a68
mov byte [esp + 0x640], 7
lea ecx, [esp + 0x1c8]
call fcn.005e0b6b
lea ecx, [esp + 0x18c]
mov byte [esp + 0x640], 6
call fcn.005e0b6b
lea ecx, [esp + 0x150]
mov byte [esp + 0x640], 5
call fcn.005e08bd
lea ecx, [esp + 0x114]
mov byte [esp + 0x640], 4
call fcn.005e0885
lea ecx, [esp + 0xd8]
mov byte [esp + 0x640], 3
call fcn.005e0885
lea ecx, [esp + 0x9c]
mov byte [esp + 0x640], 2
call fcn.005e08bd
lea ecx, [esp + 0x60]
mov byte [esp + 0x640], 1
call fcn.005e08bd
lea ecx, [esp + 4]
mov dword [esp + 0x640], 0xffffffff
call fcn.005d963c
jmp 0x50a3e6
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0x5c4]
push eax
mov edx, dword [ecx]
call dword [edx + 0x60]
cmp eax, 1
jne 0x50a3d2
mov edx, dword [esi]
push 0
push 0
push 0xc
push eax
mov ecx, esi
call dword [edx + 4]
lea ecx, [esp + 0x624]
mov dword [esp + 0x640], 0x32
call fcn.005d7969
lea ecx, [esp + 0x5c4]
mov byte [esp + 0x640], 0x31
call fcn.0050b160
lea ecx, [esp + 0x588]
mov byte [esp + 0x640], 0x30
call fcn.005e0b6b
lea ecx, [esp + 0x54c]
mov byte [esp + 0x640], 0x2f
call fcn.005e0b6b
lea ecx, [esp + 0x510]
mov byte [esp + 0x640], 0x2e
call fcn.005e08bd
lea ecx, [esp + 0x4d4]
mov byte [esp + 0x640], 0x2d
call fcn.005e08bd
lea ecx, [esp + 0x498]
mov byte [esp + 0x640], 0x2c
call fcn.005e08bd
lea ecx, [esp + 0x45c]
mov byte [esp + 0x640], 0x2b
call fcn.005e0a68
lea ecx, [esp + 0x420]
mov byte [esp + 0x640], 0x2a
call fcn.005e08bd
lea ecx, [esp + 0x3e4]
mov byte [esp + 0x640], 0x29
call fcn.005e0b6b
lea ecx, [esp + 0x3a8]
mov byte [esp + 0x640], 0x28
call fcn.005e0b6b
lea ecx, [esp + 0x36c]
mov byte [esp + 0x640], 0x27
call fcn.005e0b6b
lea ecx, [esp + 0x330]
mov byte [esp + 0x640], 0x26
call fcn.005e0b6b
lea ecx, [esp + 0x2f4]
mov byte [esp + 0x640], 0x25
call fcn.005e0b6b
lea ecx, [esp + 0x2b8]
mov byte [esp + 0x640], 0x24
call fcn.005e0b6b
lea ecx, [esp + 0x27c]
mov byte [esp + 0x640], 0x23
call fcn.005e0a68
mov byte [esp + 0x640], 0x22
lea ecx, [esp + 0x240]
call fcn.005e0b6b
lea ecx, [esp + 0x204]
mov byte [esp + 0x640], 0x21
call fcn.005e0a68
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x640], 0x20
call fcn.005e0b6b
lea ecx, [esp + 0x18c]
mov byte [esp + 0x640], 0x1f
call fcn.005e0b6b
lea ecx, [esp + 0x150]
mov byte [esp + 0x640], 0x1e
call fcn.005e08bd
lea ecx, [esp + 0x114]
mov byte [esp + 0x640], 0x1d
call fcn.005e0885
lea ecx, [esp + 0xd8]
mov byte [esp + 0x640], 0x1c
call fcn.005e0885
lea ecx, [esp + 0x9c]
mov byte [esp + 0x640], 0x1b
call fcn.005e08bd
lea ecx, [esp + 0x60]
mov byte [esp + 0x640], 0x1a
call fcn.005e08bd
lea ecx, [esp + 4]
mov dword [esp + 0x640], 0xffffffff
call fcn.005d963c
mov eax, 1
pop esi
mov ecx, dword [esp + 0x634]
mov dword fs:[0], ecx
add esp, 0x640
ret
lea ecx, [esp + 4]
mov dword [esp + 0x640], 0xffffffff
call fcn.0050a400
mov ecx, dword [esp + 0x638]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x640
ret