Function at 0x1003ecb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10083dd1
mov eax, dword fs:[0]
push eax
sub esp, 0x104
mov eax, dword [0x100a2078]
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 ebx, ecx
mov dword [ebp - 0x6c], ebx
mov esi, dword [ebp + 8]
mov eax, dword [ebx]
mov dword [0x100a5884], eax
test esi, esi
je 0x1003f926
cmp dword [ebp + 0xc], 1
jne 0x1003f926
cmp dword [0x100a55f0], 0
je 0x1003f926
mov eax, dword [ebx + 4]
test eax, eax
je 0x1003ed23
cmp esi, eax
jne 0x1003ed23
call fcn.10040310
mov al, 1
jmp 0x1003f928
mov eax, dword [ebx + 0x138]
test eax, eax
je 0x1003ed43
cmp esi, eax
jne 0x1003ed43
mov eax, dword [ebx + 0x148]
cmp eax, 1
jbe 0x1003f922
dec eax
jmp 0x1003ed64
mov eax, dword [ebx + 0x13c]
test eax, eax
je 0x1003ed7a
cmp esi, eax
jne 0x1003ed7a
mov eax, dword [ebx + 0x148]
cmp eax, dword [ebx + 0x14c]
jae 0x1003f922
inc eax
mov dword [ebx + 0x148], eax
movzx eax, al
push eax
call fcn.10041960
mov al, 1
jmp 0x1003f928
mov ecx, dword [ebx + 0x160]
mov eax, 0x4ec4ec4f
sub ecx, dword [ebx + 0x15c]
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x1003f922
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 [ebx + eax*8 + 0x30]
test eax, eax
je 0x1003f912
cmp esi, eax
jne 0x1003f912
lea eax, [ecx + ecx*2]
mov ecx, dword [ebx + 0x160]
mov eax, dword [ebx + eax*8 + 0x1c]
sub ecx, dword [ebx + 0x15c]
mov dword [ebp - 0x70], eax
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jle 0x1003f912
xor esi, esi
mov ecx, esi
nop dword [eax]
mov eax, dword [ebx + 0x15c]
mov edx, dword [ebp - 0x70]
cmp dword [esi + eax + 0x18], edx
je 0x1003ee3b
inc ecx
add esi, 0x68
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebx + 0x160]
sub ecx, eax
mov eax, 0x4ec4ec4f
imul ecx
mov ecx, dword [ebp - 0x60]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ecx, eax
jl 0x1003ee00
jmp 0x1003f90f
imul ecx, ecx, 0x68
mov dword [ebx + 0x144], edx
mov dword [ebp - 0x88], 0xffffffff
mov dword [ebp - 0x70], ecx
cmp byte [eax + ecx + 0x64], 2
jne 0x1003eeff
movaps xmm0, xmmword [0x10098ea0]
xor ecx, ecx
movups xmmword [ebp - 0xa4], xmm0
mov dword [ebp - 0x94], 0x5031e0b
mov word [ebp - 0x90], 0x3704
mov byte [ebp - 0x8e], 0
nop word [eax + eax]
mov al, byte [ebp - 0xa4]
xor byte [ebp + ecx - 0xa3], al
inc ecx
cmp ecx, 0x15
jb 0x1003ee90
lea eax, [ebp - 0xa3]
mov byte [ebp - 0x8e], 0
push eax
lea ecx, [ebp - 0xf8]
call fcn.10002810
mov dword [ebp - 4], 0
lea edx, [ebp - 0xf8]
mov ecx, dword [ebx + 0x7c]
call fcn.10017a20
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 0xffffffff
call fcn.100021c0
mov ecx, dword [ebx + 0x7c]
mov edx, 0xff5cb9fe
call fcn.10017af0
mov dword [ebp - 0x88], 0xff808080
jmp 0x1003ef92
mov cl, 0x47
mov dword [ebp - 0xc0], 0x29121c47
mov dword [ebp - 0xbc], 0x67352223
xor eax, eax
mov dword [ebp - 0xb8], 0x1a3e2630
mov byte [ebp - 0xb4], 0
nop dword [eax + eax]
xor byte [ebp + eax - 0xbf], cl
inc eax
cmp eax, 0xb
jae 0x1003ef45
mov cl, byte [ebp - 0xc0]
jmp 0x1003ef30
lea eax, [ebp - 0xbf]
mov byte [ebp - 0xb4], 0
push eax
lea ecx, [ebp - 0xf8]
call fcn.10002810
mov dword [ebp - 4], 1
lea edx, [ebp - 0xf8]
mov ecx, dword [ebx + 0x7c]
call fcn.10017a20
lea ecx, [ebp - 0xf8]
mov dword [ebp - 4], 0xffffffff
call fcn.100021c0
mov ecx, dword [ebx + 0x7c]
mov edx, 0xffc4fc03
call fcn.10017af0
lea eax, [ebx + 0x84]
mov dword [ebp - 0x8c], 4
mov dword [ebp - 0x84], eax
lea esi, [ebx + 0xa8]
mov eax, dword [ebp - 0x70]
add eax, 0x48
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x68], eax
nop word [eax + eax]
mov eax, dword [ebx + 0x15c]
mov ecx, dword [ebp - 0x68]
cmp word [ecx + eax], 0
je 0x1003f49b
mov bh, 0x46
mov byte [ebp - 0xcc], 0
mov cl, 0x28
mov byte [ebp - 0xd4], bh
mov bl, cl
mov byte [ebp - 0xcc], 0
mov al, 0x13
mov ah, 0x29
xor al, bh
xor ah, bh
mov ch, 0x31
mov byte [ebp - 0xd3], al
mov dh, bl
mov byte [ebp - 0xcf], ah
xor cl, bh
lea eax, [ebp - 0xd3]
xor ch, bh
mov byte [ebp - 0xd2], cl
mov dl, 0x2d
mov byte [ebp - 0xce], ch
xor dl, bh
lea ecx, [ebp - 0x40]
xor dh, bh
mov byte [ebp - 0xd1], dl
xor bl, bh
mov byte [ebp - 0xcd], dh
push eax
mov byte [ebp - 0xd0], bl
call fcn.10002810
lea eax, [ebp - 0x73]
mov dword [ebp - 4], 2
mov word [ebp - 0x74], 0x22
lea ecx, [ebp - 0x58]
push eax
mov byte [ebp - 0x73], 0
call fcn.10002810
mov ebx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov byte [ebp - 4], 3
mov eax, dword [ebx + 0x15c]
movzx ecx, word [eax + ecx]
call fcn.1000dcf0
test eax, eax
je 0x1003f0cc
add eax, 4
lea ecx, [ebp - 0x40]
cmp ecx, eax
je 0x1003f08d
push 0xffffffffffffffff
push 0
push eax
call fcn.100022d0
mov ebx, dword [esi]
test ebx, ebx
je 0x1003f0a6
push 4
push ebx
call edi
test eax, eax
jne 0x1003f0a6
push 1
mov ecx, ebx
call dword [0x100981e8]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x1003f20f
push 4
push ebx
call edi
test eax, eax
jne 0x1003f20f
push eax
mov ecx, ebx
call dword [0x100981e8]
jmp 0x1003f20f
mov eax, dword [ebx + 0x15c]
mov ecx, dword [ebp - 0x68]
cmp word [ecx + eax], 1
jne 0x1003f20f
cmp byte [0x100a5655], 0
mov eax, dword [0x100a55f0]
mov dword [ebp - 0x5c], eax
je 0x1003f128
mov ecx, 0xd78c9c
call fcn.10017d30
mov ebx, eax
test ebx, ebx
je 0x1003f125
push 4
push ebx
call edi
test eax, eax
jne 0x1003f125
push 4
add ebx, 0x6a0
push ebx
call edi
test eax, eax
jne 0x1003f125
mov ecx, dword [ebp - 0x5c]
mov al, byte [ebx]
mov byte [ecx + 0x34], al
mov eax, ecx
jmp 0x1003f128
mov eax, dword [ebp - 0x5c]
mov al, byte [eax + 0x34]
cmp al, 1
jne 0x1003f1a6
mov al, 0x6d
mov byte [ebp - 0xb0], 0x28
xor al, byte [ebp - 0xb0]
mov ah, 0x47
mov byte [ebp - 0xaf], al
mov cl, 0x44
mov al, byte [ebp - 0xb0]
mov dl, 8
mov bl, 0x65
mov byte [ebp - 0xa7], 0
mov ch, 0x5a
mov byte [ebp - 0xa7], 0
mov dh, 0x49
xor cl, al
xor dl, al
mov byte [ebp - 0xae], cl
xor bl, al
mov byte [ebp - 0xad], dl
xor ah, al
mov byte [ebp - 0xac], bl
xor ch, al
mov byte [ebp - 0xab], ah
xor dh, al
mov byte [ebp - 0xaa], ch
mov bh, 0x4c
mov byte [ebp - 0xa9], dh
xor bh, al
lea eax, [ebp - 0xaf]
mov byte [ebp - 0xa8], bh
jmp 0x1003f1f3
mov ch, 0x75
xor bl, bl
mov al, 0x3e
mov byte [ebp - 0xc2], bl
mov cl, 0x14
mov byte [ebp - 0xc8], ch
mov dl, 7
mov byte [ebp - 0xc2], 0
mov ah, 6
xor al, ch
xor cl, ch
mov byte [ebp - 0xc7], al
xor dl, ch
mov byte [ebp - 0xc6], cl
xor bl, ch
mov byte [ebp - 0xc5], dl
xor ah, ch
mov byte [ebp - 0xc4], bl
mov byte [ebp - 0xc3], ah
lea eax, [ebp - 0xc7]
push eax
lea ecx, [ebp - 0x40]
call fcn.1000be20
mov ecx, dword [esi + 4]
mov dl, 1
call fcn.10017260
mov ecx, dword [esi]
xor dl, dl
call fcn.10017260
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0xa4]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.10002810
mov byte [ebp - 4], 4
lea edx, [ebp - 0xa4]
mov ecx, dword [esi + 8]
call fcn.10017a20
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x1003f25a
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.100025f0
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x1003f278
push 4
push ebx
call edi
test eax, eax
jne 0x1003f278
push dword [ebp - 0x88]
mov ecx, ebx
call dword [0x1009824c]
mov ecx, dword [ebp - 0x6c]
mov bh, 0x72
mov edx, dword [ebp - 0x68]
mov bl, 0x5d
xor bl, bh
mov eax, dword [ecx + 0x15c]
movzx eax, word [eax + edx + 0x10]
push eax
mov eax, dword [ecx + 0x15c]
mov cl, 0x16
movzx eax, word [eax + edx + 8]
mov dl, 0x52
push eax
mov al, 0x57
mov byte [ebp - 0xd8], 0
mov ah, dl
mov byte [ebp - 0xe0], bh
mov ch, al
mov byte [ebp - 0xdc], bl
mov dh, cl
mov byte [ebp - 0xd8], 0
xor al, bh
xor ah, bh
sub esp, 0x18
mov byte [ebp - 0xdf], al
xor cl, bh
mov byte [ebp - 0xdb], ah
xor ch, bh
mov byte [ebp - 0xde], cl
mov byte [ebp - 0xda], ch
lea eax, [ebp - 0xdf]
xor dl, bh
xor dh, bh
mov ecx, esp
mov byte [ebp - 0xdd], dl
push eax
mov byte [ebp - 0xd9], dh
call fcn.10002810
lea eax, [ebp - 0xf8]
push eax
call fcn.10027ec0
add esp, 0x24
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x1003f31e
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0xa4]
call fcn.10002810
mov byte [ebp - 4], 6
lea edx, [ebp - 0xa4]
mov ecx, dword [esi + 0xc]
call fcn.10017a20
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x1003f35a
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.100025f0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
cmp eax, 0x10
jb 0x1003f397
inc eax
lea ecx, [ebp - 0xf8]
push eax
push dword [ebp - 0xf8]
call fcn.100025f0
mov ebx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x68]
mov esi, dword [esi + 0x10]
mov eax, dword [ebx + 0x15c]
movzx eax, word [eax + ecx + 0x10]
mov dword [ebp - 0x5c], eax
test esi, esi
je 0x1003f3f0
push 4
push esi
call edi
test eax, eax
jne 0x1003f3f0
lea eax, [esi + 0x140]
push 4
push eax
call edi
test eax, eax
jne 0x1003f3f0
lea eax, [esi + 0x13c]
push 4
push eax
call edi
test eax, eax
jne 0x1003f3f0
mov dword [esi + 0x140], eax
mov ecx, esi
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0x13c], eax
call dword [0x1009822c]
mov eax, dword [ebx + 0x15c]
mov esi, dword [ebp - 0x68]
movzx esi, word [eax + esi + 8]
mov eax, dword [ebp - 0x60]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1003f434
push 4
push eax
call edi
test eax, eax
jne 0x1003f434
mov ecx, dword [ebp - 0x5c]
sub esp, 0xc
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [esp + 8], eax
mov dword [esp + 4], eax
movss dword [esp], xmm0
call dword [0x10098230]
mov eax, dword [ebp - 0x84]
mov esi, dword [eax]
test esi, esi
je 0x1003f453
push 4
push esi
call edi
test eax, eax
jne 0x1003f453
push 1
mov ecx, esi
call dword [0x100981e8]
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x1003f468
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.100025f0
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 0x1003f496
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.100025f0
mov esi, dword [ebp - 0x60]
jmp 0x1003f4bc
mov ebx, dword [ebp - 0x84]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003f4b9
push 4
push ebx
call edi
test eax, eax
jne 0x1003f4b9
push eax
mov ecx, ebx
call dword [0x100981e8]
mov ebx, dword [ebp - 0x6c]
add dword [ebp - 0x68], 2
add esi, 0x14
add dword [ebp - 0x84], 4
sub dword [ebp - 0x8c], 1
mov dword [ebp - 0x60], esi
jne 0x1003efc0
mov edx, dword [ebp - 0x70]
lea ecx, [ebx + 0x94]
add edx, 0x34
mov dword [ebp - 0x60], ecx
lea esi, [ebx + 0xf8]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], 5
nop
mov eax, dword [ebx + 0x15c]
mov ebx, dword [edx + eax - 0x14]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 0x15c]
mov eax, dword [edx + eax]
mov dword [ebp - 0x70], eax
lea eax, [ebx - 1]
cmp eax, 0x5f5e0fe
ja 0x1003f661
mov ebx, 0x35a4f8a0
mov eax, 0x10624dd3
mov ecx, 0xd78ae8
mul ebx
shr edx, 6
imul eax, edx, 0x3e8
push eax
call fcn.10017d30
mov ecx, eax
call dword [0x100981a0]
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x1003f780
push 0
lea eax, [ebp - 0x77]
mov word [ebp - 0x78], 0x61
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 0x77], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10002710
mov eax, dword [ebp - 0x5c]
mov edx, ebx
mov dword [ebp - 4], 7
mov cl, byte [eax + 4]
call fcn.1000dc80
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1003f670
cmp dword [eax + 0x48], 0
je 0x1003f670
push ebx
push eax
xor edx, edx
lea ecx, [ebp - 0xf8]
call fcn.1000df20
add esp, 8
mov ebx, eax
lea eax, [ebp - 0x28]
cmp eax, ebx
je 0x1003f5fb
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1003f5e0
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.100025f0
push ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10007980
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe4]
cmp eax, 0x10
jb 0x1003f61d
inc eax
lea ecx, [ebp - 0xf8]
push eax
push dword [ebp - 0xf8]
call fcn.100025f0
mov ebx, dword [ebp - 0x5c]
mov ecx, dword [esi]
test ecx, ecx
je 0x1003f724
add ecx, 4
lea edx, [ebp - 0x28]
call fcn.10013ab0
mov eax, dword [esi]
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x70]
mov dword [eax + 0x50], ebx
mov eax, dword [esi]
mov dword [eax + 0x54], ecx
mov eax, dword [esi]
mov dword [eax + 0x58], edx
test ecx, ecx
je 0x1003f6f0
movsx ecx, word [ecx + 0x56]
movsx eax, word [ebx + 0x66]
add ecx, eax
jmp 0x1003f6f4
test ebx, ebx
jne 0x1003f52c
xor eax, eax
jmp 0x1003f552
push ebx
mov ebx, dword [ebp - 0x5c]
lea ecx, [ebp - 0xf8]
push 0
mov edx, ebx
call fcn.1000df20
add esp, 8
mov dword [ebp - 0x84], eax
lea ecx, [ebp - 0x28]
cmp ecx, eax
je 0x1003f6c5
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1003f6a5
inc eax
push eax
push dword [ebp - 0x28]
call fcn.100025f0
push dword [ebp - 0x84]
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.10007980
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0xe4]
cmp eax, 0x10
jb 0x1003f620
inc eax
lea ecx, [ebp - 0xf8]
push eax
push dword [ebp - 0xf8]
call fcn.100025f0
jmp 0x1003f620
movsx ecx, word [ebx + 0x66]
mov eax, dword [esi]
mov dword [eax + 0x5c], ecx
mov eax, dword [esi]
mov ecx, dword [eax]
test ecx, ecx
je 0x1003f724
lea edx, [ebp - 0x28]
call fcn.100176f0
mov eax, dword [esi]
mov ebx, dword [eax]
test ebx, ebx
je 0x1003f724
push 4
push ebx
call edi
test eax, eax
jne 0x1003f724
push 1
mov ecx, ebx
call dword [0x100981e8]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x1003f73f
push 4
push ebx
call edi
test eax, eax
jne 0x1003f73f
push dword [ebp - 0x70]
mov ecx, ebx
call dword [0x10098248]
mov ebx, dword [ebp - 0x60]
mov ebx, dword [ebx]
test ebx, ebx
je 0x1003f75b
push 4
push ebx
call edi
test eax, eax
jne 0x1003f75b
push 1
mov ecx, ebx
call dword [0x100981e8]
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x1003f8e4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.100025f0
jmp 0x1003f8e4
mov ebx, dword [ecx]
test ebx, ebx
je 0x1003f798
push 4
push ebx
call edi
test eax, eax
jne 0x1003f798
push eax
mov ecx, ebx
call dword [0x100981e8]
mov ebx, dword [esi + 4]
test ebx, ebx
je 0x1003f7b1
push 4
push ebx
call edi
test eax, eax
jne 0x1003f7b1
push eax
mov ecx, ebx
call dword [0x10098248]
cmp dword [esi], 0
je 0x1003f8e4
push 0
lea eax, [ebp - 0x7b]
mov word [ebp - 0x7c], 0x13
push eax
lea ecx, [ebp - 0xa4]
mov byte [ebp - 0x7b], 0
mov dword [ebp - 0x90], 0xf
mov dword [ebp - 0x94], 0
mov byte [ebp - 0xa4], 0
call fcn.10002710
mov dword [ebp - 4], 0xa
lea edx, [ebp - 0xa4]
mov ecx, dword [esi]
add ecx, 4
call fcn.10013ab0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x90]
cmp eax, 0x10
jb 0x1003f82c
inc eax
lea ecx, [ebp - 0xa4]
push eax
push dword [ebp - 0xa4]
call fcn.100025f0
mov eax, dword [esi]
mov dword [eax + 0x50], 0
mov eax, dword [esi]
mov dword [eax + 0x54], 0
mov eax, dword [esi]
mov dword [eax + 0x58], 0
mov eax, dword [esi]
mov dword [eax + 0x5c], 0
mov eax, dword [esi]
cmp dword [eax], 0
je 0x1003f8e4
lea eax, [ebp - 0x7f]
mov word [ebp - 0x80], 0x65
push eax
lea ecx, [ebp - 0x110]
mov byte [ebp - 0x7f], 0
call fcn.10002810
mov dword [ebp - 4], 0xb
lea edx, [ebp - 0x110]
mov ecx, dword [esi]
mov ecx, dword [ecx]
call fcn.100176f0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xfc]
cmp eax, 0x10
jb 0x1003f8af
inc eax
lea ecx, [ebp - 0x110]
push eax
push dword [ebp - 0x110]
call fcn.100025f0
mov eax, dword [esi]
mov dword [ebp - 0xfc], 0xf
mov dword [ebp - 0x100], 0
mov byte [ebp - 0x110], 0
mov ebx, dword [eax]
test ebx, ebx
je 0x1003f8e4
push 4
push ebx
call edi
test eax, eax
jne 0x1003f8e4
push eax
mov ecx, ebx
call dword [0x100981e8]
mov edx, dword [ebp - 0x8c]
add esi, 0xc
mov ecx, dword [ebp - 0x60]
add edx, 4
mov ebx, dword [ebp - 0x6c]
add ecx, 4
sub dword [ebp - 0x88], 1
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x60], ecx
jne 0x1003f500
mov esi, dword [ebp + 8]
mov al, byte [ebp - 0x61]
add al, 1
mov byte [ebp - 0x61], al
cmp al, 4
jb 0x1003edb0
mov al, 1
jmp 0x1003f928
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.10066135
mov esp, ebp
pop ebp
ret 8