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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x4db120]
mov dl, 1
cmp dl, byte [ecx + 1]
push ebx
sbb ebx, ebx
mov dword [esp + 0x8c], ecx
and ebx, dword [0x4db124]
mov dword [esp + 0x50], eax
mov dword [esp + 0x88], ebx
push esi
push edi
test eax, eax
je 0x459756
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, eax
call fcn.004b04f0
test ebx, ebx
je 0x459769
push 1
push 0
push 0xffffffffffffffff
push 0
mov ecx, ebx
call fcn.004b04f0
xorps xmm0, xmm0
lea edx, [esp + 0x70]
push 0
lea ecx, [esp + 0x70]
movlpd qword [esp + 0x70], xmm0
call fcn.004ad050
mov eax, dword [esp + 0x70]
add esp, 4
mov ecx, dword [esp + 0x70]
mov edi, dword [ebp + 0x18]
add dword [ebp + 8], eax
add dword [ebp + 0xc], ecx
add dword [ebp + 0x10], eax
add dword [ebp + 0x14], ecx
push 0x2e
push edi
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x48], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsrchr]
mov esi, eax
add esp, 8
test esi, esi
je 0x459823
mov ebx, dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsicmp]
inc esi
push 0x4cddd0
push esi
call ebx
add esp, 8
test eax, eax
je 0x459809
push 0x4c9e08
push esi
call ebx
add esp, 8
test eax, eax
je 0x459809
push 0x4cddd4
push esi
call ebx
add esp, 8
test eax, eax
jne 0x459823
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call esi
mov ebx, eax
push 0x32
mov dword [esp + 0x2c], ebx
call esi
mov dword [esp + 0x24], eax
jmp 0x459825
xor ebx, ebx
mov esi, edi
mov al, byte [esi]
cmp al, 0x20
je 0x459831
cmp al, 9
jne 0x459834
inc esi
jmp 0x459827
cmp al, 0x2a
jne 0x459b6a
mov ebx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
movsx eax, byte [esi + 1]
mov edi, esi
inc esi
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbctoupper]
add esp, 4
cmp eax, 0x48
je 0x459a8e
cmp eax, 0x57
je 0x459a26
push 4
push str.Icon
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
jne 0x4598e4
lea esi, [edi + 5]
mov ecx, esi
nop
mov al, byte [ecx]
cmp al, 0x20
je 0x45988a
cmp al, 9
jne 0x45988d
inc ecx
jmp 0x459880
test al, al
je 0x4598d4
cmp al, 0x2d
je 0x459899
cmp al, 0x2b
jne 0x4598a0
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4598d4
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4598af
cmp al, 0x58
jne 0x4598d4
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x4598d4
push 0x10
push 0
push esi
call ebx
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x459af2
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [esp + 0x44], eax
jmp 0x459aef
push 5
push str.Trans
push esi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbicmp]
add esp, 0xc
test eax, eax
jne 0x4599a3
push 0x1f
lea esi, [edi + 6]
lea eax, [esp + 0xfc]
push esi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
mov dl, byte [esp + 0x104]
lea edi, [esp + 0x104]
add esp, 0xc
mov byte [esp + 0x117], 0
test dl, dl
je 0x459954
nop
mov ecx, 0x4c98e4
mov al, 0x20
cmp dl, al
je 0x45994d
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x459937
mov dl, byte [edi + 1]
inc edi
test dl, dl
jne 0x459930
jmp 0x459954
test edi, edi
je 0x459954
mov byte [edi], 0
lea ecx, [esp + 0xf8]
call fcn.004ace90
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x459981
push 0x10
lea eax, [esp + 0xfc]
push 0
push eax
call ebx
add esp, 0xc
mov dword [esp + 0x30], eax
jmp 0x459af2
movzx edx, cx
movzx eax, cl
shr edx, 8
shl eax, 8
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
or edx, eax
mov dword [esp + 0x30], edx
jmp 0x459af2
mov ecx, esi
mov al, byte [ecx]
cmp al, 0x20
je 0x4599af
cmp al, 9
jne 0x4599b2
inc ecx
jmp 0x4599a5
test al, al
je 0x4599f2
cmp al, 0x2d
je 0x4599be
cmp al, 0x2b
jne 0x4599c5
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x4599f2
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x4599d4
cmp al, 0x58
jne 0x4599f2
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x4599f2
push 0x10
push 0
push esi
call ebx
add esp, 0xc
jmp 0x4599fc
push esi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
add esp, 4
xor ebx, ebx
test eax, eax
cmovns ebx, eax
mov dword [esp + 0x2c], ebx
cmp ebx, 0xff
mov ebx, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
jle 0x459af2
mov dword [esp + 0x2c], 0xff
jmp 0x459af2
add edi, 2
mov ecx, edi
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0x20
je 0x459a3a
cmp al, 9
jne 0x459a3d
inc ecx
jmp 0x459a30
test al, al
je 0x459a81
cmp al, 0x2d
je 0x459a49
cmp al, 0x2b
jne 0x459a50
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x459a81
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x459a5f
cmp al, 0x58
jne 0x459a81
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x459a81
push 0x10
push 0
push edi
call ebx
add esp, 0xc
mov dword [esp + 0x28], eax
jmp 0x459af2
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [esp + 0x2c], eax
jmp 0x459aef
add edi, 2
mov ecx, edi
mov al, byte [ecx]
cmp al, 0x20
je 0x459a9d
cmp al, 9
jne 0x459aa0
inc ecx
jmp 0x459a93
test al, al
je 0x459ae4
cmp al, 0x2d
je 0x459aac
cmp al, 0x2b
jne 0x459ab3
lea eax, [ecx + 1]
mov ecx, eax
mov al, byte [eax]
cmp al, 0x30
jne 0x459ae4
mov al, byte [ecx + 1]
cmp al, 0x78
je 0x459ac2
cmp al, 0x58
jne 0x459ae4
movsx eax, byte [ecx + 2]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x459ae4
push 0x10
push 0
push edi
call ebx
add esp, 0xc
mov dword [esp + 0x24], eax
jmp 0x459af2
push edi
call dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
mov dword [esp + 0x28], eax
add esp, 4
test esi, esi
je 0x459b1b
mov dl, byte [esi]
test dl, dl
je 0x459b1b
nop dword [eax]
mov ecx, 0x4c98e4
mov al, 0x20
cmp dl, al
je 0x459b4c
mov al, byte [ecx + 1]
inc ecx
test al, al
jne 0x459b07
mov dl, byte [esi + 1]
inc esi
test dl, dl
jne 0x459b00
mov eax, dword [0x4d70f4]
test byte [eax + 0xe0], 1
jne 0x45a536
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c9918
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea edi, [esi + 1]
mov esi, edi
mov al, byte [esi]
cmp al, 0x20
je 0x459b5b
cmp al, 9
jne 0x459b5e
inc esi
jmp 0x459b51
cmp al, 0x2a
je 0x459842
mov ebx, dword [esp + 0x28]
push 0
lea eax, [esp + 0x23]
mov edx, ebx
push eax
push 0
push dword [esp + 0x4c]
lea eax, [esp + 0x90]
mov ecx, edi
push eax
push dword [esp + 0x38]
call fcn.004ad1e0
mov ebx, eax
add esp, 0x18
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x459b1b
mov esi, dword [sym.imp.USER32.dll_GetDC]
push 0
call esi
mov dword [esp + 0x24], eax
test eax, eax
jne 0x459bd6
cmp byte [esp + 0x1f], al
jne 0x459b1b
cmp dword [esp + 0x80], 1
push ebx
jne 0x459bcb
call dword [sym.imp.USER32.dll_DestroyIcon]
jmp 0x459b1b
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x459b1b
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
xor ecx, ecx
cmp dword [esp + 0x80], 1
mov dword [esp + 0x88], 0
mov dword [esp + 0x68], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x8c], ecx
mov byte [esp + 0x12], cl
jne 0x459db7
lea eax, [esp + 0xd0]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x459c61
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x13]
mov ecx, dword [esp + 0xdc]
push 1
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.00458a10
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
add esp, 0x10
mov dword [esp + 0x38], eax
push dword [esp + 0xe0]
call ebx
push dword [esp + 0xdc]
call ebx
xor ebx, ebx
push ebx
call esi
mov esi, eax
push esi
mov dword [esp + 0x58], esi
call edi
mov edi, eax
test edi, edi
je 0x459d8e
lea eax, [esp + 0xe4]
push eax
push dword [esp + 0x2c]
call dword [sym.imp.USER32.dll_GetIconInfo]
test eax, eax
je 0x459d87
lea eax, [esp + 0xb8]
push eax
push 0x18
push dword [esp + 0xfc]
call dword [sym.imp.GDI32.dll_GetObjectA]
test eax, eax
je 0x459d6d
push dword [esp + 0xc0]
push dword [esp + 0xc0]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
test ebx, ebx
je 0x459d6d
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x60], eax
test eax, eax
je 0x459d6d
mov ecx, dword [esp + 0xbc]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0xc0]
push 0xff000000
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb8], ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov esi, eax
lea eax, [esp + 0xa8]
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 + 0xcc]
push dword [esp + 0xcc]
push dword [esp + 0x3c]
push 0
push 0
push edi
call dword [sym.imp.USER32.dll_DrawIconEx]
push dword [esp + 0x60]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [esp + 0x54]
push dword [esp + 0xf4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0xf0]
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 + 0x28]
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x459b1b
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov eax, dword [esp + 0x24]
push 8
lea ecx, [esp + 0x17]
mov edx, eax
push ecx
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x54]
push ecx
mov ecx, ebx
call fcn.00458a10
add esp, 0x10
mov dword [esp + 0x34], eax
test eax, eax
je 0x45a41f
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 + 0x24]
inc esi
call edi
mov edi, eax
mov dword [esp + 0x88], edi
test edi, edi
je 0x45a41f
push esi
push ebx
push dword [esp + 0x2c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x68], eax
test eax, eax
je 0x45a41f
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x8c], eax
test eax, eax
je 0x45a41f
push 0xcc0020
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esp + 0x30]
push esi
push ebx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x45a41f
mov ecx, dword [esp + 0x68]
lea eax, [esp + 0x47]
push 8
push eax
lea eax, [esp + 0x6c]
mov edx, edi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00458a10
mov edx, eax
add esp, 0x10
mov dword [esp + 0x14], edx
test edx, edx
je 0x45a41f
mov ecx, dword [esp + 0x18]
mov esi, ecx
mov ebx, dword [esp + 0x48]
imul ebx, dword [esp + 0x5c]
imul esi, dword [esp + 0x64]
cmp byte [esp + 0x13], 0
mov dword [esp + 0x40], ebx
mov dword [esp + 0x60], esi
jne 0x459ec8
cmp byte [esp + 0x47], 0
jne 0x459ec8
mov eax, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
mov dword [esp + 0x30], eax
test ebx, ebx
jle 0x45a01a
jmp 0x45a000
mov eax, dword [esp + 0x30]
cmp eax, 0xffffffff
je 0x459eda
and eax, 0xf8f8f8
mov dword [esp + 0x30], eax
xor ecx, ecx
test esi, esi
jle 0x459f6c
cmp esi, 0x10
jb 0x459f60
mov eax, esi
and eax, reloc.WSOCK32.dll_ntohs
jns 0x459ef7
dec eax
or eax, 0xfffffff0
inc eax
movaps xmm2, xmmword [0x4d0b70]
mov edx, esi
sub edx, eax
mov eax, dword [esp + 0x14]
add eax, 0x20
nop dword [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 xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movaps xmm1, xmm2
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 0x459f10
mov edx, dword [esp + 0x14]
cmp ecx, esi
jge 0x459f6c
nop
and dword [edx + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, esi
jl 0x459f60
xor ecx, ecx
test ebx, ebx
jle 0x45a012
cmp ebx, 0x10
jb 0x459fec
mov eax, ebx
and eax, reloc.WSOCK32.dll_ntohs
jns 0x459f89
dec eax
or eax, 0xfffffff0
inc eax
mov edi, dword [esp + 0x34]
mov edx, ebx
movaps xmm2, xmmword [0x4d0b70]
sub edx, eax
lea eax, [edi + 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 xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movaps xmm1, xmm2
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 0x459fa0
cmp ecx, ebx
jge 0x459ffc
jmp 0x459ff0
mov edi, dword [esp + 0x34]
and dword [edi + ecx*4], 0xf8f8f8
inc ecx
cmp ecx, ebx
jl 0x459ff0
mov edx, dword [esp + 0x14]
lea eax, [edi + 3]
mov ecx, ebx
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x45a005
jmp 0x45a016
mov edi, dword [esp + 0x34]
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x2c], 1
jge 0x45a146
test esi, esi
jle 0x45a400
lea eax, [edx + 3]
mov ecx, esi
mov byte [eax], 0
lea eax, [eax + 4]
sub ecx, 1
jne 0x45a032
mov eax, dword [edi]
xor esi, esi
xor edi, edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x20], edi
nop
cmp dword [esi + edx], eax
je 0x45a06c
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x45a062
cmp dword [ecx], 0
jne 0x45a06c
cmp eax, dword [esp + 0x30]
jne 0x45a12b
mov eax, edi
mov ecx, dword [esp + 0x64]
cdq
idiv dword [esp + 0x18]
sub ecx, eax
cmp dword [esp + 0x5c], ecx
jg 0x45a123
mov eax, dword [esp + 0x18]
sub eax, edx
cmp dword [esp + 0x48], eax
jg 0x45a123
xor edi, edi
mov byte [esp + 0x12], 1
xor edx, edx
mov dword [esp + 0x4c], edi
test ebx, ebx
jle 0x45a361
mov ecx, dword [esp + 0x38]
mov eax, esi
mov ebx, esi
mov byte [esp + 0x12], 1
mov esi, dword [esp + 0x34]
sub esi, ecx
mov dword [esp + 0x54], esi
nop
mov edi, dword [esp + 0x14]
mov esi, dword [esi + ecx]
cmp dword [eax + edi], esi
mov edi, dword [esp + 0x4c]
je 0x45a0e2
cmp dword [esp + 0x38], 0
je 0x45a0dc
cmp dword [ecx], 0
jne 0x45a0e2
cmp esi, dword [esp + 0x30]
jne 0x45a117
inc edx
cmp edx, dword [esp + 0x48]
jge 0x45a0ee
add eax, 4
jmp 0x45a0ff
mov esi, dword [esp + 0x18]
xor edx, edx
lea eax, [esi*4]
add ebx, eax
mov eax, ebx
inc edi
add ecx, 4
mov dword [esp + 0x4c], edi
cmp edi, dword [esp + 0x40]
jge 0x45a361
mov esi, dword [esp + 0x54]
jmp 0x45a0c0
mov esi, dword [esp + 0x50]
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
inc edi
add esi, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x50], esi
cmp edi, dword [esp + 0x60]
jl 0x45a050
jmp 0x45a402
xor edi, edi
mov dword [esp + 0x20], edi
test esi, esi
jle 0x45a400
xor esi, esi
mov dword [esp + 0x54], esi
nop word [eax + eax]
mov eax, edi
cdq
idiv ecx
mov ecx, dword [esp + 0x64]
sub ecx, eax
cmp dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x18]
jg 0x45a2f1
mov eax, ecx
sub eax, edx
cmp dword [esp + 0x48], eax
jg 0x45a2f1
xor ecx, ecx
mov byte [esp + 0x12], 1
mov dword [esp + 0x50], ecx
mov dword [esp + 0x7c], ecx
test ebx, ebx
jle 0x45a361
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
sub ecx, eax
mov byte [esp + 0x12], 1
mov dword [esp + 0x3c], eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0xa0], ecx
movzx ebx, word [eax]
mov cl, byte [eax + 2]
mov edx, ebx
mov eax, dword [esp + 0x2c]
shr edx, 8
movzx esi, cl
mov dword [esp + 0x74], ebx
mov dword [esp + 0xa4], edx
cmp eax, esi
jle 0x45a1e8
mov byte [esp + 0x13], 0
jmp 0x45a1f0
mov bl, cl
sub bl, al
mov byte [esp + 0x13], bl
xor ebx, ebx
movzx edi, dl
mov al, dl
mov edx, dword [esp + 0x2c]
sub al, byte [esp + 0x2c]
cmp dword [esp + 0x2c], edi
movzx eax, al
cmovle ebx, eax
mov dword [esp + 0x98], ebx
mov ebx, dword [esp + 0x74]
movzx eax, bl
mov dword [esp + 0x84], eax
mov al, bl
sub al, byte [esp + 0x2c]
xor ebx, ebx
cmp edx, dword [esp + 0x84]
movzx eax, al
cmovle ebx, eax
mov eax, 0xff
mov dword [esp + 0x9c], ebx
sub eax, esi
mov ebx, edx
mov edx, dword [esp + 0xa4]
cmp ebx, eax
jle 0x45a253
or bh, 0xff
jmp 0x45a257
mov bh, bl
add bh, cl
mov ecx, dword [esp + 0x2c]
mov eax, 0xff
sub eax, edi
cmp ecx, eax
jle 0x45a26b
or bl, 0xff
jmp 0x45a26f
mov bl, cl
add bl, dl
mov eax, 0xff
sub eax, dword [esp + 0x84]
cmp ecx, eax
jle 0x45a284
or cl, 0xff
jmp 0x45a288
add cl, byte [esp + 0x74]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x4c]
mov ch, byte [esi + eax + 2]
movzx edx, word [esi + eax]
mov eax, edx
shr eax, 8
cmp ch, byte [esp + 0x13]
jb 0x45a2c1
cmp ch, bh
ja 0x45a2c1
cmp al, byte [esp + 0x98]
jb 0x45a2c1
cmp al, bl
ja 0x45a2c1
cmp dl, byte [esp + 0x9c]
jb 0x45a2c1
cmp dl, cl
jbe 0x45a30c
cmp dword [esp + 0x38], 0
mov eax, dword [esp + 0x3c]
je 0x45a2d9
mov ecx, dword [esp + 0xa0]
cmp dword [ecx + eax], 0
jne 0x45a310
mov ecx, dword [esp + 0x30]
cmp dword [eax], ecx
je 0x45a310
mov ebx, dword [esp + 0x40]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc edi
add esi, 4
mov dword [esp + 0x20], edi
mov dword [esp + 0x54], esi
cmp edi, dword [esp + 0x60]
jl 0x45a160
jmp 0x45a402
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x50]
inc edi
mov dword [esp + 0x50], edi
cmp edi, dword [esp + 0x48]
jge 0x45a328
add esi, 4
mov dword [esp + 0x4c], esi
jmp 0x45a347
mov ebx, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x78]
lea edx, [ebx*4]
add ecx, edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x4c], ecx
mov edi, dword [esp + 0x7c]
add eax, 4
inc edi
mov dword [esp + 0x3c], eax
mov dword [esp + 0x7c], edi
cmp edi, dword [esp + 0x40]
jl 0x45a1c0
mov edi, dword [esp + 0x20]
mov bl, byte [esp + 0x12]
push dword [esp + 0x24]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp byte [esp + 0x1f], 0
jne 0x45a386
push dword [esp + 0x28]
call dword [sym.imp.GDI32.dll_DeleteObject]
mov esi, dword [esp + 0x88]
test esi, esi
je 0x45a3ab
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x45a3a4
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [esp + 0x68]
test eax, eax
je 0x45a3ba
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x34]
mov esi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test eax, eax
je 0x45a3ce
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x45a3dc
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x459b1b
push eax
call esi
add esp, 4
test bl, bl
jne 0x45a42b
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
xor edi, edi
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c40b0
call fcn.004b04f0
xor bl, bl
jmp 0x45a369
mov edi, dword [esp + 0x94]
jmp 0x45a365
cmp dword [esp + 0x58], 0
mov ebx, dword [esp + 0x18]
je 0x45a4a6
mov eax, edi
cdq
idiv ebx
mov eax, dword [esp + 0x58]
mov esi, edx
sub esi, dword [esp + 0x6c]
add esi, dword [ebp + 8]
cmp byte [eax + 0x17], 0
jne 0x45a455
mov eax, dword [eax + 0xc]
mov dword [esp + 0x58], eax
mov cl, byte [eax + 0x15]
test cl, 2
je 0x45a472
and cl, 0x3d
mov byte [eax + 0x15], cl
mov ecx, dword [eax]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esp + 0x58]
mov cl, byte [eax + 0x15]
mov eax, esi
and cl, 0x9b
mov esi, dword [esp + 0x58]
or cl, 0x18
cdq
mov dword [esi], eax
mov dword [esi + 4], edx
mov byte [esi + 0x15], cl
jge 0x45a496
mov ecx, esi
call fcn.004014a0
and byte [esi + 0x15], 0x8f
jmp 0x45a4a6
cmp dword [0x4d9984], 0
je 0x45a4a6
mov ecx, esi
call fcn.004014a0
cmp dword [esp + 0x90], 0
je 0x45a517
mov eax, edi
cdq
idiv ebx
mov ebx, dword [esp + 0x90]
mov esi, eax
sub esi, dword [esp + 0x70]
add esi, dword [ebp + 0xc]
cmp byte [ebx + 0x17], 0
jne 0x45a4ce
mov ebx, dword [ebx + 0xc]
mov cl, byte [ebx + 0x15]
test cl, 2
je 0x45a4e7
and cl, 0x3d
mov byte [ebx + 0x15], cl
mov ecx, dword [ebx]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov cl, byte [ebx + 0x15]
mov eax, esi
and cl, 0x9b
cdq
or cl, 0x18
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov byte [ebx + 0x15], cl
jge 0x45a507
mov ecx, ebx
call fcn.004014a0
and byte [ebx + 0x15], 0x8f
jmp 0x45a517
cmp dword [0x4d9984], 0
je 0x45a517
mov ecx, ebx
call fcn.004014a0
mov ecx, dword [0x4d995c]
push 1
push 0
push 0xffffffffffffffff
push 0x4c3cb0
call fcn.004b04f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x94]
push 0x4c3c29
push 0
push 0x4c9918
call fcn.0044d1f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14