Function at 0x101206e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x112e6e00]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x2c], ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
movups xmmword [ebp - 0x1c], xmm0
test ecx, ecx
je 0x1012168f
test edi, edi
je 0x1012168f
mov edx, dword [edi + 0x48]
test edx, edx
je 0x1012168f
cmp ecx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, edx
cmp ecx, eax
ja 0x1012168f
mov al, byte [ecx]
lea edx, [ecx + 1]
mov byte [ebp - 0x2d], al
movzx eax, al
mov dword [esi], eax
mov al, byte [ebp - 0x2d]
mov dword [ebp - 0x20], edx
cmp al, 0x21
jae 0x1012168f
cmp al, 1
jne 0x101207f2
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffb
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1012168f
movzx ebx, byte [edx]
cmp ebx, dword [edi + 0x18]
ja 0x1012168f
movzx ecx, byte [edx + 1]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
lea eax, [ebx + ecx]
cmp eax, dword [edi + 0x18]
ja 0x1012168f
mov dword [esi + 4], ebx
mov dword [esi + 8], 0
mov eax, dword [edi + 0x1c]
pop edi
lea eax, [eax + ecx*4]
add eax, 4
mov dword [esi + 0xc], eax
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
cmp al, 2
je 0x101215e0
cmp al, 3
je 0x101215e0
cmp al, 0xb
jne 0x10120842
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1012168f
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov al, 1
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
push edi
call fcn.1011fde0
add esp, 0x10
test al, al
je 0x1012168f
mov ebx, dword [esi]
cmp ebx, 4
je 0x10121470
cmp ebx, 5
sete byte [ebp - 0x24]
je 0x10121470
cmp ebx, 6
je 0x101212ec
cmp ebx, 7
sete byte [ebp - 0x24]
je 0x101212ec
cmp ebx, 8
je 0x101211c0
cmp ebx, 9
sete byte [ebp - 0x24]
je 0x101211c0
cmp ebx, 0xa
jne 0x101208ee
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1012168f
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
mov al, 1
pop edi
mov dword [esi + 0xc], ecx
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
cmp ebx, 0xc
je 0x1012101a
cmp ebx, 0xd
je 0x1012101a
cmp ebx, 0xe
je 0x10120f40
cmp ebx, 0xf
je 0x10120f40
lea eax, [ebx - 0x10]
cmp eax, 7
ja 0x10120b78
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
add edx, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 2
mov dword [esi + 0xc], ecx
cmp ebx, 0x10
je 0x10120977
cmp ebx, 0x11
je 0x10120977
cmp ebx, 0x12
je 0x10120977
cmp ebx, 0x13
je 0x10120977
mov dword [esi + 0x10], ecx
jmp 0x101209b4
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
add edx, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 2
mov dword [esi + 0x10], ecx
cmp ebx, 0x12
je 0x101209c9
cmp ebx, 0x13
je 0x101209c9
cmp ebx, 0x16
je 0x101209c9
cmp ebx, 0x17
je 0x101209c9
mov dword [esi + 0x14], 0
xor ecx, ecx
jmp 0x10120a16
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffc
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
or ecx, eax
lea eax, [edx + 4]
shl ecx, 0x10
mov dword [esi + 0x14], ecx
mov dword [ebp - 0x34], eax
movzx eax, byte [edx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 3]
mov edx, dword [ebp - 0x34]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
cmp ebx, 0x11
je 0x10120a31
cmp ebx, 0x13
je 0x10120a31
cmp ebx, 0x15
je 0x10120a31
cmp ebx, 0x17
jne 0x10120b5f
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffc
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1012168f
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
cmp ebx, 0x11
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
jne 0x10120aa2
lea eax, [ebp - 0x1c]
push eax
push 2
push ecx
push edi
push ebx
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
shl eax, 2
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 2
add dword [esi + 0x10], eax
cmp dword [esi], 0x13
jne 0x10120aea
lea eax, [ebp - 0x1c]
push eax
push 4
push ecx
push edi
push ebx
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
lea eax, [ecx + eax*4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x14], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x10
add dword [esi + 0x18], eax
cmp dword [esi], 0x15
mov ebx, dword [ebp - 0x24]
jne 0x10120b1d
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push edi
push dword [ebp - 0x2c]
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov eax, dword [ebp - 0x1c]
lea ecx, [eax*4]
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
cmp dword [esi], 0x17
jne 0x10120b5f
lea eax, [ebp - 0x1c]
push eax
push 3
push ebx
push edi
push dword [ebp - 0x2c]
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov eax, dword [ebp - 0x1c]
lea ecx, [eax*4]
mov eax, dword [ebp - 0x18]
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
shl eax, 0x10
add dword [esi + 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x18], eax
pop edi
mov dword [esi], 0x10
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi]
cmp ebx, 0x18
je 0x10120de1
cmp ebx, 0x1a
je 0x10120de1
cmp ebx, 0x19
je 0x10120de1
cmp ebx, 0x1b
je 0x10120de1
cmp ebx, 0x1c
je 0x10120c34
cmp ebx, 0x1d
je 0x10120c34
cmp ebx, 0x1e
je 0x10120c34
cmp ebx, 0x1f
je 0x10120c34
cmp ebx, 0x20
jne 0x1012168f
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
dec eax
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x20], edx
cmp eax, 0x1c
jae 0x1012168f
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x34]
push edi
call fcn.1011fde0
add esp, 0x10
test al, al
je 0x1012168f
mov eax, dword [ebp - 0x28]
pop edi
mov dword [esi + 0x10], eax
mov al, 1
mov byte [esi + 0x14], 0
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
shl ecx, 2
mov dword [esi + 0xc], ecx
movzx eax, byte [edx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
mov eax, dword [esi]
shl ecx, 2
mov dword [esi + 0x10], ecx
mov dword [ebp - 0x20], eax
cmp eax, 0x1e
je 0x10120caa
cmp eax, 0x1f
je 0x10120caa
mov dword [esi + 0x14], 0
xor ebx, ebx
mov ecx, edx
mov dword [ebp - 0x24], edx
jmp 0x10120cf9
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x14], ecx
mov ecx, edx
mov dword [ebp - 0x24], ecx
movzx eax, byte [ecx - 2]
shl ax, 8
movsx ebx, ax
movzx eax, byte [ecx - 1]
or ebx, eax
mov eax, dword [ebp - 0x20]
shl ebx, 0x10
mov dword [esi + 0x18], ebx
cmp eax, 0x1d
je 0x10120d0d
mov ecx, dword [ebp - 0x24]
cmp eax, 0x1f
jne 0x10120dc8
cmp ecx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx ebx, byte [edx]
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
cmp dword [ebp - 0x20], 0x1d
jne 0x10120d7e
lea eax, [ebp - 0x1c]
push eax
push 2
push ebx
push edi
push dword [ebp - 0x2c]
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
lea eax, [ecx + eax*4]
mov dword [esi + 0x10], eax
cmp dword [esi], 0x1f
jne 0x10120dc8
lea eax, [ebp - 0x1c]
push eax
push 4
push ebx
push edi
push dword [ebp - 0x2c]
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
lea eax, [ecx + eax*4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x14], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x10
add dword [esi + 0x18], eax
pop edi
mov dword [esi], 0x1c
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
add edx, 2
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 2
mov dword [esi + 0xc], ecx
cmp ebx, 0x1a
je 0x10120e38
cmp ebx, 0x1b
je 0x10120e38
mov dword [esi + 0x10], 0
xor ecx, ecx
mov ebx, edx
jmp 0x10120e81
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
mov ebx, edx
shl ecx, 0x10
mov dword [esi + 0x10], ecx
movzx eax, byte [ebx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx - 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x14], ecx
mov eax, dword [esi]
cmp eax, 0x19
je 0x10120e94
cmp eax, 0x1b
jne 0x10120f27
cmp ebx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx ecx, byte [edx]
mov ebx, 3
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
xor edx, edx
or ecx, eax
mov eax, dword [esi]
cmp eax, 0x1b
cmovne ebx, edx
cmp eax, 0x19
jne 0x10120ee5
lea ebx, [edx + 1]
jmp 0x10120eea
cmp eax, 0x1b
jne 0x10120f27
lea eax, [ebp - 0x1c]
push eax
push ebx
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [esi + 0xc], eax
cmp ebx, 3
jne 0x10120f27
mov eax, dword [ebp - 0x18]
shl eax, 0x10
add dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x14], eax
pop edi
mov dword [esi], 0x18
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov byte [esi + 8], 0
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
add edx, 4
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0xc], ecx
movzx eax, byte [edx - 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx - 1]
or ecx, eax
shl ecx, 0x10
cmp dword [esi], 0xf
mov dword [esi + 0x10], ecx
jne 0x10121001
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 2
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov eax, dword [ebp - 0x1c]
shl eax, 0x10
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
add dword [esi + 0x10], eax
pop edi
mov dword [esi], 0xe
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x28]
mov dword [esi + 4], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
mov byte [esi + 8], 0
push eax
push dword [ebp - 0x34]
push edi
call fcn.1011fde0
add esp, 0x10
test al, al
je 0x1012168f
mov edx, dword [ebp - 0x28]
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xffffffe8
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx ecx, byte [edx]
lea ebx, [edx + 0x18]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
mov dword [esi + 0xc], ecx
movzx eax, byte [edx + 4]
movzx ecx, byte [edx + 5]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x18], ecx
movzx eax, byte [edx + 8]
movzx ecx, byte [edx + 9]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x10], ecx
movzx eax, byte [edx + 0xc]
movzx ecx, byte [edx + 0xd]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x1c], ecx
movzx ecx, byte [edx + 0x10]
movzx eax, byte [edx + 0x11]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x13]
shl ecx, 8
or ecx, eax
mov dword [esi + 0x14], ecx
movzx ecx, byte [edx + 0x14]
movzx eax, byte [edx + 0x15]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
or ecx, eax
cmp dword [esi], 0xd
mov dword [esi + 0x20], ecx
jne 0x101211a7
cmp ebx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x1012168f
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 6
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov eax, dword [ebp - 0x1c]
add dword [esi + 0xc], eax
mov eax, dword [ebp - 0x18]
add dword [esi + 0x18], eax
mov eax, dword [ebp - 0x14]
add dword [esi + 0x10], eax
mov eax, dword [ebp - 0x10]
add dword [esi + 0x1c], eax
mov eax, dword [ebp - 0xc]
add dword [esi + 0x14], eax
mov eax, dword [ebp - 8]
add dword [esi + 0x20], eax
pop edi
mov dword [esi], 0xc
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x24]
lea eax, [esi + 4]
push eax
push dword [ebp - 0x28]
push edi
call fcn.10120680
add esp, 0x10
test al, al
je 0x1012168f
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffff8
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
lea ebx, [edx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
movzx eax, byte [edx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x1c], ecx
movzx eax, byte [edx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 5]
or ecx, eax
shl ecx, 2
mov dword [esi + 0x20], ecx
movzx eax, byte [edx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 7]
or ecx, eax
shl ecx, 2
cmp byte [ebp - 0x24], 0
mov dword [esi + 0x24], ecx
je 0x101212d3
cmp ebx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x1012168f
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 4
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov eax, dword [ebp - 0x1c]
shl eax, 0x10
add dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
add dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
add dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
shl eax, 2
add dword [esi + 0x24], eax
pop edi
mov dword [esi], 8
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x24]
lea eax, [esi + 4]
push eax
push dword [ebp - 0x28]
push edi
call fcn.10120680
add esp, 0x10
test al, al
je 0x1012168f
mov ebx, dword [ebp - 0x20]
cmp ebx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffff4
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x1012168f
movzx eax, byte [ebx]
lea edx, [ebx + 0xc]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
movzx eax, byte [ebx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x1c], ecx
movzx eax, byte [ebx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 5]
or ecx, eax
mov eax, closesocket
shl ecx, 0x10
test ecx, ecx
cmovs ecx, eax
mov dword [esi + 0x20], ecx
movzx eax, byte [ebx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 7]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x24], ecx
movzx eax, byte [ebx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 9]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x28], ecx
movzx eax, byte [ebx + 0xa]
shl ax, 8
movsx ecx, ax
movzx eax, byte [ebx + 0xb]
or ecx, eax
mov eax, closesocket
shl ecx, 0x10
test ecx, ecx
cmovs ecx, eax
cmp byte [ebp - 0x24], 0
mov dword [esi + 0x2c], ecx
je 0x10121457
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 6
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov eax, dword [ebp - 0x1c]
shl eax, 0x10
add dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
add dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x10
add dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
shl eax, 0x10
add dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
shl eax, 0x10
add dword [esi + 0x2c], eax
pop edi
mov dword [esi], 6
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x24]
lea eax, [esi + 4]
push eax
push dword [ebp - 0x28]
push edi
call fcn.10120680
add esp, 0x10
test al, al
je 0x1012168f
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffff4
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
lea ebx, [edx + 0xc]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 1]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x18], ecx
movzx eax, byte [edx + 2]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 3]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x1c], ecx
movzx eax, byte [edx + 4]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 5]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x20], ecx
movzx eax, byte [edx + 6]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 7]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x24], ecx
movzx eax, byte [edx + 8]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 9]
or ecx, eax
shl ecx, 0x10
mov dword [esi + 0x28], ecx
movzx eax, byte [edx + 0xa]
shl ax, 8
movsx ecx, ax
movzx eax, byte [edx + 0xb]
or ecx, eax
shl ecx, 0x10
cmp byte [ebp - 0x24], 0
mov dword [esi + 0x2c], ecx
je 0x101215c7
cmp ebx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x1012168f
movzx eax, byte [ebx]
movzx ecx, byte [ebx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 6
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov eax, dword [ebp - 0x1c]
shl eax, 0x10
add dword [esi + 0x18], eax
mov eax, dword [ebp - 0x18]
shl eax, 0x10
add dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x14]
shl eax, 0x10
add dword [esi + 0x20], eax
mov eax, dword [ebp - 0x10]
shl eax, 0x10
add dword [esi + 0x24], eax
mov eax, dword [ebp - 0xc]
shl eax, 0x10
add dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
shl eax, 0x10
add dword [esi + 0x2c], eax
pop edi
mov dword [esi], 4
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffc
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1012168f
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
add edx, 4
shl cx, 8
or cx, ax
mov word [esi + 4], cx
movzx ecx, byte [edx - 2]
movzx eax, byte [edx - 1]
shl cx, 8
or cx, ax
mov al, byte [ebp - 0x2d]
mov word [esi + 6], cx
cmp al, 3
jne 0x10121676
cmp edx, dword [edi + 0x24]
jb 0x1012168f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1012168f
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
or ecx, eax
lea eax, [ebp - 0x1c]
push eax
push 1
push ecx
push edi
push ebx
call fcn.1011fe50
add esp, 0x14
test al, al
je 0x1012168f
mov ax, word [ebp - 0x1c]
add word [esi + 6], ax
pop edi
mov dword [esi], 2
mov al, 1
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10132a53
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10132a53
mov esp, ebp
pop ebp
ret