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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
mov eax, dword [0x4fd218]
mov dl, 1
cmp dl, byte [ecx + 1]
push ebx
sbb ebx, ebx
mov dword [esp + 0x74], ecx
and ebx, dword [0x4fd21c]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebx
push esi
push edi
test eax, eax
je 0x459616
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004b5b70
test ebx, ebx
je 0x459629
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004b5b70
xorps xmm0, xmm0
lea edx, [esp + 0x70]
push 0
lea ecx, [esp + 0x70]
movlpd qword [esp + 0x70], xmm0
call fcn.004b28e0
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 + 0x28], 0
mov dword [esp + 0x30], 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 0x4596e5
mov ebx, dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esi, 2
push 0x4ee584
push esi
call ebx
add esp, 8
test eax, eax
je 0x4596cb
push 0x4ee58c
push esi
call ebx
add esp, 8
test eax, eax
je 0x4596cb
push 0x4ee594
push esi
call ebx
add esp, 8
test eax, eax
jne 0x4596e5
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 0x4596e7
xor ebx, ebx
mov esi, edi
nop dword [eax]
movzx eax, word [esi]
cmp eax, 0x20
je 0x4596fd
cmp eax, 9
jne 0x459702
add esi, 2
jmp 0x4596f0
cmp eax, 0x2a
jne 0x459926
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]
movzx eax, ax
add esp, 4
cmp eax, 0x48
je 0x45987d
cmp eax, 0x57
je 0x45986f
push 4
push str.Icon
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x45975b
add esi, 8
mov ecx, esi
call fcn.0041a370
mov dword [esp + 0x50], eax
jmp 0x459889
push 5
push str.Trans
push esi
call ebx
add esp, 0xc
test eax, eax
jne 0x459845
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 0x4597ec
movzx edi, ax
nop dword [eax + eax]
mov ecx, 0x4e6614
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x4597e3
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x4597c0
movzx eax, word [ebx + 2]
add ebx, 2
mov edi, eax
test ax, ax
jne 0x4597b0
jmp 0x4597ec
test ebx, ebx
je 0x4597ec
xor eax, eax
mov word [ebx], ax
lea ecx, [esp + 0xe8]
call fcn.004b2720
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x459820
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 + 0x28], eax
jmp 0x459889
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 + 0x28], edx
jmp 0x459889
mov ecx, esi
call fcn.0041a370
mov dword [esp + 0x20], eax
test eax, eax
jns 0x45985e
mov dword [esp + 0x20], 0
jmp 0x459889
cmp eax, 0xff
jle 0x459889
mov dword [esp + 0x20], 0xff
jmp 0x459889
lea ecx, [esi + 2]
call fcn.0041a370
mov dword [esp + 0x38], eax
jmp 0x459889
lea ecx, [esi + 2]
call fcn.0041a370
mov dword [esp + 0x14], eax
test esi, esi
je 0x4598d1
movzx eax, word [esi]
test ax, ax
je 0x4598d1
mov edi, eax
nop word [eax + eax]
mov eax, 0x4e6614
mov edx, 0x20
nop word [eax + eax]
cmp di, dx
je 0x459902
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x4598b0
movzx eax, word [esi + 2]
add esi, 2
mov edi, eax
test ax, ax
jne 0x4598a0
mov eax, dword [0x4f90f4]
test byte [eax + 0x100], 1
jne 0x45a25f
mov ecx, dword [0x4fb9cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4e6674
call fcn.004b5b70
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 0x459914
cmp eax, 9
jne 0x459919
add esi, 2
jmp 0x459907
cmp eax, 0x2a
je 0x459711
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 + 0x34]
mov ecx, edi
push eax
push dword [esp + 0x28]
call fcn.004b2a90
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x48], ebx
test ebx, ebx
je 0x4598d1
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
call esi
mov dword [esp + 0x44], eax
test eax, eax
jne 0x459990
cmp byte [esp + 0x1b], al
jne 0x4598d1
cmp dword [esp + 0x24], 1
push ebx
jne 0x459985
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x4598d1
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x4598d1
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
cmp dword [esp + 0x24], 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 0x459b68
lea eax, [esp + 0xc0]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x459a12
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.004589d0
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 0x459b3f
lea eax, [esp + 0xd4]
push eax
push dword [esp + 0x4c]
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x459b38
lea eax, [esp + 0xa8]
push eax
push 0x18
push dword [esp + 0xec]
call dword [sym.imp.GDI32.dll_GetObjectW]
test eax, eax
je 0x459b1e
push dword [esp + 0xb0]
push dword [esp + 0xb0]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x459b1e
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x54], eax
test eax, eax
je 0x459b1e
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 0x4598d1
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.004589d0
add esp, 0x10
mov dword [esp + 0x3c], eax
test eax, eax
je 0x45a15c
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 0x45a15c
push esi
push ebx
push dword [esp + 0x4c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x50], eax
test eax, eax
je 0x45a15c
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x78], eax
test eax, eax
je 0x45a15c
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 0x45a15c
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.004589d0
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x34], ebx
test ebx, ebx
je 0x45a15c
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 0x459c5c
cmp byte [esp + 0xf], 0
je 0x459d7e
mov edi, dword [esp + 0x28]
cmp edi, 0xffffffff
je 0x459c6f
and edi, 0xf8f8f8
mov dword [esp + 0x28], edi
xor ecx, ecx
test edx, edx
jle 0x459cec
cmp edx, 0x10
jb 0x459ce0
mov eax, edx
and eax, reloc.WSOCK32.dll_ntohs
jns 0x459c88
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4f32b0]
sub edx, eax
lea eax, [ebx + 0x20]
movups xmm0, xmmword [eax - 0x20]
lea eax, [eax + 0x40]
add ecx, 0x10
movaps xmm1, xmm2
pand xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x50]
pand xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [eax - 0x40]
pand xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x30]
pand xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jl 0x459c94
mov edx, dword [esp + 0x2c]
cmp ecx, edx
jge 0x459cec
nop
and dword [ebx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, edx
jl 0x459ce0
xor ecx, ecx
test esi, esi
jle 0x459d9b
cmp esi, 0x10
jb 0x459d69
mov eax, esi
and eax, reloc.WSOCK32.dll_ntohs
jns 0x459d09
dec eax
or eax, 0xfffffff0
inc eax
mov ebx, dword [esp + 0x3c]
mov edx, esi
movaps xmm2, xmmword [0x4f32b0]
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
pand xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x50]
pand xmm0, xmm2
movups xmmword [eax - 0x50], xmm0
movups xmm0, xmmword [eax - 0x40]
pand xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movaps xmm1, xmm2
movups xmm0, xmmword [eax - 0x30]
pand xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ecx, edx
jl 0x459d20
cmp ecx, esi
jge 0x459d8a
jmp 0x459d70
mov ebx, dword [esp + 0x3c]
nop dword [eax]
and dword [ebx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, esi
jl 0x459d70
jmp 0x459d8a
mov edi, dword [esp + 0x28]
test esi, esi
jle 0x459d9b
mov ebx, dword [esp + 0x3c]
lea eax, [ebx + 3]
mov ecx, esi
nop
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x459d90
mov ebx, dword [esp + 0x20]
cmp ebx, 1
jge 0x459f0b
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jle 0x45a142
mov edx, dword [esp + 0x34]
lea eax, [edx + 3]
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x459dc0
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 0x459e04
test ebx, ebx
je 0x459df7
cmp dword [ebx], 0
jne 0x459e04
mov byte [esp + 0xd], 0
cmp eax, edi
jne 0x459edc
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 0x459efd
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 0x459efd
xor edx, edx
mov byte [esp + 0xd], 1
xor edi, edi
mov dword [esp + 0x24], edi
cmp dword [esp + 0x38], edx
jle 0x45a162
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 + 0x24]
je 0x459e92
cmp dword [esp + 0x30], 0
je 0x459e8c
cmp dword [ecx], 0
jne 0x459e92
cmp esi, dword [esp + 0x28]
jne 0x459ec7
inc edx
cmp edx, dword [esp + 0x40]
jge 0x459e9e
add eax, 4
jmp 0x459eaf
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 + 0x24], edi
cmp edi, dword [esp + 0x38]
jge 0x45a162
mov esi, dword [esp + 0x54]
jmp 0x459e70
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 0x45a13c
mov edi, dword [esp + 0x28]
jmp 0x459de5
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x2c]
jmp 0x459ee0
xor edi, edi
mov dword [esp + 0x10], edi
cmp dword [esp + 0x2c], edi
jle 0x45a142
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], 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 0x45a128
mov eax, edi
mov byte [esp + 0xd], 0
cdq
idiv ecx
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x40], eax
jg 0x45a128
xor eax, eax
mov byte [esp + 0xd], 1
mov dword [esp + 0x60], eax
mov dword [esp + 0x54], eax
test esi, esi
jle 0x45a162
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
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 + 0x20]
shr edx, 8
movzx esi, cl
mov dword [esp + 0x80], edx
cmp eax, esi
jle 0x459fbf
xor bh, bh
jmp 0x459fc9
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 + 0x20], 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 + 0x20], 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 + 0x20]
mov edx, dword [esp + 0x80]
cmp esi, eax
jle 0x45a02d
mov byte [esp + 0xf], 0xff
jmp 0x45a037
add bl, cl
mov byte [esp + 0xf], bl
mov bl, byte [esp + 0xe]
mov eax, 0xff
sub eax, edi
cmp esi, eax
jle 0x45a047
or ch, 0xff
jmp 0x45a04b
mov ch, bl
add ch, dl
mov eax, 0xff
sub eax, dword [esp + 0x84]
cmp esi, eax
mov esi, dword [esp + 0x14]
jle 0x45a064
or cl, 0xff
jmp 0x45a06b
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 0x45a0a1
cmp bl, byte [esp + 0xf]
ja 0x45a0a1
cmp al, byte [esp + 0x88]
jb 0x45a0a1
cmp al, ch
ja 0x45a0a1
cmp dl, byte [esp + 0x68]
jb 0x45a0a1
cmp dl, cl
jbe 0x45a0bd
cmp dword [esp + 0x30], 0
je 0x45a0b5
mov eax, dword [esp + 0x8c]
cmp dword [eax + esi], 0
jne 0x45a0bd
mov eax, dword [esp + 0x28]
cmp dword [esi], eax
jne 0x45a113
mov ebx, dword [esp + 0x60]
inc ebx
mov dword [esp + 0x60], ebx
cmp ebx, dword [esp + 0x40]
jge 0x45a0d5
add edi, 4
mov dword [esp + 0x4c], edi
jmp 0x45a0f4
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 0x45a162
mov bl, byte [esp + 0xe]
jmp 0x459fa0
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x38]
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0xd], 0
add dword [esp + 0x24], 4
inc edi
mov dword [esp + 0x10], edi
cmp edi, dword [esp + 0x2c]
jl 0x459f23
mov ebx, dword [esp + 0x10]
jmp 0x45a144
xor ebx, ebx
mov ecx, dword [0x4fb9cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4e613c
call fcn.004b5b70
jmp 0x45a166
mov ebx, dword [esp + 0x7c]
jmp 0x45a166
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 0x45a185
push dword [esp + 0x48]
call edi
mov esi, dword [esp + 0x74]
test esi, esi
je 0x45a1a4
mov eax, dword [esp + 0x78]
test eax, eax
je 0x45a19d
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 0x45a1af
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 0x45a1c3
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x30]
test eax, eax
je 0x45a1d1
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4598d1
push eax
call esi
add esp, 4
cmp byte [esp + 0xd], 0
jne 0x45a1f8
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 0x45a21f
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.00401490
mov ecx, dword [esp + 0x94]
test ecx, ecx
je 0x45a240
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.00401490
mov ecx, dword [0x4fb9cc]
push 1
push 0
push 0xffffffffffffffff
push 0x4cfd08
call fcn.004b5b70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x7c]
push 0x4cfc40
push 0
push 0x4e6674
call fcn.0044e3e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14