Function at 0x100eb270
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
xor edx, edx
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x661c], 1
mov ecx, 0xe
push esi
mov eax, 0x14
push edi
mov dword [esp + 0x74], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x8c], ecx
lea esi, [ebx + 0xe714]
mov ecx, 0xc
lea edi, [esp + 0xb8]
mov dword [esp + 0x38], 0xa
mov dword [esp + 0x3c], 0x63707274
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0x24
mov dword [esp + 0x48], 0x64657363
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 0x28
mov dword [esp + 0x54], 0x77747074
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], 0x626b7074
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 0x72545243
mov dword [esp + 0x70], edx
mov dword [esp + 0x78], 0x67545243
mov dword [esp + 0x7c], edx
mov dword [esp + 0x84], 0x62545243
mov dword [esp + 0x88], edx
mov dword [esp + 0x90], 0x7258595a
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0x6758595a
mov dword [esp + 0xa0], edx
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0x6258595a
mov dword [esp + 0xac], edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0x34], 0x1000000
rep movsd dword es:[edi], dword [esi]
je 0x100eb39f
cmp dword [ebx + 0x90], edx
jne 0x100eb39f
mov eax, dword [ebx + 0x78]
cmp eax, 1
jl 0x100eb39f
cmp eax, 5
jle 0x100eb3a4
mov edx, 1
or dword [ebx + 0x65d4], edx
jne 0x100eb729
push 1
push 0x400
call fcn.1010d964
push str.convert_to_rgb__
push eax
push ebx
mov dword [ebx + 0x65b0], eax
call fcn.100d80b0
mov edi, dword [ebx + 0x65b0]
mov ecx, 0x14
mov esi, 0x101d0240
add esp, 0x14
rep movsd dword es:[edi], dword [esi]
cmp dword [ebx + 0x78], 5
jne 0x100eb3f5
mov eax, dword [ebx + 0x65b0]
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x10], ecx
mov edx, dword [ebx + 0x65b0]
mov dword [edx], 0xfc
xor ecx, ecx
test ecx, ecx
je 0x100eb41e
xor edx, edx
cmp ecx, 1
setle dl
dec edx
and edx, 0xf3f3e6bd
add edx, 0x64657363
jmp 0x100eb423
mov edx, 0x74657874
mov eax, dword [ebx + 0x65b0]
mov esi, dword [eax]
shr esi, 2
mov dword [eax + esi*4], edx
mov edx, dword [ebx + 0x65b0]
mov esi, dword [edx]
lea eax, [ecx + ecx*2]
add eax, eax
add eax, eax
mov dword [esp + eax + 0x40], esi
mov eax, dword [esp + eax + 0x44]
add eax, 3
and eax, 0xfffffffc
add eax, esi
inc ecx
cmp ecx, dword [esp + 0x38]
mov dword [edx], eax
jl 0x100eb403
mov edi, dword [ebx + 0x65b0]
sub edi, 0xffffff80
mov ecx, 0x1f
lea esi, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0x78]
mov eax, dword [ecx*4 + 0x10282228]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100eb480
mov ecx, dword [ebx + 0x65b0]
sub eax, edx
mov edx, dword [esp + 0x4c]
inc eax
shr edx, 2
mov dword [ecx + edx*4 + 8], eax
mov edx, dword [ebx + 0x65b0]
mov ecx, dword [0x101d0290]
mov eax, dword [esp + 0x58]
lea eax, [eax + edx + 8]
mov dword [eax], ecx
mov edx, dword [0x101d0294]
mov dword [eax + 4], edx
mov ecx, dword [0x101d0298]
mov dword [eax + 8], ecx
cmp dword [ebx + 0x7c], 8
jne 0x100eb4d1
mov dword [esp + 0x34], 0x1f00000
mov eax, dword [ebx + 0x65b0]
add eax, dword [esp + 0x70]
mov edi, dword [esp + 0x34]
mov ecx, 0x63757276
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov esi, 1
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov eax, dword [ebx + 0x65b0]
add eax, dword [esp + 0x7c]
push 3
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov eax, dword [ebx + 0x65b0]
add eax, dword [esp + 0x8c]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax*4 + 0x10282214]
lea edx, [esp + 0xec]
push edx
push ecx
call fcn.100e2530
fldz
fld qword [0x1026bd30]
add esp, 0xc
fld qword [0x1026bd40]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0x101d00d8
lea esi, [esp + 0x94]
lea ecx, [esp + 0xe8]
mov dword [esp + 0x1c], 3
mov eax, dword [esp + 0x10]
fld st(2)
mov edx, 3
fld qword [eax]
add ecx, 8
fmul qword [ecx - 8]
add eax, 8
sub edx, 1
faddp st(1)
jne 0x100eb57f
mov edi, dword [ebx + 0x65b0]
fnstcw word [esp + 0x18]
movzx eax, word [esp + 0x18]
fmul st(2)
or eax, 0xc00
mov dword [esp + 0x20], eax
mov eax, dword [esi]
fadd st(1)
shr eax, 2
fldcw word [esp + 0x20]
add eax, dword [esp + 0x14]
add esi, 0xc
sub dword [esp + 0x1c], 1
fistp qword [esp + 0x20]
mov edx, dword [esp + 0x20]
mov dword [edi + eax*4 + 8], edx
fldcw word [esp + 0x18]
jne 0x100eb574
mov eax, dword [esp + 0x10]
inc dword [esp + 0x14]
add eax, 0x18
cmp eax, 0x101d0120
mov dword [esp + 0x10], eax
jl 0x100eb55e
mov edi, dword [sym.imp.WS2_32.dll_htonl]
fstp st(1)
fstp st(0)
xor esi, esi
fstp st(0)
lea esp, [esp]
mov ecx, dword [ebx + 0x65b0]
mov edx, dword [esi + ecx]
push edx
call edi
mov ecx, dword [ebx + 0x65b0]
mov dword [esi + ecx], eax
add esi, 4
cmp esi, 0x400
jl 0x100eb600
mov edx, dword [ebx + 0x65b0]
mov ecx, dword [str.auto_generated_by_dcraw]
mov eax, dword [esp + 0x40]
lea eax, [eax + edx + 8]
mov dword [eax], ecx
mov edx, dword [0x101d0b14]
mov dword [eax + 4], edx
mov ecx, dword [0x101d0b18]
mov dword [eax + 8], ecx
mov edx, dword [0x101d0b1c]
mov dword [eax + 0xc], edx
mov ecx, dword [0x101d0b20]
mov dword [eax + 0x10], ecx
mov edx, dword [0x101d0b24]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0x78]
mov ecx, dword [eax*4 + 0x10282228]
mov edx, dword [ebx + 0x65b0]
mov eax, dword [esp + 0x4c]
lea edx, [eax + edx + 0xc]
jmp 0x100eb680
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x100eb680
fldz
lea ecx, [esp + 0xb8]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], ecx
xor edi, edi
cmp dword [ebx + 0x661c], edi
jle 0x100eb70e
mov esi, dword [esp + 0x14]
fst dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp eax, 3
fst dword [esi]
jge 0x100eb702
mov edx, dword [ebx + 0x78]
mov ecx, dword [esp + 0x18]
mov edx, dword [edx*4 + 0x10282214]
add ecx, eax
lea eax, [edi + eax*4]
lea ecx, [edx + ecx*8]
lea edx, [ebx + eax*4 + 0xe714]
mov eax, 3
sub eax, dword [esp + 0x10]
fld qword [ecx]
add ecx, 8
fstp dword [esp + 0x20]
add edx, 0x10
sub eax, 1
fld dword [esp + 0x20]
fmul dword [edx - 0x10]
fadd dword [esi]
fstp dword [esi]
jne 0x100eb6e2
mov eax, dword [esp + 0x10]
inc edi
add esi, 4
cmp edi, dword [ebx + 0x661c]
jl 0x100eb6b5
mov eax, dword [esp + 0x18]
add dword [esp + 0x14], 0x10
add eax, 3
cmp eax, 9
mov dword [esp + 0x18], eax
jl 0x100eb69f
fstp st(0)
cmp dword [ebx + 0x8c], 0
je 0x100eb762
cmp dword [ebx + 0x65d4], 0
mov eax, str.Building_histograms..._n
jne 0x100eb745
mov eax, 0x101d0ad8
mov ecx, dword [ebx + 0x78]
mov edx, dword [ecx*4 + 0x10282228]
push edx
push eax
call fcn.10107014
add eax, 0x40
push eax
call fcn.10106bd7
add esp, 0xc
push 0x20000
lea eax, [ebx + 0xe744]
push 0
push eax
call fcn.1010ccf0
mov esi, dword [ebx + 0x6630]
xor ecx, ecx
add esp, 0xc
mov dword [esp + 0x10], 0
cmp cx, word [ebx + 0x6600]
jae 0x100eb8dc
fldz
xor edi, edi
xor edx, edx
mov dword [esp + 0x1c], edi
cmp dx, word [ebx + 0x6602]
jae 0x100eb8c2
cmp dword [ebx + 0x65d4], 0
jne 0x100eb84d
xor eax, eax
fst dword [esp + 0x30]
cmp dword [ebx + 0x661c], eax
fst dword [esp + 0x2c]
fst dword [esp + 0x28]
jle 0x100eb817
mov ecx, dword [ebx + 0x661c]
movzx edx, word [esi + eax*2]
mov dword [esp + 0x20], edx
inc eax
cmp eax, ecx
fild dword [esp + 0x20]
fld dword [esp + eax*4 + 0xb4]
fmul st(1)
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + eax*4 + 0xc4]
fmul st(1)
fadd dword [esp + 0x2c]
fstp dword [esp + 0x2c]
fmul dword [esp + eax*4 + 0xd4]
fadd dword [esp + 0x30]
fstp dword [esp + 0x30]
jl 0x100eb7d5
xor edi, edi
fld dword [esp + edi*4 + 0x28]
call fcn.1010cd70
cmp eax, 0xffff
jge 0x100eb838
test eax, eax
jge 0x100eb831
xor eax, eax
jmp 0x100eb83d
cmp eax, 0xffff
jl 0x100eb83d
mov eax, 0xffff
mov word [esi + edi*2], ax
inc edi
cmp edi, 3
jl 0x100eb819
mov edi, dword [esp + 0x1c]
jmp 0x100eb879
cmp dword [ebx + 0x90], 0
je 0x100eb879
mov eax, dword [esp + 0x10]
mov edx, dword [ebx + 0x6580]
and eax, 7
mov ecx, edi
and ecx, 1
lea ecx, [ecx + eax*2]
add ecx, ecx
shr edx, cl
and edx, 3
mov ax, word [esi + edx*2]
mov word [esi], ax
xor eax, eax
cmp dword [ebx + 0x661c], eax
jle 0x100eb8ab
xor edx, edx
movzx ecx, word [esi + eax*2]
shr ecx, 3
add ecx, edx
inc dword [ebx + ecx*4 + 0xe744]
lea ecx, [ebx + ecx*4 + 0xe744]
inc eax
add edx, 0x2000
cmp eax, dword [ebx + 0x661c]
jl 0x100eb885
movzx edx, word [ebx + 0x6602]
inc edi
add esi, 8
cmp edi, edx
mov dword [esp + 0x1c], edi
jl 0x100eb7ac
mov eax, dword [esp + 0x10]
movzx ecx, word [ebx + 0x6600]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jl 0x100eb797
fstp st(0)
cmp dword [ebx + 0x661c], 4
jne 0x100eb8f5
cmp dword [ebx + 0x78], 0
je 0x100eb8f5
mov dword [ebx + 0x661c], 3
cmp dword [ebx + 0x90], 0
je 0x100eb911
cmp dword [ebx + 0x6580], 0
je 0x100eb911
mov dword [ebx + 0x661c], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret