Function at 0x10010d50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x2a4
mov eax, dword [0x1002f810]
xor eax, ebp
mov dword [ebp + 0x70], eax
push esi
mov esi, dword [ebp + 0x7c]
push edi
xor edi, edi
cmp dword [esi + 0x18], edi
mov dword [ebp - 0x30], ecx
jne 0x10010d86
cmp dword [esi + 0x1c], edi
jne 0x10010d86
mov byte [esi], 1
mov eax, 0x80004005
jmp 0x1001182b
lea eax, [ebp - 0x94]
push eax
push str.DisplayDeviceMode
push 5
call fcn.10016055
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x64]
push eax
push dword [esi + 0x14]
call fcn.10002f11
test eax, eax
je 0x10010d79
test byte [esi + 0x10], 3
push ebx
setne bl
test bl, bl
je 0x10010dcb
cmp dword [ebp - 0x64], edi
je 0x10010dc3
cmp dword [ebp - 0x64], 1
jne 0x10010dcb
mov byte [esi], 1
jmp 0x10010e64
push 0xc
pop edi
push edi
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.10016e50
push edi
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.10016e50
mov ecx, dword [ebp - 0x30]
add esp, 0x18
lea eax, [ebp - 0x8c]
push eax
push 2
push dword [esi + 0x18]
call fcn.100123b8
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0x80]
push eax
push 2
push dword [esi + 0x1c]
call fcn.100123b8
cmp dword [ebp - 0x64], 2
mov dword [ebp - 0x84], eax
je 0x10010e4e
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x64]
call fcn.1000ae6e
test eax, eax
je 0x10010e4e
mov ecx, dword [ebp - 0x30]
push esi
call fcn.1001003d
jmp 0x1001182a
mov eax, dword [0x1002f424]
add eax, 0x48
push eax
call fcn.1001985b
test eax, eax
pop ecx
mov dword [ebp - 0x34], eax
jne 0x10010e6e
mov eax, 0x80004005
jmp 0x1001182a
mov eax, dword [0x1002f424]
add eax, 0x48
push eax
push 0
push dword [ebp - 0x34]
call fcn.10016e50
mov eax, dword [ebp - 0x34]
mov dword [eax], 0xa
mov ecx, dword [ebp - 0x64]
mov dword [eax + 8], ecx
mov ecx, dword [0x1002f424]
mov dword [eax + 0x34], ecx
mov ecx, dword [esi + 0x10]
add esp, 0xc
test bl, bl
mov dword [eax + 4], ecx
je 0x10010ee0
mov cx, word [esi + 0x28]
mov word [eax + 0x24], cx
mov cx, word [esi + 0x2a]
mov word [eax + 0x26], cx
mov cx, word [esi + 0x2c]
mov word [eax + 0x2a], cx
mov cx, word [esi + 0x2e]
mov word [eax + 0x28], cx
mov dword [eax + 4], 1
mov cl, byte [esi + 0x10]
and cl, 1
neg cl
sbb ecx, ecx
and ecx, 0xfffffffe
add ecx, 5
mov dword [eax + 4], ecx
mov eax, dword [ebp - 0x34]
push edi
lea ecx, [ebp - 0x90]
add eax, 0xc
push ecx
push eax
call fcn.10016ee0
add esp, 0xc
cmp dword [ebp - 0x64], 2
je 0x10010f03
cmp dword [ebp - 0x64], 3
jne 0x10010f1a
push edi
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x34]
add eax, 0x18
push eax
call fcn.10016ee0
add esp, 0xc
test bl, bl
jne 0x10010f36
cmp dword [ebp - 0x64], 3
jne 0x10010f36
mov ebx, dword [ebp - 0x30]
push 0
push esi
push dword [ebp - 0x34]
mov ecx, ebx
call fcn.1000c936
jmp 0x10010f45
mov ecx, dword [ebp - 0x30]
push esi
push dword [ebp - 0x34]
call fcn.1000aedc
mov ebx, dword [ebp - 0x30]
mov edi, eax
test edi, edi
jge 0x10010f5e
push dword [ebp - 0x34]
call fcn.1001977e
pop ecx
mov byte [esi], 1
mov eax, edi
jmp 0x1001182a
lea eax, [ebp - 0x6c]
push eax
push esi
mov ecx, ebx
call fcn.1000b092
and word [esi + 0x3c], 0
cmp dword [esi + 0x14], 8
jne 0x10010f81
cmp dword [esi + 0x10], 1
mov ecx, dword [0x10030d0c]
je 0x10010f84
mov ecx, dword [ebx + 0x20]
test ecx, ecx
je 0x10010f8f
call fcn.10001054
jmp 0x10010f91
xor eax, eax
push eax
mov ecx, ebx
call fcn.100049ef
mov ecx, dword [ebx + 0x20]
test ecx, ecx
mov dword [ebp - 0x44], eax
je 0x10010faa
call fcn.10001054
jmp 0x10010fac
xor eax, eax
lea ecx, [ebp - 0x54]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push eax
mov ecx, ebx
call fcn.1000af0b
push dword [esi + 0x18]
mov ecx, ebx
call fcn.100033bc
cmp eax, 1
je 0x10010fde
push dword [esi + 0x1c]
mov ecx, ebx
call fcn.100033bc
cmp eax, 1
jne 0x10010fec
mov dword [ebp - 0x60], 0x280
mov dword [ebp - 0x5c], 0x1e0
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 0x34]
shr eax, 4
cmp dword [ebp - 0x44], 0
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x3c], 0x800
mov dword [ebp - 0x38], 0x600
mov dword [ebp - 0x4c], 0x78
je 0x1001117b
test byte [esi + 0x10], 1
je 0x1001102a
mov eax, dword [ebp - 0x34]
lea edi, [eax + 0x18]
add eax, 0xc
mov ebx, eax
jmp 0x10011033
mov ebx, dword [ebp - 0x34]
lea edi, [ebx + 0xc]
add ebx, 0x18
push dword [edi + 4]
mov ecx, dword [ebp - 0x30]
call fcn.1001208b
test eax, eax
je 0x1001107c
movzx edx, word [eax + 0x20]
movzx ecx, word [eax + 0x22]
test cx, cx
mov dword [ebp - 0x38], edx
movzx edx, word [eax + 0x24]
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x4c], edx
je 0x10011068
cmp word [ebp - 0x38], 0
je 0x10011068
test dx, dx
jne 0x1001107c
movzx ecx, word [eax + 2]
mov dword [ebp - 0x3c], ecx
movzx ecx, word [eax]
movzx eax, word [eax + 4]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x4c], eax
cmp dword [edi], 1
jbe 0x100110f1
push dword [edi + 8]
mov ecx, dword [ebp - 0x30]
call fcn.1001208b
test eax, eax
je 0x100110f1
movzx ecx, word [eax + 0x22]
cmp word [ebp - 0x3c], cx
jbe 0x100110af
test cx, cx
jne 0x100110a9
movzx ecx, word [eax + 2]
cmp word [ebp - 0x3c], cx
jbe 0x100110af
movzx ecx, cx
mov dword [ebp - 0x3c], ecx
movzx ecx, word [eax + 0x20]
cmp word [ebp - 0x38], cx
jbe 0x100110cd
test cx, cx
jne 0x100110c7
movzx ecx, word [eax]
cmp word [ebp - 0x38], cx
jbe 0x100110cd
movzx ecx, cx
mov dword [ebp - 0x38], ecx
movzx ecx, word [eax + 0x24]
cmp word [ebp - 0x4c], cx
jbe 0x100110f1
test cx, cx
je 0x100110e1
movzx eax, cx
jmp 0x100110ee
movzx eax, word [eax + 4]
cmp word [ebp - 0x4c], ax
jbe 0x100110f1
movzx eax, ax
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x34]
cmp dword [eax + 8], 2
jne 0x1001115b
push dword [ebx + 4]
mov ecx, dword [ebp - 0x30]
call fcn.1001208b
test eax, eax
je 0x10011128
movzx ecx, word [eax + 2]
cmp cx, word [ebp - 0x3c]
jbe 0x10011119
movzx ecx, cx
mov dword [ebp - 0x3c], ecx
movzx eax, word [eax]
cmp ax, word [ebp - 0x38]
jbe 0x10011128
movzx eax, ax
mov dword [ebp - 0x38], eax
cmp dword [ebx], 1
jbe 0x1001115b
push dword [ebx + 8]
mov ecx, dword [ebp - 0x30]
call fcn.1001208b
test eax, eax
je 0x1001115b
movzx ecx, word [eax + 2]
cmp cx, word [ebp - 0x3c]
jbe 0x1001114c
movzx ecx, cx
mov dword [ebp - 0x3c], ecx
movzx eax, word [eax]
cmp ax, word [ebp - 0x38]
jbe 0x1001115b
movzx eax, ax
mov dword [ebp - 0x38], eax
movzx eax, word [ebp - 0x3c]
cmp eax, dword [ebp - 0x60]
jb 0x1001116d
movzx eax, word [ebp - 0x38]
cmp eax, dword [ebp - 0x5c]
jae 0x1001117b
mov dword [ebp - 0x60], 0x280
mov dword [ebp - 0x5c], 0x1e0
mov eax, dword [ebp - 0x6c]
and eax, 0xf0
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x34]
je 0x10011299
mov ecx, dword [ebp - 0x68]
add eax, 0x38
test ecx, ecx
jle 0x10011349
mov dword [ebp - 0x50], ecx
movzx edx, word [eax]
movzx ecx, dx
cmp ecx, dword [ebp - 0x60]
jb 0x10011288
movzx edi, word [eax + 2]
movzx ecx, di
cmp ecx, dword [ebp - 0x5c]
jb 0x10011288
movzx ecx, word [eax + 4]
movzx ecx, cx
cmp ecx, dword [ebp - 0x54]
jb 0x10011288
cmp dword [ebp - 0x44], 0
je 0x100111f7
cmp dx, word [ebp - 0x3c]
ja 0x10011288
cmp di, word [ebp - 0x38]
ja 0x10011288
mov cx, word [eax + 6]
cmp cx, word [ebp - 0x4c]
ja 0x10011288
movzx edx, word [esi + 0x3c]
test dx, dx
je 0x10011233
and dword [ebp - 0x58], 0
test dx, dx
jbe 0x10011233
lea ecx, [esi + 0x40]
movzx ebx, word [eax + 4]
cmp word [ecx + 6], bx
jne 0x10011224
movzx ebx, word [eax]
cmp word [ecx], bx
jne 0x10011224
cmp word [ecx + 2], di
je 0x10011288
movzx ebx, word [esi + 0x3c]
inc dword [ebp - 0x58]
add ecx, 0x14
cmp dword [ebp - 0x58], ebx
jl 0x1001120c
movzx ecx, dx
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x44], 0x3c
movzx ecx, word [esi + 0x3c]
mov dx, word [eax + 4]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x46], dx
movzx ecx, word [esi + 0x3c]
mov dx, word [eax]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x40], dx
movzx ecx, word [esi + 0x3c]
mov dx, word [eax + 2]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x42], dx
movzx edx, word [esi + 0x3c]
movzx ecx, byte [eax + 8]
add edx, 4
imul edx, edx, 0x14
and ecx, 1
mov word [edx + esi], cx
inc word [esi + 0x3c]
add eax, 0x10
dec dword [ebp - 0x50]
jne 0x100111a0
jmp 0x10011349
mov edi, dword [ebp - 0x68]
add eax, 0x38
test edi, edi
jle 0x10011349
movzx edx, word [eax]
movzx ecx, dx
cmp ecx, dword [ebp - 0x60]
jb 0x1001133f
movzx ecx, word [eax + 2]
movzx ebx, cx
cmp ebx, dword [ebp - 0x5c]
jb 0x1001133f
movzx ebx, word [eax + 4]
cmp ebx, dword [ebp - 0x54]
jb 0x1001133f
cmp dword [ebp - 0x44], 0
je 0x100112e7
cmp dx, word [ebp - 0x3c]
ja 0x1001133f
cmp cx, word [ebp - 0x38]
ja 0x1001133f
mov cx, word [eax + 6]
cmp cx, word [ebp - 0x4c]
ja 0x1001133f
movzx ecx, word [esi + 0x3c]
mov dx, word [eax + 6]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x44], dx
movzx ecx, word [esi + 0x3c]
mov dx, word [eax + 4]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x46], dx
movzx ecx, word [esi + 0x3c]
mov dx, word [eax]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x40], dx
movzx ecx, word [esi + 0x3c]
mov dx, word [eax + 2]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x42], dx
movzx edx, word [esi + 0x3c]
movzx ecx, byte [eax + 8]
add edx, 4
imul edx, edx, 0x14
and ecx, 1
mov word [edx + esi], cx
inc word [esi + 0x3c]
add eax, 0x10
dec edi
jne 0x100112a7
cmp word [esi + 0x3c], 0
jne 0x1001159e
and dword [ebp - 0x58], 0
lea eax, [ebp - 0x58]
push eax
push str.SoftwareIntelDisplayigfxcuiigfxdev
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x100113d8
cmp dword [ebp - 0x58], eax
je 0x100113d8
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push 4
pop ebx
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push str.MaxSuppXX
push dword [ebp - 0x58]
mov dword [ebp - 0x48], ebx
call edi
test eax, eax
jne 0x100113a8
cmp dword [ebp - 0x50], ebx
jne 0x100113a8
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push str.MaxSuppYY
push dword [ebp - 0x58]
call edi
test eax, eax
jne 0x100113cf
cmp dword [ebp - 0x50], ebx
jne 0x100113cf
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x5c], eax
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x68]
add eax, 0x38
cmp dword [ebp - 0x70], 0
je 0x100114ef
test ecx, ecx
jle 0x1001159e
mov dword [ebp - 0x48], ecx
movzx edx, word [eax]
movzx ecx, dx
cmp ecx, dword [ebp - 0x60]
jb 0x100114de
movzx edi, word [eax + 2]
movzx ecx, di
cmp ecx, dword [ebp - 0x5c]
jb 0x100114de
movzx ecx, word [eax + 4]
movzx ecx, cx
cmp ecx, dword [ebp - 0x54]
jb 0x100114de
cmp dword [ebp - 0x44], 0
je 0x1001144d
cmp dx, word [ebp - 0x3c]
ja 0x100114de
cmp di, word [ebp - 0x38]
ja 0x100114de
mov cx, word [ebp - 0x4c]
cmp word [eax + 6], cx
ja 0x100114de
movzx edx, word [esi + 0x3c]
test dx, dx
je 0x10011489
and dword [ebp - 0x50], 0
test dx, dx
jbe 0x10011489
lea ecx, [esi + 0x40]
movzx ebx, word [eax + 4]
cmp word [ecx + 6], bx
jne 0x1001147a
movzx ebx, word [eax]
cmp word [ecx], bx
jne 0x1001147a
cmp word [ecx + 2], di
je 0x100114de
movzx ebx, word [esi + 0x3c]
inc dword [ebp - 0x50]
add ecx, 0x14
cmp dword [ebp - 0x50], ebx
jl 0x10011462
movzx ecx, dx
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x44], 0x3c
movzx ecx, word [esi + 0x3c]
mov dx, word [eax + 4]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x46], dx
movzx ecx, word [esi + 0x3c]
mov dx, word [eax]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x40], dx
movzx ecx, word [esi + 0x3c]
mov dx, word [eax + 2]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x42], dx
movzx edx, word [esi + 0x3c]
movzx ecx, byte [eax + 8]
add edx, 4
imul edx, edx, 0x14
and ecx, 1
mov word [edx + esi], cx
inc word [esi + 0x3c]
add eax, 0x10
dec dword [ebp - 0x48]
jne 0x100113f6
jmp 0x1001159e
test ecx, ecx
jle 0x1001159e
mov dword [ebp - 0x48], ecx
movzx edx, word [eax]
movzx ecx, dx
cmp ecx, dword [ebp - 0x60]
jb 0x10011592
movzx ecx, word [eax + 2]
movzx edi, cx
cmp edi, dword [ebp - 0x5c]
jb 0x10011592
movzx edi, word [eax + 4]
cmp edi, dword [ebp - 0x54]
jb 0x10011592
cmp dword [ebp - 0x44], 0
je 0x1001153a
cmp dx, word [ebp - 0x3c]
ja 0x10011592
cmp cx, word [ebp - 0x38]
ja 0x10011592
mov cx, word [ebp - 0x4c]
cmp word [eax + 6], cx
ja 0x10011592
movzx ecx, word [esi + 0x3c]
mov dx, word [eax + 6]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x44], dx
movzx ecx, word [esi + 0x3c]
mov dx, word [eax + 4]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x46], dx
movzx ecx, word [esi + 0x3c]
mov dx, word [eax]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x40], dx
movzx ecx, word [esi + 0x3c]
mov dx, word [eax + 2]
imul ecx, ecx, 0x14
mov word [ecx + esi + 0x42], dx
movzx edx, word [esi + 0x3c]
movzx ecx, byte [eax + 8]
add edx, 4
imul edx, edx, 0x14
and ecx, 1
mov word [edx + esi], cx
inc word [esi + 0x3c]
add eax, 0x10
dec dword [ebp - 0x48]
jne 0x100114fa
push dword [ebp - 0x34]
call fcn.1001977e
push 0x1c
xor ebx, ebx
lea eax, [ebp - 0xb0]
push ebx
push eax
xor edi, edi
call fcn.10016e50
mov eax, dword [ebp - 0x6c]
push 0x18
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xc8]
push ebx
push eax
call fcn.10016e50
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0xb8], eax
add esp, 0x1c
lea eax, [ebp - 0xb0]
push eax
call fcn.10009612
test eax, eax
jl 0x10011828
cmp dword [ebp - 0x9c], ebx
je 0x10011828
mov ecx, dword [ebp - 0x30]
lea eax, [ebp - 0xc8]
push eax
call fcn.10002c4c
test eax, eax
jl 0x10011828
cmp byte [ebp - 0xb4], 0
je 0x10011828
cmp dword [ebp - 0x98], 1
je 0x10011636
cmp dword [ebp - 0x98], 4
jne 0x10011639
xor edi, edi
inc edi
mov ecx, dword [ebp - 0x30]
call fcn.10004ea2
test eax, eax
je 0x10011752
cmp edi, ebx
je 0x10011828
push 0x168
lea eax, [ebp - 0x230]
push ebx
push eax
call fcn.10016e50
mov ecx, dword [ebp - 0x30]
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
call fcn.1000bd2e
test byte [esi + 0x10], 1
mov byte [ebp - 0x3d], 0
je 0x10011684
mov eax, dword [esi + 0x1c]
jmp 0x10011687
mov eax, dword [esi + 0x18]
cmp dword [ebp - 0x218], eax
je 0x10011697
cmp dword [ebp - 0x1d4], eax
jne 0x1001169b
mov byte [ebp - 0x3d], 1
cmp word [esi + 0x3c], bx
mov dword [ebp - 0x44], ebx
jbe 0x10011828
lea edi, [esi + 0x42]
push 0x9c
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.10016e50
movzx eax, word [edi + 4]
mov dword [ebp + 0x3c], eax
movzx eax, word [edi]
mov dword [ebp + 0x40], eax
lea ebx, [edi - 2]
movzx eax, word [ebx]
mov dword [ebp + 0x44], eax
movzx eax, word [edi + 2]
add esp, 0xc
test eax, eax
mov word [ebp - 8], 0x9c
mov dword [ebp - 4], 0x1c0000
mov dword [ebp + 0x4c], eax
je 0x100116f3
mov dword [ebp - 4], 0x5c0000
cmp byte [ebp - 0x3d], 0
je 0x1001172e
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x1001170a
call fcn.10001054
jmp 0x1001170c
xor eax, eax
push 2
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.100032b8
add esp, 0xc
test eax, eax
je 0x1001172e
push 0x14
push 0
push ebx
call fcn.10016e50
add esp, 0xc
jmp 0x1001173a
movzx eax, word [ebx]
mov cx, word [edi]
mov word [ebx], cx
mov word [edi], ax
movzx eax, word [esi + 0x3c]
inc dword [ebp - 0x44]
add edi, 0x14
cmp dword [ebp - 0x44], eax
jl 0x100116ab
jmp 0x10011828
movzx eax, word [esi + 0x3c]
cmp eax, ebx
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x44], ebx
jle 0x10011820
imul eax, eax, 0x14
lea ebx, [eax + esi + 0x46]
lea edi, [esi + 0x46]
cmp dword [ebp - 0x54], 0x3e8
jge 0x10011820
push 0x9c
lea eax, [ebp - 0x2c]
push 0
push eax
call fcn.10016e50
movzx eax, word [edi]
mov dword [ebp + 0x3c], eax
movzx eax, word [edi - 4]
mov dword [ebp + 0x40], eax
movzx eax, word [edi - 6]
mov dword [ebp + 0x44], eax
movzx eax, word [edi - 2]
add esp, 0xc
test eax, eax
mov word [ebp - 8], 0x9c
mov dword [ebp - 4], 0x1c0000
mov dword [ebp + 0x4c], eax
je 0x100117c4
mov dword [ebp - 4], 0x5c0000
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x100117d5
call fcn.10001054
jmp 0x100117d7
xor eax, eax
push 2
lea ecx, [ebp - 0x2c]
push ecx
push eax
call fcn.100032b8
add esp, 0xc
test eax, eax
jne 0x1001180e
mov ax, word [edi - 2]
inc dword [ebp - 0x54]
mov word [ebx - 2], ax
mov ax, word [edi]
mov word [ebx], ax
mov ax, word [edi - 4]
mov word [ebx - 6], ax
mov ax, word [edi - 6]
mov word [ebx - 4], ax
add ebx, 0x14
inc dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
add edi, 0x14
cmp eax, dword [ebp - 0x48]
jl 0x10011771
mov ax, word [ebp - 0x54]
mov word [esi + 0x3c], ax
xor eax, eax
pop ebx
mov ecx, dword [ebp + 0x70]
pop edi
xor ecx, ebp
pop esi
call fcn.10016eca
add ebp, 0x74
leave
ret 4