Function at 0x409fe0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x41c98e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0x88], 0x41d53c
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebx, [esp + 0x14]
lea edi, [esi + 0xcc]
mov ebp, 0x10
mov eax, dword [ebx]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
mov dword [edi], eax
add ebx, 4
add edi, 4
dec ebp
jne 0x40a09b
mov ecx, dword [esp + 0x64]
xor ebp, ebp
mov dword [esp + 0x5c], ebp
mov dword [esi], 0x41d540
lea eax, [ecx - 1]
cmp eax, 0x1f
ja case.0x40a0d4.2
xor edx, edx
mov dl, byte [eax + 0x40a28c]
jmp dword [edx*4 + 0x40a284]
mov dword [esi + 0x70], ecx
jmp 0x40a0e7
mov dword [esi + 0x70], 4
mov ecx, esi
call fcn.0040a940
test eax, eax
jne 0x40a108
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [esi + 0x10c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esi + 0x44], eax
mov dword [esi + 0x10], 0xcc0020
mov dword [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x14], eax
mov eax, 0x3e8
xor edx, edx
div ecx
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebp
mov dword [esi + 8], ecx
mov dword [esi + 0x18], eax
mov al, byte [esp + 0x6c]
mov byte [esi + 0xc], al
call edi
push 1
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, 0x20
cdq
idiv dword [esi + 0x70]
mov ecx, dword [esi + 0x44]
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push ecx
mov dword [esi + 0x30], ebp
mov byte [esi + 0x24], al
call edi
mov edx, dword [esi + 0x44]
mov dword [esi + 0x4c], eax
push edx
call edi
push ebp
mov dword [esi + 0x80], eax
call edi
push ebp
mov dword [esi + 0x48], eax
call edi
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x28]
push 1
lea edi, [esi + 0x5c]
lea ebx, [esi + 0x60]
push eax
push ecx
mov ecx, esi
mov dword [edi], ebp
mov dword [ebx], ebp
call fcn.0040a660
mov edx, dword [esi + 0x2c]
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x28]
push edx
push eax
push ecx
mov ecx, esi
call fcn.0040a660
mov edx, dword [esi + 0x28]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x70]
push 1
push edx
push eax
mov ecx, esi
call fcn.0040a660
mov ecx, dword [esi + 0x64]
mov edx, dword [esi + 0x44]
push ebp
push ebp
push edi
mov edi, dword [sym.imp.GDI32.dll_CreateDIBSection]
push ebp
push ecx
push edx
mov dword [esi + 0x6c], eax
call edi
push ebp
mov dword [esi + 0x54], eax
push ebp
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x44]
push ebx
push ebp
push eax
push ecx
call edi
mov ecx, dword [esi + 0x44]
push ebp
lea edx, [esi + 0x78]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x68]
push ebp
push edx
push ebp
push eax
push ecx
call edi
mov edx, dword [esi + 0x58]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x84], eax
mov eax, dword [esi + 0x4c]
push edx
push eax
call edi
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x48]
push ecx
push edx
call edi
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x80]
push eax
push ecx
call edi
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push edx
push eax
push ebp
lea ecx, [esi + 0x34]
push ebp
push ecx
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esi + 0x68]
mov eax, dword [edx + 0x14]
shl eax, 1
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x1c], eax
xor edx, edx
add esp, 4
mov eax, dword [ecx + 0x14]
mov ecx, dword [esp + 0x54]
div dword [esi + 0x2c]
mov dword [esi + 0x20], ebp
pop edi
mov dword [esi + 0x74], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
mov edx, dword [eax + 0x169c]
xor edi, edi
xor ebx, ebx
mov di, word [edx + ecx*2]
mov edx, dword [eax + 0x1690]
mov bl, byte [ecx + edx]
inc ecx
test edi, edi
mov edx, ebx
mov dword [esp + 0x14], ecx
jne 0x41a340
mov di, word [ebp + edx*4 + 2]
mov ecx, dword [eax + 0x16b4]
mov esi, 0x10
sub esi, edi
cmp ecx, esi
jle 0x41a32a
xor esi, esi
mov si, word [ebp + edx*4]
mov edx, esi
shl edx, cl
mov ecx, dword [eax + 8]
or word [eax + 0x16b0], dx
mov edx, dword [eax + 0x14]
mov bl, byte [eax + 0x16b0]
mov byte [ecx + edx], bl
mov edx, dword [eax + 0x14]
mov ebx, dword [eax + 8]
inc edx
mov dword [eax + 0x14], edx
mov ecx, edx
xor edx, edx
mov dl, byte [eax + 0x16b1]
mov byte [ecx + ebx], dl
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x16b4]
inc ecx
mov dword [eax + 0x14], ecx
mov cx, 0x10
sub cx, dx
shr si, cl
lea ecx, [edx + edi - 0x10]
mov word [eax + 0x16b0], si
jmp 0x41a5e7
mov dx, word [ebp + edx*4]
shl dx, cl
or word [eax + 0x16b0], dx
add ecx, edi
jmp 0x41a5e7
xor ebx, ebx
mov ecx, dword [eax + 0x16b4]
mov bl, byte [edx + 0x41ded8]
xor esi, esi
mov dword [esp + 0x1c], ebx
mov si, word [ebp + ebx*4 + 0x406]
mov ebp, 0x10
sub ebp, esi
mov dword [esp + 0x10], esi
cmp ecx, ebp
jle 0x41a3dc
mov ebp, dword [esp + 0x20]
xor esi, esi
mov si, word [ebp + ebx*4 + 0x404]
mov ebp, dword [eax + 8]
mov ebx, esi
shl ebx, cl
or word [eax + 0x16b0], bx
push ss
add byte [eax], al
push ss
add byte [eax], al
mov ebx, dword [eax + 0x14]
mov cl, byte [eax + 0x16b0]
mov byte [ebx + ebp], cl
mov ebx, dword [eax + 0x14]
inc ebx
xor ecx, ecx
mov cl, byte [eax + 0x16b1]
mov dword [eax + 0x14], ebx
mov ebp, ebx
mov ebx, dword [eax + 8]
mov byte [ebx + ebp], cl
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0x16b4]
inc ecx
mov dword [eax + 0x14], ecx
mov cx, 0x10
sub cx, bx
shr si, cl
mov ecx, dword [esp + 0x10]
lea ecx, [ebx + ecx - 0x10]
mov ebx, dword [esp + 0x1c]
mov word [eax + 0x16b0], si
mov dword [eax + 0x16b4], ecx
jmp 0x41a400
mov ebp, dword [esp + 0x20]
mov bp, word [ebp + ebx*4 + 0x404]
shl bp, cl
mov ecx, dword [eax + 0x16b4]
or word [eax + 0x16b0], bp
add ecx, esi
mov dword [eax + 0x16b4], ecx
mov esi, dword [ebx*4 + 0x41d694]
test esi, esi
je 0x41a495
mov ecx, dword [ebx*4 + 0x41dfd8]
mov ebx, 0x10
sub edx, ecx
mov ecx, dword [eax + 0x16b4]
sub ebx, esi
cmp ecx, ebx
jle 0x41a484
mov ebx, edx
mov ebp, dword [eax + 8]
shl ebx, cl
or word [eax + 0x16b0], bx
mov ebx, dword [eax + 0x14]
mov cl, byte [eax + 0x16b0]
mov byte [ebx + ebp], cl
mov ebx, dword [eax + 0x14]
inc ebx
xor ecx, ecx
mov cl, byte [eax + 0x16b1]
mov dword [eax + 0x14], ebx
mov ebp, ebx
mov ebx, dword [eax + 8]
mov byte [ebx + ebp], cl
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0x16b4]
inc ecx
mov dword [eax + 0x14], ecx
mov cx, 0x10
sub cx, bx
shr dx, cl
mov word [eax + 0x16b0], dx
lea edx, [ebx + esi - 0x10]
mov dword [eax + 0x16b4], edx
jmp 0x41a495
shl edx, cl
or word [eax + 0x16b0], dx
add ecx, esi
mov dword [eax + 0x16b4], ecx
dec edi
cmp edi, 0x100
jae 0x41a4a8
xor ebx, ebx
mov bl, byte [edi + 0x41dcd8]
jmp 0x41a4b5
mov ecx, edi
shr ecx, 7
xor ebx, ebx
mov bl, byte [ecx + 0x41ddd8]
mov ebp, dword [esp + 0x24]
mov ecx, dword [eax + 0x16b4]
xor esi, esi
mov edx, 0x10
mov si, word [ebp + ebx*4 + 2]
mov dword [esp + 0x1c], ebx
sub edx, esi
cmp ecx, edx
jle 0x41a53f
xor edx, edx
mov dx, word [ebp + ebx*4]
mov ebp, dword [eax + 8]
mov ebx, edx
shl ebx, cl
or word [eax + 0x16b0], bx
mov ebx, dword [eax + 0x14]
mov cl, byte [eax + 0x16b0]
mov byte [ebx + ebp], cl
mov ebx, dword [eax + 0x14]
inc ebx
xor ecx, ecx
mov cl, byte [eax + 0x16b1]
mov dword [eax + 0x14], ebx
mov ebp, ebx
mov ebx, dword [eax + 8]
mov byte [ebx + ebp], cl
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0x16b4]
inc ecx
mov dword [eax + 0x14], ecx
mov cx, 0x10
sub cx, bx
mov ebp, dword [esp + 0x20]
shr dx, cl
mov word [eax + 0x16b0], dx
lea edx, [ebx + esi - 0x10]
mov ebx, dword [esp + 0x1c]
mov dword [eax + 0x16b4], edx
jmp 0x41a55a
mov dx, word [ebp + ebx*4]
mov ebp, dword [esp + 0x20]
shl dx, cl
or word [eax + 0x16b0], dx
add ecx, esi
mov dword [eax + 0x16b4], ecx
mov edx, dword [ebx*4 + 0x41d708]
test edx, edx
je 0x41a5ed
mov ecx, dword [ebx*4 + 0x41e04c]
mov esi, 0x10
sub edi, ecx
mov ecx, dword [eax + 0x16b4]
sub esi, edx
cmp ecx, esi
jle 0x41a5dc
mov esi, edi
shl esi, cl
mov ecx, dword [eax + 8]
or word [eax + 0x16b0], si
mov esi, dword [eax + 0x14]
mov bl, byte [eax + 0x16b0]
mov byte [ecx + esi], bl
mov esi, dword [eax + 0x14]
mov ebx, dword [eax + 8]
xor ecx, ecx
mov cl, byte [eax + 0x16b1]
inc esi
mov dword [eax + 0x14], esi
mov byte [esi + ebx], cl
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0x16b4]
inc ecx
mov dword [eax + 0x14], ecx
mov cx, 0x10
sub cx, si
lea edx, [esi + edx - 0x10]
shr di, cl
mov dword [eax + 0x16b4], edx
mov word [eax + 0x16b0], di
jmp 0x41a5ed
shl edi, cl
or word [eax + 0x16b0], di
add ecx, edx
mov dword [eax + 0x16b4], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0x1698]
cmp ecx, edx
jb 0x41a28f
mov ecx, dword [eax + 0x16b4]
xor esi, esi
mov si, word [ebp + 0x402]
mov edx, 0x10
sub edx, esi
cmp ecx, edx
jle 0x41a67b
xor edx, edx
mov dx, word [ebp + 0x400]
mov edi, edx
shl edi, cl
mov ecx, dword [eax + 8]
or word [eax + 0x16b0], di
mov edi, dword [eax + 0x14]
mov bl, byte [eax + 0x16b0]
mov byte [ecx + edi], bl
mov edi, dword [eax + 0x14]
mov ebx, dword [eax + 8]
xor ecx, ecx
mov cl, byte [eax + 0x16b1]
inc edi
mov dword [eax + 0x14], edi
mov byte [edi + ebx], cl
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0x16b4]
inc ecx
mov dword [eax + 0x14], ecx
mov cx, 0x10
sub cx, di
shr dx, cl
mov word [eax + 0x16b0], dx
lea edx, [edi + esi - 0x10]
mov dword [eax + 0x16b4], edx
jmp 0x41a694
mov dx, word [ebp + 0x400]
shl dx, cl
or word [eax + 0x16b0], dx
add ecx, esi
mov dword [eax + 0x16b4], ecx
xor ecx, ecx
pop edi
mov cx, word [ebp + 0x402]
pop esi
pop ebp
mov dword [eax + 0x16ac], ecx
pop ebx
add esp, 8
ret