Function at 0x140005e00
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x2060]
mov eax, 0x2160
call fcn.140074c90
sub rsp, rax
mov rax, qword [0x1400c5040]
xor rax, rsp
mov qword [rbp + 0x2050], rax
xor r12d, r12d
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
xorps xmm1, xmm1
movups xmmword [rbp - 0x38], xmm1
movups xmmword [rbp - 0x28], xmm1
movups xmmword [rbp - 0x18], xmm1
mov qword [rbp - 8], r12
mov qword [rbp], r12
mov qword [rbp + 8], r12
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
movdqa xmmword [rbp + 0x30], xmm0
xor edx, edx
mov r8d, 0x1030
lea rcx, [rbp + 0x40]
call fcn.14008fe30
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1070], xmm0
mov qword [rbp + 0x1080], rax
lea rbx, [0x1400c5ab0]
mov qword [rbp + 0x1088], rbx
movups xmmword [rbp + 0x1090], xmm0
movups xmmword [rbp + 0x10a0], xmm0
movups xmmword [rbp + 0x10b0], xmm0
movups xmmword [rbp + 0x10c0], xmm0
mov qword [rbp + 0x10d0], rax
mov qword [rbp + 0x10d8], rbx
movups xmmword [rbp + 0x10e0], xmm0
movups xmmword [rbp + 0x10f0], xmm0
movups xmmword [rbp + 0x1100], xmm0
mov qword [rbp + 0x1110], rax
mov qword [rbp + 0x1118], rax
mov qword [rbp + 0x1120], rbx
movups xmmword [rbp + 0x1128], xmm0
movups xmmword [rbp + 0x1138], xmm0
movups xmmword [rbp + 0x1148], xmm0
mov qword [rbp + 0x1158], rax
mov qword [rbp + 0x1160], rax
mov qword [rbp + 0x1168], rbx
movups xmmword [rbp + 0x1170], xmm0
movups xmmword [rbp + 0x1180], xmm0
movups xmmword [rbp + 0x1190], xmm0
mov qword [rbp + 0x11a0], rax
mov qword [rbp + 0x11a8], rax
mov dword [rbp + 0x11b0], eax
mov byte [rbp + 0x11b4], 0x4b
mov dword [rbp + 0x11b8], 0xffffffff
mov qword [rbp + 0x11bc], 1
mov qword [rbp + 0x11c4], r12
mov dword [rbp + 0x11cc], r12d
movups xmmword [rbp + 0x11d0], xmm0
mov qword [rbp + 0x11e0], rax
xor edx, edx
mov r8d, 0x3f0
lea rcx, [rbp + 0x11e8]
call fcn.14008fe30
mov qword [rbp + 0x15d8], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x15e0], xmm0
xor edx, edx
mov r8d, 0x404
lea rcx, [rbp + 0x15f0]
call fcn.14008fe30
mov qword [rbp + 0x19f8], r12
mov qword [rbp + 0x1a00], r12
xor edx, edx
mov r8d, 0x404
lea rcx, [rbp + 0x1a08]
call fcn.14008fe30
mov qword [rbp + 0x1e10], r12
xorps xmm0, xmm0
movups xmmword [rbp + 0x1e18], xmm0
mov qword [rbp + 0x1e28], rbx
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x1e30], xmm1
mov qword [rbp + 0x1e40], r12
mov qword [rbp + 0x1e48], rbx
movdqa xmmword [rbp + 0x1e50], xmm0
mov qword [rbp + 0x1e60], r12
xor eax, eax
movups xmmword [rbp + 0x1e68], xmm1
mov qword [rbp + 0x1e78], rax
mov qword [rbp + 0x1e80], rax
mov qword [rbp + 0x1e88], r12
mov byte [rbp + 0x1e90], 1
mov qword [rbp + 0x1e94], r12
movups xmmword [rbp + 0x1e9c], xmm0
movups xmmword [rbp + 0x1eac], xmm0
movups xmmword [rbp + 0x1ebc], xmm0
movups xmmword [rbp + 0x1ecc], xmm0
movups xmmword [rbp + 0x1edc], xmm0
movups xmmword [rbp + 0x1eec], xmm0
mov qword [rbp + 0x1efc], rax
mov dword [rbp + 0x1f04], 6
mov qword [rbp + 0x1f08], rax
mov dword [rbp + 0x1f10], r12d
mov qword [rbp + 0x1f18], r12
lea rax, [0x1400b620e]
mov qword [rbp + 0x1f20], rax
mov dword [rbp + 0x1f28], r12d
mov byte [rbp + 0x1f2c], r12b
xor eax, eax
mov qword [rbp + 0x1f30], rax
lea rax, [rbp - 0x80]
mov qword [0x1400c72d0], rax
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
mov r8d, 0x104
lea rdx, [rbp + 0x1f40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov ecx, eax
lea rbx, [rcx - 1]
test rbx, rbx
js 0x14000613e
nop word [rax + rax]
movzx eax, byte [rbp + rbx + 0x1f40]
cmp al, 0x5c
je 0x140006138
cmp al, 0x2f
je 0x140006138
sub rbx, 1
jns 0x140006120
jmp 0x14000613e
cmp rbx, 0xffffffffffffffff
jne 0x140006141
mov rbx, rcx
mov rdx, rbx
mov rcx, qword [0x1400c5ab0]
call qword [0x1400c5ab8]
mov rsi, rax
mov r8, rbx
lea rdx, [rbp + 0x1f40]
mov rcx, rax
call fcn.14008f790
lea rdx, [rbx + 1]
mov rcx, qword [0x1400c5ab0]
call qword [0x1400c5ab8]
mov rdi, rax
mov r8, rbx
mov rdx, rsi
mov rcx, rax
call fcn.14008f790
mov byte [rdi + rbx], r12b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test rdi, rdi
je 0x1400061aa
mov rdx, rdi
mov rcx, qword [0x1400c5ab0]
call qword [0x1400c5ac0]
test rbx, rbx
je 0x1400061c4
test rsi, rsi
je 0x1400061c4
mov rdx, rsi
mov rcx, qword [0x1400c5ab0]
call qword [0x1400c5ac0]
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov esi, 8
cmp byte [rsi + rbx], r12b
jne 0x1400061e0
call fcn.1400743e8
mov edi, 0x48
add rdi, rbx
mov edx, 0x1000000
mov rcx, rdi
call fcn.14000ce00
cmp byte [rsi + rbx], r12b
jne 0x140006200
call fcn.1400743e8
mov qword [rsp + 0x40], rdi
lea rax, [0x14000d140]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x58], r12
lea rax, [0x14000d150]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r12
mov eax, reloc.WS2_32.dll_recv
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rbx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rax + rbx + 0x10], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rax + rbx + 0x20], xmm0
mov edx, 0x4000000
mov rcx, qword [0x1400c72d0]
call fcn.14000ce00
mov rcx, qword [0x1400c72d0]
lea rax, [rcx + 0x30]
mov qword [rax], rcx
mov qword [rax + 8], r12
mov qword [rsp + 0x40], rax
lea r15, [0x14000d650]
mov qword [rsp + 0x48], r15
lea r14, [0x14000d660]
mov qword [rsp + 0x50], r14
lea rsi, [0x14000d670]
mov qword [rsp + 0x58], rsi
lea rdi, [0x14000d720]
mov qword [rsp + 0x60], rdi
lea rbx, [0x14000d730]
mov qword [rsp + 0x68], rbx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rcx + 0x48], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rcx + 0x58], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rcx + 0x68], xmm0
add rcx, 0x78
mov edx, 0x8000000
call fcn.14000ce00
mov rdx, qword [0x1400c72d0]
lea rax, [rdx + 0x78]
lea rcx, [rdx + 0xa8]
mov qword [rcx], rax
mov qword [rcx + 8], r12
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rbx
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx + 0xc0], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0xd0], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rdx + 0xe0], xmm0
mov qword [rsp + 0x70], sendto
lea rax, str.data_ironfort.pack
mov qword [rsp + 0x78], rax
lea r8, [rdx + 0x48]
lea rcx, [rdx + 0x10f0]
lea rdx, [rsp + 0x70]
call fcn.140008680
mov rbx, qword [0x1400c72d0]
add rbx, 0xf0
lea rcx, [rbx + 0x160]
xor edx, edx
mov r8d, pe_nt_image_headers64
call fcn.14008fe30
xorps xmm0, xmm0
movups xmmword [rbx + 0x278], xmm0
mov qword [rbx + 0x348], r12
mov word [rbx + 0x138], r12w
mov word [rbx + 0x13b], r12w
mov qword [rbx + 0x148], r12
mov qword [rbx + 0x150], r12
mov dword [rbx + 0x158], r12d
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x70]
mov qword [rbx + 0x350], rax
mov qword [rsp + 0x70], 8
lea rax, str.Ironfort
mov qword [rsp + 0x78], rax
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.14000fd30
mov rsi, qword [0x1400c72d0]
mov edx, recv
mov rcx, qword [0x1400c5ab0]
call qword [0x1400c5ab8]
mov rbx, rax
movsd xmm0, qword [str.IRONFORT_ICON]
movsd qword [rax], xmm0
mov eax, dword [0x1400b6350]
mov dword [rbx + 8], eax
movzx eax, byte [0x1400b6354]
mov byte [rbx + 0xc], al
mov byte [rbx + 0xd], r12b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_LoadIconA]
mov rdi, rax
test rax, rax
jne 0x14000644e
jmp 0x140006482
mov r9, rdi
xor r8d, r8d
mov edx, 0x80
mov rcx, qword [rsi + 0xf0]
call qword [sym.imp.USER32.dll_SendMessageA]
mov r9, rdi
mov edx, 0x80
mov r8d, 1
mov rcx, qword [rsi + 0xf0]
call qword [sym.imp.USER32.dll_SendMessageA]
nop
test rbx, rbx
je 0x140006498
mov rdx, rbx
mov rcx, qword [0x1400c5ab0]
call qword [0x1400c5ac0]
nop
mov rcx, qword [0x1400c72d0]
add rcx, 0xf0
call fcn.1400024e0
mov rbx, qword [0x1400c72d0]
lea rax, [rbx + 0x48]
mov qword [rbx + 0x1150], rax
mov qword [rbx + 0x1158], rax
lea rsi, [0x14000ec70]
mov qword [rbx + 0x1160], rsi
lea rdi, [0x14000ec40]
mov qword [rbx + 0x1168], rdi
mov qword [rbx + 0x1170], r12
mov qword [rbx + 0x1178], 0x20
mov qword [rbx + 0x1180], 0x1f
mov edx, 0xd00
mov rcx, qword [rax]
call qword [rax + ioctlsocket]
mov qword [rbx + 0x1190], rax
mov rax, qword [rbx + 0x1158]
mov rdx, qword [rbx + 0x1178]
mov rcx, qword [rax]
call qword [rax + ioctlsocket]
mov qword [rbx + 0x1188], rax
mov r8, qword [rbx + 0x1178]
xor edx, edx
mov rcx, rax
call fcn.14008fe30
mov rbx, qword [0x1400c72d0]
lea rax, [rbx + 0x48]
mov qword [rbx + 0x1198], rax
mov qword [rbx + 0x11a0], rax
mov qword [rbx + 0x11a8], rsi
mov qword [rbx + 0x11b0], rdi
mov qword [rbx + 0x11b8], r12
mov qword [rbx + 0x11c0], 8
mov qword [rbx + 0x11c8], 7
mov edx, 0x2c0
mov rcx, qword [rax]
call qword [rax + ioctlsocket]
mov qword [rbx + 0x11d8], rax
mov rax, qword [rbx + 0x11a0]
mov rdx, qword [rbx + 0x11c0]
mov rcx, qword [rax]
call qword [rax + ioctlsocket]
mov qword [rbx + 0x11d0], rax
mov r8, qword [rbx + 0x11c0]
xor edx, edx
mov rcx, rax
call fcn.14008fe30
mov rbx, qword [0x1400c72d0]
lea rax, [rbx + 0x48]
mov qword [rbx + 0x11e0], rax
mov qword [rbx + 0x11e8], rax
mov qword [rbx + 0x11f0], rsi
mov qword [rbx + 0x11f8], rdi
mov qword [rbx + 0x1200], r12
mov qword [rbx + 0x1208], 0x20
mov qword [rbx + 0x1210], 0x1f
mov edx, 0x1f00
mov rcx, qword [rax]
call qword [rax + ioctlsocket]
mov qword [rbx + 0x1220], rax
mov rax, qword [rbx + 0x11e8]
mov rdx, qword [rbx + 0x1208]
mov rcx, qword [rax]
call qword [rax + ioctlsocket]
mov qword [rbx + 0x1218], rax
mov r8, qword [rbx + 0x1208]
xor edx, edx
mov rcx, rax
call fcn.14008fe30
mov rbx, qword [0x1400c72d0]
mov edx, 3
mov eax, 5
cmp byte [rbx + 0x229], 0
cmove edx, eax
mov rcx, qword [rbx + 0xf0]
call qword [sym.imp.USER32.dll_ShowWindow]
lea rcx, [rbx + 0xf0]
call fcn.14000fcb0
lea rcx, [fcn.1400054d0]
mov rax, qword [0x1400c72d0]
mov qword [rax + 0x210], rcx
mov dword [rax + 0x1f90], 1
cmp byte [rax + 0x228], 0
jne 0x1400066b5
nop dword [rax + rax]
call fcn.140005970
mov rax, qword [0x1400c72d0]
cmp byte [rax + 0x228], 0
je 0x1400066a0
call fcn.140004fa0
mov rdx, qword [0x1400c5eb0]
test rdx, rdx
je 0x1400066d3
mov rax, qword [0x1400c5ea8]
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
xorps xmm0, xmm0
movdqu xmmword [0x1400c5eb8], xmm0
mov qword [0x1400c5eb0], r12
mov rbx, qword [0x1400c72d0]
mov rax, qword [rbx + 0x10f0]
cmp qword [rbx + 0x10f8], 0
je 0x14000670f
mov rdx, qword [rbx + 0x1100]
test rdx, rdx
je 0x14000670f
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x10f8], r12
mov qword [rbx + 0x1100], r12
mov rdx, qword [rbx + 0x1138]
mov rax, qword [rbx + 0x1108]
test rdx, rdx
je 0x140006736
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbx + 0x1138], r12
mov qword [rbx + 0x1128], r12
mov qword [rbx + 0x1130], r12
mov qword [rbx + 0x1120], r12
mov rdi, qword [0x1400c72d0]
mov rsi, r12
cmp qword [rdi + 0x1178], r12
jle 0x1400067a8
mov r14, r12
nop dword [rax + rax]
mov rax, qword [rdi + 0x1190]
mov rdx, qword [r14 + rax]
test rdx, rdx
je 0x140006798
mov rbx, qword [rdx]
mov rax, qword [rdi + 0x1158]
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, rbx
test rbx, rbx
jne 0x140006780
inc rsi
add r14, 0x68
cmp rsi, qword [rdi + 0x1178]
jl 0x140006770
mov rdx, qword [rdi + 0x1190]
mov rax, qword [rdi + 0x1158]
test rdx, rdx
je 0x1400067c1
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [rdi + 0x1188]
mov rax, qword [rdi + 0x1158]
test rdx, rdx
je 0x1400067da
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x1190], r12
mov qword [rdi + 0x1188], r12
mov qword [rdi + 0x1180], r12
mov qword [rdi + 0x1178], r12
mov qword [rdi + 0x1170], r12
mov qword [rdi + 0x1150], r12
mov rdi, qword [0x1400c72d0]
mov r14, r12
cmp qword [rdi + 0x11c0], r12
jle 0x140006858
mov rsi, r12
nop word [rax + rax]
mov rax, qword [rdi + 0x11d8]
mov rdx, qword [rsi + rax]
test rdx, rdx
je 0x140006848
mov rbx, qword [rdx]
mov rax, qword [rdi + 0x11a0]
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, rbx
test rbx, rbx
jne 0x140006830
inc r14
add rsi, 0x58
cmp r14, qword [rdi + 0x11c0]
jl 0x140006820
mov rdx, qword [rdi + 0x11d8]
mov rax, qword [rdi + 0x11a0]
test rdx, rdx
je 0x140006871
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [rdi + 0x11d0]
mov rax, qword [rdi + 0x11a0]
test rdx, rdx
je 0x14000688a
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x11d8], r12
mov qword [rdi + 0x11d0], r12
mov qword [rdi + 0x11c8], r12
mov qword [rdi + 0x11c0], r12
mov qword [rdi + 0x11b8], r12
mov qword [rdi + 0x1198], r12
mov rdi, qword [0x1400c72d0]
mov r14, r12
cmp qword [rdi + 0x1208], r12
jle 0x14000690b
mov rsi, r12
nop word [rax + rax]
mov rax, qword [rdi + 0x1220]
mov rdx, qword [rsi + rax]
test rdx, rdx
je 0x1400068f8
mov rbx, qword [rdx]
mov rax, qword [rdi + 0x11e8]
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, rbx
test rbx, rbx
jne 0x1400068e0
inc r14
add rsi, 0xf8
cmp r14, qword [rdi + 0x1208]
jl 0x1400068d0
mov rdx, qword [rdi + 0x1220]
mov rax, qword [rdi + 0x11e8]
test rdx, rdx
je 0x140006924
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov rdx, qword [rdi + 0x1218]
mov rax, qword [rdi + 0x11e8]
test rdx, rdx
je 0x14000693d
mov rcx, qword [rax]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rdi + 0x1220], r12
mov qword [rdi + 0x1218], r12
mov qword [rdi + 0x1210], r12
mov qword [rdi + 0x1208], r12
mov qword [rdi + 0x1200], r12
mov qword [rdi + 0x11e0], r12
call fcn.140002ad0
mov rbx, qword [0x1400c72d0]
mov rdx, qword [rbx + 0xf8]
mov rcx, qword [rbx + 0xf0]
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rcx, qword [rbx + 0xf0]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [rbx + 0xf0], r12
mov qword [rbx + 0xf8], r12
mov rbx, qword [0x1400c72d0]
mov rdi, qword [rbx + 0x98]
xor edx, edx
mov r8d, 0x8000
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x140006a79
mov qword [rbx + 0x78], r12
mov qword [rbx + 0xa0], r12
mov qword [rbx + 0x98], r12
mov qword [rbx + 0x90], r12
mov qword [rbx + 0x88], r12
mov qword [rbx + 0x80], r12
mov rbx, qword [0x1400c72d0]
mov rdi, qword [rbx + 0x20]
xor edx, edx
mov r8d, 0x8000
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_VirtualFree]
test eax, eax
je 0x140006a5a
mov qword [rbx], r12
mov qword [rbx + 0x28], r12
mov qword [rbx + 0x20], r12
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x10], r12
mov qword [rbx + 8], r12
xor eax, eax
mov rcx, qword [rbp + 0x2050]
xor rcx, rsp
call fcn.140074360
lea r11, [rsp + 0x2160]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.14000f2a0
mov r9, rax
mov r8, rdi
lea rdx, str.Failed_to_free__llu_bytes_of_memory:__s.
lea rcx, str.C:_sourceIronfortFoundationwin32_specific.cpp_210
call fcn.14000be60
int3
call fcn.14000f2a0
mov r9, rax
mov r8, rdi
lea rdx, str.Failed_to_free__llu_bytes_of_memory:__s.
lea rcx, str.C:_sourceIronfortFoundationwin32_specific.cpp_210
call fcn.14000be60
int3
jmp 0x140005e00