Function at 0x10117c60
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1018432e
mov eax, dword fs:[0]
push eax
sub esp, 0x330
push ebx
push esi
push edi
mov eax, dword [0x101e8118]
xor eax, esp
push eax
lea eax, [esp + 0x340]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
call edx
mov esi, dword [ebp + 0xc]
mov ecx, 0xc1
lea edi, [esp + 0x34]
mov dword [esp + 0x30], eax
mov dword [esp + 0x24], 0
rep movsd dword es:[edi], dword [esi]
mov byte [esp + 0x13], 1
lea ecx, [ecx]
mov esi, dword [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
push 1
lea ecx, [esp + 0x2b]
push ecx
mov ecx, esi
call edx
cmp eax, 1
jne 0x10117f04
cmp byte [esp + 0x13], 0
mov al, byte [esp + 0x23]
jne 0x10117ced
test al, al
jne 0x10117cc0
cmp al, 0x21
je 0x10117ef7
cmp al, 0x2c
je 0x10117d0a
cmp al, 0x3b
je 0x10117f04
test al, al
sete byte [esp + 0x13]
jmp 0x10117cc0
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 1
push 9
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call edx
movzx cx, byte [esp + 0x15]
movzx eax, byte [esp + 0x14]
movzx edx, byte [esp + 0x16]
movzx di, byte [esp + 0x1b]
shl cx, 8
add cx, ax
movzx ax, byte [esp + 0x17]
shl ax, 8
add ax, dx
movzx edx, byte [esp + 0x18]
mov word [esp + 0x16], ax
movzx ax, byte [esp + 0x19]
shl ax, 8
add ax, dx
movzx edx, byte [esp + 0x1a]
shl di, 8
add di, dx
mov word [esp + 0x14], cx
movzx ecx, cx
movzx edx, ax
add edx, ecx
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + 6]
cmp edx, ecx
mov word [esp + 0x18], ax
mov word [esp + 0x1a], di
jg 0x10117cc0
movzx ecx, word [esp + 0x16]
movzx edx, di
add edx, ecx
mov ecx, dword [ebp + 0x10]
movzx ecx, word [ecx + 8]
cmp edx, ecx
jg 0x10117cc0
movzx ecx, byte [esp + 0x1c]
add dword [esp + 0x24], 1
test cl, cl
jns 0x10117de9
mov edx, dword [esi]
mov edx, dword [edx + 8]
and ecx, 7
add ecx, 1
mov eax, 1
shl eax, cl
push 1
lea ecx, [esp + 0x3c]
mov word [esp + 0x3a], ax
movsx eax, ax
lea eax, [eax + eax*2]
push eax
push ecx
mov ecx, esi
call edx
mov di, word [esp + 0x1a]
mov ax, word [esp + 0x18]
mov cx, word [esp + 0x36]
cmp cx, 2
jg 0x10117dfb
mov ecx, 1
jmp 0x10117e0d
xor edx, edx
cmp cx, 0x10
setg dl
lea edx, [edx*4 + 4]
mov ecx, edx
push 2
push ecx
movzx ecx, di
movzx edx, ax
push ecx
push edx
mov ecx, ebx
call sym.tbcore3.DLL_public:_void____thiscall_CxImage::Create_unsigned_long_int__unsigned_long_int__unsigned_long_int__unsigned_long_int_
push 0x18
call fcn.1013b73e
add esp, 4
mov dword [esp + 0x2c], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x348], edi
je 0x10117e44
push ebx
mov ecx, eax
call fcn.10111260
mov edi, eax
mov ecx, edi
mov dword [esp + 0x348], 0xffffffff
call fcn.10115bc0
movzx ecx, byte [esp + 0x1c]
movzx edx, word [esp + 0x1a]
xor eax, eax
and ecx, 0x40
mov dword [ebx + 0x1d4], ecx
mov dword [ebx + 0x1e0], edx
mov dword [esp + 0x28], eax
mov dword [ebx + 0x1e8], 0x4000
mov dword [ebx + 0x1dc], 8
mov dword [ebx + 0x1d8], eax
mov dword [ebx + 0x1e4], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, esi
call edx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x28]
push eax
push ecx
push edi
push esi
mov ecx, ebx
call sym.tbcore3.DLL_protected:_short_int___thiscall_CxImageGIF::decoder_class_CxFile___class_CImageIterator___short_int__int__
push edi
call fcn.10139c4c
add esp, 4
cmp dword [esp + 0x28], 0
je 0x10117ed7
mov edx, dword [esp + 0x2c]
push edx
push esi
mov ecx, ebx
call sym.tbcore3.DLL_protected:_long_int___thiscall_CxImageGIF::seek_next_image_class_CxFile___long_int_
jmp 0x10117cc0
mov ecx, dword [ebx + 0x1e8]
sub ecx, dword [ebx + 0x1ec]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
add ecx, 1
push 1
push ecx
mov ecx, esi
call edx
jmp 0x10117cc0
push esi
mov ecx, ebx
call sym.tbcore3.DLL_protected:_bool___thiscall_CxImageGIF::DecodeExtension_class_CxFile__
jmp 0x10117cc0
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
push 0
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x340]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc