Function at 0x10182f10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x250
mov eax, dword [0x103b9004]
xor eax, esp
mov dword [esp + 0x24c], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [esp + 0x28], eax
mov esi, 0x168
mov eax, dword [esp + 0x60]
push edi
lea edi, [esp + 0x58]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], ecx
mov eax, edi
and eax, 3
mov dword [esp + 0x14], edx
mov ecx, 4
mov dword [esp + 0x1c0], sym.AmindPDFCore.dll_PDSDK_Log
sub ecx, eax
mov dword [esp + 0x1c4], sym.AmindPDFCore.dll_PDSDK_Log
cmp ecx, esi
mov dword [esp + 0x1c8], sym.AmindPDFCore.dll_PDSDK_Log
mov dword [esp + 0x1cc], sym.AmindPDFCore.dll_PDSDK_Log
cmova ecx, esi
mov dword [esp + 0x1d0], sym.AmindPDFCore.dll_PDSDK_Log
sub esi, ecx
mov dword [esp + 0x5c], 0
mov dword [esp + 0x1c], edi
test ecx, ecx
je 0x10182fc7
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea edi, [esp + 0x58]
add edi, edx
mov dword [esp + 0x1c], edi
mov edx, esi
shr edx, 2
test edx, edx
je 0x10182fdd
mov ecx, edx
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x1c]
lea edi, [edi + edx*4]
and esi, 3
je 0x10182ff4
mov ecx, esi
xor eax, eax
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x1c0]
mov byte [esp + 0x68], 0
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x64], eax
call fcn.101ddde0
mov eax, dword [esp + 0x38]
xorps xmm0, xmm0
movups xmmword [esp + 0x9c], xmm0
mov dword [esp + 0x60], 0
movsd xmm0, qword [0x103a6380]
mov ecx, dword [eax + 0x10]
mov dword [esp + 0x70], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xc0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0x1b8], 0
movsd qword [esp + 0x88], xmm0
mov dword [esp + 0x6c], 0x64
mov dword [esp + 0x3c], ecx
cmp ecx, 0x18
jl 0x101830d8
test byte [eax + 0x14], 4
mov ecx, 0
setne cl
add ecx, 3
jmp 0x101830dd
mov ecx, 1
mov edi, dword [eax + 0x18]
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edi
mov edi, dword [eax + 0xc]
mov eax, dword [ebp + 0x14]
test eax, eax
mov dword [esp + 0x24c], 0x400
mov dword [esp + 0x30], ecx
mov dword [esp + 0x1c], edx
lea esi, [eax + 0x15ee]
mov eax, edi
cmove esi, dword [esp + 0x24c]
imul eax, edx
imul eax, ecx
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esi, eax
mov dword [esp + 0x20], esi
je 0x10183137
lea eax, [esi - 1]
cmp eax, 0x7ffffffe
jbe 0x10183152
mov byte [0], 0
mov eax, dword [esp + 0x14]
mov dword [eax], 0
shr esi, 1
je 0x1018313b
test esi, esi
jne 0x1018316c
mov byte [0], 0
jmp 0x1018313b
push esi
call ecx
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x1018318a
mov eax, ecx
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
jmp 0x10183141
push esi
call ecx
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x10183186
mov eax, ecx
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
jmp 0x10183141
mov dword [esp + 0x20], esi
push esi
xor edx, edx
mov ecx, eax
call fcn.100a44c0
mov eax, dword [esp + 0x18]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x4c], sym.AmindPDFCore.dll_PDSDK_Log
mov dword [esp + 0x54], sym.AmindPDFCore.dll_PDSDK_Log
mov eax, dword [eax]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x44]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x50], 0x10182f00
mov dword [esp + 0x48], esi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], eax
cmp eax, 1
jne 0x101831ef
mov dword [esp + 0x80], eax
mov dword [esp + 0xc], 0
jmp 0x10183261
cmp eax, 3
jne 0x10183201
mov dword [esp + 0x80], 2
jmp 0x10183219
mov dword [esp + 0x80], 4
mov dword [esp + 0xc], 0
cmp eax, 1
jbe 0x10183261
imul ecx, eax
test ecx, ecx
je 0x10183a16
lea eax, [ecx - 1]
cmp eax, 0x7ffffffe
jbe 0x10183249
mov byte [0], 0
pop edi
pop esi
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
mov dword [esp + 0xc], edi
test edi, edi
je 0x10183a16
lea ecx, [esp + 0x58]
call fcn.1019fce0
mov edx, dword [ebp + 0xc]
cmp edx, 0x4b
je 0x1018327f
push ecx
lea ecx, [esp + 0x5c]
call fcn.1019fb20
add esp, 4
cmp dword [esp + 0x6c], 0x64
je 0x101832ac
mov eax, dword [esp + 0x58]
mov dword [eax + 0x14], 0x14
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0x18], eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x101832be
mov byte [eax + 0x80], 0
mov eax, dword [esp + 0xa4]
test eax, eax
je 0x101832d0
mov byte [eax + 0x80], 0
mov eax, dword [esp + 0xa8]
test eax, eax
je 0x101832e2
mov byte [eax + 0x80], 0
mov eax, dword [esp + 0xac]
test eax, eax
je 0x101832f4
mov byte [eax + 0x80], 0
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x10183306
mov byte [eax + 0x111], 0
mov eax, dword [esp + 0xc0]
test eax, eax
je 0x10183318
mov byte [eax + 0x111], 0
mov eax, dword [esp + 0xb4]
test eax, eax
je 0x1018332a
mov byte [eax + 0x111], 0
mov eax, dword [esp + 0xc4]
test eax, eax
je 0x1018333c
mov byte [eax + 0x111], 0
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x1018334e
mov byte [eax + 0x111], 0
mov eax, dword [esp + 0xc8]
test eax, eax
je 0x10183360
mov byte [eax + 0x111], 0
mov eax, dword [esp + 0xbc]
test eax, eax
je 0x10183372
mov byte [eax + 0x111], 0
mov eax, dword [esp + 0xcc]
test eax, eax
je 0x10183384
mov byte [eax + 0x111], 0
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax + 0x10]
call eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 8]
call eax
lea ecx, [esp + 0x60]
call fcn.101dedb0
lea eax, [esp + 0x60]
push eax
mov eax, dword [esp + 0x1a0]
mov eax, dword [eax]
call eax
xor eax, eax
mov dword [esp + 0x134], 0
add esp, 0xc
cmp byte [esp + 0x108], al
setne al
add eax, 0x65
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x6c], eax
je 0x1018352c
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x1018352c
mov eax, 0x80088091
mul ecx
mov eax, edx
shr eax, 0xf
mov dword [esp + 0x28], eax
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0xff
ja 0x1018352c
cmp eax, 1
mov edx, 0xffef
cmova ecx, edx
add ecx, 0xe
mov dword [esp + 0x34], ecx
je 0x1018352c
lea eax, [ecx - 1]
cmp eax, 0x7ffffffe
jbe 0x1018343e
mov byte [0], 0
jmp 0x1018352c
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x1018352c
mov ecx, str.ICC_PROFILE
mov esi, edi
or eax, ecx
sub esi, ecx
mov edx, 0xc
test al, 3
jne 0x10183480
mov edx, 3
nop dword [eax + eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
mov dword [esi + ecx - 4], eax
sub edx, 1
jne 0x10183470
jmp 0x1018348e
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
sub edx, 1
jne 0x10183480
mov eax, dword [esp + 0x18]
lea ecx, [edi + 0xe]
mov byte [edi + 0xd], al
xor al, al
cmp dword [esp + 0x28], 0
jbe 0x101834f0
mov esi, dword [esp + 0x34]
xor ecx, ecx
nop word [eax + eax]
inc al
imul edx, ecx, 0xffef
mov byte [esp + 0x13], al
mov byte [edi + 0xc], al
lea eax, [edi + 0xe]
push 0xffef
mov ecx, eax
add edx, dword [esp + 0x30]
call fcn.100a43b0
push esi
push edi
lea ecx, [esp + 0x64]
call fcn.101a0260
mov al, byte [esp + 0x1f]
add esp, 0xc
movzx ecx, al
cmp ecx, dword [esp + 0x28]
jb 0x101834b0
lea ecx, [edi + 0xe]
mov eax, dword [esp + 0x18]
mov esi, dword [ebp + 0x14]
mov edx, dword [esp + 0x2c]
mov byte [edi + 0xc], al
imul eax, dword [esp + 0x28], 0xffef
sub esi, eax
add edx, eax
push esi
call fcn.100a43b0
lea eax, [esi + 0xe]
push eax
push edi
lea ecx, [esp + 0x64]
call fcn.101a0260
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov esi, dword [esp + 0x30]
add esp, 0x10
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x128], eax
jae 0x10183816
lea edi, [esi + 0x100000]
mov dword [esp + 0x18], edi
nop word [eax + eax]
mov ecx, dword [esp + 0x38]
push dword [esp + 0x128]
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
mov esi, eax
mov eax, dword [esp + 0x30]
cmp eax, 1
jbe 0x10183668
mov edi, dword [esp + 0xc]
mov ecx, edi
cmp eax, 3
jne 0x101835c0
cmp dword [esp + 0x1c], 0
jle 0x10183660
mov eax, dword [esp + 0x3c]
add ecx, 2
cdq
and edx, 7
lea edi, [edx + eax]
mov edx, dword [esp + 0x1c]
sar edi, 3
inc esi
nop dword [eax]
mov al, byte [esi + 1]
lea ecx, [ecx + 3]
mov byte [ecx - 5], al
mov al, byte [esi]
mov byte [ecx - 4], al
mov al, byte [esi - 1]
add esi, edi
mov byte [ecx - 3], al
sub edx, 1
jne 0x101835a0
jmp 0x10183660
mov eax, dword [esp + 0x24]
xor edx, edx
test eax, eax
jle 0x10183660
cmp eax, 0x40
jb 0x1018363f
dec edi
add edi, eax
dec eax
add eax, esi
cmp dword [esp + 0xc], eax
ja 0x101835e3
cmp edi, esi
jae 0x1018363b
mov edi, dword [esp + 0x24]
mov eax, edi
and eax, 0x8000003f
jns 0x101835f5
dec eax
or eax, 0xffffffc0
inc eax
movups xmm1, xmmword [0x103a6c60]
sub edi, eax
nop
movups xmm0, xmmword [esi]
add edx, 0x40
pandn xmm0, xmm1
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi + 0x10]
pandn xmm0, xmm1
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esi + 0x20]
pandn xmm0, xmm1
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [esi + 0x30]
add esi, 0x40
pandn xmm0, xmm1
movups xmmword [ecx + 0x30], xmm0
add ecx, 0x40
cmp edx, edi
jl 0x10183600
mov eax, dword [esp + 0x24]
cmp edx, eax
jge 0x10183660
mov edi, eax
sub esi, ecx
sub edi, edx
nop dword [eax]
mov al, byte [esi + ecx]
lea ecx, [ecx + 1]
not al
mov byte [ecx - 1], al
sub edi, 1
jne 0x10183650
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x6c], 0x65
mov eax, dword [esp + 0x128]
mov dword [esp + 0x250], esi
mov esi, 1
mov dword [esp + 0x34], eax
je 0x101836ac
mov eax, dword [esp + 0x58]
mov dword [eax + 0x14], 0x14
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0x18], eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esp + 0x128]
cmp eax, dword [esp + 0x78]
jb 0x101836d7
mov eax, dword [esp + 0x58]
push 0xffffffffffffffff
mov dword [eax + 0x14], 0x7b
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x60]
mov eax, dword [eax + 4]
call eax
add esp, 8
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x10183704
mov eax, dword [esp + 0x128]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x78]
mov dword [ecx + 8], eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
call eax
add esp, 4
mov eax, dword [esp + 0x194]
cmp byte [eax + 0xc], 0
je 0x1018371e
mov eax, dword [eax + 4]
lea ecx, [esp + 0x58]
push ecx
call eax
add esp, 4
mov eax, dword [esp + 0x78]
sub eax, dword [esp + 0x128]
cmp eax, 1
mov dword [esp + 0x24c], 0
cmovb esi, eax
lea eax, [esp + 0x24c]
push esi
push eax
lea eax, [esp + 0x258]
push eax
lea eax, [esp + 0x64]
push eax
mov eax, dword [esp + 0x1a8]
mov eax, dword [eax + 4]
call eax
mov eax, dword [esp + 0x138]
add esp, 0x10
add eax, dword [esp + 0x24c]
mov dword [esp + 0x128], eax
cmp eax, dword [esp + 0x34]
jne 0x10183805
mov esi, dword [esp + 0x14]
mov ecx, dword [esi]
test ecx, ecx
jne 0x101837ac
test edi, edi
je 0x1018379c
lea eax, [edi - 1]
cmp eax, 0x7ffffffe
jbe 0x101837a0
mov byte [0], cl
xor eax, eax
jmp 0x101837cd
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
jmp 0x101837cd
test edi, edi
je 0x10183857
lea eax, [edi - 1]
cmp eax, 0x7ffffffe
ja 0x10183850
push edi
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
mov dword [esi], eax
test eax, eax
je 0x1018385d
mov ecx, dword [esp + 0x48]
add edi, 0x100000
mov edx, dword [esp + 0x20]
sub eax, ecx
add eax, edx
mov dword [esp + 0x18], edi
add edx, 0x100000
mov dword [esp + 0x44], eax
add ecx, 0x100000
mov dword [esp + 0x20], edx
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x128], eax
jb 0x10183550
mov ecx, dword [esp + 0x6c]
cmp ecx, 0x65
je 0x10183887
cmp ecx, 0x66
je 0x10183887
cmp ecx, 0x67
je 0x101838bf
mov eax, dword [esp + 0x58]
mov dword [eax + 0x14], 0x14
mov ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x6c]
mov dword [ecx + 0x18], eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
jmp 0x101838ba
mov byte [0], 0
mov dword [esi], 0
mov eax, dword [esp + 0xc]
test eax, eax
je 0x10183a16
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
pop edi
pop esi
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret
cmp dword [esp + 0x128], eax
jae 0x101838ab
mov eax, dword [esp + 0x58]
mov dword [eax + 0x14], 0x43
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
call eax
add esp, 4
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x198]
mov eax, dword [eax + 8]
call eax
add esp, 4
mov eax, dword [esp + 0x194]
cmp byte [eax + 0xd], 0
jne 0x10183974
mov eax, dword [eax]
lea ecx, [esp + 0x58]
push ecx
call eax
xor esi, esi
add esp, 4
cmp dword [esp + 0x138], esi
jbe 0x1018394f
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10183910
mov dword [eax + 4], esi
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x138]
mov dword [ecx + 8], eax
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x64]
mov eax, dword [eax]
call eax
add esp, 4
lea eax, [esp + 0x58]
push 0
push eax
mov eax, dword [esp + 0x1a8]
mov eax, dword [eax + 4]
call eax
add esp, 8
test al, al
jne 0x10183945
mov eax, dword [esp + 0x58]
mov dword [eax + 0x14], 0x18
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x5c]
mov eax, dword [eax]
call eax
add esp, 4
inc esi
cmp esi, dword [esp + 0x138]
jb 0x101838e7
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x198]
mov eax, dword [eax + 8]
call eax
mov eax, dword [esp + 0x198]
add esp, 4
cmp byte [eax + 0xd], 0
je 0x101838d0
lea eax, [esp + 0x58]
push eax
mov eax, dword [esp + 0x1a8]
mov eax, dword [eax + 0xc]
call eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [esp + 0x78]
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [esp + 0x64]
add esp, 8
test eax, eax
je 0x101839e6
mov eax, dword [eax + 0x24]
lea ecx, [esp + 0x58]
push 1
push ecx
call eax
add esp, 8
cmp byte [esp + 0x68], 0
je 0x101839c9
mov dword [esp + 0x6c], 0xc8
mov dword [esp + 0x164], 0
jmp 0x101839d1
mov dword [esp + 0x6c], 0x64
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x101839e6
mov eax, dword [eax + 0x28]
lea ecx, [esp + 0x58]
push ecx
call eax
add esp, 4
mov eax, dword [esp + 0xc]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x6c], 0
test eax, eax
je 0x10183a08
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
sub eax, dword [esp + 0x48]
mov dword [ecx], eax
mov ecx, dword [esp + 0x254]
pop edi
pop esi
xor ecx, esp
call fcn.101f3fd0
mov esp, ebp
pop ebp
ret