Function at 0x5100e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x665b97
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x6ece84]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
mov dword [ebp - 0x284], esi
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x280], eax
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x27c], ebx
mov dword [ebp - 0x20], 0x2e007d
mov dword [ebp - 0x1c], 0x42004b
xor eax, eax
mov word [ebp - 0x18], ax
mov dword [ebp - 0x34], 0x5f007d
mov dword [ebp - 0x30], 0x66004f
mov dword [ebp - 0x2c], 0x690066
mov dword [ebp - 0x28], 0x650063
mov word [ebp - 0x24], ax
mov dword [ebp - 0x278], ebx
cmp dword [ebx + 0x14], 8
jb 0x510174
mov eax, dword [ebx]
mov dword [ebp - 0x278], eax
call fcn.00483b90
mov edi, eax
lea eax, [ebp - 0x254]
push eax
call fcn.004842f0
add esp, 4
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x510199
mov eax, dword [eax]
push eax
push edi
call fcn.0048a530
add esp, 8
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00407b00
test edi, edi
je 0x51043a
lea eax, [ebp - 0x274]
push eax
push 0x20219
push 0
push dword [ebp - 0x278]
push dword [ebp - 0x280]
call edi
test eax, eax
jne 0x51043a
push 0x208
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00607da0
add esp, 0xc
mov dword [ebp - 0x278], 0x104
xor edi, edi
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x270], eax
call fcn.00483b90
mov ebx, eax
lea eax, [ebp - 0x26c]
push eax
call fcn.005091a0
add esp, 4
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x510235
mov eax, dword [eax]
push eax
push ebx
call fcn.0048a530
add esp, 8
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.00407b00
test ebx, ebx
jne 0x51025c
lea eax, [ebx + 2]
jmp 0x51027b
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x278]
push eax
lea eax, [ebp - 0x23c]
push eax
push edi
push dword [ebp - 0x270]
call ebx
test eax, eax
jne 0x510429
inc edi
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x278], 0x104
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
lea ecx, [ebp - 0x23c]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5102c0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x254]
call fcn.0040cbc0
mov dword [ebp - 4], 2
cmp dword [ebp - 0x244], 0
jne 0x51035b
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x510339
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x254]
mov eax, ecx
cmp edx, 0x1000
jb 0x51032f
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5106e6
push edx
push ecx
call fcn.005e9c93
add esp, 8
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
xor eax, eax
mov word [ebp - 0x254], ax
jmp 0x510204
mov byte [ebp - 4], 3
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x254]
call fcn.004657a0
cmp eax, 0xffffffff
jne 0x5103e2
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x254]
call fcn.004657a0
cmp eax, 0xffffffff
jne 0x5103e2
mov dword [ebp - 4], 2
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x254]
push ecx
cmp dword [esi + 8], eax
je 0x5103c3
mov ecx, eax
call fcn.00406970
add dword [esi + 4], 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00407b80
jmp 0x510204
push eax
mov ecx, esi
call fcn.0040f950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00407b80
jmp 0x510204
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00407b80
mov dword [ebp - 4], 0xffffffff
jmp 0x510204
push dword [ebp - 0x274]
call fcn.00483c60
mov ebx, dword [ebp - 0x27c]
cmp byte [ebp + 0x14], 0
je 0x5106b4
cmp dword [ebx + 0x14], 8
jb 0x51044c
mov ebx, dword [ebx]
lea eax, [ebp - 0x274]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x280]
call fcn.005090f0
test eax, eax
jne 0x5106b4
mov dword [ebp - 0x27c], 0x104
xor edi, edi
nop word [eax + eax]
mov eax, dword [ebp - 0x274]
mov dword [ebp - 0x270], eax
call fcn.00483b90
mov ebx, eax
lea eax, [ebp - 0x26c]
push eax
call fcn.005091a0
add esp, 4
mov dword [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x5104b1
mov eax, dword [eax]
push eax
push ebx
call fcn.0048a530
add esp, 8
mov ebx, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x26c]
call fcn.00407b00
test ebx, ebx
jne 0x5104d8
lea eax, [ebx + 2]
jmp 0x5104f7
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x27c]
push eax
lea eax, [ebp - 0x23c]
push eax
push edi
push dword [ebp - 0x270]
call ebx
test eax, eax
jne 0x5106a9
inc edi
mov dword [ebp - 0x270], edi
mov dword [ebp - 0x27c], 0x104
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], 7
mov word [ebp - 0x254], ax
lea eax, [ebp - 0x23c]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x510540
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x254]
call fcn.0040cbc0
mov dword [ebp - 4], 6
cmp dword [ebp - 0x244], 0
jne 0x5105db
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x240]
cmp edx, 8
jb 0x5105b9
lea edx, [edx*2 + 2]
mov ecx, dword [ebp - 0x254]
mov eax, ecx
cmp edx, 0x1000
jb 0x5105af
add edx, 0x23
mov ecx, dword [ecx - 4]
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5106eb
push edx
push ecx
call fcn.005e9c93
add esp, 8
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 7
xor eax, eax
mov word [ebp - 0x254], ax
jmp 0x510480
mov byte [ebp - 4], 7
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x254]
call fcn.004657a0
cmp eax, 0xffffffff
jne 0x510662
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x254]
call fcn.004657a0
cmp eax, 0xffffffff
jne 0x510662
mov dword [ebp - 4], 6
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x254]
push ecx
cmp dword [esi + 8], eax
je 0x510643
mov ecx, eax
call fcn.00406970
add dword [esi + 4], 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00407b80
jmp 0x510480
push eax
mov ecx, esi
call fcn.0040f950
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00407b80
jmp 0x510480
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x254]
call fcn.00407b80
mov dword [ebp - 4], 0xffffffff
jmp 0x510480
push dword [ebp - 0x274]
call fcn.00483c60
mov ecx, dword [esi + 4]
sub ecx, dword [esi]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005e9f40
mov esp, ebp
pop ebp
ret
call fcn.0060ad39
call fcn.0060ad39
int3