Function at 0x1002f9c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
endbr32
push ebp
mov ebp, esp
push esi
push edi
push ebx
sub esp, 0x2c0
mov ecx, dword [0x10234e38]
xor ecx, ebp
mov esi, dword [ebp + 0x14]
xor edx, edx
test esi, esi
mov dword [ebp - 0x10], ecx
mov ecx, 0
setne dl
mov ebx, dword [ebp + 8]
dec edx
mov dword [ebp - 0x1ac], edx
mov eax, ebx
mov edx, 2
mov dword [ebp - 0x20], 0x5453494c
mov dword [ebp - 0x1c], 0x45524944
mov dword [ebp - 0x18], 0x44455443
mov byte [ebp - 0x14], cl
mov dword [ebp - 0x1a8], ecx
mov dword [ebp - 0x1a4], ecx
mov dword [ebp - 0x1a0], ecx
mov dword [ebp - 0x19c], 1
mov dword [ebp - 0x198], ecx
mov dword [ebp - 0x194], ecx
mov dword [ebp - 0x190], ecx
mov dword [ebp - 0x18c], ecx
call fcn.1002f3f0
test eax, eax
je 0x1002fac1
test esi, esi
jne 0x1002faa1
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x1002fec6
test byte [edx + 0x44], 2
je 0x1002fe95
mov dword [edx + 0x38], eax
mov edx, dword [ebx + 0x20]
mov dword [edx + 0x3c], eax
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x1002fa81
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [ebx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov edx, dword [ebx + 0x90]
test edx, edx
je 0x1002facf
mov byte [edx + 0x1f], 1
xor edx, edx
mov ecx, 0x28
mov byte [ebp - 0x1b0], dl
mov byte [ebp - 0x278], dl
mov edi, dword [ebx + 0x70]
mov dword [ebp - 0x288], edx
mov dword [ebp + ecx - 0x2b4], edx
mov dword [ebp + ecx - 0x2b8], edx
mov dword [ebp + ecx - 0x2bc], edx
mov dword [ebp + ecx - 0x2c0], edx
mov dword [ebp + ecx - 0x2c4], edx
sub ecx, 0x14
jne 0x1002faeb
mov dword [ebp - 0x2ac], 0
lea edx, [ebp - 0x2b0]
mov dword [ebx + 0x70], edx
mov edx, dword [ebx + 0x118]
test esi, esi
je 0x1002fb41
cmp edx, 0xfffffffb
jne 0x1002fb41
mov dword [ebp - 0x284], 0xfffffffa
jmp 0x1002fb47
mov dword [ebp - 0x284], edx
mov dword [ebp - 0x280], 0
lea ecx, [ebp - 0x20]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x1002fb6b
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x1002fb56
dec eax
push 0xc8
push eax
inc word [ebx + 0x17a]
lea edx, [ebp - 0x278]
push edx
lea esi, [ebp - 0x280]
push esi
lea edx, [ebp - 0x1ac]
push edx
mov edx, dword [ebp + 0xc]
push ecx
lea ecx, [ebp - 0x284]
push ecx
push dword [edx]
call dword [edx + 0xc]
add esp, 0x20
xor edx, edx
cmp byte [ebp - 0x278], 0
mov esi, dword [ebp - 0x280]
setne dl
mov dword [ebp - 0x27c], edx
dec word [ebx + 0x17a]
mov edx, dword [ebp - 0x2ac]
mov dword [ebx + 0x70], edi
test edx, edx
jne 0x10030111
mov eax, ebx
mov edx, 2
call fcn.1002f710
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], 0x3f
je 0x100300fa
cmp dword [ebp + 0x10], 0
je 0x1002fbf6
mov dword [ebx + 0x5c], 0
test esi, esi
jne 0x1002fc23
and byte [ebx + 0x19d], 0xef
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp esi, 0xfffffffe
jge 0x1002fc7f
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x1002ff26
test byte [edx + 0x44], 2
je 0x1002feec
mov ecx, 0x110
mov dword [edx + 0x38], ecx
mov edx, dword [ebx + 0x20]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x1002fc5a
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [ebx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
mov eax, 0x110
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
cmp dword [ebp - 0x27c], 0
jne 0x1002fcdf
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x1002ff8f
test byte [edx + 0x44], 2
je 0x1002ff55
mov ecx, 0x111
mov dword [edx + 0x38], ecx
mov edx, dword [ebx + 0x20]
mov dword [edx + 0x3c], ecx
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x1002fcba
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [ebx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
mov eax, 0x111
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebx + 0x10c]
test ecx, ecx
je 0x1002fcf8
mov dword [ebp - 0x2bc], 0
jmp 0x1002fd8f
lea ecx, [ebp - 0x278]
xor eax, eax
movzx edx, byte [ecx + eax]
test edx, edx
je 0x1002fd15
movzx edx, byte [ecx + eax + 1]
add eax, 2
test edx, edx
jne 0x1002fd00
dec eax
mov dword [ebx + 0x10c], eax
lea edx, [ebx + 0x98]
push edx
push 0
inc eax
push eax
call fcn.10025750
add esp, 0xc
test eax, eax
je 0x1002fd7f
mov edx, dword [ebx + 0x20]
test edx, edx
je 0x1002fff3
test byte [edx + 0x44], 2
je 0x1002ffbe
mov dword [edx + 0x38], eax
mov edx, dword [ebx + 0x20]
mov dword [edx + 0x3c], eax
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x1002fd5f
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [ebx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebx + 0x10c]
mov dword [ebp - 0x2bc], 1
mov edi, dword [ebx + 0x98]
mov dword [ebp - 0x2b8], 0
cmp byte [ebp - 0x278], 0
je 0x1002fdd5
mov edx, dword [ebp - 0x2b8]
cmp edx, ecx
jge 0x100300f2
movzx eax, byte [ebp + edx - 0x278]
mov byte [edx + edi], al
inc edx
cmp byte [ebp + edx - 0x278], 0
jne 0x1002fdae
mov dword [ebp - 0x2b8], edx
mov ebx, dword [ebp + 8]
cmp ecx, dword [ebp - 0x2b8]
jle 0x1002fe06
mov edx, ecx
sub edx, dword [ebp - 0x2b8]
cmp edx, 0x60
jle 0x1003007e
mov edx, dword [ebp - 0x2b8]
add edi, edx
inc edx
sub ecx, edx
inc ecx
push ecx
push 0x20
push edi
call fcn.10061620
add esp, 0xc
xor edx, edx
cmp edx, dword [ebp - 0x2bc]
mov ecx, dword [ebx + 0x10c]
adc ecx, 0
mov edi, dword [ebx + 0x98]
mov byte [edi + ecx], dl
movzx ecx, byte [ebx + 0x19d]
or ecx, 8
mov edx, dword [ebp - 0x27c]
and ecx, 0xffffffef
shl edx, 4
or ecx, edx
mov edx, dword [ebx + 0x20]
mov byte [ebx + 0x19d], cl
test edx, edx
je 0x10030053
test byte [edx + 0x44], 2
je 0x1003001d
mov dword [edx + 0x38], 0x7f
mov edx, dword [ebx + 0x20]
mov dword [edx + 0x3c], esi
mov edx, dword [ebx + 0x78]
test edx, edx
je 0x1002fe6f
xor ecx, ecx
mov dword [edx + 4], ecx
mov dword [ebx + 0x78], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
mov eax, 0x7f
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
call fcn.101a6152
push eax
movzx edx, byte [ebx + 0x194]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ebx
call fcn.1002c750
add esp, 0x14
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
jmp 0x1002fa99
push ebx
push eax
push eax
push 1
call fcn.10021950
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
jmp 0x1002fa99
mov edx, 0x110
push edx
movzx ecx, byte [ebx + 0x194]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push ebx
call fcn.1002c750
add esp, 0x14
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
jmp 0x1002fa99
push ebx
mov eax, 0x110
push eax
push eax
push 1
call fcn.10021950
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
jmp 0x1002fa99
mov edx, 0x111
push edx
movzx ecx, byte [ebx + 0x194]
push edx
and ecx, 7
push ecx
push 0xffffffffffffffff
push ebx
call fcn.1002c750
add esp, 0x14
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
jmp 0x1002fa99
push ebx
mov eax, 0x111
push eax
push eax
push 1
call fcn.10021950
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
jmp 0x1002fa99
push eax
movzx edx, byte [ebx + 0x194]
push eax
and edx, 7
push edx
push 0xffffffffffffffff
push ebx
call fcn.1002c750
add esp, 0x14
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
jmp 0x1002fa99
push ebx
push eax
push eax
push 1
call fcn.10021950
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
jmp 0x1002fa99
push esi
movzx edx, byte [ebx + 0x194]
push 0x7f
and edx, 7
push edx
push 0xffffffffffffffff
push ebx
call fcn.1002c750
add esp, 0x14
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
jmp 0x1002fa99
push ebx
push esi
push 0x7f
push 1
call fcn.10021950
add esp, 0x10
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x10], 0
xor ecx, ebp
cmp ecx, dword [0x10234e38]
jne 0x1002fe90
jmp 0x1002fa99
sub ecx, dword [ebp - 0x2b8]
mov edx, ecx
shr edx, 1
mov dword [ebp - 0x2b4], edx
je 0x100300eb
mov eax, dword [ebp - 0x2b8]
xor edx, edx
mov dword [ebp - 0x2c0], esi
mov esi, dword [ebp - 0x2b4]
add eax, edi
mov dword [ebp - 0x2c4], eax
mov eax, 0x20
mov ebx, dword [ebp - 0x2c4]
mov byte [ebx + edx*2], al
mov byte [ebx + edx*2 + 1], al
inc edx
cmp edx, esi
jb 0x100300b7
mov esi, dword [ebp - 0x2c0]
lea eax, [edx + edx + 1]
mov ebx, dword [ebp + 8]
lea edx, [eax - 1]
cmp edx, ecx
jae 0x1002fe06
add edi, dword [ebp - 0x2b8]
mov byte [eax + edi - 1], 0x20
jmp 0x1002fe06
mov eax, 1
jmp 0x100300d0
mov ebx, dword [ebp + 8]
jmp 0x1002fe06
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x10]
test edx, edx
je 0x1002fbe9
or dword [edx + 0xc], 0x40
jmp 0x1002fbe9
push edx
call fcn.10025800
add esp, 4
mov dword [ebp - 0x2ac], 0
jmp 0x1002fbd0