Function at 0x4f4d60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x551aa8]
xor eax, ebp
mov dword [ebp - 4], eax
fldz
push ebx
mov ebx, dword [ebp + 8]
fst qword [ebp - 0x14]
fst qword [ebp - 0xc]
xor ecx, ecx
fld1
mov eax, 0x14
fcom qword [ebx + 0x78]
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], eax
mov edx, 0xe
fnstsw ax
push esi
mov esi, 0x24
mov dword [ebp - 0x90], 0xa
mov dword [ebp - 0x8c], 0x63707274
mov dword [ebp - 0x88], ecx
mov dword [ebp - 0x84], esi
mov dword [ebp - 0x80], 0x64657363
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], 0x28
mov dword [ebp - 0x74], 0x77747074
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x68], 0x626b7074
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x5c], 0x72545243
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], 0x67545243
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], 0x62545243
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], 0x7258595a
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], 0x6758595a
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], 0x6258595a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x128], 0x1000000
test ah, 0x41
jp 0x4f4e45
mov ecx, 1
fst qword [ebp + ecx*8 - 0x14]
fld qword [ebx + 0x78]
fld st(2)
fucompp
fnstsw ax
test ah, 0x44
jnp 0x4f4f05
fld qword [ebx + 0x70]
fsub st(1)
fld qword [ebx + 0x78]
fsub st(2)
fmulp st(1)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
jp 0x4f4f07
fstp st(0)
fld qword [ebx + 0x70]
fchs
fstp qword [ebp - 0x11c]
jmp 0x4f4e87
fstp st(0)
fld qword [ebp - 0xc]
fadd qword [ebp - 0x14]
fmul qword [0x546e00]
fst qword [ebp - 0x124]
fst qword [ebx + 0x80]
fdiv qword [ebx + 0x78]
fld qword [ebp - 0x11c]
call sub.MSVCR100.dll__CIpow
fld1
fsub st(1), st(0)
fxch st(1)
fdiv qword [ebx + 0x70]
fld st(1)
fld qword [ebp - 0x124]
fdiv st(1), st(0)
fxch st(2)
fsubrp st(1)
fcomp qword [0x5127f8]
fnstsw ax
test ah, 0x41
jne 0x4f4ed8
mov eax, 1
jmp 0x4f4eda
xor eax, eax
dec esi
fstp qword [ebp + eax*8 - 0x14]
jne 0x4f4e85
fld st(0)
fdiv qword [ebx + 0x70]
fsub st(1)
fmul qword [ebx + 0x80]
fstp qword [ebx + 0x88]
fld qword [ebx + 0x80]
fdiv qword [ebx + 0x78]
fstp qword [ebx + 0x80]
jmp 0x4f4f07
fstp st(1)
fadd qword [ebx + 0x70]
push edi
fst qword [ebp - 0x11c]
fld qword [ebx + 0x80]
fstp qword [ebp - 0x124]
fld qword [ebx + 0x80]
fxch st(1)
call sub.MSVCR100.dll__CIpow
fld1
cmp dword [ebx + 0x66d0], 1
fld st(0)
fsubrp st(2)
lea esi, [ebx + 0xe7c4]
fld qword [ebx + 0x88]
mov ecx, 0xc
fadd st(1)
lea edi, [ebp - 0xc0]
rep movsd dword es:[edi], dword [esi]
fmulp st(2)
fxch st(1)
fdiv qword [ebp - 0x11c]
fld qword [ebp - 0x124]
fmul st(0), st(0)
fld qword [ebx + 0x78]
fmul qword [0x546e00]
fmulp st(1)
fld st(2)
fsub qword [ebx + 0x80]
fmul qword [ebx + 0x88]
fsubp st(1)
faddp st(1)
fdivr st(1)
fsubrp st(1)
fstp qword [ebx + 0x90]
je 0x4f4faa
cmp dword [ebx + 0xc0], 0
jne 0x4f4faa
mov eax, dword [ebx + 0xa8]
cmp eax, 1
jl 0x4f4faa
cmp eax, 5
jg 0x4f4faa
xor eax, eax
jmp 0x4f4faf
mov eax, 1
or dword [ebx + 0x6604], eax
jne 0x4f5385
push 1
push 0x400
call sub.MSVCR100.dll_calloc
push str.convert_to_rgb__
push eax
push ebx
mov dword [ebx + 0x65e0], eax
call fcn.004e0cb0
mov edi, dword [ebx + 0x65e0]
mov ecx, 0x14
mov esi, 0x53cd08
add esp, 0x14
rep movsd dword es:[edi], dword [esi]
cmp dword [ebx + 0xa8], 5
jne 0x4f5003
mov eax, dword [ebx + 0x65e0]
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x10], ecx
mov edx, dword [ebx + 0x65e0]
mov dword [edx], 0xfc
xor ecx, ecx
test ecx, ecx
je 0x4f502c
xor edx, edx
cmp ecx, 1
setle dl
dec edx
and edx, 0xf3f3e6bd
add edx, 0x64657363
jmp 0x4f5031
mov edx, 0x74657874
mov eax, dword [ebx + 0x65e0]
mov esi, dword [eax]
shr esi, 2
mov dword [eax + esi*4], edx
mov edx, dword [ebx + 0x65e0]
mov esi, dword [edx]
lea eax, [ecx + ecx*2]
add eax, eax
add eax, eax
mov dword [ebp + eax - 0x88], esi
mov eax, dword [ebp + eax - 0x84]
add eax, 3
and eax, 0xfffffffc
add eax, esi
inc ecx
mov dword [edx], eax
cmp ecx, dword [ebp - 0x90]
jl 0x4f5011
mov edi, dword [ebx + 0x65e0]
sub edi, 0xffffff80
mov ecx, 0x1f
lea esi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebx + 0xa8]
mov eax, dword [ecx*4 + 0x551964]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4f5095
mov ecx, dword [ebx + 0x65e0]
sub eax, edx
mov edx, dword [ebp - 0x7c]
inc eax
shr edx, 2
mov dword [ecx + edx*4 + 8], eax
mov edx, dword [ebx + 0x65e0]
mov ecx, dword [0x53a6e4]
mov eax, dword [ebp - 0x70]
lea eax, [eax + edx + 8]
mov dword [eax], ecx
mov edx, dword [0x53a6e8]
mov dword [eax + 4], edx
mov ecx, dword [0x53a6ec]
mov dword [eax + 8], ecx
cmp dword [ebx + 0xac], 8
jne 0x4f50fe
fld qword [0x5121d0]
fdiv qword [ebx + 0x90]
fadd qword [0x546e00]
call fcn.0050c200
movsx edi, ax
shl edi, 0x10
jmp 0x4f5104
mov edi, dword [ebp - 0x128]
mov eax, dword [ebx + 0x65e0]
add eax, dword [ebp - 0x58]
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 + 0x65e0]
add eax, dword [ebp - 0x4c]
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 + 0x65e0]
add eax, dword [ebp - 0x40]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov eax, dword [ebx + 0xa8]
mov ecx, dword [eax*4 + 0x551950]
lea edx, [ebp - 0x108]
push edx
push ecx
call fcn.004ebbc0
fld qword [0x51a988]
fld qword [0x546e00]
add esp, 0xc
fldz
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0x53cba0
lea esi, [ebp - 0x34]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x120], 3
mov eax, dword [ebp - 0x10c]
fld st(0)
mov edx, 3
fld qword [eax]
add ecx, 8
fmul qword [ecx - 8]
add eax, 8
dec edx
faddp st(1)
jne 0x4f51ad
mov edi, dword [ebx + 0x65e0]
fnstcw word [ebp - 0x112]
movzx eax, word [ebp - 0x112]
fmul st(3)
or eax, 0xc00
mov dword [ebp - 0x118], eax
mov eax, dword [esi]
fadd st(2)
shr eax, 2
fldcw word [ebp - 0x118]
add eax, dword [ebp - 0x110]
add esi, 0xc
dec dword [ebp - 0x120]
fistp qword [ebp - 0x11c]
mov edx, dword [ebp - 0x11c]
mov dword [edi + eax*4 + 8], edx
fldcw word [ebp - 0x112]
jne 0x4f51a0
mov eax, dword [ebp - 0x10c]
inc dword [ebp - 0x110]
add eax, 0x18
mov dword [ebp - 0x10c], eax
cmp eax, 0x53cbe8
jl 0x4f518d
mov edi, dword [sym.imp.WS2_32.dll_htonl]
fstp st(2)
fstp st(0)
xor esi, esi
fstp st(0)
nop
mov ecx, dword [ebx + 0x65e0]
mov edx, dword [esi + ecx]
push edx
call edi
mov ecx, dword [ebx + 0x65e0]
mov dword [esi + ecx], eax
add esi, 4
cmp esi, 0x400
jl 0x4f5240
mov edx, dword [ebx + 0x65e0]
mov ecx, dword [str.auto_generated_by_dcraw]
mov eax, dword [ebp - 0x88]
lea eax, [eax + edx + 8]
mov dword [eax], ecx
mov edx, dword [0x53d5e4]
mov dword [eax + 4], edx
mov ecx, dword [0x53d5e8]
mov dword [eax + 8], ecx
mov edx, dword [0x53d5ec]
mov dword [eax + 0xc], edx
mov ecx, dword [0x53d5f0]
mov dword [eax + 0x10], ecx
mov edx, dword [0x53d5f4]
mov dword [eax + 0x14], edx
mov eax, dword [ebx + 0xa8]
mov ecx, dword [eax*4 + 0x551964]
mov edx, dword [ebx + 0x65e0]
mov eax, dword [ebp - 0x7c]
lea edx, [eax + edx + 0xc]
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4f52c0
fldz
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x110], ecx
xor edi, edi
cmp dword [ebx + 0x66d0], edi
jle 0x4f5364
mov esi, dword [ebp - 0x110]
fst dword [ebp - 0x10c]
mov eax, dword [ebp - 0x10c]
fst dword [esi]
cmp eax, 3
jge 0x4f5358
mov edx, dword [ebx + 0xa8]
fld dword [esi]
mov ecx, dword [ebp - 0x114]
mov edx, dword [edx*4 + 0x551950]
add ecx, eax
lea eax, [edi + eax*4]
lea ecx, [edx + ecx*8]
lea edx, [ebx + eax*4 + 0xe7c4]
mov eax, 3
sub eax, dword [ebp - 0x10c]
fld qword [ecx]
add ecx, 8
fstp dword [ebp - 0x118]
add edx, 0x10
dec eax
fld dword [ebp - 0x118]
fmul dword [edx - 0x10]
faddp st(1)
jne 0x4f5334
mov eax, dword [ebp - 0x10c]
fstp dword [esi]
inc edi
add esi, 4
cmp edi, dword [ebx + 0x66d0]
jl 0x4f52fe
mov eax, dword [ebp - 0x114]
add dword [ebp - 0x110], 0x10
add eax, 3
mov dword [ebp - 0x114], eax
cmp eax, 9
jl 0x4f52e2
fstp st(0)
cmp dword [ebx + 0xbc], 0
je 0x4f53c1
cmp dword [ebx + 0x6604], 0
mov eax, str.Building_histograms..._n
jne 0x4f53a1
mov eax, 0x53d5a8
mov ecx, dword [ebx + 0xa8]
mov edx, dword [ecx*4 + 0x551964]
push edx
push eax
call sub.MSVCR100.dll___iob_func
add eax, 0x40
push eax
call sub.MSVCR100.dll_fprintf
add esp, 0xc
push 0x20000
lea eax, [ebx + 0xe7f4]
push 0
push eax
call sub.MSVCR100.dll_memset
mov esi, dword [ebx + 0x66e0]
xor ecx, ecx
add esp, 0xc
mov dword [ebp - 0x10c], 0
cmp cx, word [ebx + 0x66b4]
jae 0x4f5544
fldz
xor edi, edi
xor edx, edx
mov dword [ebp - 0x120], edi
cmp dx, word [ebx + 0x66b6]
jae 0x4f5526
cmp dword [ebx + 0x6604], 0
jne 0x4f54ad
xor eax, eax
fst dword [ebp - 8]
fst dword [ebp - 0xc]
fst dword [ebp - 0x10]
cmp dword [ebx + 0x66d0], eax
jle 0x4f5475
mov ecx, dword [ebx + 0x66d0]
movzx edx, word [esi + eax*2]
mov dword [ebp - 0x118], edx
inc eax
fild dword [ebp - 0x118]
fld dword [ebp + eax*4 - 0xc4]
fmul st(1)
fadd dword [ebp - 0x10]
fstp dword [ebp - 0x10]
fld dword [ebp + eax*4 - 0xb4]
fmul st(1)
fadd dword [ebp - 0xc]
fstp dword [ebp - 0xc]
fmul dword [ebp + eax*4 - 0xa4]
fadd dword [ebp - 8]
fstp dword [ebp - 8]
cmp eax, ecx
jl 0x4f5435
xor edi, edi
fld dword [ebp + edi*4 - 0x10]
call fcn.0050c200
cmp eax, 0xffff
jge 0x4f5496
test eax, eax
jns 0x4f548f
xor eax, eax
jmp 0x4f549b
cmp eax, 0xffff
jl 0x4f549b
mov eax, 0xffff
mov word [esi + edi*2], ax
inc edi
cmp edi, 3
jl 0x4f5477
mov edi, dword [ebp - 0x120]
jmp 0x4f54db
cmp dword [ebx + 0xc0], 0
je 0x4f54db
mov eax, dword [ebp - 0x10c]
mov edx, dword [ebx + 0x65b0]
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 + 0x66d0], eax
jle 0x4f550d
xor edx, edx
movzx ecx, word [esi + eax*2]
shr ecx, 3
add ecx, edx
inc dword [ebx + ecx*4 + 0xe7f4]
lea ecx, [ebx + ecx*4 + 0xe7f4]
inc eax
add edx, 0x2000
cmp eax, dword [ebx + 0x66d0]
jl 0x4f54e7
movzx edx, word [ebx + 0x66b6]
inc edi
add esi, 8
mov dword [ebp - 0x120], edi
cmp edi, edx
jl 0x4f540f
mov eax, dword [ebp - 0x10c]
movzx ecx, word [ebx + 0x66b4]
inc eax
mov dword [ebp - 0x10c], eax
cmp eax, ecx
jl 0x4f53f8
fstp st(0)
cmp dword [ebx + 0x66d0], 4
pop edi
jne 0x4f5561
cmp dword [ebx + 0xa8], 0
je 0x4f5561
mov dword [ebx + 0x66d0], 3
cmp dword [ebx + 0xc0], 0
je 0x4f557d
cmp dword [ebx + 0x65b0], 0
je 0x4f557d
mov dword [ebx + 0x66d0], 1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0050bf32
mov esp, ebp
pop ebp
ret