Function at 0x10031b04
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x10037080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x38], eax
mov dword [eax], ecx
test ebx, ebx
jne 0x10031b32
xor eax, eax
jmp 0x10031db1
push esi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x74737953
push eax
push ecx
lea eax, [ebp - 0x20]
mov dword [ebp - 0xc], 0x6f526d65
push eax
mov word [ebp - 8], 0x746f
mov byte [ebp - 6], cl
mov dword [ebp - 0x20], ecx
call fcn.10026fcd
add esp, 0xc
test eax, eax
je 0x10031b78
cmp eax, 0x16
je 0x10031dbe
call fcn.1001fe59
mov esi, dword [eax]
jmp 0x10031cad
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x10031b93
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031b82
sub ecx, edx
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jmp 0x10031b9a
mov dword [ebp - 0x1c], 0xb
cmp dword [ebx], 0
push 2
pop edi
mov dword [ebp - 0x18], edi
je 0x10031bc3
mov edx, ebx
mov ecx, dword [edx]
lea edx, [edx + 4]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031baf
sub ecx, esi
inc edi
add edi, ecx
cmp dword [edx], 0
jne 0x10031ba7
mov dword [ebp - 0x18], edi
call fcn.1002c333
mov edi, eax
test edi, edi
jne 0x10031bdd
push eax
call fcn.1002573d
pop ecx
push 0x16
pop esi
jmp 0x10031cad
cmp byte [edi], 0x3d
mov esi, edi
je 0x10031bff
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031be9
sub ecx, edx
inc esi
add esi, ecx
cmp byte [esi], 0x3d
jne 0x10031be4
mov dword [ebp - 0x28], esi
jmp 0x10031c02
mov dword [ebp - 0x28], edi
mov ebx, esi
cmp byte [ebx + 1], 0
je 0x10031c2f
cmp byte [ebx + 2], 0x3a
jne 0x10031c2f
cmp byte [ebx + 3], 0x3d
jne 0x10031c2f
lea ecx, [ebx + 4]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031c1c
sub ecx, edx
add ebx, 5
add ebx, ecx
cmp byte [ebx], 0x3d
je 0x10031c04
mov eax, dword [ebp - 0x24]
sub ebx, esi
mov dword [ebp - 0x34], ebx
jmp 0x10031c64
lea ecx, [ebp - 0x10]
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031c42
sub ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x10]
push ecx
push eax
push edx
call fcn.1002f445
add esp, 0xc
test eax, eax
je 0x10031cbd
mov eax, dword [ebp - 0x30]
add eax, 4
mov edx, dword [eax]
mov dword [ebp - 0x30], eax
test edx, edx
jne 0x10031c39
mov eax, dword [ebp - 0x18]
add eax, ebx
mov byte [ebp - 0x11], 0
add eax, dword [ebp - 0x1c]
push 1
push eax
mov dword [ebp - 0x18], eax
call fcn.10024290
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10031ccb
push 0xe
call fcn.1001fdff
call fcn.1001fe59
push 0xc
pop esi
push 0
mov dword [eax], esi
call fcn.1002573d
push edi
call fcn.1002573d
add esp, 0xc
push dword [ebp - 0x20]
call fcn.1002573d
pop ecx
mov eax, esi
jmp 0x10031daf
mov eax, dword [ebp - 0x18]
mov byte [ebp - 0x11], 1
add eax, ebx
mov dword [ebp - 0x28], esi
jmp 0x10031c79
mov eax, dword [ebp - 0x34]
mov ebx, esi
test eax, eax
je 0x10031cf1
push eax
push dword [ebp - 0x28]
push esi
call fcn.10017e50
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
sub ecx, eax
mov dword [ebp - 0x18], ecx
lea ebx, [esi + eax]
jmp 0x10031cf4
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
jmp 0x10031d38
push eax
push ecx
push ebx
call fcn.1002199d
add esp, 0xc
test eax, eax
jne 0x10031dbe
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx]
lea eax, [ecx + 1]
mov dword [ebp - 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10031d19
sub ecx, dword [ebp - 0x2c]
lea eax, [ecx + 1]
mov ecx, dword [ebp - 0x18]
sub ecx, eax
add ebx, eax
add edx, 4
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], edx
mov eax, dword [edx]
test eax, eax
jne 0x10031cfb
cmp byte [ebp - 0x11], al
jne 0x10031d85
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x1c]
push ebx
call fcn.1002199d
add esp, 0xc
test eax, eax
jne 0x10031dbe
push 0x1008ddbc
push dword [ebp - 0x1c]
push ebx
call fcn.1003194e
add esp, 0xc
test eax, eax
jne 0x10031dbe
cmp dword [ebp - 0x20], eax
je 0x10031d82
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push ebx
call fcn.1003194e
add esp, 0xc
test eax, eax
jne 0x10031dbe
add ebx, dword [ebp - 0x1c]
cmp ebx, esi
jne 0x10031d8d
mov byte [ebx], 0
inc ebx
mov eax, dword [ebp - 0x38]
mov byte [ebx], 0
push 0
mov dword [eax], esi
call fcn.1002573d
push edi
call fcn.1002573d
push dword [ebp - 0x20]
call fcn.1002573d
add esp, 0xc
xor eax, eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10016f16
leave
ret
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1001f4e8
int3