Function at 0x4385c1
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push esi
push edi
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x438912
lea eax, [ebp + 0x20]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x8c], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x74], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x438861
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x4386ba
push 0
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
jmp 0x43885c
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [eax]
mov eax, dword [ebp - 8]
mov edi, dword [eax]
push 3
mov ecx, dword [ebp - 0x24]
call fcn.00430d9e
imul edi, dword [eax]
cmp esi, edi
je 0x438765
mov dword [ebp - 0x2c], 1
jmp 0x438769
and dword [ebp - 0x2c], 0
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00430d9e
mov ecx, dword [ebp - 0x2c]
cmp ecx, dword [eax]
jl 0x438783
mov dword [ebp - 0x34], 1
jmp 0x438787
and dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax]
cmp dword [ebp - 0x34], eax
je 0x4387a0
mov eax, 0x6f73
test eax, eax
jne 0x4387a0
and dword [ebp - 0x1c], 0
jmp 0x4387a7
mov dword [ebp - 0x1c], 1
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x64]
mov edx, dword [ebp - 0x1c]
sub edx, dword [ecx]
sub edx, 5
cmp dword [eax], edx
jle 0x4387c2
mov dword [ebp - 0x10], 1
jmp 0x4387c6
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
sub ecx, dword [eax]
jne 0x4387d9
mov dword [ebp - 4], 1
jmp 0x4387dd
and dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
sub esi, dword [ebp - 4]
push 3
mov ecx, dword [ebp - 0x24]
call fcn.00430d9e
cmp esi, dword [eax]
jne 0x438804
mov dword [ebp - 0x14], 1
jmp 0x438808
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jge 0x43881b
mov dword [ebp - 0x18], 1
jmp 0x43881f
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
cmp dword [ebp - 0x18], eax
jle 0x438832
mov dword [ebp - 0x28], 1
jmp 0x438836
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
cmp eax, dword [ebp - 0x28]
jg 0x438849
mov dword [ebp - 0x38], 1
jmp 0x43884d
and dword [ebp - 0x38], 0
push 0
mov ecx, dword [ebp - 0x30]
call fcn.00430d9e
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
jmp 0x438910
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
movzx eax, byte [eax]
test eax, eax
je 0x4388a2
push 0
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x438910
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0xcc]
push dword [eax]
mov ecx, dword [ebp - 0xd4]
call fcn.00430d9e
mov esi, dword [eax]
neg esi
push 0
mov ecx, dword [ebp - 0xdc]
call fcn.00430d9e
mov dword [eax], esi
jmp 0x43894d
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xe4], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xec], eax
push dword [ebp - 0xe4]
mov eax, dword [ebp - 0xec]
movzx eax, byte [eax]
push eax
push dword [ebp - 0xf4]
push 1
call fcn.00434e83
add esp, 0x10
pop edi
pop esi
mov esp, ebp
pop ebp
ret