Function at 0x41c8e550
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41c9c9d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
mov esi, ecx
push pe_nt_image_headers32
mov dword [esp + 0xc], esi
call fcn.41c671c0
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x64], ebx
je 0x41c8de84
mov ecx, eax
call fcn.41c8f420
jmp 0x41c8de86
xor eax, eax
cmp eax, ebx
mov dword [esp + 0x64], 0xffffffff
mov dword [esi + 0xc], eax
jne 0x41c8dead
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 8
xor ecx, ecx
mov cx, word [0x41c9f894]
push ecx
mov ecx, eax
call fcn.41c8f600
mov ecx, dword [esi + 4]
cmp ecx, ebx
je 0x41c8dece
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 4], ebx
mov ecx, dword [esp + 0x6c]
push ebp
push edi
lea eax, [esp + 0x20]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
lea ebp, [eax + eax*2]
mov dword [esp + 0x18], eax
mov dword [esp + 0x3c], eax
mov eax, 0xb12
lea edx, [ebp + 3]
mov edi, ecx
push edx
mov dword [esp + 0x20], edi
mov dword [esp + 0x3c], 0x28
mov dword [esp + 0x44], ecx
mov word [esp + 0x48], 1
mov word [esp + 0x4a], 0x18
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.41c671d0
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x41c8df69
mov eax, dword [esp + 0x74]
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop ebp
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 8
push 0xac
call fcn.41c671c0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov dword [esp + 0x6c], 1
je 0x41c8df8f
mov ecx, eax
call fcn.41c8c990
jmp 0x41c8df91
xor eax, eax
cmp eax, ebx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x6c], 0xffffffff
mov dword [ecx + 4], eax
jne 0x41c8dfd2
mov edx, dword [esp + 0x74]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call fcn.41c67200
add esp, 4
pop edi
pop ebp
pop esi
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 8
mov ecx, eax
call fcn.41c8c940
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec edi
cmp edi, ebx
jl 0x41c8e058
lea esp, [esp]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
push ebx
lea eax, [esp + 0x3c]
push eax
push esi
push 1
push edi
push ecx
push edx
call dword [sym.imp.GDI32.dll_GetDIBits]
test eax, eax
jne 0x41c8e014
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea eax, [ebp - 3]
cmp eax, ebx
jl 0x41c8e042
lea edx, [eax + 3]
mov eax, 0xaaaaaaab
mul edx
lea ecx, [esi + 2]
shr edx, 1
lea ebx, [ebx]
mov al, byte [ecx - 2]
mov bl, byte [ecx]
mov byte [ecx - 2], bl
mov byte [ecx], al
add ecx, 3
dec edx
jne 0x41c8e030
xor ebx, ebx
mov ecx, dword [esp + 0x14]
push ebp
push esi
call fcn.41c8bfc0
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
dec edi
jns 0x41c8dff0
mov edi, dword [esp + 0x10]
mov eax, dword [edi + 4]
mov cx, word [esp + 0x18]
mov word [eax + 0x9c], cx
mov edx, dword [edi + 4]
mov ax, word [esp + 0x1c]
mov word [edx + 0x9e], ax
mov ecx, dword [edi + 4]
mov word [ecx + 0xa0], 8
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x41c8e09d
mov ecx, dword [edi + 4]
mov byte [ecx + 0x3c], 1
push eax
add ecx, 0x1c
call fcn.41c8c610
mov edx, dword [edi + 4]
push esi
mov byte [edx + 0xa3], bl
call fcn.41c67200
mov ecx, dword [esp + 0x68]
add esp, 4
pop edi
pop ebp
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x60
ret 8
jmp 0x41c8de40