Function at 0x5b79d0
Capabilities:
Access peb ldr_data
Inspect section memory permissions

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6011c8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xa8
mov eax, dword [0x70f200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov eax, dword [ebx + 0x14]
lea esi, [edi + 0x30]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x90], ecx
mov ecx, esi
mov dword [ebp - 0x9c], eax
mov eax, dword [ebx + 0x24]
push 0
mov dword [ebp - 0xa8], eax
call fcn.005c5730
mov dword [ebp - 0x98], 0
test eax, eax
je 0x5b7a78
push 0
push 0
mov ecx, esi
call fcn.005c3f80
mov ecx, esi
call fcn.005c5b30
mov edx, dword [ebp - 0x90]
test edx, edx
je 0x5b7b9a
mov ecx, edx
call fcn.005c4310
push eax
mov ecx, esi
mov dword [edi + 0x2c], eax
call fcn.005c4320
push 0
mov ecx, edx
call fcn.005c5730
push 0xfffffffffffffff0
push eax
mov dword [ebp - 0x98], eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
je 0x5b7b79
push 9
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x98]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
cmp edx, 4
jne 0x5b80dc
test ecx, ecx
je 0x5b83f4
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x20000000
jne 0x5b83f4
mov ecx, 0xc8
cmp dword [ebp - 0xb0], ecx
cmovge ecx, dword [ebp - 0xb0]
cmp dword [ebp - 0xa4], 0x46
mov dword [ebp - 0xb0], ecx
mov ecx, 0x4b
cmovge ecx, dword [ebp - 0xa4]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [ebp - 0x9c]
cmp ecx, 0xffffffff
je 0x5b7bab
mov eax, dword [ebp - 0xa8]
cmp eax, 0xffffffff
je 0x5b7bab
mov edi, dword [ebp - 0x98]
push 1
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x50]
push eax
push 0
push edi
mov dword [ebp - 0x50], ecx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa0], eax
jmp 0x5b7c11
push dword [ebp - 0x98]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x5b7ac9
xor ecx, ecx
mov dword [ebp - 0x98], ecx
jmp 0x5b7acf
mov ecx, esi
call fcn.005c4310
mov dword [edi + 0x2c], eax
xor ecx, ecx
jmp 0x5b7acf
mov edi, dword [ebp - 0x98]
lea eax, [ebp - 0x50]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x5b7bed
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetWindowRgnBox]
test eax, eax
je 0x5b7bed
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
add ecx, 4
add edx, dword [ebp - 0x30]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x4c], ecx
jmp 0x5b7bf3
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x50]
cmp dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0xa4], ecx
jne 0x5b7c11
add edx, 0x18
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x5b7c23
add ecx, 0x10
mov dword [ebp - 0xa4], ecx
push 1
push 0x628eec
push dword [ebp - 0xb4]
xorps xmm0, xmm0
lea ecx, [ebp - 0x88]
movups xmmword [ebp - 0x88], xmm0
movq qword [ebp - 0x78], xmm0
call fcn.005d92a0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
movq qword [ebp - 0x60], xmm0
movups xmmword [ebp - 0x70], xmm0
call fcn.005d9320
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.005d9210
cmp eax, 1
jbe 0x5b7c88
push 1
call fcn.005d9220
mov dword [ebp - 0x9c], eax
jmp 0x5b7c92
mov dword [ebp - 0x9c], str.Information
push 0xffffffffffffffec
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push ecx
push edi
mov edi, dword [ebp - 0xb0]
and eax, 8
push eax
push SysReAllocString
push dword [ebp - 0xa4]
mov ecx, esi
push dword [ebp - 0xa0]
push dword [ebp - 0x8c]
push edi
push dword [ebp - 0x9c]
push str._WndMsgTipClass
call fcn.005c5d10
mov ecx, dword [ebp - 0x90]
push eax
mov dword [ebp - 0xb0], eax
call fcn.005c6150
movsd xmm1, qword [0x6edaf8]
mov ecx, esi
push 0
push str.Arial
push 1
push 0x190
call fcn.005c42b0
push 0xffffff
mov ecx, esi
call fcn.005c44a0
mov eax, dword [ebp - 0x8c]
lea ecx, [ebp - 0x88]
push 0xffffffffffffffff
push 0xffffffffffffffff
add eax, 0xffffffd3
push eax
lea eax, [edi - 0x14]
push eax
push 0x23
push 0xa
push 0
call fcn.005d9220
push eax
mov ecx, esi
call fcn.005c0890
push eax
mov ecx, esi
mov dword [ebp - 0xb4], eax
call fcn.005c5730
push eax
mov dword [ebp - 0x90], eax
call dword [sym.imp.USER32.dll_GetDC]
push 1
push 0x62781c
push 0
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
call fcn.005d9220
push eax
lea ecx, [ebp - 0x70]
call fcn.005d9070
mov esi, 0x4b
lea ecx, [ebp - 0x70]
mov edx, 0x10
mov dword [ebp - 0x98], esi
mov dword [ebp - 0xa8], edx
xor edi, edi
call fcn.005d9210
test eax, eax
je 0x5b7e0b
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0x70]
call fcn.005d9220
mov ecx, eax
call fcn.005d8c40
push eax
push edi
lea ecx, [ebp - 0x70]
call fcn.005d9220
push eax
push dword [ebp - 0x8c]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov edx, dword [ebp - 0xa8]
test eax, eax
je 0x5b7df8
mov eax, dword [ebp - 0x58]
add eax, 0x14
cmp eax, esi
cmovle eax, esi
mov esi, eax
mov eax, dword [ebp - 0x54]
cmp eax, edx
jle 0x5b7df8
mov edx, eax
mov dword [ebp - 0xa8], edx
lea ecx, [ebp - 0x70]
inc edi
call fcn.005d9210
cmp edi, eax
jb 0x5b7da7
mov dword [ebp - 0x98], esi
lea ecx, [ebp - 0x70]
call fcn.005d9210
push dword [ebp - 0x8c]
mov edi, eax
push dword [ebp - 0x90]
imul edi, edx
lea eax, [edi + 0x2d]
mov dword [ebp - 0xa8], eax
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0x212
lea eax, [edi + 0x2d]
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 0
push 0
push 0
push dword [ebp - 0xb0]
call esi
mov eax, dword [ebp - 0x98]
push 0x202
push edi
add eax, 0xffffffec
push eax
push 0
push 0
push 0
push dword [ebp - 0x90]
call esi
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, dword [ebp - 0x98]
mov edi, eax
mov dword [ebp - 0xa0], edi
test edi, edi
je 0x5b7eca
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x8c], 0
push eax
push 0
push 0xe200b
push 0
push dword [ebp - 0xa8]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
push esi
mov dword [edi], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x8c]
mov dword [edi + 4], eax
jmp 0x5b7ed2
xor edi, edi
mov dword [ebp - 0xa0], edi
mov eax, dword [edi + 8]
mov dword [edi + 8], 0
test eax, eax
jne 0x5b8008
mov dword [ebp - 0x8c], eax
lea eax, [ebp - 0x8c]
push eax
push dword [edi + 4]
call dword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov edi, dword [ebp - 0x8c]
lea eax, [ebp - 0x90]
push eax
push 0xff000000
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x90], 0
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
push dword [ebp - 0xa8]
push esi
mov esi, dword [ebp - 0x90]
push 0
push 0
push esi
push edi
call dword [sym.imp.gdiplus.dll_GdipFillRectangleI]
mov edi, dword [sym.imp.gdiplus.dll_GdipDeleteBrush]
push esi
call edi
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0
push eax
push 0
push ecx
mov dword [esp], 0x40000000
push 0xffffffffffffffff
call dword [sym.imp.gdiplus.dll_GdipCreatePen1]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xa8]
add eax, 0xfffffffe
push eax
mov eax, dword [ebp - 0x98]
add eax, 0xfffffffe
push eax
push 1
push 1
push dword [ebp - 0x94]
push dword [ebp - 0xa4]
call dword [sym.imp.gdiplus.dll_GdipDrawRectangleI]
push dword [ebp - 0x94]
call dword [sym.imp.gdiplus.dll_GdipDeletePen]
movaps xmm0, xmmword [0x6edd60]
lea eax, [ebp - 0x90]
push eax
push 0xff6060ff
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], 0x20
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x90], 0
call dword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov esi, dword [ebp - 0x90]
lea eax, [ebp - 0x38]
push 0
push 3
push eax
push esi
push dword [ebp - 0xa4]
call dword [sym.imp.gdiplus.dll_GdipFillPolygonI]
push esi
call edi
push dword [ebp - 0xa4]
call dword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov edi, dword [ebp - 0xa0]
push 0
push 0
push edi
mov edi, dword [ebp - 0x3c]
add edi, 0x30
mov ecx, edi
call fcn.005c44c0
mov ecx, dword [ebp - 0xa0]
push 1
mov eax, dword [ecx]
call dword [eax]
mov eax, dword [ebp - 0x98]
mov ecx, edi
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x14
add eax, 0xffffffdd
push eax
push 6
push 0x23
push dword [ebp - 0x9c]
call fcn.005c0890
movsd xmm0, qword [0x6edb20]
sub esp, 0xc
mov esi, eax
movsd qword [esp + 4], xmm0
push 0
push ecx
push 0x190
push 0xffffffffffffffff
mov ecx, edi
call fcn.005beb10
mov eax, 0x1b
mov byte [ebp - 0x20], 1
mov word [ebp - 0x1e], ax
mov ecx, edi
mov eax, dword [ebp - 0xb4]
mov word [ebp - 0x1c], ax
mov eax, 0xd
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x20]
push 2
push eax
mov byte [ebp - 0x1a], 1
mov word [ebp - 0x16], si
call fcn.005c47a0
push 1
push 4
mov ecx, edi
call fcn.005c3f80
mov esi, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xb0]
push esi
push eax
push 0x5c82c0
push eax
call dword [sym.imp.COMCTL32.dll_SetWindowSubclass]
lea ecx, [ebp - 0x70]
call fcn.005d9280
lea ecx, [ebp - 0x88]
call fcn.005d9280
mov eax, esi
jmp 0x5b83f6
cmp dword [ebp - 0xb0], 0xa0
mov eax, 0x168
mov edx, dword [ebp - 0xa8]
cmovge eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0xa0], eax
jne 0x5b8115
cmp edx, 0xffffffff
jne 0x5b8115
mov byte [ebp - 0xa9], 0
jmp 0x5b814d
mov byte [ebp - 0xa9], 1
test ecx, ecx
je 0x5b814d
mov eax, dword [ebp - 0x9c]
push 1
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x40]
push eax
push 0
push ecx
mov dword [ebp - 0x3c], edx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa0]
push ecx
push dword [ebp - 0x98]
mov ecx, esi
push 0xffffffffffffffff
push SysReAllocString
push edx
push dword [ebp - 0x9c]
push dword [ebp - 0xa4]
push eax
push 0x62439c
push str._WINDOW_MsgBoxClass
call fcn.005c5d10
movsd xmm1, qword [0x6edaf8]
mov ecx, esi
push 0
push str.Arial
push 1
push 0x190
call fcn.005c42b0
push dword [edi + 0x24]
mov ecx, esi
call fcn.005c44a0
push 4
push dword [edi + 0x28]
push dword [edi + 0x20]
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [ebp - 0xa4]
push dword [ebp - 0xa0]
call fcn.005b9530
push 0
mov ecx, esi
call fcn.005c5730
cmp byte [ebp - 0xa9], 0
mov dword [ebp - 0xb0], eax
jne 0x5b81ed
mov edx, dword [ebp - 0x98]
mov ecx, eax
push 0
call fcn.005d3010
mov eax, dword [ebp - 0xb0]
mov ecx, dword [ebp - 0x90]
test ecx, ecx
je 0x5b81fd
push eax
call fcn.005c6150
mov eax, dword [ebp - 0xa4]
mov ecx, esi
push 0xffffffffffffffff
push 0xffffffffffffffff
add eax, 0xffffffbf
push eax
mov eax, dword [ebp - 0xa0]
add eax, 0xffffffd8
push eax
push 0x14
push 0x14
push dword [ebp - 0xb4]
call fcn.005c0890
mov edx, dword [ebp - 0xa4]
mov ecx, dword [ebx + 0x10]
add edx, 0xffffffdd
mov dword [edi], eax
mov eax, dword [ebp - 0xa0]
add eax, 0xffffff79
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x98], eax
cmp ecx, 1
je 0x5b8278
cmp ecx, 2
je 0x5b8278
cmp ecx, 3
jne 0x5b82a1
mov eax, dword [ebp - 0xa0]
add eax, 0xffffff10
cdq
and edx, ecx
add eax, edx
sar eax, 2
mov dword [ebp - 0x98], eax
jmp 0x5b8365
mov ecx, dword [ebp - 0xa0]
mov eax, 0x55555556
lea ecx, [ecx - 0xa0]
imul ecx
mov ecx, dword [ebx + 0x10]
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0x98], eax
test ecx, ecx
jne 0x5b82c5
push ecx
push 0x10000001
push 0x19
push 0x50
push edx
push eax
push 0x628f54
mov ecx, esi
call fcn.005c1a50
mov dword [edi + 4], eax
jmp 0x5b83da
cmp ecx, 1
jne 0x5b8314
push ecx
push 0x10000001
push 0x19
push 0x50
push edx
push eax
push 0x628f5c
mov ecx, esi
call fcn.005c1a50
push ecx
push 0xffffffffffffffff
push 0x19
mov dword [edi + 4], eax
mov ecx, esi
mov eax, dword [ebp - 0x98]
push 0x50
push dword [ebp - 0x9c]
lea eax, [eax*2 + 0x50]
push eax
push 0x628f64
call fcn.005c1a50
mov dword [edi + 8], eax
jmp 0x5b83da
cmp ecx, 2
jne 0x5b8360
push ecx
push 0x10000001
push 0x19
push 0x50
push edx
push eax
push 0x628f54
mov ecx, esi
call fcn.005c1a50
push ecx
push 0xffffffffffffffff
push 0x19
mov dword [edi + 4], eax
mov ecx, esi
mov eax, dword [ebp - 0x98]
push 0x50
push dword [ebp - 0x9c]
lea eax, [eax*2 + 0x50]
push eax
push str.Cancel
call fcn.005c1a50
mov dword [edi + 8], eax
jmp 0x5b83da
cmp ecx, 3
jne 0x5b83da
push ecx
push 0x10000001
push 0x19
push 0x50
push dword [ebp - 0x9c]
mov ecx, esi
push eax
push 0x628f5c
call fcn.005c1a50
push ecx
push 0xffffffffffffffff
push 0x19
mov dword [edi + 4], eax
mov ecx, esi
mov eax, dword [ebp - 0x98]
push 0x50
push dword [ebp - 0x9c]
lea eax, [eax*2 + 0x50]
push eax
push 0x628f64
call fcn.005c1a50
push ecx
push 0xffffffffffffffff
mov dword [edi + 8], eax
mov ecx, esi
mov eax, dword [ebp - 0x98]
push 0x19
push 0x50
push dword [ebp - 0x9c]
lea eax, [eax + eax*2]
add eax, 0xa0
push eax
push str.Cancel
call fcn.005c1a50
mov dword [edi + 0xc], eax
push 7
push 5
mov ecx, esi
call fcn.005c3f80
push 0x80
push dword [edi + 4]
mov ecx, esi
call fcn.005bd3f0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041e1b5
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0x20