Function at 0x10130790
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x102b5040]
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 0x1013173f
test edi, edi
je 0x1013173f
mov edx, dword [edi + 0x48]
test edx, edx
je 0x1013173f
cmp ecx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, edx
cmp ecx, eax
ja 0x1013173f
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 0x1013173f
cmp al, 1
jne 0x101308a2
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffb
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1013173f
movzx ebx, byte [edx]
cmp ebx, dword [edi + 0x18]
ja 0x1013173f
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 0x1013173f
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.101412b5
mov esp, ebp
pop ebp
ret
cmp al, 2
je 0x10131690
cmp al, 3
je 0x10131690
cmp al, 0xb
jne 0x101308f2
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1013173f
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.101412b5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
push ecx
push edi
call fcn.1012fe90
add esp, 0x10
test al, al
je 0x1013173f
mov ebx, dword [esi]
cmp ebx, 4
je 0x10131520
cmp ebx, 5
sete byte [ebp - 0x24]
je 0x10131520
cmp ebx, 6
je 0x1013139c
cmp ebx, 7
sete byte [ebp - 0x24]
je 0x1013139c
cmp ebx, 8
je 0x10131270
cmp ebx, 9
sete byte [ebp - 0x24]
je 0x10131270
cmp ebx, 0xa
jne 0x1013099e
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1013173f
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.101412b5
mov esp, ebp
pop ebp
ret
cmp ebx, 0xc
je 0x101310ca
cmp ebx, 0xd
je 0x101310ca
cmp ebx, 0xe
je 0x10130ff0
cmp ebx, 0xf
je 0x10130ff0
lea eax, [ebx - 0x10]
cmp eax, 7
ja 0x10130c28
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 0x1013173f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1013173f
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 0x10130a27
cmp ebx, 0x11
je 0x10130a27
cmp ebx, 0x12
je 0x10130a27
cmp ebx, 0x13
je 0x10130a27
mov dword [esi + 0x10], ecx
jmp 0x10130a64
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffe
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1013173f
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 0x10130a79
cmp ebx, 0x13
je 0x10130a79
cmp ebx, 0x16
je 0x10130a79
cmp ebx, 0x17
je 0x10130a79
mov dword [esi + 0x14], 0
xor ecx, ecx
jmp 0x10130ac6
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffc
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1013173f
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 0x10130ae1
cmp ebx, 0x13
je 0x10130ae1
cmp ebx, 0x15
je 0x10130ae1
cmp ebx, 0x17
jne 0x10130c0f
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffc
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1013173f
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 0x10130b52
lea eax, [ebp - 0x1c]
push eax
push 2
push ecx
push edi
push ebx
call fcn.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
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 0x10130b9a
lea eax, [ebp - 0x1c]
push eax
push 4
push ecx
push edi
push ebx
call fcn.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
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 0x10130bcd
lea eax, [ebp - 0x1c]
push eax
push 1
push ebx
push edi
push dword [ebp - 0x2c]
call fcn.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
mov eax, dword [ebp - 0x1c]
lea ecx, [eax*4]
add dword [esi + 0xc], ecx
add dword [esi + 0x10], ecx
cmp dword [esi], 0x17
jne 0x10130c0f
lea eax, [ebp - 0x1c]
push eax
push 3
push ebx
push edi
push dword [ebp - 0x2c]
call fcn.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
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.101412b5
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi]
cmp ebx, 0x18
je 0x10130e91
cmp ebx, 0x1a
je 0x10130e91
cmp ebx, 0x19
je 0x10130e91
cmp ebx, 0x1b
je 0x10130e91
cmp ebx, 0x1c
je 0x10130ce4
cmp ebx, 0x1d
je 0x10130ce4
cmp ebx, 0x1e
je 0x10130ce4
cmp ebx, 0x1f
je 0x10130ce4
cmp ebx, 0x20
jne 0x1013173f
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 0x1013173f
mov eax, dword [edi + 0x48]
dec eax
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
movzx eax, byte [edx]
inc edx
mov dword [ebp - 0x20], edx
cmp eax, 0x1c
jae 0x1013173f
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.1012fe90
add esp, 0x10
test al, al
je 0x1013173f
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.101412b5
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 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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 0x10130d5a
cmp eax, 0x1f
je 0x10130d5a
mov dword [esi + 0x14], 0
xor ebx, ebx
mov ecx, edx
mov dword [ebp - 0x24], edx
jmp 0x10130da9
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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 0x10130dbd
mov ecx, dword [ebp - 0x24]
cmp eax, 0x1f
jne 0x10130e78
cmp ecx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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 0x10130e2e
lea eax, [ebp - 0x1c]
push eax
push 2
push ebx
push edi
push dword [ebp - 0x2c]
call fcn.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
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 0x10130e78
lea eax, [ebp - 0x1c]
push eax
push 4
push ebx
push edi
push dword [ebp - 0x2c]
call fcn.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
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.101412b5
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 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffe
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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 0x10130ee8
cmp ebx, 0x1b
je 0x10130ee8
mov dword [esi + 0x10], 0
xor ecx, ecx
mov ebx, edx
jmp 0x10130f31
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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 0x10130f44
cmp eax, 0x1b
jne 0x10130fd7
cmp ebx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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 0x10130f95
lea ebx, [edx + 1]
jmp 0x10130f9a
cmp eax, 0x1b
jne 0x10130fd7
lea eax, [ebp - 0x1c]
push eax
push ebx
push ecx
push edi
push dword [ebp - 0x2c]
call fcn.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp - 0x1c]
lea eax, [ecx + eax*4]
mov dword [esi + 0xc], eax
cmp ebx, 3
jne 0x10130fd7
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.101412b5
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 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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 0x101310b1
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
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.101412b5
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.1012fe90
add esp, 0x10
test al, al
je 0x1013173f
mov edx, dword [ebp - 0x28]
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xffffffe8
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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 0x10131257
cmp ebx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x1013173f
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.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
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.101412b5
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x24]
lea eax, [esi + 4]
push eax
push dword [ebp - 0x28]
push edi
call fcn.10130730
add esp, 0x10
test al, al
je 0x1013173f
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffff8
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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 0x10131383
cmp ebx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x1013173f
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.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
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.101412b5
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x24]
lea eax, [esi + 4]
push eax
push dword [ebp - 0x28]
push edi
call fcn.10130730
add esp, 0x10
test al, al
je 0x1013173f
mov ebx, dword [ebp - 0x20]
cmp ebx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffff4
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x1013173f
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, bind
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, bind
shl ecx, 0x10
test ecx, ecx
cmovs ecx, eax
cmp byte [ebp - 0x24], 0
mov dword [esi + 0x2c], ecx
je 0x10131507
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
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.101412b5
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x24]
lea eax, [esi + 4]
push eax
push dword [ebp - 0x28]
push edi
call fcn.10130730
add esp, 0x10
test al, al
je 0x1013173f
mov edx, dword [ebp - 0x20]
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffff4
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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 0x10131677
cmp ebx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp ebx, eax
ja 0x1013173f
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.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
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.101412b5
mov esp, ebp
pop ebp
ret
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x4c]
add eax, 0xfffffffc
add eax, dword [edi + 0x48]
cmp edx, eax
ja 0x1013173f
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 0x10131726
cmp edx, dword [edi + 0x24]
jb 0x1013173f
mov eax, dword [edi + 0x48]
add eax, 0xfffffffc
add eax, dword [edi + 0x4c]
cmp edx, eax
ja 0x1013173f
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.1012ff00
add esp, 0x14
test al, al
je 0x1013173f
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.101412b5
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.101412b5
mov esp, ebp
pop ebp
ret