Function at 0x10049c6e
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
push 0xfffffffffffffff6
pop eax
mov dword [ebp - 0x20], eax
xor ebx, ebx
mov dword [ebp - 0x20], eax
mov esi, ecx
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x20], 0x7ca0029b
mov dword [ebp - 0x20], 0x5aad8530
mov dword [ebp - 0x20], 0x948b0815
mov dword [ebp - 0x20], 0xfffffff8
mov dword [ebp - 0x20], 0x6dd2cc91
mov dword [ebp - 0x20], 0xcef3cf68
push 3
mov dword [ebp - 0x18], 0xfff9
mov dword [ebp - 8], ebx
pop ecx
jmp 0x10049cd2
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x2c], 0xfffffffd
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x10049cc4
mov dword [ebp - 8], ebx
jmp 0x10049cea
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x38], 0xffffffff
inc dword [ebp - 8]
cmp dword [ebp - 8], ecx
jl 0x10049cdc
mov dword [ebp - 8], ebx
jmp 0x10049d02
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0x58], 0xbed99783
inc dword [ebp - 8]
cmp dword [ebp - 8], 4
jl 0x10049cf4
inc dword [ebp - 0x18]
xor edi, edi
inc dword [ebp - 0x4c]
inc edi
push esi
push edi
call fcn.10043eb0
mov dword [ebp - 8], 0xc0ae9714
pop ecx
mov dword [ebp - 0x10], 0x9c4ddb84
pop ecx
mov dword [ebp - 8], 0xa
jmp 0x10049e20
mov dword [ebp - 0x14], 0xdeec5416
mov edx, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], 0x9229a275
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x10049d54
mov edx, edi
mov eax, dword [ebp - 0x14]
sub eax, 3
je 0x10049d5f
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
add eax, 2
cmp eax, 0xb9849b76
mov eax, dword [ebp - 8]
sbb ecx, ecx
sub edx, eax
inc ecx
cmp edx, ecx
jg 0x10049dbd
mov dword [ebp - 0xc], 0xe75cb554
xor edx, edx
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
cmp eax, ecx
mov eax, dword [ebp - 0xc]
setg dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [ebp - 0xc]
setg cl
neg eax
sbb eax, eax
inc eax
add ecx, eax
add ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x20]
je 0x10049db2
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
jmp 0x10049e07
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x18], 0xe13c
mov dword [ebp - 0xc], edi
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
neg edx
sbb edx, edx
xor ecx, ecx
neg edx
cmp edx, eax
setne cl
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
cmp eax, ecx
setne dl
mov dword [ebp - 0x10], edx
inc dword [ebp - 8]
cmp dword [ebp - 8], 0xc
jne 0x10049d34
push esi
call fcn.10030181
mov dword [ebp - 0x18], 0x469ad59e
mov esi, eax
pop ecx
mov dword [ebp - 0x14], ebx
jmp 0x10049e4d
mov ecx, dword [ebp - 0x14]
mov dword [ebp + ecx*4 - 0x1c], 4
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], edi
jl 0x10049e3f
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10049e66
push ebx
push 0x2110
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x18], ebx
jl 0x10049f32
mov dword [ebp - 8], 0xfffffff7
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], ebx
jl 0x10049ebc
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x14], ebx
jmp 0x10049eb2
mov dword [ebp - 0xc], 0xb8ee41b6
mov dword [ebp - 0xc], ebx
jmp 0x10049ea3
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x1c], edi
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
jl 0x10049e99
mov dword [ebp - 0xc], 3
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], ebx
jle 0x10049e8d
dec dword [ebp - 8]
jns 0x10049e81
mov dword [ebp - 8], ebx
jmp 0x10049f24
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10049ed0
push ebx
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov eax, dword [ebp - 0x18]
cmp dword [ebp + eax*4 - 0x1c], ebx
je 0x10049ef7
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10049f21
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_CreateHalftonePalette]
jmp 0x10049f21
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x10], ebx
jmp 0x10049f0d
mov eax, dword [ebp - 0x10]
mov dword [ebp + eax*4 - 0x1c], 0x28ea388
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], edi
jl 0x10049eff
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x10049f21
push ebx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
inc dword [ebp - 8]
cmp dword [ebp - 8], ebx
jle 0x10049ec1
dec dword [ebp - 0x18]
jns 0x10049e72
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret