Function at 0x14008f5a0
Capabilities:
Initialize winhttp library
Set current directory

Disassembly:
push rbp
push rbx
push r15
lea rbp, [rsp - 0x270]
sub rsp, 0x370
mov rax, qword [0x1400b2040]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r15, rcx
mov rcx, 0xfffffffffffffffc
call qword [sym.imp.USER32.dll_SetProcessDpiAwarenessContext]
mov r8d, 0x104
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edx, 0x5c
lea rcx, [rbp + 0x30]
call qword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsrchr]
test rax, rax
je 0x14008f5fe
mov byte [rax], 0
lea rcx, [rbp + 0x30]
mov qword [rsp + 0x368], r13
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea rdx, [0x14009c0a8]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov rbx, rax
test rax, rax
je 0x14008f670
mov rcx, rax
call qword [sym.imp.USER32.dll_SetForegroundWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x14008f64b
mov edx, 5
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, rbx
call qword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x14008f666
mov edx, 9
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
jmp 0x1400900e0
mov qword [rsp + 0x398], rsi
lea rax, [0x140090190]
xor ebx, ebx
mov qword [rsp + 0x3a0], rdi
xor ecx, ecx
mov qword [rsp + 0x360], r14
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rbx
mov dword [rbp - 0x30], 0x50
mov dword [rbp - 0x2c], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edx, 0x65
mov rcx, r15
mov qword [rbp - 0x18], rax
call qword [sym.imp.USER32.dll_LoadIconA]
xorps xmm0, xmm0
mov qword [rbp - 8], rbx
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x30]
lea rax, str.G5WLA
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rbx
call qword [sym.imp.USER32.dll_RegisterClassExW]
mov rax, qword [rbp - 0x18]
lea r8, str.G5_Worklog_Assistant
mov rdx, qword [rbp + 0x10]
mov r9d, 0xcf0000
mov qword [rsp + 0x58], rbx
xor ecx, ecx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], 0x320
mov dword [rsp + 0x30], 0x500
mov dword [rsp + 0x28], 0x64
mov dword [rsp + 0x20], 0x64
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov r13d, 1
mov qword [rbp - 0x6c], rbx
mov qword [0x1400b5720], rax
lea rdi, [0x1400b5748]
mov qword [rsp + 0x58], rdi
lea rsi, [0x1400b5740]
mov qword [rbp - 0x50], rax
lea r14, [0x1400b5738]
lea rax, [rsp + 0x70]
mov qword [rbp - 0x58], 2
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, r13d
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x20]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov qword [rbp - 0x40], 2
mov qword [rbp - 0x80], rbx
mov dword [rbp - 0x70], 0x1c
mov dword [rbp - 0x78], 0x3c
mov dword [rbp - 0x74], r13d
mov dword [rbp - 0x5c], 0x20
mov qword [rbp - 0x64], r13
mov qword [rbp - 0x48], r13
mov dword [rbp + 0x20], 0xb000
mov dword [rbp + 0x24], 0xa000
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
cmp eax, 0x887a0004
jne 0x14008f849
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
xor r9d, r9d
mov qword [rsp + 0x48], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], r14
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov edx, 5
mov dword [rsp + 0x30], 7
lea rax, [rbp + 0x20]
mov dword [rsp + 0x28], 2
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
test eax, eax
je 0x14008f868
call fcn.140090110
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
mov eax, r13d
jmp 0x1400900c8
mov rcx, qword [0x1400b5738]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x68], rbx
lea r8, [0x14009ff90]
mov qword [rsp + 0x3a8], r12
xor edx, edx
movaps xmmword [rsp + 0x350], xmm6
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x1400b5740]
lea r9, [0x1400b5730]
mov rdx, qword [rsp + 0x68]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1400b5720]
mov edx, 3
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1400b5720]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov rax, qword [0x1400b5410]
test rax, rax
je 0x14008f8f0
inc dword [rax + 0xf4]
mov ecx, 0x6450
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14008f90c
xor edx, edx
mov rcx, rax
call fcn.140001cb0
jmp 0x14008f90f
mov rax, rbx
cmp qword [0x1400b5410], rbx
jne 0x14008f91f
mov qword [0x1400b5410], rax
mov rcx, rax
call fcn.14000a490
mov r12, qword [0x1400b5410]
xor ecx, ecx
mov qword [rsp + 0x60], r12
or dword [r12 + 8], 0x443
call fcn.140030080
test dword [r12 + 8], 0x400
mov rax, qword [0x1400b5410]
je 0x14008f965
mov dword [rax + 0x3918], ebx
mov dword [rax + 0x39fc], 0x3f800000
mov rcx, qword [0x1400b5720]
call fcn.14008c3b0
mov rdi, qword [0x1400b5410]
mov r14, qword [0x1400b5748]
mov rsi, qword [0x1400b5740]
test rdi, rdi
je 0x14008f991
inc dword [rdi + 0xf4]
mov ecx, 0x78
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor ecx, ecx
mov rbx, rax
test rax, rax
je 0x14008f9d4
xorps xmm0, xmm0
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm0
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm0
movups xmmword [rax + 0x40], xmm0
movups xmmword [rax + 0x50], xmm0
movups xmmword [rax + 0x60], xmm0
mov dword [rax + 0x70], 0x1388
mov dword [rax + 0x74], 0x2710
jmp 0x14008f9d7
mov rbx, rcx
or dword [rdi + 0xc], 0x1008
lea rax, str.imgui_impl_dx11
mov qword [rdi + 0x90], rax
lea r8, [rsp + 0x68]
mov qword [rdi + 0xa0], rbx
lea rdx, [0x14009ff70]
mov rax, qword [rsi]
mov qword [rsp + 0x68], rcx
mov qword [rbp + 0x20], rcx
mov qword [rsp + 0x70], rcx
mov rcx, rsi
call qword [rax]
test eax, eax
jne 0x14008fa5d
mov rcx, qword [rsp + 0x68]
lea r8, [rbp + 0x20]
lea rdx, [0x14009ff80]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x14008fa5d
mov rcx, qword [rbp + 0x20]
lea r8, [rsp + 0x70]
lea rdx, [0x14009ffa0]
mov rax, qword [rcx]
call qword [rax + 0x30]
test eax, eax
jne 0x14008fa5d
mov qword [rbx], rsi
mov qword [rbx + 8], r14
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x10], rax
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14008fa6d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x20]
test rcx, rcx
je 0x14008fa7c
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbx + 8]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
test dword [rdi + 8], 0x400
je 0x14008fae5
mov rax, qword [0x1400b5410]
lea rcx, [0x14008c000]
mov qword [rax + 0x38a0], rcx
lea rcx, [0x14008c150]
mov qword [rax + 0x38a8], rcx
lea rcx, [0x14008c1e0]
mov qword [rax + 0x38b0], rcx
lea rcx, [0x14008c2e0]
mov qword [rax + 0x38b8], rcx
lea rcx, [0x14008c390]
mov qword [rax + 0x38c0], rcx
call fcn.14008f2f0
xor esi, esi
lea rcx, str.G5_Worklog_Assistant_1.0
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov qword [0x1400b5508], rax
call fcn.14005c5b0
mov rax, qword [0x1400b5410]
lea rcx, str.imgui_settings.ini
xor edx, edx
mov r8d, 0x210
mov qword [rax + 0x20], rcx
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1400b5510]
mov r8d, 4
lea r9, [rbp + 0x30]
nop word [rax + rax]
lea rax, [rax + 0x80]
movups xmm0, xmmword [r9]
movups xmm1, xmmword [r9 + 0x10]
lea r9, [r9 + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [r9 - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [r9 - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [r9 - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [r9 - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [r9 - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [r9 - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub r8, r13
jne 0x14008fb50
movups xmm0, xmmword [r9]
mov edx, 0x65
mov rcx, r15
movups xmmword [rax], xmm0
mov rax, qword [0x1400b5720]
mov qword [0x1400b5518], rax
mov dword [0x1400b5510], 0x210
mov dword [0x1400b5520], 0x3e9
mov dword [0x1400b5524], 7
mov dword [0x1400b5528], 0x8001
call qword [sym.imp.USER32.dll_LoadIconA]
lea r8, [0x14009c0a8]
mov edx, 0x80
lea rcx, [0x1400b5538]
mov qword [0x1400b5530], rax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rdx, [0x1400b5510]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
movdqa xmm6, xmmword [0x1400a0840]
xor r15b, r15b
nop
xor r9d, r9d
mov dword [rsp + 0x20], r13d
xor r8d, r8d
lea rcx, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x14008fc94
nop dword [rax + rax]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x80]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp - 0x78], 0x12
lea rcx, [rbp - 0x80]
movzx r15d, r15b
cmove r15d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14008fc50
test r15b, r15b
jne 0x14008ff39
mov rcx, qword [0x1400b5720]
call qword [sym.imp.USER32.dll_IsIconic]
cmp eax, r13d
je 0x14008ff29
mov rcx, qword [0x1400b5720]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x14008ff29
mov r8d, dword [0x1400b5728]
test r8d, r8d
je 0x14008fd70
mov r9d, dword [0x1400b572c]
test r9d, r9d
je 0x14008fd70
mov rcx, qword [0x1400b5730]
test rcx, rcx
je 0x14008fd06
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov r8d, dword [0x1400b5728]
mov r9d, dword [0x1400b572c]
mov qword [0x1400b5730], rsi
mov rcx, qword [0x1400b5738]
xor edx, edx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rcx, qword [0x1400b5738]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x68], rsi
lea r8, [0x14009ff90]
xor edx, edx
mov dword [0x1400b572c], esi
mov dword [0x1400b5728], esi
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [0x1400b5740]
lea r9, [0x1400b5730]
mov rdx, qword [rsp + 0x68]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
movss xmm0, dword [0x1400b21e0]
ucomiss xmm0, dword [0x1400b20c0]
jp 0x14008fd83
je 0x14008fd98
call fcn.14008f2f0
movss xmm0, dword [0x1400b20c0]
movss dword [0x1400b21e0], xmm0
mov rax, qword [0x1400b5410]
test rax, rax
je 0x14008fdad
mov rcx, qword [rax + 0xa0]
jmp 0x14008fdb0
mov rcx, rsi
cmp qword [rcx + 0x48], 0
jne 0x14008fdbc
call fcn.14008b9a0
call fcn.14008d350
call fcn.140009260
call fcn.14005cd80
call fcn.14000c400
mov rcx, qword [0x1400b5748]
lea r8, [0x1400b5730]
movups xmmword [rbp + 0x20], xmm6
xor r9d, r9d
mov edx, r13d
mov rax, qword [rcx]
call qword [rax + pe_nt_image_headers64]
mov rcx, qword [0x1400b5748]
lea r8, [rbp + 0x20]
mov rdx, qword [0x1400b5730]
mov rax, qword [rcx]
call qword [rax + 0x190]
mov rax, qword [0x1400b5410]
mov rcx, qword [rax + 0x4210]
mov rax, qword [rcx]
mov rcx, rsi
add rax, 0xa8
cmp byte [rax], 0
cmovne rcx, rax
call fcn.14008af30
test dword [r12 + 8], 0x400
je 0x14008ff0f
call fcn.14001d830
mov rbx, qword [0x1400b5410]
mov r14d, r13d
mov eax, dword [rbx + 0x38d8]
cmp eax, r13d
jle 0x14008feac
mov esi, 8
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14008fe9a
mov rax, qword [rbx + 0x3878]
test rax, rax
je 0x14008fe87
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38b8]
test rax, rax
je 0x14008fe9a
xor edx, edx
mov rcx, rdi
call rax
mov eax, dword [rbx + 0x38d8]
inc r14d
add rsi, 8
cmp r14d, eax
jl 0x14008fe60
mov r14d, r13d
cmp eax, r13d
jle 0x14008ff0a
mov esi, 8
nop dword [rax]
mov rax, qword [rbx + 0x38e0]
mov rdi, qword [rsi + rax]
test dword [rdi + 4], 0x400
jne 0x14008fefa
mov rax, qword [rbx + 0x3880]
test rax, rax
je 0x14008fee7
xor edx, edx
mov rcx, rdi
call rax
mov rax, qword [rbx + 0x38c0]
test rax, rax
je 0x14008fefa
xor edx, edx
mov rcx, rdi
call rax
inc r14d
add rsi, 8
cmp r14d, dword [rbx + 0x38d8]
jl 0x14008fec0
mov r12, qword [rsp + 0x60]
mov rcx, qword [0x1400b5738]
xor r8d, r8d
mov edx, r13d
mov rax, qword [rcx]
call qword [rax + 0x40]
xor esi, esi
jmp 0x14008fc30
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14008fc30
lea rdx, [0x1400b5510]
mov ecx, 2
call qword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov rcx, qword [0x1400b5508]
movaps xmm6, xmmword [rsp + 0x350]
mov r12, qword [rsp + 0x3a8]
test rcx, rcx
je 0x14008ff6d
call qword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov rbx, qword [0x1400b5410]
test rbx, rbx
je 0x14008ff82
mov rdi, qword [rbx + 0xa0]
jmp 0x14008ff85
mov rdi, rsi
call fcn.14001de10
call fcn.14008bee0
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14008ff9e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi]
test rcx, rcx
je 0x14008ffac
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14008ffbb
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
and dword [rbx + 0xc], 0xffffeff7
mov rax, qword [0x1400b5410]
mov qword [rbx + 0x90], rsi
mov qword [rbx + 0xa0], rsi
test rax, rax
je 0x14008ffe2
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400b5410]
test rbx, rbx
je 0x140090000
mov rdi, qword [rbx + 0x98]
jmp 0x140090003
mov rdi, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rdx, rax
lea rcx, str.ImGui_Platform
call qword [sym.imp.USER32.dll_UnregisterClassA]
call fcn.14001de10
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14009002f
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
and dword [rbx + 0xc], 0xfffff3f8
mov rax, qword [0x1400b5410]
mov qword [rbx + 0x88], rsi
mov qword [rbx + 0x98], rsi
test rax, rax
je 0x140090056
dec dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rbx, qword [0x1400b5410]
mov rcx, rbx
call fcn.14000a7f0
cmp qword [0x1400b5410], rbx
jne 0x14009007e
mov qword [0x1400b5410], rsi
test rbx, rbx
je 0x1400900a6
mov rcx, rbx
call fcn.140028c00
mov rax, qword [0x1400b5410]
test rax, rax
je 0x14009009d
dec dword [rax + 0xf4]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
call fcn.140090110
mov rcx, qword [0x1400b5720]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.USER32.dll_UnregisterClassW]
xor eax, eax
mov rdi, qword [rsp + 0x3a0]
mov rsi, qword [rsp + 0x398]
mov r14, qword [rsp + 0x360]
mov r13, qword [rsp + 0x368]
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140090940
add rsp, 0x370
pop r15
pop rbx
pop rbp
ret