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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4975d0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4b900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x18]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0xc]
call esi
push dword [edi + 0x10]
push dword [edi + 0xc]
call esi
push dword [edi + 0x10]
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [edi + 8]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov esi, dword [edi + 0x3c]
test esi, esi
je 0x42e53e
mov eax, dword [esi]
test eax, eax
je 0x42e52d
push eax
call ebx
push 4
push esi
mov dword [esi], 0
call fcn.0047ea92
add esp, 8
mov esi, dword [edi + 0x40]
test esi, esi
je 0x42e55f
mov eax, dword [esi]
test eax, eax
je 0x42e54e
push eax
call ebx
push 4
push esi
mov dword [esi], 0
call fcn.0047ea92
add esp, 8
mov ecx, dword [edi + 0x2e4]
mov eax, ecx
sub eax, dword [edi + 0x2e0]
sar eax, 2
test eax, eax
je 0x42e5fe
mov esi, dword [ecx - 4]
test esi, esi
je 0x42e5dc
mov ebx, dword [esi + 0x14]
test ebx, ebx
je 0x42e59b
mov ecx, ebx
call fcn.0042e4c0
push 0x33c
push ebx
call fcn.0047ea92
add esp, 8
mov edx, dword [esi + 8]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e5b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 4]
or eax, 0xffffffff
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42e5d1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x30
push esi
call fcn.0047ea92
add esp, 8
mov ecx, dword [edi + 0x2e4]
add ecx, 0xfffffffc
mov eax, ecx
mov dword [edi + 0x2e4], ecx
sub eax, dword [edi + 0x2e0]
sar eax, 2
test eax, eax
jne 0x42e578
mov edx, dword [edi + 0x2f0]
mov eax, edx
mov ecx, dword [edi + 0x2ec]
sub eax, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
sar eax, 2
test eax, eax
je 0x42e695
nop dword [eax + eax]
mov ebx, dword [edx - 4]
test ebx, ebx
je 0x42e675
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42e63e
push dword [eax]
call esi
push dword [ebx + 0x24]
call esi
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42e64e
push dword [eax]
call esi
push dword [ebx + 0x28]
call esi
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
call fcn.00427870
push 0x30
push ebx
mov dword [ebp - 4], 0xffffffff
call fcn.0047ea92
add esp, 8
mov edx, dword [edi + 0x2f0]
add edx, 0xfffffffc
mov dword [edi + 0x2f0], edx
mov eax, edx
mov ecx, dword [edi + 0x2ec]
sub eax, ecx
sar eax, 2
test eax, eax
jne 0x42e620
test ecx, ecx
je 0x42e6f1
mov eax, dword [edi + 0x2f4]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x42e6c9
mov ebx, dword [ecx - 4]
add edx, 0x23
sub ecx, ebx
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x42eac5
mov ecx, ebx
push edx
push ecx
call fcn.0047ea92
mov dword [edi + 0x2ec], 0
add esp, 8
mov dword [edi + 0x2f0], 0
mov dword [edi + 0x2f4], 0
mov ecx, dword [edi + 0x2e0]
test ecx, ecx
je 0x42e753
mov eax, dword [edi + 0x2e8]
sub eax, ecx
sar eax, 2
lea edx, [eax*4]
cmp edx, 0x1000
jb 0x42e72b
mov ebx, dword [ecx - 4]
add edx, 0x23
sub ecx, ebx
lea eax, [ecx - 4]
cmp eax, 0x1f
ja 0x42eac5
mov ecx, ebx
push edx
push ecx
call fcn.0047ea92
mov dword [edi + 0x2e0], 0
add esp, 8
mov dword [edi + 0x2e4], 0
mov dword [edi + 0x2e8], 0
lea ecx, [edi + 0x258]
call fcn.00435920
lea ebx, [edi + 0x228]
mov dword [ebp - 4], 1
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42e77b
push dword [eax]
call esi
push dword [ebx + 0x24]
call esi
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42e78b
push dword [eax]
call esi
push dword [ebx + 0x28]
call esi
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
call fcn.00427870
lea ebx, [edi + 0x1f8]
mov dword [ebp - 4], 2
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42e7bd
push dword [eax]
call esi
push dword [ebx + 0x24]
call esi
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42e7cd
push dword [eax]
call esi
push dword [ebx + 0x28]
call esi
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
call fcn.00427870
lea ebx, [edi + 0x1c8]
mov dword [ebp - 4], 3
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42e7ff
push dword [eax]
call esi
push dword [ebx + 0x24]
call esi
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42e80f
push dword [eax]
call esi
push dword [ebx + 0x28]
call esi
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
call fcn.00427870
lea ebx, [edi + 0x198]
mov dword [ebp - 4], 4
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42e841
push dword [eax]
call esi
push dword [ebx + 0x24]
call esi
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42e851
push dword [eax]
call esi
push dword [ebx + 0x28]
call esi
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
call fcn.00427870
lea ebx, [edi + 0x168]
mov dword [ebp - 4], 5
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42e883
push dword [eax]
call esi
push dword [ebx + 0x24]
call esi
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42e893
push dword [eax]
call esi
push dword [ebx + 0x28]
call esi
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
call fcn.00427870
lea ebx, [edi + 0x138]
mov dword [ebp - 4], 6
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42e8c5
push dword [eax]
call esi
push dword [ebx + 0x24]
call esi
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42e8d5
push dword [eax]
call esi
push dword [ebx + 0x28]
call esi
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
call fcn.00427870
lea ebx, [edi + 0x108]
mov dword [ebp - 4], 7
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42e907
push dword [eax]
call esi
push dword [ebx + 0x24]
call esi
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42e917
push dword [eax]
call esi
push dword [ebx + 0x28]
call esi
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
call fcn.00427870
lea ebx, [edi + 0xd8]
mov dword [ebp - 4], 8
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42e949
push dword [eax]
call esi
push dword [ebx + 0x24]
call esi
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42e959
push dword [eax]
call esi
push dword [ebx + 0x28]
call esi
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
call fcn.00427870
lea ebx, [edi + 0xa8]
mov dword [ebp - 4], 9
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x42e98b
push dword [eax]
call esi
push dword [ebx + 0x24]
call esi
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x42e99b
push dword [eax]
call esi
push dword [ebx + 0x28]
call esi
mov ecx, ebx
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x24], 0
call fcn.00427870
mov dword [ebp - 4], 0xa
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x42e9cd
push dword [eax]
call esi
push dword [edi + 0x9c]
call esi
mov eax, dword [edi + 0xa0]
test eax, eax
je 0x42e9e3
push dword [eax]
call esi
push dword [edi + 0xa0]
call esi
lea ecx, [edi + 0x78]
mov dword [edi + 0xa0], 0
mov dword [edi + 0x9c], 0
call fcn.00427870
mov dword [ebp - 4], 0xb
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x42ea16
push dword [eax]
call esi
push dword [edi + 0x6c]
call esi
mov eax, dword [edi + 0x70]
test eax, eax
je 0x42ea26
push dword [eax]
call esi
push dword [edi + 0x70]
call esi
lea ecx, [edi + 0x48]
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
call fcn.00427870
mov eax, dword [edi + 0x44]
test eax, eax
je 0x42ea4a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x44], 0
mov ecx, dword [edi]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0xc
mov eax, ecx
mov ebx, dword [ecx + 4]
mov esi, ebx
cmp byte [ebx + 0xd], 0
jne 0x42ea94
nop word [eax + eax]
push dword [esi + 8]
mov ecx, edi
call fcn.00407290
mov esi, dword [esi]
push 0x18
push ebx
call fcn.0047ea92
add esp, 8
mov ebx, esi
cmp byte [esi + 0xd], 0
je 0x42ea70
mov eax, dword [edi]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 4], ecx
mov eax, dword [edi]
push 0x18
mov dword [eax], ecx
mov eax, dword [edi]
mov dword [eax + 8], ecx
mov dword [edi + 4], 0
push dword [edi]
call fcn.0047ea92
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004821b3
int3