Function at 0x401113
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov esi, esp
mov al, byte [esi + 0xdb]
mov cl, al
xor cl, 0x1b
mov byte [esi + 0xdb], cl
mov byte [esi + 0xc7], 0x12
mov dword [esi + 0xbc], 0
mov dword [esi + 0xb8], 0x101a9a2b
mov dword [esi + 0xb4], 0x184eb068
mov word [esi + 0xb2], 0xb6f5
mov edx, dword [esi + 0xc8]
mov edi, dword [esi + 0xbc]
mov ebx, dword [esi + 0xb8]
mov ecx, ebx
add ecx, 0x884769e
mov byte [esi + 0x7b], al
mov eax, edi
adc eax, 0
mov dword [esi + 0x80], ecx
mov dword [esi + 0x84], eax
mov dword [esi + 0xc8], 0x42c1919f
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x74], ebx
mov dword [esi + 0x70], edx
mov dword [esi + 0x6c], edi
call eax
mov ecx, 0x48e419
lea edx, [esi + 0xa4]
mov edi, esp
lea ebx, [esi + 0xa4]
mov dword [edi + 4], ebx
mov dword [edi], 0x48e419
mov edi, dword [sym.imp.GDI32.dll_GetWindowExtEx]
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], ecx
mov dword [esi + 0x60], edx
call edi
sub esp, 8
mov ecx, 0x49cd0b
mov edx, esp
mov dword [edx], 0x49cd0b
mov edx, dword [sym.imp.GDI32.dll_BeginPath]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x58], ecx
call edx
sub esp, 4
mov ecx, 0x411466
mov edx, esp
mov dword [edx], 0x411466
mov edx, dword [sym.imp.KERNEL32.dll_SuspendThread]
mov dword [esi + 0x54], eax
mov dword [esi + 0x50], ecx
call edx
sub esp, 4
mov cl, 0xff
lea edx, [esi + 0xa0]
mov ch, 0xb6
mov edi, dword [esi + 0x70]
sub edi, edi
mov dword [esi + 0xc8], edi
sub ch, byte [esi + 0xc7]
mov byte [esi + 0x8f], ch
mov ch, byte [esi + 0x8f]
mov edi, dword [esi + 0xb4]
add edi, 0xe7b15e83
mov dword [esi + 0xa0], edi
cmp cl, ch
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], edx
jne 0x40146c
jmp 0x401551
mov ax, 0x8faa
movzx ecx, word [esi + 0xb2]
mov edx, ecx
add edx, 0x4911
mov di, dx
mov bx, word [esi + 0x7c]
mov edx, 0xffffb6f5
sub edx, ecx
sub bx, di
mov di, dx
sete byte [esi + 0x8e]
mov ecx, 0x47c28269
mov edx, dword [esi + 0x74]
mov word [esi + 0x46], ax
mov eax, edx
mul ecx
mov ecx, dword [esi + 0x6c]
imul ecx, ecx, 0x47c28269
add edx, ecx
mov cx, word [esi + 0x8c]
sub cx, di
mov dword [esi + 0x40], eax
sete al
mov edi, dword [esi + 0x40]
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edx
mov di, word [esi + 0xb2]
and al, byte [esi + 0x8e]
mov dx, word [esi + 0x46]
sub dx, word [esi + 0xce]
add di, 0x319a
add di, word [esi + 0x7e]
cmp di, 1
seta ah
mov word [esi + 0xce], dx
and al, ah
test al, 1
mov word [esi + 0x3e], cx
mov word [esi + 0x3c], bx
jne 0x401347
mov ax, 0xb6f6
mov cx, word [esi + 0x7e]
mov dx, word [esi + 0xb2]
mov di, word [esi + 0xb2]
xor di, 0xab45
cmp cx, di
setb bl
mov bh, byte [esi + 0x8e]
sub ax, dx
cmp word [esi + 0x8c], ax
sete al
and bh, al
and bh, bl
test bh, 1
jne 0x401347
jmp 0x40138d
xor eax, eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0xac]
mov cx, word [eax + 0xac]
mov eax, dword [esi + 0x80]
mov edx, dword [esi + 0x84]
mov word [esi + 0x7e], cx
mov byte [esi + 0xdb], 0xe4
xor edi, edi
mov ebx, 0x5f73f0f1
sub ebx, eax
sbb edi, edx
mov dword [esi + 0x38], edi
mov dword [esi + 0x34], ebx
jb 0x401351
jmp 0x401263
mov eax, 0x184eb068
sub eax, dword [esi + 0xb4]
mov dword [esi + 0x30], eax
call fcn.0040100d
mov ecx, dword [esi + 0x30]
cmp eax, ecx
je 0x401551
jmp 0x401347
lea eax, [0x481d70]
xor ecx, ecx
mov edx, 0x400
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x24], edx
call fcn.00402af3
mov ecx, esp
mov dword [ecx + 4], eax
mov dword [ecx + 8], 0x400
mov dword [ecx], 0x481d70
call fcn.00404a0c
mov ecx, dword [esi + 0x74]
and ecx, 0x77321d12
mov dword [esi + 0xd0], ecx
mov dword [esi + 0xd4], 0
mov ecx, dword [0x481dac]
mov edx, dword [esi + 0x2c]
add edx, ecx
mov ecx, dword [ecx + 0x481d70]
cmp ecx, 0x4550
mov ecx, dword [esi + 0x28]
cmove ecx, edx
mov di, word [ecx + 0x48]
mov word [esi + 0x7c], di
mov di, word [ecx + 0x4a]
mov word [esi + 0x8c], di
mov ecx, dword [esi + 0x2c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0x400
mov dword [esi + 0x20], eax
call sub.msvcrt.dll_memset
mov di, word [esi + 0xb2]
xor di, 0xb6f3
mov bx, word [esi + 0x7c]
mov byte [esi + 0xdb], 0x76
cmp bx, di
jb 0x401347
jmp 0x401351
mov eax, dword [esi + 0x74]
or eax, 0x1ca8ff81
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0xd4], ecx
mov dword [esi + 0xd0], eax
mov eax, dword [esi + 0x70]
add eax, eax
mov dword [esi + 0xc8], eax
mov dword [esi + 0x94], 0
mov dword [esi + 0x90], 0xb88e7
mov eax, esp
lea edx, [esi + 0x90]
mov dword [eax + 4], edx
lea edx, [esi + 0xa0]
mov dword [eax], edx
mov eax, dword [sym.imp.KERNEL32.dll_QueryIdleProcessorCycleTime]
call eax
sub esp, 8
mov ecx, dword [esi + 0x74]
xor ecx, 0x28a80eb5
mov edx, dword [esi + 0x6c]
mov dword [esi + 0xd4], edx
mov dword [esi + 0xd0], ecx
mov dword [esi + 0x9c], 0x5bb1cb
mov ecx, esp
lea edi, [esi + 0x9c]
mov dword [ecx], edi
mov dword [ecx + 4], 0x2302bd
mov ecx, dword [sym.imp.ADVAPI32.dll_SetThreadToken]
mov dword [esi + 0x1c], eax
call ecx
sub esp, 8
mov dword [esi + 0x18], eax
mov ecx, dword fs:[0x18]
mov eax, dword [esi + 0xb4]
mov ecx, dword [ecx + 0x30]
mov edx, 0x184eb06e
sub edx, eax
mov dword [esi + 0xac], ecx
mov eax, dword [esi + 0xac]
mov eax, dword [eax + 0xa4]
mov ecx, dword [esi + 0x74]
or ecx, 0x1adb2409
mov edi, dword [esi + 0x6c]
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd0], ecx
cmp eax, edx
jb 0x401347
jmp 0x4013ad
mov eax, dword [0x481d34]
mov eax, dword [eax]
mov cl, byte [esi + 0x7b]
xor cl, 0xff
mov byte [esi + 0xdb], cl
mov edx, dword [esi + 0xb4]
add edx, 0xe7b14f9c
mov dword [0x481d30], eax
push esi
push eax
mov esi, dword fs:[0]
mov eax, dword [esi]
mov dword fs:[0], eax
pop eax
pop esi
add edx, dword [0x481d34]
mov dword [0x481d34], edx
mov dword [esi + 0x14], eax
call fcn.0040308f
mov dword [esi + 0x10], eax
jmp 0x401347