Function at 0x1002e300
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100936e1
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x100bb084]
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 - 0x5c], esi
mov ebx, dword [ebp + 8]
mov eax, dword [esi]
mov dword [0x100c007c], eax
test ebx, ebx
je 0x1002f010
cmp dword [ebp + 0xc], 1
jne 0x1002f010
cmp dword [0x100bfe54], 0
je 0x1002f010
mov eax, dword [esi + 4]
test eax, eax
je 0x1002e373
cmp ebx, eax
jne 0x1002e373
call fcn.1002f9c0
mov al, 1
jmp 0x1002f012
mov eax, dword [esi + 0x138]
test eax, eax
je 0x1002e393
cmp ebx, eax
jne 0x1002e393
mov eax, dword [esi + 0x144]
cmp eax, 1
jle 0x1002f00c
dec eax
jmp 0x1002e3b4
mov eax, dword [esi + 0x13c]
test eax, eax
je 0x1002e3ca
cmp ebx, eax
jne 0x1002e3ca
mov eax, dword [esi + 0x144]
cmp eax, dword [esi + 0x148]
jge 0x1002f00c
inc eax
mov dword [esi + 0x144], eax
movzx eax, al
push eax
call fcn.10031270
mov al, 1
jmp 0x1002f012
mov ecx, dword [esi + 0x15c]
mov eax, 0x4ec4ec4f
sub ecx, dword [esi + 0x158]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1002f00c
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
xor al, al
mov byte [ebp - 0x61], al
nop dword [eax + eax]
movzx ecx, al
lea eax, [ecx + ecx*2]
mov eax, dword [esi + eax*8 + 0x30]
test eax, eax
je 0x1002effc
cmp ebx, eax
jne 0x1002effc
lea eax, [ecx + ecx*2]
xor ebx, ebx
mov eax, dword [esi + eax*8 + 0x1c]
mov ecx, dword [esi + 0x15c]
sub ecx, dword [esi + 0x158]
mov dword [ebp - 0x6c], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x1002eff9
xor esi, esi
nop dword [eax]
mov edx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x158]
cmp dword [eax + esi + 0x18], ecx
je 0x1002e48b
mov ecx, dword [edx + 0x15c]
inc ebx
sub ecx, eax
add esi, 0x68
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jl 0x1002e450
mov esi, dword [ebp - 0x5c]
jmp 0x1002eff9
imul esi, ebx, 0x68
mov dword [edx + 0x140], ecx
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x6c], esi
cmp byte [eax + esi + 0x65], 2
jne 0x1002e552
movaps xmm0, xmmword [0x100afd90]
xor ecx, ecx
movups xmmword [ebp - 0xe4], xmm0
mov dword [ebp - 0xd4], 0x67617c69
mov word [ebp - 0xd0], 0x5566
mov byte [ebp - 0xce], 0
nop word [eax + eax]
mov al, byte [ebp - 0xe4]
xor byte [ebp + ecx - 0xe3], al
inc ecx
cmp ecx, 0x15
jb 0x1002e4e0
lea eax, [ebp - 0xe3]
mov byte [ebp - 0xce], 0
push eax
lea ecx, [ebp - 0xfc]
call fcn.10004b40
mov ebx, dword [ebp - 0x5c]
lea edx, [ebp - 0xfc]
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x7c]
call fcn.10014cc0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], 0xffffffff
call fcn.100044d0
mov ecx, dword [ebx + 0x7c]
mov edx, 0xff5cb9fe
call fcn.10014d20
mov dword [ebp - 0x88], 0xff808080
jmp 0x1002e5e5
mov cl, 0x7b
mov dword [ebp - 0xac], 0x152e207b
mov dword [ebp - 0xa8], 0x5b091e1f
xor eax, eax
mov dword [ebp - 0xa4], 0x26021a0c
mov byte [ebp - 0xa0], 0
nop dword [eax + eax]
xor byte [ebp + eax - 0xab], cl
inc eax
cmp eax, 0xb
jae 0x1002e595
mov cl, byte [ebp - 0xac]
jmp 0x1002e580
lea eax, [ebp - 0xab]
mov byte [ebp - 0xa0], 0
push eax
lea ecx, [ebp - 0xfc]
call fcn.10004b40
mov ebx, dword [ebp - 0x5c]
lea edx, [ebp - 0xfc]
mov dword [ebp - 4], 1
mov ecx, dword [ebx + 0x7c]
call fcn.10014cc0
lea ecx, [ebp - 0xfc]
mov dword [ebp - 4], 0xffffffff
call fcn.100044d0
mov ecx, dword [ebx + 0x7c]
mov edx, 0xffc4fc03
call fcn.10014d20
mov ecx, dword [ebp - 0x5c]
lea ebx, [esi + 0x58]
mov dword [ebp - 0x8c], 0x48
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x90], 4
lea eax, [ecx + 0x84]
lea esi, [ecx + 0xa8]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x80], esi
nop word [eax + eax]
mov eax, dword [ecx + 0x158]
cmp word [ebx + eax - 0x10], 0
je 0x1002eb3e
mov bh, 0x74
mov byte [ebp - 0xb8], 0
mov cl, 0x1a
mov byte [ebp - 0xc0], bh
mov bl, cl
mov byte [ebp - 0xb8], 0
mov al, 0x21
mov ah, 0x1b
xor al, bh
xor ah, bh
mov ch, 3
mov byte [ebp - 0xbf], al
mov dh, bl
mov byte [ebp - 0xbb], ah
xor cl, bh
lea eax, [ebp - 0xbf]
xor ch, bh
mov byte [ebp - 0xbe], cl
mov dl, 0x1f
mov byte [ebp - 0xba], ch
xor dl, bh
lea ecx, [ebp - 0x40]
xor dh, bh
mov byte [ebp - 0xbd], dl
xor bl, bh
mov byte [ebp - 0xb9], dh
push eax
mov byte [ebp - 0xbc], bl
call fcn.10004b40
lea eax, [ebp - 0x6f]
mov dword [ebp - 4], 2
mov word [ebp - 0x70], 0x7d
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 0x6f], 0
call fcn.10004b40
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x8c]
mov byte [ebp - 4], 3
mov eax, dword [ebx + 0x158]
add eax, dword [ebp - 0x6c]
movzx eax, word [ecx + eax]
test eax, eax
je 0x1002e718
push eax
call dword [0x100ad84c]
test eax, eax
je 0x1002e718
add eax, 4
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x1002e6f7
push 0xffffffffffffffff
push 0
push eax
call fcn.100045d0
mov ebx, dword [esi]
test ebx, ebx
je 0x1002e710
push 4
push ebx
call edi
test eax, eax
jne 0x1002e710
push 1
mov ecx, ebx
call dword [0x100ad890]
mov ebx, dword [esi + 4]
jmp 0x1002e869
mov eax, dword [ebx + 0x158]
mov ecx, dword [ebp - 0x84]
cmp word [ecx + eax - 0x10], 1
jne 0x1002e87f
cmp byte [0x100bfea1], 0
mov eax, dword [0x100bfe54]
mov dword [ebp - 0x60], eax
je 0x1002e778
mov ecx, 0x10b8134
call fcn.10014e20
mov ebx, eax
test ebx, ebx
je 0x1002e775
push 4
push ebx
call edi
test eax, eax
jne 0x1002e775
push 4
add ebx, 0x6dc
push ebx
call edi
test eax, eax
jne 0x1002e775
mov ecx, dword [ebp - 0x60]
mov al, byte [ebx]
mov byte [ecx + 0x38], al
mov eax, ecx
jmp 0x1002e778
mov eax, dword [ebp - 0x60]
mov al, byte [eax + 0x38]
cmp al, 1
jne 0x1002e7f6
mov al, 0x70
mov byte [ebp - 0x9c], 0x35
xor al, byte [ebp - 0x9c]
mov ah, 0x5a
mov byte [ebp - 0x9b], al
mov cl, 0x59
mov al, byte [ebp - 0x9c]
mov dl, 0x15
mov bl, 0x78
mov byte [ebp - 0x93], 0
mov ch, 0x47
mov byte [ebp - 0x93], 0
mov dh, 0x54
xor cl, al
xor dl, al
mov byte [ebp - 0x9a], cl
xor bl, al
mov byte [ebp - 0x99], dl
xor ah, al
mov byte [ebp - 0x98], bl
xor ch, al
mov byte [ebp - 0x97], ah
xor dh, al
mov byte [ebp - 0x96], ch
mov bh, 0x51
mov byte [ebp - 0x95], dh
xor bh, al
lea eax, [ebp - 0x9b]
mov byte [ebp - 0x94], bh
jmp 0x1002e844
mov ch, 0xc
mov byte [ebp - 0xae], 0
mov al, 0x47
mov byte [ebp - 0xb4], ch
mov cl, 0x6d
mov byte [ebp - 0xae], 0
mov dl, 0x7e
mov bl, 0x79
mov ah, 0x7f
xor al, ch
xor cl, ch
mov byte [ebp - 0xb3], al
xor dl, ch
mov byte [ebp - 0xb2], cl
xor bl, ch
mov byte [ebp - 0xb1], dl
xor ah, ch
mov byte [ebp - 0xb0], bl
mov byte [ebp - 0xaf], ah
lea eax, [ebp - 0xb3]
push eax
lea ecx, [ebp - 0x40]
call fcn.10004490
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x1002e867
push 4
push ebx
call edi
test eax, eax
jne 0x1002e867
push 1
mov ecx, ebx
call dword [0x100ad890]
mov ebx, dword [esi]
test ebx, ebx
je 0x1002e87f
push 4
push ebx
call edi
test eax, eax
jne 0x1002e87f
push eax
mov ecx, ebx
call dword [0x100ad890]
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xe4]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10004b40
mov byte [ebp - 4], 4
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x1002e8b9
push 4
push ebx
call edi
test eax, eax
jne 0x1002e8b9
lea eax, [ebp - 0xe4]
mov ecx, ebx
push eax
call dword [0x100ad8f4]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xd0]
cmp eax, 0x10
jb 0x1002e8db
inc eax
lea ecx, [ebp - 0xe4]
push eax
push dword [ebp - 0xe4]
call fcn.100048f0
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x1002e8f9
push 4
push ebx
call edi
test eax, eax
jne 0x1002e8f9
push dword [ebp - 0x88]
mov ecx, ebx
call dword [0x100ad8fc]
mov ecx, dword [ebp - 0x5c]
mov bh, 0x74
mov edx, dword [ebp - 0x84]
mov bl, 0x5b
xor bl, bh
mov eax, dword [ecx + 0x158]
movzx eax, word [edx + eax]
push eax
mov eax, dword [ecx + 0x158]
mov cl, 0x10
movzx eax, word [edx + eax - 8]
mov dl, 0x54
push eax
mov al, 0x51
mov byte [ebp - 0xc4], 0
mov ah, dl
mov byte [ebp - 0xcc], bh
mov ch, al
mov byte [ebp - 0xc8], bl
mov dh, cl
mov byte [ebp - 0xc4], 0
xor al, bh
xor ah, bh
sub esp, 0x18
mov byte [ebp - 0xcb], al
xor cl, bh
mov byte [ebp - 0xc7], ah
xor ch, bh
mov byte [ebp - 0xca], cl
mov byte [ebp - 0xc6], ch
lea eax, [ebp - 0xcb]
xor dl, bh
xor dh, bh
mov ecx, esp
mov byte [ebp - 0xc9], dl
push eax
mov byte [ebp - 0xc5], dh
call fcn.10004b40
lea eax, [ebp - 0xfc]
push eax
call fcn.100043b0
add esp, 0x24
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x1002e9a1
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xe4]
call fcn.10004b40
mov byte [ebp - 4], 6
mov ebx, dword [esi + 0xc]
test ebx, ebx
je 0x1002e9d0
push 4
push ebx
call edi
test eax, eax
jne 0x1002e9d0
lea eax, [ebp - 0xe4]
mov ecx, ebx
push eax
call dword [0x100ad8f4]
mov eax, dword [ebp - 0xd0]
cmp eax, 0x10
jb 0x1002e9ee
inc eax
lea ecx, [ebp - 0xe4]
push eax
push dword [ebp - 0xe4]
call fcn.100048f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xd0], 0xf
mov dword [ebp - 0xd4], 0
mov byte [ebp - 0xe4], 0
cmp eax, 0x10
jb 0x1002ea2b
inc eax
lea ecx, [ebp - 0xfc]
push eax
push dword [ebp - 0xfc]
call fcn.100048f0
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x84]
mov esi, dword [esi + 0x10]
mov eax, dword [eax + 0x158]
movzx eax, word [eax + ecx]
mov dword [ebp - 0x60], eax
test esi, esi
je 0x1002ea82
push 4
push esi
call edi
test eax, eax
jne 0x1002ea82
lea eax, [esi + 0x128]
push 4
push eax
call edi
test eax, eax
jne 0x1002ea82
push 4
lea ebx, [esi + 0x124]
push ebx
call edi
test eax, eax
jne 0x1002ea82
mov dword [esi + 0x128], eax
mov ecx, esi
mov eax, dword [ebp - 0x60]
mov dword [ebx], eax
call dword [0x100ad8e0]
mov eax, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x84]
mov eax, dword [eax + 0x158]
movzx esi, word [eax + esi - 8]
mov eax, dword [ebp - 0x80]
mov ebx, dword [eax + 0x10]
test ebx, ebx
je 0x1002eac8
push 4
push ebx
call edi
test eax, eax
jne 0x1002eac8
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov ecx, ebx
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x100ad8e4]
mov eax, dword [ebp - 0x68]
mov esi, dword [eax]
test esi, esi
je 0x1002eae4
push 4
push esi
call edi
test eax, eax
jne 0x1002eae4
push 1
mov ecx, esi
call dword [0x100ad890]
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x1002eaf9
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.100048f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
cmp eax, 0x10
jb 0x1002eb27
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100048f0
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
jmp 0x1002eb59
mov ebx, dword [ebp - 0x68]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1002eb5c
push 4
push ebx
call edi
test eax, eax
jne 0x1002eb59
push eax
mov ecx, ebx
call dword [0x100ad890]
mov ecx, dword [ebp - 0x5c]
mov ebx, dword [ebp - 0x84]
add esi, 0x14
add dword [ebp - 0x8c], 2
add ebx, 2
add dword [ebp - 0x68], 4
sub dword [ebp - 0x90], 1
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x80], esi
jne 0x1002e620
mov ebx, dword [ebp - 0x6c]
lea edx, [ecx + 0x94]
add ebx, 0x34
mov dword [ebp - 0x68], edx
lea esi, [ecx + 0xf8]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x90], 5
nop dword [eax + eax]
mov eax, dword [ecx + 0x158]
mov ecx, dword [ebp - 0x80]
mov ebx, dword [eax + ebx - 0x14]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x6c], eax
lea eax, [ebx - 1]
cmp eax, 0x5f5e0fe
ja 0x1002ed1e
mov ebx, 0x35a4f8a0
mov eax, 0x10624dd3
mul ebx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call dword [0x100ad844]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x60], eax
test eax, eax
je 0x1002ee3c
push 0
lea eax, [ebp - 0x73]
mov word [ebp - 0x74], 0x4a
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x73], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10004a40
mov ecx, dword [ebp - 0x60]
mov edx, ebx
mov dword [ebp - 4], 7
call fcn.1000ee90
mov dword [ebp - 0x8c], eax
test eax, eax
je 0x1002ed2d
cmp dword [eax + 0x3c], 0
je 0x1002ed2d
push ebx
push eax
xor edx, edx
lea ecx, [ebp - 0xfc]
call fcn.1000efe0
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x28]
cmp eax, ebx
je 0x1002ec99
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1002ec7e
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.100048f0
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.100042c0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe8]
cmp eax, 0x10
jb 0x1002ecbb
inc eax
lea ecx, [ebp - 0xfc]
push eax
push dword [ebp - 0xfc]
call fcn.100048f0
mov ebx, dword [ebp - 0x60]
mov eax, dword [esi]
mov dword [ebp - 0x88], eax
test eax, eax
je 0x1002edb6
add eax, 4
je 0x1002ecef
push 4
push eax
call edi
test eax, eax
jne 0x1002ecef
mov ecx, dword [ebp - 0x88]
lea eax, [ebp - 0x28]
push eax
lea ecx, [ecx + 4]
call dword [0x100ad858]
mov eax, dword [esi]
mov ecx, dword [ebp - 0x8c]
mov edx, dword [ebp - 0x6c]
mov dword [eax + 0x60], ebx
mov eax, dword [esi]
mov dword [eax + 0x64], ecx
mov eax, dword [esi]
mov dword [eax + 0x68], edx
test ecx, ecx
je 0x1002edad
movsx ecx, word [ecx + 0x4e]
movsx eax, word [ebx + 0x5e]
add ecx, eax
jmp 0x1002edb1
test ebx, ebx
jne 0x1002ebd6
xor eax, eax
jmp 0x1002ebf0
push ebx
mov ebx, dword [ebp - 0x60]
lea ecx, [ebp - 0xfc]
push 0
mov edx, ebx
call fcn.1000efe0
add esp, 8
mov dword [ebp - 0x88], eax
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x1002ed82
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1002ed62
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100048f0
push dword [ebp - 0x88]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.100042c0
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe8]
cmp eax, 0x10
jb 0x1002ecbe
inc eax
lea ecx, [ebp - 0xfc]
push eax
push dword [ebp - 0xfc]
call fcn.100048f0
jmp 0x1002ecbe
movsx ecx, word [ebx + 0x5e]
mov eax, dword [esi]
mov dword [eax + 0x6c], ecx
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x1002edd1
push 4
push ebx
call edi
test eax, eax
jne 0x1002edd1
push dword [ebp - 0x6c]
mov ecx, ebx
call dword [0x100ad8f8]
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x1002eded
push 4
push ebx
call edi
test eax, eax
jne 0x1002eded
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call dword [0x100ad8c4]
mov ebx, dword [ebp - 0x68]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1002ee09
push 4
push ebx
call edi
test eax, eax
jne 0x1002ee09
push 1
mov ecx, ebx
call dword [0x100ad890]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1002ee25
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.100048f0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jmp 0x1002efd2
mov ebx, dword [edx]
test ebx, ebx
je 0x1002ee54
push 4
push ebx
call edi
test eax, eax
jne 0x1002ee54
push eax
mov ecx, ebx
call dword [0x100ad890]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x1002ee6d
push 4
push ebx
call edi
test eax, eax
jne 0x1002ee6d
push eax
mov ecx, ebx
call dword [0x100ad8f8]
push 0
lea eax, [ebp - 0x77]
mov word [ebp - 0x78], 0x30
push eax
lea ecx, [ebp - 0x114]
mov byte [ebp - 0x77], 0
mov dword [ebp - 0x100], 0xf
mov dword [ebp - 0x104], 0
mov byte [ebp - 0x114], 0
call fcn.10004a40
mov dword [ebp - 4], 0xa
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x1002eec9
push 4
push ebx
call edi
test eax, eax
jne 0x1002eec9
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
call dword [0x100ad8c4]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x100]
cmp eax, 0x10
jb 0x1002eeee
inc eax
lea ecx, [ebp - 0x114]
push eax
push dword [ebp - 0x114]
call fcn.100048f0
cmp dword [esi], 0
mov dword [ebp - 0x100], 0xf
mov dword [ebp - 0x104], 0
mov byte [ebp - 0x114], 0
je 0x1002efd2
push 0
lea eax, [ebp - 0x7b]
mov word [ebp - 0x7c], 0x71
push eax
lea ecx, [ebp - 0x12c]
mov byte [ebp - 0x7b], 0
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
call fcn.10004a40
mov dword [ebp - 4], 0xb
mov ebx, dword [esi]
add ebx, 4
je 0x1002ef6e
push 4
push ebx
call edi
test eax, eax
jne 0x1002ef6e
lea eax, [ebp - 0x12c]
mov ecx, ebx
push eax
call dword [0x100ad858]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x118]
cmp eax, 0x10
jb 0x1002ef93
inc eax
lea ecx, [ebp - 0x12c]
push eax
push dword [ebp - 0x12c]
call fcn.100048f0
mov eax, dword [esi]
mov dword [ebp - 0x118], 0xf
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x12c], 0
mov dword [eax + 0x60], 0
mov eax, dword [esi]
mov dword [eax + 0x64], 0
mov eax, dword [esi]
mov dword [eax + 0x68], 0
mov eax, dword [esi]
mov dword [eax + 0x6c], 0
mov ebx, dword [ebp - 0x80]
add esi, 0xc
mov edx, dword [ebp - 0x68]
add ebx, 4
mov ecx, dword [ebp - 0x5c]
add edx, 4
sub dword [ebp - 0x90], 1
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x68], edx
jne 0x1002ebb0
mov esi, ecx
mov ebx, dword [ebp + 8]
mov al, byte [ebp - 0x61]
add al, 1
mov byte [ebp - 0x61], al
cmp al, 4
jb 0x1002e400
mov al, 1
jmp 0x1002f012
xor al, al
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.1005baa0
mov esp, ebp
pop ebp
ret 8