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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x4fc2a8]
mov dl, 1
cmp dl, byte [ecx + 1]
push ebx
sbb ebx, ebx
mov dword [esp + 0x70], ecx
and ebx, dword [0x4fc2ac]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ebx
push esi
push edi
test eax, eax
je 0x458786
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004b4bf0
test ebx, ebx
je 0x458799
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004b4bf0
xorps xmm0, xmm0
lea edx, [esp + 0x68]
push 0
lea ecx, [esp + 0x68]
movlpd qword [esp + 0x68], xmm0
call fcn.004b1a30
mov ecx, dword [esp + 0x68]
add esp, 4
mov eax, dword [esp + 0x68]
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 + 0x2c], 0
mov dword [esp + 0x40], 0xffffffff
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x458855
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esi, 2
push 0x4ed504
push esi
call ebx
add esp, 8
test eax, eax
je 0x45883b
push 0x4ed50c
push esi
call ebx
add esp, 8
test eax, eax
je 0x45883b
push 0x4ed514
push esi
call ebx
add esp, 8
test eax, eax
jne 0x458855
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
mov ebx, eax
push 0x32
mov dword [esp + 0x38], ebx
call esi
mov dword [esp + 0x10], eax
jmp 0x458857
xor ebx, ebx
mov esi, edi
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x45886d
cmp eax, 9
jne 0x458872
add esi, 2
jmp 0x458860
cmp eax, 0x2a
jne 0x458a86
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 0x4589e7
cmp ax, 0x57
je 0x4589d9
push 4
push str.Icon
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x4588ca
add esi, 8
mov ecx, esi
call fcn.00419ea0
mov dword [esp + 0x48], eax
jmp 0x4589f3
push 5
push str.Trans
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x4589b5
push 0x1f
add esi, 0xa
lea eax, [esp + 0xe4]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
xor eax, eax
lea ebx, [esp + 0xec]
mov word [esp + 0x12a], ax
add esp, 0xc
mov ax, word [esp + 0xe0]
test ax, ax
je 0x45895c
movzx edi, ax
nop word [eax + eax]
mov ecx, 0x4e5614
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x458953
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x458930
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x458920
jmp 0x45895c
test ebx, ebx
je 0x45895c
xor eax, eax
mov word [ebx], ax
lea ecx, [esp + 0xe0]
call fcn.004b1870
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x458990
push 0x10
lea eax, [esp + 0xe4]
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 + 0x38], eax
jmp 0x4589f3
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 + 0x38], edx
jmp 0x4589f3
mov ecx, esi
call fcn.00419ea0
xor ecx, ecx
test eax, eax
cmovns ecx, eax
mov dword [esp + 0x24], ecx
cmp ecx, 0xff
jle 0x4589f3
mov dword [esp + 0x24], 0xff
jmp 0x4589f3
lea ecx, [esi + 2]
call fcn.00419ea0
mov dword [esp + 0x34], eax
jmp 0x4589f3
lea ecx, [esi + 2]
call fcn.00419ea0
mov dword [esp + 0x10], eax
test esi, esi
je 0x458a31
movzx eax, word [esi]
test ax, ax
je 0x458a31
mov edi, eax
mov eax, 0x4e5614
mov edx, 0x20
nop dword [eax + eax]
cmp di, dx
je 0x458a62
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x458a10
movzx eax, word [esi + 2]
add esi, 2
mov edi, eax
test ax, ax
jne 0x458a01
mov eax, dword [0x4f8174]
test byte [eax + 0x100], 1
jne 0x459362
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4e5674
call fcn.004b4bf0
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 0x458a74
cmp eax, 9
jne 0x458a79
add esi, 2
jmp 0x458a67
cmp eax, 0x2a
je 0x458881
mov ebx, dword [esp + 0x34]
push 0
lea eax, [esp + 0x1b]
mov edx, ebx
push eax
push 0
push dword [esp + 0x54]
lea eax, [esp + 0x30]
mov ecx, edi
push eax
push dword [esp + 0x24]
call fcn.004b1be0
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x458a31
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
call esi
mov dword [esp + 0x40], eax
test eax, eax
jne 0x458af0
cmp byte [esp + 0x17], al
jne 0x458a31
cmp dword [esp + 0x20], 1
push ebx
jne 0x458ae5
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x458a31
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x458a31
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
cmp dword [esp + 0x20], 1
mov dword [esp + 0x70], 0
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x74], ecx
mov byte [esp + 0xd], cl
jne 0x458cc8
lea eax, [esp + 0xb8]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x458b72
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xe]
mov ecx, dword [esp + 0xc4]
push 1
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00457b50
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x10
mov dword [esp + 0x2c], eax
push dword [esp + 0xc8]
call ebx
push dword [esp + 0xc4]
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 0x458c9f
lea eax, [esp + 0xcc]
push eax
push dword [esp + 0x48]
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x458c98
lea eax, [esp + 0xa0]
push eax
push 0x18
push dword [esp + 0xe4]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x458c7e
push dword [esp + 0xa8]
push dword [esp + 0xa8]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x458c7e
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x458c7e
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x98], ecx
mov ecx, dword [esp + 0xa8]
push 0xff000000
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa0], ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [esp + 0x90]
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 + 0xb4]
push dword [esp + 0xb4]
push dword [esp + 0x58]
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [esp + 0x4c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x5c]
push dword [esp + 0xdc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0xd8]
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 + 0x44]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esp + 0x44], ebx
test ebx, ebx
je 0x458a31
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov eax, dword [esp + 0x40]
push 8
lea ecx, [esp + 0x12]
mov edx, eax
push ecx
lea ecx, [esp + 0x60]
push ecx
lea ecx, [esp + 0x48]
push ecx
mov ecx, ebx
call fcn.00457b50
add esp, 0x10
mov dword [esp + 0x28], eax
test eax, eax
je 0x45925f
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 + 0x40]
inc esi
call edi
mov edi, eax
mov dword [esp + 0x70], edi
test edi, edi
je 0x45925f
push esi
push ebx
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x48], eax
test eax, eax
je 0x45925f
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x74], eax
test eax, eax
je 0x45925f
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x4c]
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45925f
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0xf]
push 8
push eax
lea eax, [esp + 0x68]
mov edx, edi
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00457b50
mov esi, eax
add esp, 0x10
mov dword [esp + 0x30], esi
test esi, esi
je 0x45925f
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x1c]
imul ebx, dword [esp + 0x58]
imul edi, dword [esp + 0x60]
cmp byte [esp + 0xe], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x54], edi
jne 0x458dbc
cmp byte [esp + 0xf], 0
je 0x458ebf
mov eax, dword [esp + 0x38]
cmp eax, 0xffffffff
je 0x458dce
and eax, 0xf8f8f8
mov dword [esp + 0x38], eax
xor ecx, ecx
test edi, edi
jle 0x458e41
cmp edi, 0x10
jb 0x458e35
mov eax, edi
and eax, reloc.WSOCK32.dll_ntohs
jns 0x458de7
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4f20d0]
mov edx, edi
sub edx, eax
lea eax, [esi + 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
movups xmm0, xmmword [eax - 0x30]
andps xmm0, xmm2
movups xmmword [eax - 0x30], xmm0
cmp ecx, edx
jl 0x458df5
cmp ecx, edi
jge 0x458e41
and dword [esi + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, edi
jl 0x458e35
xor ecx, ecx
test ebx, ebx
jle 0x458edd
cmp ebx, 0x10
jb 0x458ead
mov eax, ebx
and eax, reloc.WSOCK32.dll_ntohs
jns 0x458e5e
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4f20d0]
mov edx, ebx
sub edx, eax
mov eax, dword [esp + 0x28]
add eax, 0x20
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 xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
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 0x458e70
cmp ecx, ebx
jge 0x458ec3
mov edx, dword [esp + 0x28]
and dword [edx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, ebx
jl 0x458eb1
jmp 0x458ec7
test ebx, ebx
jle 0x458edd
mov edx, dword [esp + 0x28]
lea eax, [edx + 3]
mov ecx, ebx
nop dword [eax]
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x458ed0
jmp 0x458ee1
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp ebx, 1
jge 0x459039
test edi, edi
jle 0x459245
lea eax, [esi + 3]
mov ecx, edi
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x458f00
mov eax, dword [edx]
xor edi, edi
mov ecx, dword [esp + 0x30]
xor esi, esi
mov edx, dword [esp + 0x54]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x50], esi
mov ebx, dword [esp + 0x2c]
cmp dword [esi + ecx], eax
je 0x458f46
test ebx, ebx
je 0x458f37
cmp dword [ebx], 0
jne 0x458f46
mov byte [esp + 0xd], 0
cmp eax, dword [esp + 0x38]
jne 0x459020
mov eax, edi
mov ecx, dword [esp + 0x60]
cdq
idiv dword [esp + 0x1c]
mov byte [esp + 0xd], 0
sub ecx, eax
cmp dword [esp + 0x58], ecx
jg 0x459014
mov eax, edi
mov byte [esp + 0xd], 0
cdq
idiv dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
sub eax, edx
cmp dword [esp + 0x3c], eax
jg 0x459014
xor edx, edx
mov byte [esp + 0xd], 1
xor edi, edi
mov dword [esp + 0x20], edi
cmp dword [esp + 0x34], edx
jle 0x459265
mov ecx, ebx
mov byte [esp + 0xd], 1
mov eax, esi
mov ebx, esi
mov esi, dword [esp + 0x28]
sub esi, dword [esp + 0x2c]
mov dword [esp + 0x4c], esi
nop dword [eax]
mov edi, dword [esp + 0x30]
mov esi, dword [esi + ecx]
cmp dword [eax + edi], esi
mov edi, dword [esp + 0x20]
je 0x458fd2
cmp dword [esp + 0x2c], 0
je 0x458fcc
cmp dword [ecx], 0
jne 0x458fd2
cmp esi, dword [esp + 0x38]
jne 0x459007
inc edx
cmp edx, dword [esp + 0x3c]
jge 0x458fde
add eax, 4
jmp 0x458fef
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 + 0x34]
jge 0x459265
mov esi, dword [esp + 0x4c]
jmp 0x458fb0
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x18]
mov byte [esp + 0xd], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x54]
inc edi
add esi, 4
mov dword [esp + 0x18], edi
mov dword [esp + 0x50], esi
cmp edi, edx
jl 0x458f25
jmp 0x459247
xor esi, esi
mov dword [esp + 0x18], esi
test edi, edi
jle 0x459245
mov ecx, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x4c], edi
mov eax, esi
mov byte [esp + 0xd], 0
cdq
idiv ecx
mov ecx, dword [esp + 0x60]
sub ecx, eax
cmp dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x1c]
jg 0x45922b
mov eax, esi
mov byte [esp + 0xd], 0
cdq
idiv ecx
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x3c], eax
jg 0x45922b
xor eax, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x50], eax
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x34], eax
jle 0x459265
mov edx, dword [esp + 0x28]
mov esi, edx
mov eax, dword [esp + 0x2c]
sub eax, edx
mov byte [esp + 0xd], 1
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x84], eax
movzx eax, word [esi]
mov dl, byte [esi + 2]
mov ecx, eax
movzx esi, dl
shr ecx, 8
mov dword [esp + 0x7c], esi
cmp ebx, esi
jle 0x4590e1
mov byte [esp + 0xe], 0
jmp 0x4590e9
mov dh, dl
sub dh, bl
mov byte [esp + 0xe], dh
movzx edi, cl
cmp dword [esp + 0x24], edi
jle 0x4590f9
mov byte [esp + 0x16], 0
jmp 0x459101
mov dh, cl
sub dh, bl
mov byte [esp + 0x16], dh
movzx eax, al
mov dword [esp + 0x80], eax
cmp dword [esp + 0x24], eax
jle 0x459118
mov byte [esp + 0xf], 0
jmp 0x45912b
mov esi, dword [esp + 0x10]
movzx eax, word [esi]
mov esi, dword [esp + 0x7c]
mov dh, al
sub dh, bl
mov byte [esp + 0xf], dh
mov eax, 0xff
sub eax, esi
mov esi, dword [esp + 0x24]
cmp esi, eax
jle 0x45913f
or bh, 0xff
jmp 0x459143
mov bh, bl
add bh, dl
mov eax, 0xff
sub eax, edi
cmp esi, eax
jle 0x459153
or dh, 0xff
jmp 0x459157
mov dh, bl
add dh, cl
mov eax, 0xff
sub eax, dword [esp + 0x80]
cmp esi, eax
mov esi, dword [esp + 0x10]
jle 0x459170
or bl, 0xff
jmp 0x459175
movzx eax, word [esi]
add bl, al
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x20]
mov dl, byte [edi + eax + 2]
movzx ecx, word [edi + eax]
mov eax, ecx
shr eax, 8
cmp dl, byte [esp + 0xe]
jb 0x4591a8
cmp dl, bh
ja 0x4591a8
cmp al, byte [esp + 0x16]
jb 0x4591a8
cmp al, dh
ja 0x4591a8
cmp cl, byte [esp + 0xf]
jb 0x4591a8
cmp cl, bl
jbe 0x4591c4
cmp dword [esp + 0x2c], 0
je 0x4591bc
mov eax, dword [esp + 0x84]
cmp dword [eax + esi], 0
jne 0x4591c4
mov eax, dword [esp + 0x38]
cmp dword [esi], eax
jne 0x459216
mov ebx, dword [esp + 0x50]
inc ebx
mov dword [esp + 0x50], ebx
cmp ebx, dword [esp + 0x3c]
jge 0x4591d8
add edi, 4
jmp 0x4591f3
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x50], eax
lea eax, [ecx*4]
add edi, eax
mov dword [esp + 0x6c], edi
mov ebx, dword [esp + 0x5c]
add esi, 4
inc ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x10], esi
cmp ebx, dword [esp + 0x34]
jge 0x459265
mov ebx, dword [esp + 0x24]
jmp 0x4590c4
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xd], 0
inc esi
add edi, 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x4c], edi
cmp esi, dword [esp + 0x54]
jl 0x459051
mov edi, esi
jmp 0x459247
xor edi, edi
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4e513c
call fcn.004b4bf0
jmp 0x459269
mov edi, dword [esp + 0x78]
jmp 0x459269
mov edi, dword [esp + 0x18]
push dword [esp + 0x40]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x17], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
jne 0x459288
push dword [esp + 0x44]
call esi
mov ebx, dword [esp + 0x70]
test ebx, ebx
je 0x4592a7
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4592a0
push eax
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4592b2
push eax
call esi
mov eax, dword [esp + 0x28]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
je 0x4592c6
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4592d4
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x458a31
push eax
call esi
add esp, 4
cmp byte [esp + 0xd], 0
jne 0x4592fb
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x88]
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x459322
mov eax, edi
cdq
idiv ebx
push 0x18
sub edx, dword [esp + 0x68]
add edx, dword [ebp + 8]
mov eax, edx
cdq
push edx
push eax
call fcn.00401470
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x459343
mov eax, edi
cdq
idiv ebx
push 0x18
sub eax, dword [esp + 0x6c]
add eax, dword [ebp + 0xc]
cdq
push edx
push eax
call fcn.00401470
mov ecx, dword [0x4faa64]
push 1
push 0
push 0xffffffffffffffff
push 0x4cecf8
call fcn.004b4bf0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x78]
push 0x4cec30
push 0
push 0x4e5674
call fcn.0044d640
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14