Function at 0x515a68
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100321f3
mov eax, dword fs:[0]
push eax
sub esp, 0xec
push ebx
push esi
push edi
mov eax, dword [0x10042170]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x10036790
lea ecx, [ebp - 0x24]
call fcn.0050d108
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0050d398
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edi, 0xffffffff
mov edx, edi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x515adb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 4
wait
push 0x10012480
call fcn.00528d78
add esp, 4
push 0xbb8
mov ebx, 1
push ebx
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x48]
push ecx
lea ecx, [ebp - 0x7c]
call fcn.0050a298
lea ecx, [ebp - 0xf8]
call fcn.0051cad8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.0050b088
mov byte [ebp - 4], 6
lea edx, [esi + 8]
push edx
lea ecx, [ebp - 0x4c]
call fcn.0050adb8
mov byte [ebp - 4], 7
mov eax, dword [esi + 0xd8]
mov dword [ebp + 8], eax
test eax, eax
jle 0x515bf7
mov eax, dword [esi + 0xd4]
mov dword [ebp - 0x20], eax
test eax, eax
jle 0x515bf7
fild dword [ebp + 8]
fidiv dword [ebp - 0x20]
fstp dword [ebp + 8]
fld dword [ebp + 8]
fcomp qword [0x10036788]
fnstsw ax
test ah, 0x41
jne 0x515b95
cmp byte [esi + 0xe0], 0
jne 0x515b95
lea ecx, [esi + 0x3c]
call fcn.0050a328
push eax
lea ecx, [esi + 0x38]
call fcn.0050a328
push eax
mov ecx, esi
call fcn.0050f798
mov byte [esi + 0xe0], bl
fld dword [ebp + 8]
fcomp qword [0x10036780]
fnstsw ax
test ah, 0x41
jne 0x515bf7
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xffffbd8f
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.0050ade8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.0050ae08
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.0051cb58
mov dword [ebp - 4], edi
lea ecx, [ebp - 0x2c]
call fcn.0050d478
xor eax, eax
wait
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esi + 0x20]
cmp dword [ecx - 0xc], 0
jne 0x515c3a
push 0x10036758
lea ecx, [ebp + 8]
call fcn.0050d108
mov byte [ebp - 4], 8
push ebx
lea edx, [ebp + 8]
push edx
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], 7
lea ecx, [ebp + 8]
call fcn.0050ae08
mov eax, dword [ebp + 0x10]
mov dword [eax], 0xfffffc0f
jmp 0x515bae
mov ecx, dword [esi + 0x40]
cmp dword [ecx - 0xc], 0
jne 0x515c56
push 0x10036758
lea ecx, [ebp + 8]
call fcn.0050d108
mov byte [ebp - 4], 9
jmp 0x515c11
add dword [esi + 0xd8], ebx
lea ecx, [esi + 0x28]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0050bde8
lea edx, [esi + 0x54]
push edx
lea ecx, [ebp - 0xe8]
call fcn.0050d218
mov eax, dword [esi + 0x44]
push 0
push eax
push 0x1003590c
lea ecx, [ebp - 0xf8]
call fcn.0051de28
lea edi, [esi + 0x2c]
mov eax, dword [edi]
push 0
push eax
push 0x1003591c
lea ecx, [ebp - 0xf8]
call fcn.0051de28
lea eax, [ebp - 0x38]
push eax
call fcn.0051aec8
add esp, 4
mov byte [ebp - 4], 0xa
push 0
mov ecx, dword [ebp - 0x38]
push ecx
push 0x10036750
lea ecx, [ebp - 0xf8]
call fcn.0051de28
push ecx
mov dword [ebp + 8], esp
mov dword [ebp - 0x80], esp
push ebx
lea edx, [ebp - 0x38]
push edx
push 0x10036730
lea edx, [esi + 0x30]
push ecx
mov ecx, esp
mov dword [ebp - 0x6c], esp
push edx
call fcn.0050b7b8
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xa
call fcn.0050c428
mov byte [ebp - 4], 0xc
push eax
push edi
lea ecx, [ebp - 0x44]
push ecx
call fcn.0050c648
add esp, 0x14
mov byte [ebp - 4], 0xd
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.0050c708
add esp, 0xc
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0050c648
add esp, 0xc
mov bl, 0xf
mov byte [ebp - 4], bl
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x100435dc
call fcn.0051fd58
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x3c]
push ecx
mov byte [ebp - 4], bl
call fcn.0050c428
add esp, 8
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x20]
call fcn.0050ae08
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x40]
call fcn.0050ae08
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x44]
call fcn.0050ae08
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x30]
call fcn.0050ae08
lea ecx, [ebp - 0x1c]
call fcn.0050b088
mov byte [ebp - 4], 0x16
mov edx, dword [ebp + 0xc]
push edx
push 0x100354e0
lea eax, [ebp - 0x1c]
push eax
call fcn.0050c408
push 0x10035bb0
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x20]
push edx
call fcn.0050c708
mov byte [ebp - 4], 0x17
lea ecx, [esi + 0x4c]
push ecx
push eax
lea edx, [ebp - 0x40]
push edx
call fcn.0050c648
mov byte [ebp - 4], 0x18
push 0x10035bb0
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0050c708
mov byte [ebp - 4], 0x19
lea ecx, [esi + 0xcc]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.0050c648
mov byte [ebp - 4], 0x1a
push 0x10035bb0
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.0050c708
add esp, 0x48
mov byte [ebp - 4], 0x1b
lea ecx, [esi + 0xd0]
push ecx
push eax
lea edx, [ebp + 8]
push edx
call fcn.0050c648
mov byte [ebp - 4], 0x1c
push 0x10036728
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0050c708
add esp, 0x18
mov byte [ebp - 4], 0x1e
lea ecx, [ebp + 8]
call fcn.0050ae08
mov byte [ebp - 4], 0x1f
lea ecx, [ebp + 0xc]
call fcn.0050ae08
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0x30]
call fcn.0050ae08
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x44]
call fcn.0050ae08
mov byte [ebp - 4], 0x22
lea ecx, [ebp - 0x40]
call fcn.0050ae08
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x20]
call fcn.0050ae08
lea ecx, [ebp - 0x34]
call fcn.0050b088
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x11]
call fcn.00521a58
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x11]
call fcn.00521058
xor edi, edi
push edi
mov ecx, dword [ebp - 0x34]
push ecx
push 0x10035b90
lea ecx, [ebp - 0xf8]
call fcn.0051de28
lea ecx, [ebp - 0x4c]
call fcn.0050ade8
lea ecx, [ebp - 0x18]
cmp dword [0x100436d8], edi
jle 0x51618b
push 0x3a
call fcn.0050a398
lea ecx, [ebp - 0x18]
cmp eax, 4
jg 0x515ef1
push 0x100357dc
call fcn.0050d1c8
jmp 0x515f1f
push 0x3a
call fcn.0050a398
inc eax
push eax
lea edx, [ebp + 0xc]
push edx
lea ecx, [ebp - 0x18]
call fcn.0050bd18
mov byte [ebp - 4], 0x26
push eax
lea ecx, [ebp - 0x18]
call fcn.0050bde8
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 0xc]
call fcn.0050ae08
lea ecx, [ebp + 8]
call fcn.0050b088
mov bl, 0x27
mov byte [ebp - 4], bl
mov eax, dword [0x100436d8]
push eax
push 0x100354e0
lea ecx, [ebp + 8]
push ecx
call fcn.0050c408
push 0x100366fc
lea edx, [ebp + 8]
push edx
lea eax, [ebp + 0xc]
push eax
call fcn.0050c708
add esp, 0x18
mov byte [ebp - 4], 0x28
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.0050c088
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.0050ae08
push 0x10035688
lea ecx, [ebp - 0x30]
call fcn.0050d108
mov byte [ebp - 4], 0x29
lea ecx, [ebp - 0x18]
push ecx
push eax
lea edx, [ebp + 0xc]
push edx
call fcn.0050c648
add esp, 0xc
mov byte [ebp - 4], 0x2a
push 1
push eax
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], 0x29
lea ecx, [ebp + 0xc]
call fcn.0050ae08
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x30]
call fcn.0050ae08
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0xf8]
call fcn.0051e598
mov edi, eax
test edi, edi
je 0x5160ab
lea ecx, [ebp + 0xc]
call fcn.0050b088
mov byte [ebp - 4], 0x2b
push edi
push 0x100366dc
lea eax, [ebp + 0xc]
push eax
call fcn.0050c408
add esp, 0xc
push 1
lea ecx, [ebp + 0xc]
push ecx
mov ecx, 0x100436dc
call fcn.0051f638
mov edx, dword [ebp + 0x10]
mov dword [edx], edi
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.0050ae08
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 8]
call fcn.0050ae08
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x11]
call fcn.00521a68
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x34]
call fcn.0050ae08
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x24]
call fcn.0050ae08
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1c]
call fcn.0050ae08
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3c]
call fcn.0050ae08
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.0050ae08
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.0050ade8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.0050ae08
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.0051cb58
mov dword [ebp - 4], 0xffffffff
jmp 0x515bd8
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 8]
call fcn.0050ae08
mov eax, dword [ebp - 0x28]
push eax
call fcn.00527730
add esp, 4
test eax, eax
js 0x516467
lea ecx, [ebp + 8]
call fcn.0050b088
mov bl, 0x38
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x28]
push ecx
lea ecx, [ebp + 0xc]
call fcn.0050d108
mov byte [ebp - 4], 0x39
lea edx, [ebp + 8]
push edx
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x11]
call fcn.00521578
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.0050ae08
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x10035070]
neg eax
sbb eax, eax
and eax, 0xfffffc13
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jne 0x516432
lea ecx, [ebp - 0x4c]
call fcn.0050a2e8
lea ecx, [esi + 0xcc]
lea edx, [ebp - 0x1c]
push edx
call fcn.0050bde8
lea eax, [ebp + 0xc]
push eax
call fcn.0051aec8
add esp, 4
mov byte [ebp - 4], 0x3a
push eax
lea ecx, [esi + 0xd0]
call fcn.0050bde8
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.0050ae08
lea ecx, [ebp - 0x4c]
call fcn.0050ade8
push 0x100366c8
lea ecx, [ebp + 0xc]
call fcn.0050d108
mov byte [ebp - 4], 0x3b
push 1
lea ecx, [ebp + 0xc]
push ecx
jmp 0x516449
cmp byte [esi + 0x64], 0
je 0x516380
push 0x3a
call fcn.0050a398
lea ecx, [ebp - 0x18]
cmp eax, 4
jg 0x5161b0
push 0x100357dc
call fcn.0050d1c8
jmp 0x5161de
push 0x3a
call fcn.0050a398
inc eax
push eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.0050bd18
mov byte [ebp - 4], 0x2c
push eax
lea ecx, [ebp - 0x18]
call fcn.0050bde8
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 8]
call fcn.0050ae08
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, esi
call fcn.00512558
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x20], edx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
cmp ebx, dword [ebp - 0x20]
jge 0x5162c2
push ebx
lea ecx, [ebp - 0x5c]
call fcn.00509b88
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.0050c648
mov byte [ebp - 4], 0x2e
push 0x100366fc
push eax
lea edx, [ebp + 8]
push edx
call fcn.0050c708
add esp, 0x18
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x30]
call fcn.0050ae08
push 0x10035688
lea ecx, [ebp - 0x40]
call fcn.0050d108
mov byte [ebp - 4], 0x31
lea ecx, [ebp + 8]
push ecx
push eax
lea edx, [ebp - 0x44]
push edx
call fcn.0050c648
add esp, 0xc
mov byte [ebp - 4], 0x32
push 1
push eax
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], 0x31
lea ecx, [ebp - 0x44]
call fcn.0050ae08
mov byte [ebp - 4], 0x30
lea ecx, [ebp - 0x40]
call fcn.0050ae08
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0xf8]
call fcn.0051e598
mov edi, eax
test edi, edi
jne 0x5162d3
mov byte [ebp - 4], 0x2d
lea ecx, [ebp + 8]
call fcn.0050ae08
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x5c]
call fcn.0050cb28
jmp 0x5160b7
mov eax, dword [ebp - 0x20]
dec eax
lea ecx, [ebp + 0xc]
cmp ebx, eax
je 0x516327
call fcn.0050b088
mov byte [ebp - 4], 0x33
push edi
push 0x10036250
lea ecx, [ebp + 0xc]
push ecx
call fcn.0050c408
add esp, 0xc
push 1
lea edx, [ebp + 0xc]
push edx
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], 0x30
lea ecx, [ebp + 0xc]
call fcn.0050ae08
mov byte [ebp - 4], 0x2d
lea ecx, [ebp + 8]
call fcn.0050ae08
inc ebx
jmp 0x516201
call fcn.0050b088
mov byte [ebp - 4], 0x34
push edi
push 0x100366dc
lea eax, [ebp + 0xc]
push eax
call fcn.0050c408
add esp, 0xc
push 1
lea ecx, [ebp + 0xc]
push ecx
mov ecx, 0x100436dc
call fcn.0051f638
mov edx, dword [ebp + 0x10]
mov dword [edx], edi
mov byte [ebp - 4], 0x30
lea ecx, [ebp + 0xc]
call fcn.0050ae08
mov byte [ebp - 4], 0x2d
lea ecx, [ebp + 8]
call fcn.0050ae08
mov byte [ebp - 4], 0x25
lea ecx, [ebp - 0x5c]
call fcn.0050cb28
jmp 0x516030
push 0x100366fc
call fcn.0050d1c8
push 0x10035688
lea ecx, [ebp + 0xc]
call fcn.0050d108
mov bl, 0x35
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x18]
push ecx
push eax
lea edx, [ebp + 8]
push edx
call fcn.0050c648
add esp, 0xc
mov byte [ebp - 4], 0x36
push 1
push eax
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.0050ae08
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 0xc]
call fcn.0050ae08
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x7c]
push ecx
push edi
push edi
push edi
push edi
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0xf8]
call fcn.0051e598
mov edi, eax
test edi, edi
je 0x5160b7
lea ecx, [ebp + 8]
call fcn.0050b088
mov byte [ebp - 4], 0x37
push edi
push 0x100366dc
lea eax, [ebp + 8]
push eax
call fcn.0050c408
add esp, 0xc
push 1
lea ecx, [ebp + 8]
push ecx
mov ecx, 0x100436dc
call fcn.0051f638
mov edx, dword [ebp + 0x10]
mov dword [edx], edi
jmp 0x516024
push 0x100366bc
lea ecx, [ebp + 0xc]
call fcn.0050d108
mov byte [ebp - 4], 0x3c
push 1
lea edx, [ebp + 0xc]
push edx
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], bl
lea ecx, [ebp + 0xc]
call fcn.0050ae08
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 8]
jmp 0x5164be
mov eax, dword [ebp - 0x28]
push eax
call fcn.00527730
add esp, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push 0x100366a4
lea ecx, [ebp + 0xc]
call fcn.0050d108
mov bl, 0x3d
mov byte [ebp - 4], bl
mov edx, dword [ebp - 0x28]
push edx
push eax
lea eax, [ebp + 8]
push eax
call fcn.0050c708
add esp, 0xc
mov byte [ebp - 4], 0x3e
push 1
push eax
mov ecx, 0x100436dc
call fcn.0051f638
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.0050ae08
mov byte [ebp - 4], 0x25
lea ecx, [ebp + 0xc]
call fcn.0050ae08
mov ecx, dword [ebp - 0x28]
push ecx
call dword [0x10035210]
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0x11]
call fcn.00521a68
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0x34]
call fcn.0050ae08
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x24]
call fcn.0050ae08
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x1c]
call fcn.0050ae08
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3c]
call fcn.0050ae08
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x38]
call fcn.0050ae08
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x4c]
call fcn.0050ade8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call fcn.0050ae08
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xf8]
call fcn.0051cb58
wait
mov dword [ebp - 4], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0050d478
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc