Function at 0x1002d0c0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007b985
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x100a1084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x64], esi
mov eax, dword [esi + 0x15c]
cmp eax, dword [esi + 0x160]
je 0x1002dbc9
mov ecx, dword [esi + 0x160]
sub ecx, eax
mov dword [ebp - 0x58], 0
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x1002d600
mov ebx, dword [ebp + 8]
xor edi, edi
xor ecx, ecx
mov eax, dword [esi + 0x15c]
cmp dword [edi + eax + 0x18], ebx
je 0x1002d16c
inc ecx
add edi, 0x68
mov dword [ebp - 0x58], ecx
mov ecx, dword [esi + 0x160]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, dword [ebp - 0x58]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x1002d134
jmp 0x1002d600
imul edx, ecx, 0x68
mov ebx, 4
mov ecx, eax
mov al, byte [ebp + 0xc]
mov dword [ebp - 0x94], edx
mov byte [edx + ecx + 0x64], al
lea edi, [edx + 0x58]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
sub eax, edx
mov dword [ebp + 0x10], eax
mov ecx, dword [esi + 0x15c]
lea edx, [edx + 2]
movzx eax, word [eax + edx - 2]
lea edi, [edi + 2]
mov word [ecx + edi - 0xa], ax
mov ecx, dword [esi + 0x15c]
movzx eax, word [edx - 2]
mov word [edi + ecx - 2], ax
mov eax, dword [ebp + 0x10]
sub ebx, 1
jne 0x1002d191
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 0x144]
jne 0x1002d600
lea ebx, [esi + 0xb4]
mov dword [ebp - 0xb0], 0xffffffff
lea edi, [esi + 0x84]
mov dword [ebp - 0x5c], 0
mov eax, 4
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0x2c], eax
nop dword [eax + eax]
mov edi, dword [edi]
test edi, edi
je 0x1002d5dc
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d5d9
push 4
add edi, 0xfc
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d5d9
mov al, byte [edi]
test al, al
je 0x1002d5d9
mov eax, dword [esi + 0x15c]
mov ecx, dword [ebp - 0x94]
cmp byte [ecx + eax + 0x64], 2
jne 0x1002d333
movaps xmm0, xmmword [0x10096700]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x61677a6f
mov word [ebp - 0x40], 0x5360
mov byte [ebp - 0x3e], 0
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x15
jb 0x1002d271
cmp byte [ebp - 0x53], 0
mov byte [ebp - 0x3e], 0
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
jne 0x1002d2a7
xor ecx, ecx
jmp 0x1002d2b9
lea ecx, [ebp - 0x53]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d2b0
sub ecx, edx
push ecx
lea eax, [ebp - 0x53]
push eax
lea ecx, [ebp - 0xac]
call fcn.100028b0
mov dword [ebp - 4], 0
lea edx, [ebp - 0xac]
mov ecx, dword [esi + 0x7c]
call fcn.10015b30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
cmp eax, 0x10
jb 0x1002d303
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.10002790
mov edi, dword [esi + 0x7c]
test edi, edi
je 0x1002d324
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d324
push 0xff5cb9fe
mov ecx, edi
call dword [0x100944b8]
mov dword [ebp - 0xb0], 0xff808080
jmp 0x1002d404
mov cl, 0x3f
mov dword [ebp - 0x3c], 0x516a643f
mov dword [ebp - 0x38], 0x1f4d5a5b
xor eax, eax
mov dword [ebp - 0x34], 0x62465e48
mov byte [ebp - 0x30], 0
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xb
jae 0x1002d35f
mov cl, byte [ebp - 0x3c]
jmp 0x1002d350
cmp byte [ebp - 0x3b], 0
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x98], 0xf
mov dword [ebp - 0x9c], 0
mov byte [ebp - 0xac], 0
jne 0x1002d388
xor ecx, ecx
jmp 0x1002d399
lea ecx, [ebp - 0x3b]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d390
sub ecx, edx
push ecx
lea eax, [ebp - 0x3b]
push eax
lea ecx, [ebp - 0xac]
call fcn.100028b0
mov dword [ebp - 4], 1
lea edx, [ebp - 0xac]
mov ecx, dword [esi + 0x7c]
call fcn.10015b30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
cmp eax, 0x10
jb 0x1002d3e3
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.10002790
mov edi, dword [esi + 0x7c]
test edi, edi
je 0x1002d404
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d404
push 0xffc4fc03
mov ecx, edi
call dword [0x100944b8]
mov edi, dword [ebx - 4]
test edi, edi
je 0x1002d426
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d426
push dword [ebp - 0xb0]
mov ecx, edi
call dword [0x100944b8]
imul edx, dword [ebp - 0x58], 0x34
mov ebx, dword [ebp - 0x5c]
mov eax, dword [esi + 0x15c]
lea ecx, [edx + ebx]
movzx eax, word [eax + ecx*2 + 0x58]
lea ecx, [edx + ebx]
push eax
mov eax, dword [esi + 0x15c]
mov bh, 0xe
mov dword [ebp - 0x60], ecx
mov dl, 0x2e
mov bl, 0x21
xor bl, bh
movzx eax, word [eax + ecx*2 + 0x50]
mov cl, 0x6a
push eax
mov dh, cl
mov byte [ebp - 0x6c], 0
mov ah, dl
mov byte [ebp - 0x74], bh
xor dl, bh
mov byte [ebp - 0x70], bl
mov byte [ebp - 0x71], dl
xor dh, bh
mov byte [ebp - 0x6d], dh
mov al, 0x2b
sub esp, 0x18
mov byte [ebp - 0x6c], 0
mov edx, esp
mov ch, al
xor al, bh
xor cl, bh
mov byte [ebp - 0x73], al
xor ah, bh
mov byte [ebp - 0x72], cl
xor ch, bh
mov byte [ebp - 0x6f], ah
mov byte [ebp - 0x6e], ch
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1002d4b7
mov eax, dword [edx]
jmp 0x1002d4b9
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x73], 0
jne 0x1002d4c6
xor ecx, ecx
jmp 0x1002d4d9
lea ecx, [ebp - 0x73]
lea edi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d4d0
sub ecx, edi
push ecx
lea eax, [ebp - 0x73]
mov ecx, edx
push eax
call fcn.100028b0
lea eax, [ebp - 0xac]
push eax
call fcn.10005a00
add esp, 0x24
mov edx, eax
mov dword [ebp - 4], 2
cmp dword [edx + 0x14], 0x10
jb 0x1002d505
mov edx, dword [edx]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp byte [edx], 0
jne 0x1002d520
xor ecx, ecx
jmp 0x1002d52e
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d525
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.100028b0
mov ebx, dword [ebp - 0x68]
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 3
mov ecx, dword [ebx]
call fcn.10015b30
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x1002d55e
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.10002790
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp eax, 0x10
jb 0x1002d595
inc eax
lea ecx, [ebp - 0xac]
push eax
push dword [ebp - 0xac]
call fcn.10002790
mov eax, dword [esi + 0x15c]
mov ecx, dword [ebp - 0x60]
mov edi, dword [ebx + 4]
movzx esi, word [eax + ecx*2 + 0x50]
test edi, edi
je 0x1002d5d6
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d5d6
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov ecx, edi
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100944a4]
mov esi, dword [ebp - 0x64]
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebp - 0xb4]
add ebx, 0x14
inc dword [ebp - 0x5c]
add edi, 4
sub eax, 1
mov dword [ebp - 0xb4], edi
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x2c], eax
jne 0x1002d200
mov ecx, dword [esi + 0x148]
shl ecx, 2
mov dword [ebp - 0x94], ecx
lea eax, [ecx - 4]
mov dword [ebp - 0x5c], eax
cmp eax, ecx
jge 0x1002dbc9
imul ebx, eax, 0x68
lea edi, [esi + 0xc]
mov dword [ebp - 0x58], ebx
nop word [eax + eax]
mov ecx, dword [esi + 0x160]
mov eax, 0x4ec4ec4f
sub ecx, dword [esi + 0x15c]
add edi, 0x18
imul ecx
mov dword [ebp - 0x2c], edi
sar edx, 5
mov eax, edx
shr eax, 0x1f
dec eax
add eax, edx
cmp dword [ebp - 0x5c], eax
jg 0x1002dbc9
mov eax, dword [esi + 0x15c]
lea ecx, [ebp - 0x28]
push 0xffffffffffffffff
add eax, ebx
mov dword [ebp - 0x68], 0xffc4fc03
push 0
push eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002470
mov dword [ebp - 4], 4
mov eax, dword [esi + 0x15c]
cmp byte [eax + ebx + 0x64], 2
jne 0x1002d700
movaps xmm0, xmmword [0x100964f0]
xor ecx, ecx
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x44], 0x58455042
mov dword [ebp - 0x40], 0x6c5f5e
nop word [eax + eax]
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0x16
jb 0x1002d6c0
cmp byte [ebp - 0x53], 0
mov byte [ebp - 0x3d], 0
jne 0x1002d6db
xor ecx, ecx
jmp 0x1002d6ea
lea ecx, [ebp - 0x53]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d6e1
sub ecx, edx
push ecx
lea eax, [ebp - 0x53]
push eax
lea ecx, [ebp - 0x28]
call fcn.10009c10
mov dword [ebp - 0x68], 0xff5cb9fe
jmp 0x1002d759
mov cl, 0x50
mov dword [ebp - 0x3c], 0x50b7050
mov dword [ebp - 0x38], 0x2235343e
xor eax, eax
mov dword [ebp - 0x34], 0x29312770
mov word [ebp - 0x30], 0xd
nop
xor byte [ebp + eax - 0x3b], cl
inc eax
cmp eax, 0xc
jae 0x1002d72f
mov cl, byte [ebp - 0x3c]
jmp 0x1002d720
cmp byte [ebp - 0x3b], 0
mov byte [ebp - 0x2f], 0
jne 0x1002d73d
xor ecx, ecx
jmp 0x1002d74c
lea ecx, [ebp - 0x3b]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d743
sub ecx, edx
push ecx
lea eax, [ebp - 0x3b]
push eax
lea ecx, [ebp - 0x28]
call fcn.10009c10
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov dword [ebp - 0x7c], 0xf
cmovae edx, dword [ebp - 0x28]
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp byte [edx], 0
jne 0x1002d782
xor ecx, ecx
jmp 0x1002d793
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d787
sub ecx, edi
mov edi, dword [ebp - 0x2c]
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.100028b0
mov byte [ebp - 4], 5
mov eax, dword [edi]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1002d83d
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d83d
cmp dword [ebp - 0x7c], 0x10
lea ebx, [ebp - 0x90]
cmovae ebx, dword [ebp - 0x90]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1002d7d2
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.1003e844
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100568a0
add esp, 0xc
lea edx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 0x10
lea esi, [edi + 0x20]
cmovae edx, dword [ebp - 0x90]
push ebx
push edx
push esi
call fcn.10056e40
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov dword [edi + 4], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x1f
push edi
call dword [0x100944b0]
push edi
call fcn.1003e289
mov esi, dword [ebp - 0x64]
add esp, 4
mov ebx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x1002d85c
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.10002790
mov edi, dword [edi]
test edi, edi
je 0x1002d87a
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d87a
push dword [ebp - 0x68]
mov ecx, edi
call dword [0x100944b8]
mov eax, dword [esi + 0x15c]
xor ecx, ecx
movaps xmm0, xmmword [0x10095c20]
movzx eax, byte [eax + ebx + 0x62]
push eax
mov eax, dword [esi + 0x15c]
movzx eax, byte [ebx + eax + 0x61]
push eax
movups xmmword [ebp - 0x78], xmm0
nop
mov al, byte [ebp - 0x78]
xor byte [ebp + ecx - 0x77], al
inc ecx
cmp ecx, 0xe
jb 0x1002d8a0
sub esp, 0x18
mov byte [ebp - 0x69], 0
mov edx, esp
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov dword [edx + 0x14], 0xf
cmp dword [edx + 0x14], 0x10
mov dword [edx + 0x10], 0
jb 0x1002d8dc
mov eax, dword [edx]
jmp 0x1002d8de
mov eax, edx
mov byte [eax], 0
cmp byte [ebp - 0x77], 0
jne 0x1002d8eb
xor ecx, ecx
jmp 0x1002d8fa
lea ecx, [ebp - 0x77]
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d8f1
sub ecx, edi
push ecx
lea eax, [ebp - 0x77]
mov ecx, edx
push eax
call fcn.100028b0
lea eax, [ebp - 0xd0]
push eax
call fcn.10005a00
add esp, 0x24
mov edx, eax
mov byte [ebp - 4], 6
cmp dword [edx + 0x14], 0x10
jb 0x1002d923
mov edx, dword [edx]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp byte [edx], 0
jne 0x1002d93e
xor ecx, ecx
jmp 0x1002d94c
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002d943
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x54]
call fcn.100028b0
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 7
mov eax, dword [eax - 4]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1002d9e4
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002d9e4
cmp dword [ebp - 0x40], 0x10
lea ebx, [ebp - 0x54]
cmovae ebx, dword [ebp - 0x54]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1002d982
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.1003e844
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100568a0
add esp, 0xc
lea edx, [ebp - 0x54]
cmp dword [ebp - 0x40], 0x10
lea esi, [edi + 0x20]
cmovae edx, dword [ebp - 0x54]
push ebx
push edx
push esi
call fcn.10056e40
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov dword [edi + 4], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x1f
push edi
call dword [0x100944b0]
push edi
call fcn.1003e289
mov esi, dword [ebp - 0x64]
add esp, 4
mov ebx, dword [ebp - 0x58]
mov eax, dword [ebp - 0x40]
cmp eax, 0x10
jb 0x1002d9f9
inc eax
lea ecx, [ebp - 0x54]
push eax
push dword [ebp - 0x54]
call fcn.10002790
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x54], 0
cmp eax, 0x10
jb 0x1002da2d
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002790
mov eax, dword [esi + 0x15c]
lea ecx, [ebp - 0xd0]
movzx edx, byte [eax + ebx + 0x63]
call fcn.1002a580
mov edx, eax
mov byte [ebp - 4], 8
cmp dword [edx + 0x14], 0x10
jb 0x1002da51
mov edx, dword [edx]
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp byte [edx], 0
jne 0x1002da6f
xor ecx, ecx
jmp 0x1002da7d
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002da74
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x90]
call fcn.100028b0
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 4], 9
mov eax, dword [edi + 8]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1002db2b
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002db2b
cmp dword [ebp - 0x7c], 0x10
lea ebx, [ebp - 0x90]
cmovae ebx, dword [ebp - 0x90]
lea ecx, [ebx + 1]
mov al, byte [ebx]
inc ebx
test al, al
jne 0x1002dac0
sub ebx, ecx
lea esi, [ebx + 0x21]
push esi
call fcn.1003e844
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.100568a0
add esp, 0xc
lea edx, [ebp - 0x90]
cmp dword [ebp - 0x7c], 0x10
lea esi, [edi + 0x20]
cmovae edx, dword [ebp - 0x90]
push ebx
push edx
push esi
call fcn.10056e40
mov ecx, dword [ebp - 0x60]
add esp, 0xc
mov dword [edi + 4], esi
mov dword [edi + 0x14], ebx
mov dword [edi + 0x18], 0x1f
push edi
call dword [0x100944b0]
push edi
call fcn.1003e289
mov esi, dword [ebp - 0x64]
add esp, 4
mov ebx, dword [ebp - 0x58]
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x7c]
cmp eax, 0x10
jb 0x1002db46
inc eax
lea ecx, [ebp - 0x90]
push eax
push dword [ebp - 0x90]
call fcn.10002790
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x7c], 0xf
mov dword [ebp - 0x80], 0
mov byte [ebp - 0x90], 0
cmp eax, 0x10
jb 0x1002db79
inc eax
lea ecx, [ebp - 0xd0]
push eax
push dword [ebp - 0xd0]
call fcn.10002790
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xbc], 0xf
mov dword [ebp - 0xc0], 0
mov byte [ebp - 0xd0], 0
cmp eax, 0x10
jb 0x1002dbb0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10002790
mov eax, dword [ebp - 0x5c]
add ebx, 0x68
inc eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], eax
cmp eax, dword [ebp - 0x94]
jl 0x1002d630
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1003e245
mov esp, ebp
pop ebp
ret 0x10