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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff98
mov esi, edx
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, eax
lea eax, [ebx + 0x2c]
push eax
lea eax, [ebx + 0x1c]
push eax
lea eax, [ebx + 0x24]
push eax
mov eax, dword [ebx + 8]
push eax
lea ecx, [ebx + 0xc]
lea edx, [ebx + 0x3c]
mov eax, dword [ebx + 0x4c]
call fcn.005d95d8
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
test al, al
je 0x5e9fcf
lea eax, [esp + 0x50]
call fcn.005bbae8
lea edx, [esp + 0x50]
lea eax, [ebx + 0xc]
call fcn.00407d1c
test al, al
jne 0x5e9ebb
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
jmp 0x5e9f16
mov eax, dword [ebx + 0x20]
sar eax, 1
jns 0x5e9ec5
adc eax, 0
mov edx, dword [ebx + 0x18]
sub edx, eax
push edx
lea eax, [esp + 0x5c]
push eax
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.00407ce0
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x54]
call fcn.005bbae8
lea edx, [esp + 0x54]
pop eax
call fcn.00407d1c
test al, al
je 0x5e9f09
movzx eax, byte [ebx + 0x74]
inc eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
jmp 0x5e9f16
xor eax, eax
mov dword [ebx + 0x78], eax
movzx eax, byte [ebx + 0x74]
inc eax
mov dword [ebx + 0x7c], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_BeginPaint
mov esi, dword [ebx + 0x54]
mov eax, esi
call fcn.005c79e4
mov edx, eax
mov eax, esi
call fcn.005c8144
mov eax, dword [ebx + 0x54]
call fcn.005c79e4
test al, al
jne 0x5e9fbc
mov eax, dword [esp + 4]
test eax, eax
jne 0x5e9f58
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_GetDC
mov esi, eax
jmp 0x5e9f5a
mov esi, eax
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x2d], 1
mov eax, ebx
call fcn.005ea224
push 0xcc0020
push 0
mov eax, dword [ebx + 0x70]
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
call fcn.0043a318
call fcn.00435470
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
sub eax, dword [ebx + 0x70]
push eax
push 0
mov eax, dword [ebx + 0x70]
push eax
push esi
call sub.gdi32.dll_BitBlt
cmp dword [esp + 4], 0
je 0x5e9fbc
push esi
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_ReleaseDC
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_EndPaint
jmp 0x5ea0fc
lea eax, [esp + 0x50]
call fcn.005bbae8
lea edx, [esp + 0x50]
lea eax, [ebx + 0xc]
call fcn.00407d1c
test al, al
jne 0x5e9ff4
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
jmp 0x5ea04f
mov eax, dword [ebx + 0x18]
push eax
lea eax, [esp + 0x5c]
push eax
mov eax, dword [ebx + 0x1c]
sar eax, 1
jns 0x5ea007
adc eax, 0
mov ecx, dword [ebx + 0x14]
sub ecx, eax
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0xc]
call fcn.00407ce0
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0x54]
call fcn.005bbae8
lea edx, [esp + 0x54]
pop eax
call fcn.00407d1c
test al, al
je 0x5ea042
movzx eax, byte [ebx + 0x74]
inc eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
jmp 0x5ea04f
xor eax, eax
mov dword [ebx + 0x78], eax
movzx eax, byte [ebx + 0x74]
inc eax
mov dword [ebx + 0x7c], eax
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_BeginPaint
mov esi, dword [ebx + 0x54]
mov eax, esi
call fcn.005c79e4
mov edx, eax
mov eax, esi
call fcn.005c8144
mov eax, dword [ebx + 0x54]
call fcn.005c79e4
test al, al
jne 0x5ea0ee
mov eax, dword [esp + 4]
test eax, eax
jne 0x5ea091
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_GetDC
mov esi, eax
jmp 0x5ea093
mov esi, eax
mov eax, dword [ebx + 0x54]
mov byte [eax + 0x2d], 1
mov eax, ebx
call fcn.005ea224
push 0xcc0020
push 0
push 0
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
call fcn.0043a318
call fcn.00435470
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + 0x38]
mov edx, dword [eax]
call dword [edx + 0x2c]
push eax
push 0
push 0
push esi
call sub.gdi32.dll_BitBlt
cmp dword [esp + 4], 0
je 0x5ea0ee
push esi
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_ReleaseDC
lea eax, [esp + 0x10]
push eax
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_EndPaint
add esp, 0x68
pop edi
pop esi
pop ebx
ret