Function at 0x180129050
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x188
mov rax, qword [0x180161180]
xor rax, rsp
mov qword [rsp + 0x170], rax
mov dword [rsp + 0x108], 0x80004021
mov dword [rsp + 0xe4], 0x78
mov dword [rsp + 0xec], 2
mov eax, 1
mov word [rsp + 0xe8], ax
mov dword [rsp + 0xf4], 0
mov dword [rsp + 0xe0], 0
mov qword [rsp + 0x100], 0
mov qword [rsp + 0xc0], 0
mov dword [rsp + 0xf0], 0
mov qword [rsp + 0xf8], 0
lea r8, [0x18005f6c8]
lea rdx, [0x1800621a8]
mov ecx, 1
call fcn.1801276b0
mov rdx, qword [rsp + 0x1a0]
add rdx, 8
lea rcx, [rsp + 0x110]
call fcn.180131df0
lea rcx, [rsp + 0x110]
call fcn.180131e30
nop
mov rax, qword [rsp + 0x1a8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1a8]
lea r8, [0x180062178]
lea rdx, [0x1800621a8]
mov ecx, 2
call fcn.1801276b0
mov rcx, qword [rsp + 0x1a0]
call fcn.1801288f0
mov rdx, qword [rsp + 0x1a0]
add rdx, 0x42c
lea r8, [rsp + 0xe0]
mov rcx, qword [rsp + 0x1a8]
call fcn.180123100
mov dword [rsp + 0xe4], eax
cmp dword [rsp + 0xe4], 0
jne 0x180129511
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 1
mov edx, 0x80000000
mov rcx, qword [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdx, rax
mov rax, qword [rsp + 0x1a0]
mov qword [rax + 0x420], rdx
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0x420], 0xffffffffffffffff
jne 0x18012924b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe4], eax
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1a8]
lea r8, [0x18005f9b0]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
xor r9d, r9d
xor r8d, r8d
mov rax, qword [rsp + 0x1a0]
mov edx, dword [rax + 0x42c]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x420]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0xf4], eax
cmp dword [rsp + 0xf4], 0xffffffff
jne 0x1801292f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe4], eax
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x42c]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1a0]
mov r9, qword [r9 + 0x420]
lea r8, [0x180060440]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x42c]
cmp dword [rsp + 0xf4], eax
je 0x18012939d
mov dword [rsp + 0xe4], 0x19
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x42c]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xf4]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x42c]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1a0]
mov r9, qword [r9 + 0x420]
lea r8, [0x1800603d0]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
xor edx, edx
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x420]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, eax
mov rax, qword [rsp + 0x1a0]
mov dword [rax + 0x428], edx
mov rax, qword [rsp + 0x1a0]
cmp dword [rax + 0x428], 0xffffffff
jne 0x180129434
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe4], eax
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1a0]
mov r9, qword [r9 + 0x420]
lea r8, [0x180060490]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov rcx, qword [rsp + 0x1a0]
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x42c]
mov ecx, dword [rcx + 0x428]
sub ecx, eax
mov rax, qword [rsp + 0x1a0]
mov dword [rax + 0x428], ecx
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x428]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1a8]
lea r8, [0x180062130]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x428]
cmp dword [rsp + 0xe0], eax
jae 0x1801294bb
mov rcx, qword [rsp + 0x1a0]
mov eax, dword [rsp + 0xe0]
mov dword [rcx + 0x428], eax
mov rax, qword [rsp + 0x1a0]
mov r9d, dword [rax + 0x428]
lea r8, [0x180062110]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
mov rdx, qword [rsp + 0x1a0]
mov byte [rdx + 0x418], 1
mov dword [rsp + 0xe4], 0
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
jmp 0x18012a19f
lea rdx, [0x1800361a8]
mov rcx, qword [rsp + 0x1a8]
call fcn.1800ed4ac
mov rdx, rax
mov rax, qword [rsp + 0x1a0]
mov qword [rax + 0x408], rdx
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0x408], 0
jne 0x1801295a2
call fcn.1800ee48c
mov eax, dword [rax]
mov dword [rsp + 0xe4], eax
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1a8]
lea r8, [0x1800620d8]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0x80], 0
jne 0x1801295d3
lea rcx, [0x1800620c8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdx, rax
mov rax, qword [rsp + 0x1a0]
mov qword [rax + 0x80], rdx
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0x80], 0
je 0x1801299f4
mov rcx, qword [rsp + 0x1a0]
call fcn.180128bd0
mov dword [rsp + 0xe4], eax
cmp dword [rsp + 0xe4], 0
jne 0x1801299ca
lea rdi, [rsp + 0x120]
mov rsi, qword [rsp + 0x1a0]
add rsi, 0x30
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rsp + 0x1a0]
add rdx, 0xc0
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x408]
mov rax, qword [rsp + 0x1a0]
call qword [rax + 0x58]
mov dword [rsp + 0xf0], eax
cmp dword [rsp + 0xf0], 0
jge 0x18012973a
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0xe4], eax
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
lea rdi, [rsp + 0x140]
mov rsi, qword [rsp + 0x1a0]
add rsi, 0x30
mov ecx, 0x20
rep movsb byte [rdi], byte [rsi]
mov rcx, qword [rsp + 0x1a0]
add rcx, 0xc0
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x140]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x1a0]
mov r9, qword [r9 + 0x408]
lea r8, [0x180062070]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x408]
call fcn.1800ecf18
mov rdx, qword [rsp + 0x1a0]
mov qword [rdx + 0x408], 0
jmp 0x1801299c8
mov rcx, qword [rsp + 0x1a0]
add rcx, 0xc0
mov edx, 0xffffffff
mov rax, qword [rsp + 0x1a0]
call qword [rax + 0x70]
mov qword [rsp + 0xf8], rax
cmp qword [rsp + 0xf8], 0
jne 0x18012980e
mov dword [rsp + 0xe4], 0x80004003
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
mov r9, qword [rsp + 0x1a0]
add r9, 0xc0
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
lea r8, [0x180062030]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
mov rcx, qword [rsp + 0x1a0]
add rcx, 0xc0
mov rax, qword [rsp + 0x1a0]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x408]
call fcn.1800ecf18
mov rdx, qword [rsp + 0x1a0]
mov qword [rdx + 0x408], 0
jmp 0x18012a19f
mov rcx, qword [rsp + 0x1a0]
add rcx, 0xc0
mov edx, 0xffffffff
mov rax, qword [rsp + 0x1a0]
call qword [rax + 0x60]
mov rdx, rax
mov rax, qword [rsp + 0x1a0]
mov dword [rax + 0x414], edx
mov rax, qword [rsp + 0xf8]
mov edx, dword [rax + 4]
shl edx, 1
mov rax, qword [rsp + 0x1a0]
mov ecx, dword [rax + 0x414]
imul ecx, edx
mov rax, qword [rsp + 0x1a0]
mov dword [rax + 0x414], ecx
mov rax, qword [rsp + 0x1a0]
mov eax, dword [rax + 0x414]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xf8]
mov r9d, dword [rax + 4]
lea r8, [0x180061fd0]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
mov rax, qword [rsp + 0xf8]
cmp dword [rax + 4], 2
jne 0x1801298cf
mov rax, qword [rsp + 0xf8]
cmp dword [rax + 8], 0xac44
je 0x180129979
mov dword [rsp + 0xe4], 0xa0
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xf8]
mov eax, dword [rax + 8]
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0xf8]
mov r9d, dword [rax + 4]
lea r8, [0x180061f60]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
mov rcx, qword [rsp + 0x1a0]
add rcx, 0xc0
mov rax, qword [rsp + 0x1a0]
call qword [rax + 0x50]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x408]
call fcn.1800ecf18
mov rdx, qword [rsp + 0x1a0]
mov qword [rdx + 0x408], 0
jmp 0x18012a19f
mov r9, qword [rsp + 0x1a8]
lea r8, [0x180061f20]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
mov rdx, qword [rsp + 0x1a0]
mov byte [rdx + 0xac], 1
mov dword [rsp + 0xe4], 0
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
jmp 0x18012a19f
jmp 0x1801299f2
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xe4]
lea r8, [0x180061ee8]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x180129a5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
lea r9, [0x1800620c8]
lea r8, [0x180061eb0]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x408]
call fcn.1800ecf18
mov rdx, qword [rsp + 0x1a0]
mov qword [rdx + 0x408], 0
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0xa0], 0
jne 0x180129a8b
lea rcx, [0x180061ea0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdx, rax
mov rax, qword [rsp + 0x1a0]
mov qword [rax + 0xa0], rdx
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0xa0], 0
jne 0x180129af4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe4], eax
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
lea r9, [0x180061ea0]
lea r8, [0x180061eb0]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
lea rdx, [0x180061e88]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0xa0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0
jne 0x180129b8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe4], eax
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
lea rax, [0x180061e88]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x1a0]
mov r9, qword [r9 + 0xa0]
lea r8, [0x180061e48]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov r8, qword [rsp + 0x1a0]
add r8, 0x88
xor edx, edx
xor ecx, ecx
call qword [rsp + 0xc0]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jge 0x180129c1a
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0xe4], eax
mov rcx, qword [rsp + 0x1a0]
add rcx, 0x88
mov r9, qword [rsp + 0x1a0]
add r9, 0x88
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r8, [0x180061dd0]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov ecx, 0x18
call fcn.1800eb9ac
mov qword [rsp + 0x118], rax
cmp qword [rsp + 0x118], 0
je 0x180129c4e
mov rcx, qword [rsp + 0x118]
call fcn.180130cf0
mov qword [rsp + 0x168], rax
jmp 0x180129c5a
mov qword [rsp + 0x168], 0
mov rcx, qword [rsp + 0x1a0]
mov rax, qword [rsp + 0x168]
mov qword [rcx + 0x90], rax
mov rax, qword [rsp + 0x1a0]
cmp qword [rax + 0x90], 0
jne 0x180129cce
mov dword [rsp + 0xe4], 0xe
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xe4]
lea r8, [0x180061d80]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov rdx, qword [rsp + 0x1a8]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x90]
call fcn.180130f00
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jge 0x180129d41
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1a8]
lea r8, [0x180061d30]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x88]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x88]
mov rax, qword [rax]
mov rdx, qword [rsp + 0x1a0]
mov rdx, qword [rdx + 0x90]
call qword [rax + 0xb8]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jge 0x180129dd5
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x1a0]
mov r9, qword [r9 + 0x90]
lea r8, [0x180061ce0]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x88]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x88]
mov rax, qword [rax]
lea r9, [rsp + 0xec]
lea r8, [rsp + 0xe8]
mov dx, 1
call qword [rax + 0x40]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jge 0x180129e71
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0xec]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xe8]
lea r8, [0x180061c80]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x88]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x88]
mov rax, qword [rax]
xor r8d, r8d
mov dx, 1
call qword [rax + 0x50]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jge 0x180129ee8
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xe4]
lea r8, [0x180061c20]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x88]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x88]
mov rax, qword [rax]
lea r8, [rsp + 0x100]
xor edx, edx
call qword [rax + 0x78]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jge 0x180129f6d
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x100]
lea r8, [0x180061bd0]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
lea rdi, [rsp + 0xc8]
xor eax, eax
mov ecx, 0x12
rep stosb byte [rdi], al
mov eax, 1
mov word [rsp + 0xc8], ax
mov eax, 2
mov word [rsp + 0xca], ax
mov dword [rsp + 0xcc], 0xac44
mov dword [rsp + 0xd0], 0x2b110
mov eax, 4
mov word [rsp + 0xd4], ax
mov eax, 0x10
mov word [rsp + 0xd6], ax
xor eax, eax
mov word [rsp + 0xd8], ax
lea rdi, [rsp + 0x60]
xor eax, eax
mov ecx, 0x58
rep stosb byte [rdi], al
lea rdi, [rsp + 0x60]
lea rsi, [0x18005f5a8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
lea rdi, [rsp + 0x70]
lea rsi, [0x18005f5b8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x80], 1
mov dword [rsp + 0x84], 0
movzx eax, word [rsp + 0xd4]
mov dword [rsp + 0x88], eax
lea rdi, [rsp + 0x8c]
lea rsi, [0x18005f5c8]
mov ecx, 0x10
rep movsb byte [rdi], byte [rsi]
mov qword [rsp + 0xa0], 0
movzx eax, word [rsp + 0xd8]
add rax, 0x12
mov dword [rsp + 0xa8], eax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x100]
call qword [rax + 0x28]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jge 0x18012a0df
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
lea r9, [rsp + 0x60]
lea r8, [0x180061b80]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov rax, qword [rsp + 0x1a0]
mov rax, qword [rax + 0x88]
mov rcx, qword [rsp + 0x1a0]
mov rcx, qword [rcx + 0x88]
mov rax, qword [rax]
mov r8, qword [rsp + 0x100]
xor edx, edx
call qword [rax + 0x80]
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jge 0x18012a164
mov eax, dword [rsp + 0x108]
mov dword [rsp + 0xe4], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9, qword [rsp + 0x100]
lea r8, [0x180061b30]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
jmp 0x18012a19f
mov r9, qword [rsp + 0x1a8]
lea r8, [0x180061af0]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
mov dword [rsp + 0xe4], 0
mov ecx, dword [rsp + 0xe4]
call fcn.180094b00
mov dword [rsp + 0x108], eax
cmp dword [rsp + 0x108], 0
jge 0x18012a1b6
mov rcx, qword [rsp + 0x1a0]
call fcn.1801288f0
cmp qword [rsp + 0x100], 0
je 0x18012a1e3
mov rax, qword [rsp + 0x100]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x100]
call qword [rax + 0x10]
mov qword [rsp + 0x100], 0
jmp 0x18012a236
cmp dword [rsp + 0xe4], 0
jne 0x18012a25a
lea r8, [0x18005f618]
lea rdx, [0x1800621a8]
mov ecx, 1
call fcn.1801276b0
jmp 0x18012a282
mov eax, dword [rsp + 0xe4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xe4]
lea r8, [0x180061970]
lea rdx, [0x1800621a8]
xor ecx, ecx
call fcn.1801276b0
mov eax, dword [rsp + 0x108]
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.1800eb430
add rsp, 0x188
pop rdi
pop rsi
ret