Function at 0x459270
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x4fd228]
mov dl, 1
cmp dl, byte [ecx + 1]
push ebx
sbb ebx, ebx
mov dword [esp + 0x74], ecx
and ebx, dword [0x4fd22c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebx
push esi
push edi
test eax, eax
je 0x4592b6
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004b55f0
test ebx, ebx
je 0x4592c9
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004b55f0
xorps xmm0, xmm0
lea edx, [esp + 0x70]
push 0
lea ecx, [esp + 0x70]
movlpd qword [esp + 0x70], xmm0
call fcn.004b2430
mov ecx, dword [esp + 0x70]
add esp, 4
mov eax, dword [esp + 0x70]
mov edi, dword [ebp + 0x18]
add dword [ebp + 8], ecx
add dword [ebp + 0xc], eax
add dword [ebp + 0x10], ecx
add dword [ebp + 0x14], eax
push 0x2e
push edi
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x58], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x459385
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esi, 2
push 0x4ee53c
push esi
call ebx
add esp, 8
test eax, eax
je 0x45936b
push 0x4ee544
push esi
call ebx
add esp, 8
test eax, eax
je 0x45936b
push 0x4ee54c
push esi
call ebx
add esp, 8
test eax, eax
jne 0x459385
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
mov ebx, eax
push 0x32
mov dword [esp + 0x3c], ebx
call esi
mov dword [esp + 0x14], eax
jmp 0x459387
xor ebx, ebx
mov esi, edi
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x45939d
cmp eax, 9
jne 0x4593a2
add esi, 2
jmp 0x459390
cmp eax, 0x2a
jne 0x4595b6
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
movzx eax, word [esi + 2]
add esi, 2
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towupper]
add esp, 4
cmp ax, 0x48
je 0x459517
cmp ax, 0x57
je 0x459509
push 4
push str.Icon
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x4593fa
add esi, 8
mov ecx, esi
call fcn.0041a370
mov dword [esp + 0x50], eax
jmp 0x459523
push 5
push str.Trans
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x4594e5
push 0x1f
add esi, 0xa
lea eax, [esp + 0xec]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor eax, eax
lea ebx, [esp + 0xf4]
mov word [esp + 0x132], ax
add esp, 0xc
mov ax, word [esp + 0xe8]
test ax, ax
je 0x45948c
movzx edi, ax
nop word [eax + eax]
mov ecx, 0x4e6614
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x459483
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x459460
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x459450
jmp 0x45948c
test ebx, ebx
je 0x45948c
xor eax, eax
mov word [ebx], ax
lea ecx, [esp + 0xe8]
call fcn.004b2270
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x4594c0
push 0x10
lea eax, [esp + 0xec]
push 0
push eax
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstol]
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x459523
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
movzx edx, cl
movzx eax, cx
shl edx, 8
shr eax, 8
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
or edx, eax
mov dword [esp + 0x24], edx
jmp 0x459523
mov ecx, esi
call fcn.0041a370
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [esp + 0x28], ecx
cmp ecx, 0xff
jle 0x459523
mov dword [esp + 0x28], 0xff
jmp 0x459523
lea ecx, [esi + 2]
call fcn.0041a370
mov dword [esp + 0x38], eax
jmp 0x459523
lea ecx, [esi + 2]
call fcn.0041a370
mov dword [esp + 0x14], eax
test esi, esi
je 0x459561
movzx eax, word [esi]
test ax, ax
je 0x459561
mov edi, eax
mov eax, 0x4e6614
mov edx, 0x20
nop dword [eax + eax]
cmp di, dx
je 0x459592
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x459540
movzx eax, word [esi + 2]
add esi, 2
mov edi, eax
test ax, ax
jne 0x459531
mov eax, dword [0x4f90f4]
test byte [eax + 0x100], 1
jne 0x459edf
mov ecx, dword [0x4fb9e4]
push 1
push 0
push 0xffffffffffffffff
push 0x4e6674
call fcn.004b55f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea edi, [esi + 2]
mov esi, edi
movzx eax, word [esi]
cmp eax, 0x20
je 0x4595a4
cmp eax, 9
jne 0x4595a9
add esi, 2
jmp 0x459597
cmp eax, 0x2a
je 0x4593b1
mov ebx, dword [esp + 0x38]
push 0
lea eax, [esp + 0x1f]
mov edx, ebx
push eax
push 0
push dword [esp + 0x5c]
lea eax, [esp + 0x30]
mov ecx, edi
push eax
push dword [esp + 0x28]
call fcn.004b25e0
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x48], ebx
test ebx, ebx
je 0x459561
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
call esi
mov dword [esp + 0x44], eax
test eax, eax
jne 0x459620
cmp byte [esp + 0x1b], al
jne 0x459561
cmp dword [esp + 0x20], 1
push ebx
jne 0x459615
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x459561
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x459561
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
cmp dword [esp + 0x20], 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x50], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x78], ecx
mov byte [esp + 0xd], cl
jne 0x4597f8
lea eax, [esp + 0xc0]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4596a2
mov edx, dword [esp + 0x44]
lea eax, [esp + 0xe]
mov ecx, dword [esp + 0xcc]
push 1
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.00458680
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x10
mov dword [esp + 0x30], eax
push dword [esp + 0xd0]
call ebx
push dword [esp + 0xcc]
call ebx
xor ebx, ebx
push ebx
call esi
mov esi, eax
push esi
mov dword [esp + 0x60], esi
call edi
mov edi, eax
test edi, edi
je 0x4597cf
lea eax, [esp + 0xd4]
push eax
push dword [esp + 0x4c]
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x4597c8
lea eax, [esp + 0xa8]
push eax
push 0x18
push dword [esp + 0xec]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x4597ae
push dword [esp + 0xb0]
push dword [esp + 0xb0]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x4597ae
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
test eax, eax
je 0x4597ae
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xa0], ecx
mov ecx, dword [esp + 0xb0]
push 0xff000000
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa8], ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [esp + 0x98]
push esi
push eax
push edi
call dword [sym.imp.USER32.dll_FillRect]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push 3
push 0
push 0
push dword [esp + 0xbc]
push dword [esp + 0xbc]
push dword [esp + 0x5c]
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [esp + 0x54]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x5c]
push dword [esp + 0xe4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0xe0]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push esi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x48]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esp + 0x48], ebx
test ebx, ebx
je 0x459561
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov eax, dword [esp + 0x44]
push 8
lea ecx, [esp + 0x12]
mov edx, eax
push ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.00458680
add esp, 0x10
mov dword [esp + 0x3c], eax
test eax, eax
je 0x459ddc
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x14]
sub ebx, dword [ebp + 8]
sub esi, dword [ebp + 0xc]
inc ebx
push dword [esp + 0x44]
inc esi
call edi
mov edi, eax
mov dword [esp + 0x74], edi
test edi, edi
je 0x459ddc
push esi
push ebx
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x50], eax
test eax, eax
je 0x459ddc
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x78], eax
test eax, eax
je 0x459ddc
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x50]
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x459ddc
mov ecx, dword [esp + 0x50]
lea eax, [esp + 0xf]
push 8
push eax
lea eax, [esp + 0x6c]
mov edx, edi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00458680
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x459ddc
mov esi, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
imul esi, dword [esp + 0x58]
imul edx, dword [esp + 0x64]
cmp byte [esp + 0xe], 0
mov dword [esp + 0x38], esi
mov dword [esp + 0x2c], edx
jne 0x4598ec
cmp byte [esp + 0xf], 0
je 0x459a04
mov edi, dword [esp + 0x24]
cmp edi, 0xffffffff
je 0x4598ff
and edi, 0xf8f8f8
mov dword [esp + 0x24], edi
xor ecx, ecx
test edx, edx
jle 0x45997c
cmp edx, 0x10
jb 0x459970
mov eax, edx
and eax, reloc.WSOCK32.dll_ntohs
jns 0x459918
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4f3080]
sub edx, eax
lea eax, [ebx + 0x20]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
andps xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x50]
andps xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [eax - 0x40]
andps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x30]
andps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jl 0x459924
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jge 0x45997c
nop dword [eax + eax]
and dword [ebx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, edx
jl 0x459970
xor ecx, ecx
test esi, esi
jle 0x459a20
cmp esi, 0x10
jb 0x4599f2
mov eax, esi
and eax, reloc.WSOCK32.dll_ntohs
jns 0x459999
dec eax
or eax, 0xfffffff0
inc eax
mov ebx, dword [esp + 0x3c]
mov edx, esi
movaps xmm2, xmmword [0x4f3080]
sub edx, eax
lea eax, [ebx + 0x20]
nop dword [eax + eax]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
andps xmm0, xmm2
movups xmmword [eax - 0x60], xmm0
movups xmm0, xmmword [eax - 0x50]
andps xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x40]
andps xmm0, xmm2
movups xmmword [eax - 0x40], xmm0
movups xmm0, xmmword [eax - 0x30]
andps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jl 0x4599b0
cmp ecx, esi
jge 0x459a10
jmp 0x4599f6
mov ebx, dword [esp + 0x3c]
and dword [ebx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, esi
jl 0x4599f6
jmp 0x459a10
mov edi, dword [esp + 0x24]
test esi, esi
jle 0x459a20
mov ebx, dword [esp + 0x3c]
lea eax, [ebx + 3]
mov ecx, esi
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x459a15
mov ebx, dword [esp + 0x28]
cmp ebx, 1
jge 0x459b8b
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x459dc2
mov edx, dword [esp + 0x34]
lea eax, [edx + 3]
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x459a40
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov ecx, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x4c], esi
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov ebx, dword [esp + 0x30]
cmp dword [esi + edx], eax
je 0x459a84
test ebx, ebx
je 0x459a77
cmp dword [ebx], 0
jne 0x459a84
mov byte [esp + 0xd], 0
cmp eax, edi
jne 0x459b5c
mov edi, dword [esp + 0x10]
mov eax, edi
cdq
idiv dword [esp + 0x1c]
mov ecx, dword [esp + 0x64]
sub ecx, eax
mov byte [esp + 0xd], 0
cmp dword [esp + 0x58], ecx
jg 0x459b7d
mov eax, edi
mov byte [esp + 0xd], 0
cdq
idiv dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x459b7d
xor edx, edx
mov byte [esp + 0xd], 1
xor edi, edi
mov dword [esp + 0x20], edi
cmp dword [esp + 0x38], edx
jle 0x459de2
mov ecx, ebx
mov byte [esp + 0xd], 1
mov eax, esi
mov ebx, esi
mov esi, dword [esp + 0x3c]
sub esi, dword [esp + 0x30]
mov dword [esp + 0x54], esi
nop
mov edi, dword [esp + 0x34]
mov esi, dword [esi + ecx]
cmp dword [eax + edi], esi
mov edi, dword [esp + 0x20]
je 0x459b12
cmp dword [esp + 0x30], 0
je 0x459b0c
cmp dword [ecx], 0
jne 0x459b12
cmp esi, dword [esp + 0x24]
jne 0x459b47
inc edx
cmp edx, dword [esp + 0x40]
jge 0x459b1e
add eax, 4
jmp 0x459b2f
mov esi, dword [esp + 0x1c]
xor edx, edx
lea eax, [esi*4]
add ebx, eax
mov eax, ebx
inc edi
add ecx, 4
mov dword [esp + 0x20], edi
cmp edi, dword [esp + 0x38]
jge 0x459de2
mov esi, dword [esp + 0x54]
jmp 0x459af0
mov esi, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0xd], 0
mov edi, dword [esp + 0x10]
inc edi
add esi, 4
mov dword [esp + 0x10], edi
mov dword [esp + 0x4c], esi
cmp edi, ecx
jge 0x459dbc
mov edi, dword [esp + 0x24]
jmp 0x459a65
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
jmp 0x459b60
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [esp + 0x2c], edi
jle 0x459dc2
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x20], edi
mov eax, edi
mov byte [esp + 0xd], 0
cdq
idiv ecx
mov ecx, dword [esp + 0x64]
sub ecx, eax
cmp dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x1c]
jg 0x459da8
mov eax, edi
mov byte [esp + 0xd], 0
cdq
idiv ecx
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x459da8
xor eax, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], eax
test esi, esi
jle 0x459de2
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x20]
sub eax, esi
mov byte [esp + 0xe], bl
mov byte [esp + 0xd], 1
mov dword [esp + 0x14], esi
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x8c], eax
nop word [eax + eax]
mov cl, byte [esi + 2]
movzx edx, word [esi]
mov eax, dword [esp + 0x28]
shr edx, 8
movzx esi, cl
mov dword [esp + 0x80], edx
cmp eax, esi
jle 0x459c3f
xor bh, bh
jmp 0x459c49
mov bh, cl
mov bl, al
sub bh, al
mov byte [esp + 0xe], bl
mov al, dl
movzx edi, dl
sub al, bl
mov dword [esp + 0x68], 0
xor edx, edx
movzx eax, al
cmp dword [esp + 0x28], edi
cmovle edx, eax
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x14]
movzx eax, word [edx]
movzx edx, al
sub al, bl
cmp dword [esp + 0x28], edx
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x68]
movzx eax, al
cmovle edx, eax
mov eax, 0xff
sub eax, esi
mov dword [esp + 0x68], edx
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x80]
cmp esi, eax
jle 0x459cad
mov byte [esp + 0xf], 0xff
jmp 0x459cb7
add bl, cl
mov byte [esp + 0xf], bl
mov bl, byte [esp + 0xe]
mov eax, 0xff
sub eax, edi
cmp esi, eax
jle 0x459cc7
or ch, 0xff
jmp 0x459ccb
mov ch, bl
add ch, dl
mov eax, 0xff
sub eax, dword [esp + 0x84]
cmp esi, eax
mov esi, dword [esp + 0x14]
jle 0x459ce4
or cl, 0xff
jmp 0x459ceb
movzx eax, word [esi]
mov cl, bl
add cl, al
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x4c]
mov bl, byte [edi + eax + 2]
movzx edx, word [edi + eax]
mov eax, edx
shr eax, 8
cmp bl, bh
jb 0x459d21
cmp bl, byte [esp + 0xf]
ja 0x459d21
cmp al, byte [esp + 0x88]
jb 0x459d21
cmp al, ch
ja 0x459d21
cmp dl, byte [esp + 0x68]
jb 0x459d21
cmp dl, cl
jbe 0x459d3d
cmp dword [esp + 0x30], 0
je 0x459d35
mov eax, dword [esp + 0x8c]
cmp dword [eax + esi], 0
jne 0x459d3d
mov eax, dword [esp + 0x24]
cmp dword [esi], eax
jne 0x459d93
mov ebx, dword [esp + 0x60]
inc ebx
mov dword [esp + 0x60], ebx
cmp ebx, dword [esp + 0x40]
jge 0x459d55
add edi, 4
mov dword [esp + 0x4c], edi
jmp 0x459d74
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x5c]
lea ecx, [edx*4]
add eax, ecx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x4c], eax
mov edi, dword [esp + 0x54]
add esi, 4
inc edi
mov dword [esp + 0x14], esi
mov dword [esp + 0x54], edi
cmp edi, dword [esp + 0x38]
jge 0x459de2
mov bl, byte [esp + 0xe]
jmp 0x459c20
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xd], 0
add dword [esp + 0x20], 4
inc edi
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0x2c]
jl 0x459ba3
mov ebx, dword [esp + 0x10]
jmp 0x459dc4
xor ebx, ebx
mov ecx, dword [0x4fb9e4]
push 1
push 0
push 0xffffffffffffffff
push 0x4e613c
call fcn.004b55f0
jmp 0x459de6
mov ebx, dword [esp + 0x7c]
jmp 0x459de6
mov ebx, dword [esp + 0x10]
push dword [esp + 0x44]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x1b], 0
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
jne 0x459e05
push dword [esp + 0x48]
call edi
mov esi, dword [esp + 0x74]
test esi, esi
je 0x459e24
mov eax, dword [esp + 0x78]
test eax, eax
je 0x459e1d
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x50]
test eax, eax
je 0x459e2f
push eax
call edi
mov eax, dword [esp + 0x3c]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
je 0x459e43
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x459e51
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x459561
push eax
call esi
add esp, 4
cmp byte [esp + 0xd], 0
jne 0x459e78
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x90]
mov esi, dword [esp + 0x1c]
test ecx, ecx
je 0x459e9f
mov eax, ebx
cdq
idiv esi
push 0x18
sub edx, dword [esp + 0x70]
add edx, dword [ebp + 8]
mov eax, edx
cdq
push edx
push eax
call fcn.00401470
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x459ec0
mov eax, ebx
cdq
idiv esi
push 0x18
sub eax, dword [esp + 0x74]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
call fcn.00401470
mov ecx, dword [0x4fb9e4]
push 1
push 0
push 0xffffffffffffffff
push 0x4cfcf8
call fcn.004b55f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x7c]
push 0x4cfc30
push 0
push 0x4e6674
call fcn.0044e0b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14