Function at 0x10023de0
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102993d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
mov ebx, ecx
mov dword [ebp - 0x28], 0
push esi
push edi
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x28]
mov eax, dword [ebx + 0x2c]
xor esi, esi
push ecx
mov dword [ebp - 0x20], eax
mov edi, edx
mov dword [ebp - 4], esi
push eax
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], esi
call eax
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
js 0x10024257
mov eax, dword [ebx + 0x84]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10023e78
lea ecx, [ebp - 0x14]
mov edx, eax
push ecx
push dword [ebx + 0x80]
mov ecx, dword [ebp - 0x20]
call fcn.10023bb0
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
js 0x1002426f
push dword [ebp - 0x2c]
mov esi, dword [ebp - 0x14]
push esi
push edi
call sym.FreeImage32.dll__FreeImage_CreateICCProfile_12
mov eax, dword [ebx + 0x8c]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x10024025
lea ecx, [ebp - 0x14]
mov edx, eax
push ecx
push dword [ebx + 0x88]
mov ecx, dword [ebp - 0x20]
call fcn.10023bb0
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
js 0x10024287
call sym.FreeImage32.dll__FreeImage_CreateTag_0
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
je 0x10024022
mov ecx, dword [esi]
mov eax, dword [ebp - 0x2c]
mov dword [ecx + 0x10], eax
mov ecx, dword [esi]
mov dword [ecx + 0xc], eax
mov eax, 2
mov ecx, dword [esi]
mov esi, dword [ebp - 0x14]
mov word [ecx + 0xa], ax
test esi, esi
je 0x10023f8e
mov ebx, dword [ebp - 0x1c]
mov ebx, dword [ebx]
movzx ecx, word [ebx + 0xa]
cmp ecx, 0x13
jae 0x10023ef7
mov ecx, dword [ecx*4 + 0x103e9908]
jmp 0x10023ef9
xor ecx, ecx
mov eax, dword [ebx + 0xc]
imul eax, ecx
cmp eax, dword [ebx + 0x10]
jne 0x10023f8b
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x10023f18
push eax
call fcn.10270662
add esp, 4
movzx eax, word [ebx + 0xa]
mov ecx, dword [ebx + 0x10]
sub eax, 2
je 0x10023f43
push ecx
call fcn.102709ea
add esp, 4
mov dword [ebx + 0x14], eax
test eax, eax
je 0x10023f8b
push dword [ebx + 0x10]
push esi
push eax
call fcn.1026c360
add esp, 0xc
jmp 0x10023f8b
lea eax, [ecx + 1]
push eax
call fcn.102709ea
mov ecx, eax
mov dword [ebx + 0x14], eax
add esp, 4
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x10023f8b
mov eax, dword [ebx + 0x10]
xor edx, edx
test eax, eax
je 0x10023f87
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x3c], eax
jmp 0x10023f73
mov eax, dword [ebp - 0x3c]
mov al, byte [eax + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
inc edx
mov eax, dword [ebx + 0x10]
cmp edx, eax
jb 0x10023f70
mov ecx, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dword [ebp - 0x3c], eax
mov eax, dword [eax]
test eax, eax
je 0x10023fa5
push eax
call fcn.10270662
add esp, 4
push 0xa
call fcn.102709ea
mov ecx, dword [ebp - 0x3c]
add esp, 4
mov edx, str.XMLPacket
mov dword [ecx], eax
nop dword [eax]
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax], cl
lea eax, [eax + 1]
test cl, cl
jne 0x10023fc0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
push dword [eax]
push edi
push 7
call sym.FreeImage32.dll__FreeImage_SetMetadata_16
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x2c], ecx
test ecx, ecx
je 0x10024017
push dword [ecx]
call fcn.10270662
mov eax, dword [ebp - 0x2c]
push dword [eax + 4]
call fcn.10270662
mov eax, dword [ebp - 0x2c]
push dword [eax + 0x14]
call fcn.10270662
mov eax, dword [ebp - 0x1c]
push dword [eax]
call fcn.10270662
mov eax, dword [ebp - 0x1c]
add esp, 0x10
push eax
call fcn.10270662
add esp, 4
jmp 0x10024025
mov esi, dword [ebp - 0x14]
mov eax, dword [ebx + 0xa4]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x10024066
lea ecx, [ebp - 0x14]
mov edx, eax
push ecx
push dword [ebx + 0xa0]
mov ecx, dword [ebp - 0x20]
call fcn.10023bb0
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
js 0x1002429f
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x14]
mov ecx, edi
mov edx, esi
call fcn.100660b0
add esp, 4
mov eax, dword [ebx + 0x94]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x100240af
mov esi, dword [ebx + 0x90]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x20]
mov edx, eax
push esi
call fcn.10023bb0
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
js 0x100242b7
push 2
push 0
push esi
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x14]
mov ecx, edi
push 0
mov edx, esi
call fcn.10060320
add esp, 0x14
mov eax, dword [ebx + 0x9c]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x100240f8
mov esi, dword [ebx + 0x98]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x20]
mov edx, eax
push esi
call fcn.10023bb0
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
js 0x100242cf
push 3
push 0
push esi
push dword [ebp - 0x3c]
mov esi, dword [ebp - 0x14]
mov ecx, edi
push 0
mov edx, esi
call fcn.10060320
add esp, 0x14
push esi
call fcn.10270662
mov eax, dword [ebx + 0x2c]
push dword [ebp - 0x28]
push eax
mov eax, dword [eax + 0x24]
call eax
add esp, 0xc
mov dword [ebp - 0x18], eax
test eax, eax
js 0x100242e7
lea esi, [ebx + 0x10240]
mov ecx, 0x10e
push edi
mov edx, esi
call fcn.10023c10
add esp, 4
lea edx, [esi + 8]
mov ecx, 0x10f
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x10]
mov ecx, 0x110
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x18]
mov ecx, 0x131
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x20]
mov ecx, 0x132
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x28]
mov ecx, 0x13b
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x30]
mov ecx, 0x8298
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x38]
mov ecx, 0x4746
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x40]
mov ecx, 0x4749
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x48]
mov ecx, 0x9c9b
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x50]
mov ecx, 0x10d
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x58]
mov ecx, 0x11d
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x60]
mov ecx, 0x129
push edi
call fcn.10023c10
add esp, 4
lea edx, [esi + 0x68]
mov ecx, 0x13c
push edi
call fcn.10023c10
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, eax
call fcn.10023880
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x30]
push 0x104031a4
push eax
call fcn.1026cad5
mov ecx, eax
call fcn.10023880
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x34]
push 0x104031a4
push eax
call fcn.1026cad5
mov ecx, eax
call fcn.10023880
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push 0x104031a4
push eax
call fcn.1026cad5
mov ecx, eax
call fcn.10023880
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push 0x104031a4
push eax
call fcn.1026cad5
mov ecx, eax
call fcn.10023880
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x44]
push 0x104031a4
push eax
call fcn.1026cad5
mov ecx, eax
call fcn.10023880
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x48]
push 0x104031a4
push eax
call fcn.1026cad5
mov ecx, eax
call fcn.10023880
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x4c]
push 0x104031a4
push eax
call fcn.1026cad5
int3