Function at 0x4f61c0
Capabilities:
Accept command line arguments
Get common file path
Get session user name

Disassembly:
push rbp
push rsi
push rbx
sub rsp, 0x760
mov rbp, rsp
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xb8], 0
mov qword [rbp + 0xb0], 0
mov qword [rbp + 0xc0], 0
mov qword [rbp + 0xd0], 0
mov qword [rbp + 0xc8], 0
mov qword [rbp + 0xe0], 0
mov qword [rbp + 0xd8], 0
mov qword [rbp + 0xe8], 0
mov qword [rbp + 0xf0], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0x100], 0
mov qword [rbp + 0x138], 0
mov qword [rbp + 0x130], 0
mov qword [rbp + 0x128], 0
mov qword [rbp + 0x120], 0
mov qword [rbp + 0x118], 0
mov qword [rbp + 0x110], 0
mov qword [rbp + 0x108], 0
mov qword [rbp + 0x140], 0
mov qword [rbp + 0x150], 0
mov qword [rbp + 0x148], 0
mov qword [rbp + 0x160], 0
mov qword [rbp + 0x158], 0
mov qword [rbp + 0x170], 0
mov qword [rbp + 0x168], 0
mov qword [rbp + 0x178], 0
mov qword [rbp + 0x180], 0
mov qword [rbp + 0x188], 0
mov qword [rbp + 0x190], 0
mov qword [rbp + 0x198], 0
mov qword [rbp + 0x1a8], 0
mov qword [rbp + 0x1a0], 0
mov qword [rbp + 0x1d0], 0
mov qword [rbp + 0x1c8], 0
mov qword [rbp + 0x1b8], 0
mov qword [rbp + 0x1b0], 0
mov qword [rbp + 0x1c0], 0
mov qword [rbp + 0x1d8], 0
mov qword [rbp + 0x1e0], 0
mov qword [rbp + 0x1f0], 0
mov qword [rbp + 0x1e8], 0
mov qword [rbp + 0x1f8], 0
mov qword [rbp + 0x200], 0
mov qword [rbp + 0x208], 0
mov qword [rbp + 0x210], 0
mov qword [rbp + 0x220], 0
mov qword [rbp + 0x218], 0
mov qword [rbp + 0x228], 0
mov qword [rbp + 0x230], 0
mov qword [rbp + 0x238], 0
mov qword [rbp + 0x278], 0
mov qword [rbp + 0x270], 0
mov qword [rbp + 0x268], 0
mov qword [rbp + 0x260], 0
mov qword [rbp + 0x258], 0
mov qword [rbp + 0x250], 0
mov qword [rbp + 0x248], 0
mov qword [rbp + 0x240], 0
mov qword [rbp + 0x280], 0
mov qword [rbp + 0x758], 0
mov qword [rbp + 0x740], 0
mov qword [rbp + 0x738], 0
mov qword [rbp + 0x2a0], 0
mov qword [rbp + 0x288], rbp
mov qword [rbp + 0x780], rcx
mov qword [rbp + 0x788], rdx
nop
mov rax, qword [rbp + 0x780]
cmp qword [rax + 0x658], 0
jne 0x4f6538
mov rcx, qword [0x004b8810]
mov dl, 1
call fcn.004c7400
mov qword [rbp + 0x2a8], rax
mov rax, qword [rbp + 0x2a8]
mov rcx, qword [rbp + 0x780]
mov qword [rax + 0x18], rcx
mov rax, qword [rbp + 0x780]
lea rcx, [rax + 0x658]
cmp qword [rbp + 0x2a8], 0
jne 0x4f6528
mov rdx, qword [rbp + 0x2a8]
jmp 0x4f6533
mov rax, qword [rbp + 0x2a8]
lea rdx, [rax + 0x70]
call fcn.00415fa0
mov rcx, qword [rbp + 0x788]
mov rax, qword [rbp + 0x780]
mov rdx, qword [rax + 0x658]
call fcn.00415fa0
mov rax, qword [rbp + 0x780]
cmp byte [rax + 0x698], 0
je 0x4f7912
mov rax, qword [rbp + 0x780]
mov rax, qword [rax + 0x658]
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x28]
test eax, eax
jne 0x4f7912
lea rcx, [rbp + 0x2a0]
mov rax, qword [rbp + 0x780]
mov rdx, qword [rax + 0x658]
call fcn.00415fa0
lea rcx, [rbp + 0x280]
mov rax, qword [rbp + 0x780]
mov rdx, qword [rax + 0x658]
lea r8, [0x004f7e70]
call fcn.00415ff0
mov rcx, qword [rbp + 0x280]
mov rax, qword [rbp + 0x280]
mov rbx, qword [rax]
call qword [rbx + 0x30]
mov dword [rbp + 0x74c], 0
nop
lea rcx, [rbp + 0x270]
mov rax, qword [rbp + 0x780]
movzx edx, word [rax + 0x728]
mov r8d, 4
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x268]
mov rax, qword [rbp + 0x780]
movzx edx, word [rax + 0x72a]
mov r8d, 2
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x260]
mov rax, qword [rbp + 0x780]
movzx edx, word [rax + 0x72e]
mov r8d, 2
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x258]
mov rax, qword [rbp + 0x780]
movzx edx, word [rax + 0x730]
mov r8d, 2
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x250]
mov rax, qword [rbp + 0x780]
movzx edx, word [rax + 0x732]
mov r8d, 2
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x248]
mov rax, qword [rbp + 0x780]
movzx edx, word [rax + 0x734]
mov r8d, 2
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x240]
mov rax, qword [rbp + 0x780]
movzx edx, word [rax + 0x736]
mov r8d, 1
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x278]
mov edx, 0xe
mov r8, qword [rbp + 0x270]
lea r9, [0x004f7eac]
mov rax, qword [rbp + 0x268]
mov qword [rsp + 0x20], rax
lea rax, [0x004f7eac]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x260]
mov qword [rsp + 0x30], rax
lea rax, [0x004f7ebc]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x258]
mov qword [rsp + 0x40], rax
lea rax, [0x004f7ed0]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x250]
mov qword [rsp + 0x50], rax
lea rax, [0x004f7ed0]
mov qword [rsp + 0x58], rax
mov rax, qword [rbp + 0x248]
mov qword [rsp + 0x60], rax
lea rax, [0x004f7ebc]
mov qword [rsp + 0x68], rax
mov rax, qword [rbp + 0x240]
mov qword [rsp + 0x70], rax
lea rax, [0x004f7ee0]
mov qword [rsp + 0x78], rax
call fcn.00412390
mov rcx, rbp
lea rdx, [0x004f7e8c]
mov r8, qword [rbp + 0x278]
call fcn.004f6060
jmp 0x4f67b9
nop
lea rcx, [rbp + 0x238]
call fcn.004aa300
mov rcx, rbp
lea rdx, [0x004f7ef4]
mov r8, qword [rbp + 0x238]
call fcn.004f6060
jmp 0x4f67e6
nop
lea rcx, [rbp + 0x230]
call fcn.004f41d0
mov rcx, rbp
lea rdx, [0x004f7f1c]
mov r8, qword [rbp + 0x230]
call fcn.004f6060
jmp 0x4f6813
nop
mov dword [rbp + 0x528], 0x104
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x4f685a
lea rcx, [rbp + 0x52e]
lea rdx, [rbp + 0x528]
call sub.advapi32.dll_GetUserNameW
lea rcx, [rbp + 0x740]
lea rdx, [rbp + 0x52e]
mov r8d, 0x105
call fcn.00411f10
jmp 0x4f6880
lea rcx, [rbp + 0x52e]
lea rdx, [rbp + 0x528]
call sub.advapi32.dll_GetUserNameA
lea rcx, [rbp + 0x740]
lea rdx, [rbp + 0x52e]
call fcn.00411f60
call fcn.004f40c0
test al, al
je 0x4f689c
lea rcx, [rbp + 0x740]
lea rdx, [0x004f7f48]
call fcn.00412180
mov rcx, rbp
lea rdx, [0x004f7f68]
mov r8, qword [rbp + 0x740]
call fcn.004f6060
jmp 0x4f68bc
nop
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x4f68df
lea rcx, [rbp + 0x740]
lea rdx, [0x004f7f88]
call fcn.00410750
jmp 0x4f68eb
lea rcx, [rbp + 0x740]
call fcn.00410080
lea rcx, [rbp + 0x228]
mov edx, 3
lea r8, [0x004f7f9c]
mov r9, qword [rbp + 0x740]
lea rax, [0x004f7fe0]
mov qword [rsp + 0x20], rax
call fcn.00412390
lea rcx, [rbp + 0x738]
mov rdx, 0xffffffff80000002
mov r8, qword [rbp + 0x228]
lea r9, [0x004f800c]
call fcn.004aa3d0
lea rcx, [rbp + 0x218]
mov edx, 3
lea r8, [0x004f7f9c]
mov r9, qword [rbp + 0x740]
lea rax, [0x004f7fe0]
mov qword [rsp + 0x20], rax
call fcn.00412390
lea rcx, [rbp + 0x220]
mov rdx, 0xffffffff80000002
mov r8, qword [rbp + 0x218]
lea r9, [0x004f8048]
call fcn.004aa3d0
lea rcx, [rbp + 0x740]
mov rdx, qword [rbp + 0x220]
call fcn.00410750
cmp qword [rbp + 0x738], 0
je 0x4f69ce
lea rcx, [rbp + 0x740]
mov edx, 3
mov r8, qword [rbp + 0x740]
lea r9, [0x004f8074]
mov rax, qword [rbp + 0x738]
mov qword [rsp + 0x20], rax
call fcn.00412390
mov rcx, rbp
lea rdx, [0x004f8088]
mov r8, qword [rbp + 0x740]
call fcn.004f6060
jmp 0x4f69ee
nop
lea rcx, [rbp + 0x210]
call fcn.004f46a0
mov rcx, rbp
lea rdx, [0x004f80b8]
mov r8, qword [rbp + 0x210]
call fcn.004f6060
jmp 0x4f6a1b
nop
lea rcx, [rbp + 0x208]
call fcn.004f47e0
mov rcx, rbp
lea rdx, [0x004f80e8]
mov r8, qword [rbp + 0x208]
call fcn.004f6060
jmp 0x4f6a48
nop
lea rcx, [rbp + 0x200]
call fcn.004f48d0
mov rcx, rbp
lea rdx, [0x004f8114]
mov r8, qword [rbp + 0x200]
call fcn.004f6060
jmp 0x4f6a75
nop
lea rcx, [rbp + 0x1f8]
call fcn.004f4930
mov rcx, rbp
lea rdx, [0x004f8140]
mov r8, qword [rbp + 0x1f8]
call fcn.004f6060
jmp 0x4f6aa2
nop
lea rcx, [rbp + 0x740]
call fcn.004f4a60
cmp qword [rbp + 0x740], 0
je 0x4f6b53
call fcn.004f4b80
mov dword [rbp + 0x2b4], eax
cmp dword [rbp + 0x2b4], 1
jne 0x4f6ae9
mov rcx, rbp
lea rdx, [0x004f816c]
mov r8, qword [rbp + 0x740]
call fcn.004f6060
jmp 0x4f6b53
lea rcx, [rbp + 0x1e8]
mov edx, dword [rbp + 0x2b4]
mov r8d, 1
mov r9w, 0x30
call fcn.00425b10
lea rcx, [rbp + 0x1f0]
mov edx, 3
mov r8, qword [rbp + 0x1e8]
lea r9, [0x004f81b0]
mov rax, qword [rbp + 0x740]
mov qword [rsp + 0x20], rax
call fcn.00412390
mov rcx, rbp
lea rdx, [0x004f818c]
mov r8, qword [rbp + 0x1f0]
call fcn.004f6060
jmp 0x4f6b53
nop
lea rcx, [rbp + 0x1e0]
call fcn.004f4d00
mov rcx, rbp
lea rdx, [0x004f81c4]
mov r8, qword [rbp + 0x1e0]
call fcn.004f6060
jmp 0x4f6b80
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
je 0x4f6bba
nop
lea rcx, [rbp + 0x1d8]
call fcn.004f4ee0
mov rcx, rbp
lea rdx, [0x004f81f0]
mov r8, qword [rbp + 0x1d8]
call fcn.004f6060
jmp 0x4f6bba
nop
lea rcx, [0x004f8212]
call sub.kernel32.dll_GetModuleHandleW
mov rcx, rax
lea rdx, [0x004f822c]
call fcn.0041f960
mov qword [rbp + 0x750], rax
lea rcx, [rbp + 0x52e]
mov edx, 0x104
call sub.kernel32.dll_GetWindowsDirectoryA
lea rcx, [rbp + 0x740]
xor rdx, rdx
call fcn.004a98b0
mov rax, qword [rbp + 0x740]
movzx rcx, byte [rax]
mov rax, qword [0x00bb8908]
call qword [rax]
mov ebx, eax
movzx rcx, byte [rbp + 0x52e]
mov rax, qword [0x00bb8908]
call qword [rax]
cmp bl, al
je 0x4f6cce
lea rcx, [rbp + 0x1c0]
movzx rdx, byte [rbp + 0x52e]
xor r8, r8
call fcn.00410cc0
mov rcx, rbp
lea rdx, [rbp + 0x1c8]
mov r8, qword [rbp + 0x1c0]
call fcn.004f5e20
lea rcx, [rbp + 0x1b0]
mov rax, qword [rbp + 0x740]
movzx rdx, byte [rax]
xor r8, r8
call fcn.00410cc0
mov rcx, rbp
lea rdx, [rbp + 0x1b8]
mov r8, qword [rbp + 0x1b0]
call fcn.004f5e20
lea rcx, [rbp + 0x1d0]
mov edx, 3
mov r8, qword [rbp + 0x1c8]
lea r9, [0x004f828c]
mov rax, qword [rbp + 0x1b8]
mov qword [rsp + 0x20], rax
call fcn.00412390
mov rcx, rbp
lea rdx, [0x004f8260]
mov r8, qword [rbp + 0x1d0]
call fcn.004f6060
jmp 0x4f6d1b
lea rcx, [rbp + 0x1a0]
movzx rdx, byte [rbp + 0x52e]
xor r8, r8
call fcn.00410cc0
mov rcx, rbp
lea rdx, [rbp + 0x1a8]
mov r8, qword [rbp + 0x1a0]
call fcn.004f5e20
mov rcx, rbp
lea rdx, [0x004f8260]
mov r8, qword [rbp + 0x1a8]
call fcn.004f6060
jmp 0x4f6d1b
nop
lea rcx, [rbp + 0x198]
call fcn.004f4f00
mov rcx, rbp
lea rdx, [0x004f829c]
mov r8, qword [rbp + 0x198]
call fcn.004f6060
jmp 0x4f6d48
nop
call sub.kernel32.dll_GetCurrentProcessId
lea rcx, [rbp + 0x190]
mov edx, eax
mov r8d, 1
mov r9w, 0x30
call fcn.00425d40
mov rcx, rbp
lea rdx, [0x004f82c4]
mov r8, qword [rbp + 0x190]
call fcn.004f6060
jmp 0x4f6d88
nop
lea rcx, [rbp + 0x188]
call fcn.004f51a0
mov rcx, rbp
lea rdx, [0x004f82e8]
mov r8, qword [rbp + 0x188]
call fcn.004f6060
jmp 0x4f6db5
nop
lea rcx, [rbp + 0x180]
call fcn.004f51d0
mov rcx, rbp
lea rdx, [0x004f8318]
mov r8, qword [rbp + 0x180]
call fcn.004f6060
jmp 0x4f6de2
nop
cmp byte [0x00b2db34], 0
je 0x4f6e80
call fcn.00408f70
test eax, eax
jle 0x4f6e80
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x4f6e36
call sub.kernel32.dll_GetCommandLineW
lea rcx, [rbp + 0x178]
mov rdx, rax
call fcn.00411eb0
mov rcx, rbp
lea rdx, [0x004f834c]
mov r8, qword [rbp + 0x178]
call fcn.004f6060
jmp 0x4f6e80
call sub.kernel32.dll_GetCommandLineA
lea rcx, [rbp + 0x170]
mov rdx, rax
xor r8, r8
call fcn.00410cf0
lea rcx, [rbp + 0x168]
mov rdx, qword [rbp + 0x170]
call fcn.00411f60
mov rcx, rbp
lea rdx, [0x004f834c]
mov r8, qword [rbp + 0x168]
call fcn.004f6060
jmp 0x4f6e80
nop
lea rcx, [rbp + 0x158]
xor rdx, rdx
call fcn.004a98b0
lea rcx, [rbp + 0x160]
mov rdx, qword [rbp + 0x158]
call fcn.00428260
mov rcx, rbp
lea rdx, [0x004f8374]
mov r8, qword [rbp + 0x160]
call fcn.004f6060
jmp 0x4f6ec3
nop
xor rcx, rcx
call sub.kernel32.dll_GetModuleHandleW
cmp qword [0x00b2dcb0], rax
je 0x4f6f1b
lea rcx, [rbp + 0x148]
mov rdx, qword [0x00b2dcb0]
call fcn.004a98b0
lea rcx, [rbp + 0x150]
mov rdx, qword [rbp + 0x148]
call fcn.00428260
mov rcx, rbp
lea rdx, [0x004f8398]
mov r8, qword [rbp + 0x150]
call fcn.004f6060
jmp 0x4f6f1b
nop
cmp byte [0x00b2dcc8], 0
je 0x4f6f36
lea rcx, [rbp + 0x740]
xor rdx, rdx
call fcn.004a98b0
jmp 0x4f6f49
lea rcx, [rbp + 0x740]
mov rdx, qword [0x00b2dcb0]
call fcn.004a98b0
call sub.kernel32.dll_GetVersion
test eax, 0x80000000
jne 0x4f6f7a
mov rcx, qword [rbp + 0x740]
call fcn.00411e10
mov rcx, rax
lea rdx, [rbp + 0x2d8]
call sub.kernel32.dll_FindFirstFileW
mov qword [rbp + 0x2c0], rax
jmp 0x4f6fb2
lea rcx, [rbp + 0x140]
mov rdx, qword [rbp + 0x740]
xor r8, r8
call fcn.00411660
mov rcx, qword [rbp + 0x140]
call fcn.00411320
mov rcx, rax
lea rdx, [rbp + 0x2d8]
call sub.kernel32.dll_FindFirstFileA
mov qword [rbp + 0x2c0], rax
cmp qword [rbp + 0x2c0], 0xffffffffffffffff
je 0x4f7222
mov rcx, qword [rbp + 0x2c0]
call sub.kernel32.dll_FindClose
nop
mov rcx, qword [rbp + 0x2ec]
lea rdx, [rbp + 0x2ec]
call fcn.0041f4f0
mov rcx, qword [rbp + 0x2ec]
lea rdx, [rbp + 0x2c8]
call fcn.0041f520
cmp byte [0x00b2dcc8], 0
jne 0x4f700d
xor rcx, rcx
call sub.kernel32.dll_GetModuleHandleW
cmp qword [0x00b2dcb0], rax
jne 0x4f7022
lea rcx, [rbp + 0x738]
lea rdx, [0x004f83c4]
call fcn.00410750
jmp 0x4f7035
lea rcx, [rbp + 0x738]
lea rdx, [0x004f83dc]
call fcn.00410750
lea rcx, [rbp + 0x138]
mov rdx, qword [rbp + 0x738]
lea r8, [0x004f83f8]
call fcn.00412270
lea rcx, [rbp + 0x128]
movzx edx, word [rbp + 0x2c8]
mov r8d, 4
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x120]
movzx edx, word [rbp + 0x2ca]
mov r8d, 2
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x118]
movzx edx, word [rbp + 0x2ce]
mov r8d, 2
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x110]
movzx edx, word [rbp + 0x2d0]
mov r8d, 2
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x108]
movzx edx, word [rbp + 0x2d2]
mov r8d, 2
mov r9w, 0x30
call fcn.00425c80
lea rcx, [rbp + 0x130]
mov edx, 0xa
mov r8, qword [rbp + 0x128]
lea r9, [0x004f7eac]
mov rax, qword [rbp + 0x120]
mov qword [rsp + 0x20], rax
lea rax, [0x004f7eac]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x118]
mov qword [rsp + 0x30], rax
lea rax, [0x004f828c]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x110]
mov qword [rsp + 0x40], rax
lea rax, [0x004f7ed0]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x108]
mov qword [rsp + 0x50], rax
lea rax, [0x004f841c]
mov qword [rsp + 0x58], rax
call fcn.00412390
mov rcx, rbp
mov rdx, qword [rbp + 0x138]
mov r8, qword [rbp + 0x130]
call fcn.004f6060
jmp 0x4f718a
mov rcx, qword [rbp + 0x780]
lea rdx, [rbp + 0x100]
call fcn.004c1c90
cmp qword [rbp + 0x100], 0
jne 0x4f71ef
lea rcx, [rbp + 0xf8]
mov rdx, qword [rbp + 0x740]
call fcn.0042d080
lea rcx, [rbp + 0x740]
mov rdx, qword [rbp + 0xf8]
call fcn.00410750
cmp qword [rbp + 0x740], 0
je 0x4f7222
mov rcx, rbp
lea rdx, [0x004f8430]
mov r8, qword [rbp + 0x740]
call fcn.004f6060
jmp 0x4f7222
mov rcx, qword [rbp + 0x780]
lea rdx, [rbp + 0xf0]
call fcn.004c1c90
mov rcx, rbp
lea rdx, [0x004f8430]
mov r8, qword [rbp + 0xf0]
call fcn.004f6060
jmp 0x4f7222
nop
lea rcx, [0x004f8440]
call sub.kernel32.dll_GetModuleHandleW
mov qword [rbp + 0x2b8], rax
cmp qword [rbp + 0x2b8], 0
je 0x4f7294
lea rcx, [rbp + 0xe8]
mov rdx, qword [rbp + 0x2b8]
call fcn.004a98b0
lea rcx, [rbp + 0x740]
mov rdx, qword [rbp + 0xe8]
mov rbx, qword [0x00bb76e8]
call qword [rbx]
cmp qword [rbp + 0x740], 0
je 0x4f7294
mov rcx, rbp
lea rdx, [0x004f8464]
mov r8, qword [rbp + 0x740]
call fcn.004f6060
jmp 0x4f7294
nop
mov rcx, rbp
lea rdx, [0x004f8488]
lea r8, [0x004f84b0]
call fcn.004f6060
lea rcx, [rbp + 0xe0]
mov rdx, qword [0x00b2db18]
xor r8, r8
call fcn.00410cf0
lea rcx, [rbp + 0xd8]
mov rdx, qword [rbp + 0xe0]
call fcn.00411f60
mov rcx, rbp
lea rdx, [0x004f84d4]
mov r8, qword [rbp + 0xd8]
call fcn.004f6060
jmp 0x4f72f4
mov rcx, qword [rbp + 0x780]
lea rdx, [rbp + 0x738]
lea r8, [0x004f8504]
call fcn.004c5100
mov rcx, qword [rbp + 0x738]
mov dl, 0x7c
mov rax, qword [0x00bb8678]
call qword [rax]
mov ecx, 1
mov dword [rbp + 0x84], eax
mov dword [rbp + 0x2b4], ecx
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x2b4], eax
jg 0x4f767f
mov eax, dword [rbp + 0x84]
add eax, 1
mov dword [rbp + 0x84], eax
nop
lea rcx, [rbp + 0x740]
mov rdx, qword [rbp + 0x738]
mov r8d, dword [rbp + 0x2b4]
mov r9b, 0x7c
mov rbx, qword [0x00bb8a78]
call qword [rbx]
mov rcx, qword [0x00bc3698]
call fcn.00413950
xor rcx, rcx
mov ebx, eax
mov dword [rbp + 0x2b0], ecx
cmp dword [rbp + 0x2b0], ebx
jg 0x4f765b
add ebx, 1
mov rax, qword [0x00bc3698]
movsxd rcx, dword [rbp + 0x2b0]
mov rdx, rcx
add rcx, rcx
add rcx, rcx
add rcx, rcx
sub rcx, rdx
mov rcx, qword [rax + rcx*8]
mov rdx, qword [rbp + 0x740]
mov rax, qword [0x00bb6bc0]
call qword [rax]
test al, al
je 0x4f7648
mov rax, qword [0x00bc3698]
movsxd rcx, dword [rbp + 0x2b0]
mov rdx, rcx
add rcx, rcx
add rcx, rcx
add rcx, rcx
sub rcx, rdx
cmp byte [rax + rcx*8 + 0x30], 0
jne 0x4f765b
mov rax, qword [0x00bc3698]
movsxd rcx, dword [rbp + 0x2b0]
mov rdx, rcx
add rcx, rcx
add rcx, rcx
add rcx, rcx
sub rcx, rdx
cmp qword [rax + rcx*8 + 0x10], 0
je 0x4f7491
lea rcx, [rbp + 0xd0]
mov rbx, qword [0x00bc3698]
movsxd rsi, dword [rbp + 0x2b0]
mov rax, rsi
add rsi, rsi
add rsi, rsi
add rsi, rsi
sub rsi, rax
call qword [rbx + rsi*8 + 0x10]
lea rcx, [rbp + 0xc8]
mov rdx, qword [rbp + 0xd0]
call fcn.00411f60
mov rcx, rbp
mov rax, qword [0x00bc3698]
movsxd rdx, dword [rbp + 0x2b0]
mov r8, rdx
add rdx, rdx
add rdx, rdx
add rdx, rdx
sub rdx, r8
mov rdx, qword [rax + rdx*8]
mov r8, qword [rbp + 0xc8]
call fcn.004f6060
jmp 0x4f765b
mov rax, qword [0x00bc3698]
movsxd rcx, dword [rbp + 0x2b0]
mov rdx, rcx
add rcx, rcx
add rcx, rcx
add rcx, rcx
sub rcx, rdx
cmp qword [rax + rcx*8 + 0x18], 0
je 0x4f7513
lea rcx, [rbp + 0xc0]
mov rbx, qword [0x00bc3698]
movsxd rsi, dword [rbp + 0x2b0]
mov rax, rsi
add rsi, rsi
add rsi, rsi
add rsi, rsi
sub rsi, rax
call qword [rbx + rsi*8 + 0x18]
mov rcx, rbp
mov rax, qword [0x00bc3698]
movsxd rdx, dword [rbp + 0x2b0]
mov r8, rdx
add rdx, rdx
add rdx, rdx
add rdx, rdx
sub rdx, r8
mov rdx, qword [rax + rdx*8]
mov r8, qword [rbp + 0xc0]
call fcn.004f6060
jmp 0x4f765b
mov rax, qword [0x00bc3698]
movsxd rcx, dword [rbp + 0x2b0]
mov rdx, rcx
add rcx, rcx
add rcx, rcx
add rcx, rcx
sub rcx, rdx
cmp qword [rax + rcx*8 + 0x20], 0
je 0x4f75cd
lea rcx, [rbp + 0xb8]
cmp qword [rbp + 0x780], 0
jne 0x4f7556
mov rdx, qword [rbp + 0x780]
jmp 0x4f7564
mov rax, qword [rbp + 0x780]
lea rdx, [rax + 0x750]
mov rbx, qword [0x00bc3698]
movsxd rsi, dword [rbp + 0x2b0]
mov rax, rsi
add rsi, rsi
add rsi, rsi
add rsi, rsi
sub rsi, rax
call qword [rbx + rsi*8 + 0x20]
lea rcx, [rbp + 0xb0]
mov rdx, qword [rbp + 0xb8]
call fcn.00411f60
mov rcx, rbp
mov rax, qword [0x00bc3698]
movsxd rdx, dword [rbp + 0x2b0]
mov r8, rdx
add rdx, rdx
add rdx, rdx
add rdx, rdx
sub rdx, r8
mov rdx, qword [rax + rdx*8]
mov r8, qword [rbp + 0xb0]
call fcn.004f6060
jmp 0x4f765b
lea rcx, [rbp + 0xa8]
cmp qword [rbp + 0x780], 0
jne 0x4f75e7
mov rdx, qword [rbp + 0x780]
jmp 0x4f75f5
mov rax, qword [rbp + 0x780]
lea rdx, [rax + 0x750]
mov rbx, qword [0x00bc3698]
movsxd rsi, dword [rbp + 0x2b0]
mov rax, rsi
add rsi, rsi
add rsi, rsi
add rsi, rsi
sub rsi, rax
call qword [rbx + rsi*8 + 0x28]
mov rcx, rbp
mov rax, qword [0x00bc3698]
movsxd rdx, dword [rbp + 0x2b0]
mov r8, rdx
add rdx, rdx
add rdx, rdx
add rdx, rdx
sub rdx, r8
mov rdx, qword [rax + rdx*8]
mov r8, qword [rbp + 0xa8]
call fcn.004f6060
jmp 0x4f765b
add dword [rbp + 0x2b0], 1
cmp dword [rbp + 0x2b0], ebx
jne 0x4f739b
nop
jmp 0x4f7666
add dword [rbp + 0x2b4], 1
mov eax, dword [rbp + 0x84]
cmp dword [rbp + 0x2b4], eax
jne 0x4f7353
nop
mov eax, dword [rbp + 0x74c]
sub eax, 1
mov dword [rbp + 0x2b0], eax
nop
mov rcx, rbp
lea rdx, [0x004f8518]
lea r8, [0x004f8540]
call fcn.004f6060
jmp 0x4f76b0
nop
add qword [0x00b32710], 1
lea rcx, [rbp + 0xa0]
mov rdx, qword [0x00b32710]
mov r8d, 1
mov r9w, 0x30
call fcn.00425ce0
mov rcx, rbp
lea rdx, [0x004f857c]
mov r8, qword [rbp + 0xa0]
call fcn.004f6060
jmp 0x4f76f8
nop
mov rax, qword [rbp + 0x780]
cmp byte [rax + 0x93], 1
je 0x4f7805
mov rcx, qword [rbp + 0x780]
lea rdx, [rbp + 0x740]
call fcn.004f5ac0
mov rcx, qword [rbp + 0x780]
lea rdx, [rbp + 0x738]
call fcn.004f59e0
mov rcx, rbp
lea rdx, [0x004f85ac]
mov r8, qword [rbp + 0x738]
call fcn.004f6060
mov rcx, qword [rbp + 0x740]
mov rdx, qword [rbp + 0x738]
call fcn.00412470
test eax, eax
je 0x4f7838
lea rcx, [rbp + 0x98]
mov rdx, qword [rbp + 0x740]
call fcn.004ade60
lea rcx, [rbp + 0x740]
mov rdx, qword [rbp + 0x98]
call fcn.00410750
lea rcx, [rbp + 0x740]
lea rdx, [0x004f85d8]
lea r8, [0x004f828c]
xor r9, r9
mov rax, qword [0x00bb7ab8]
call qword [rax]
lea rcx, [rbp + 0x740]
lea rdx, [0x004f85e8]
lea r8, [0x004f828c]
xor r9, r9
mov rax, qword [0x00bb7ab8]
call qword [rax]
lea rcx, [rbp + 0x740]
lea rdx, [0x004f85f8]
lea r8, [0x004f828c]
mov r9b, 1
mov rax, qword [0x00bb7ab8]
call qword [rax]
mov rcx, rbp
lea rdx, [0x004f860c]
mov r8, qword [rbp + 0x740]
call fcn.004f6060
jmp 0x4f7838
mov rcx, qword [rbp + 0x780]
lea rdx, [rbp + 0x90]
call fcn.004c1d30
mov rcx, rbp
lea rdx, [0x004f860c]
mov r8, qword [rbp + 0x90]
call fcn.004f6060
jmp 0x4f7838
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x2a0]
mov rbx, qword [rax]
call qword [rbx + 0x18]
nop
xor rax, rax
mov ebx, dword [rbp + 0x74c]
sub ebx, 1
mov dword [rbp + 0x2b4], eax
cmp dword [rbp + 0x2b4], ebx
jg 0x4f78b8
add ebx, 1
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x758]
movsxd rdx, dword [rbp + 0x2b4]
add rdx, rdx
mov rdx, qword [rax + rdx*8]
mov rax, qword [rbp + 0x758]
movsxd r8, dword [rbp + 0x2b4]
add r8, r8
mov r8, qword [rax + r8*8 + 8]
mov rax, qword [rbp + 0x2a0]
mov rsi, qword [rax]
call qword [rsi + 0x50]
add dword [rbp + 0x2b4], 1
cmp dword [rbp + 0x2b4], ebx
jne 0x4f786a
nop
lea rcx, [rbp + 0x88]
mov rax, qword [rbp + 0x780]
mov rdx, qword [rax + 0x658]
lea r8, [0x004f7e70]
call fcn.00415ff0
mov rcx, qword [rbp + 0x88]
mov edx, dword [rbp + 0x2b0]
mov rax, qword [rbp + 0x88]
mov rbx, qword [rax]
call qword [rbx + 0x28]
jmp 0x4f78fe
mov rcx, qword [rbp + 0x2a0]
mov rax, qword [rbp + 0x2a0]
mov rbx, qword [rax]
call qword [rbx + 0x20]
nop
lea rcx, [rbp + 0x88]
call fcn.00415f60
lea rcx, [rbp + 0x90]
mov edx, 5
call fcn.00410160
lea rcx, [rbp + 0xb8]
call fcn.004100d0
lea rcx, [rbp + 0xc0]
mov edx, 2
call fcn.00410160
lea rcx, [rbp + 0xd0]
call fcn.004100d0
lea rcx, [rbp + 0xd8]
call fcn.00410080
lea rcx, [rbp + 0xe0]
call fcn.004100d0
lea rcx, [rbp + 0xe8]
mov edx, 0xb
call fcn.00410160
lea rcx, [rbp + 0x140]
call fcn.004100d0
lea rcx, [rbp + 0x148]
mov edx, 5
call fcn.00410160
lea rcx, [rbp + 0x170]
call fcn.004100d0
lea rcx, [rbp + 0x178]
mov edx, 5
call fcn.00410160
lea rcx, [rbp + 0x1a0]
call fcn.004100d0
lea rcx, [rbp + 0x1a8]
call fcn.00410080
lea rcx, [rbp + 0x1b0]
call fcn.004100d0
lea rcx, [rbp + 0x1b8]
call fcn.00410080
lea rcx, [rbp + 0x1c0]
call fcn.004100d0
lea rcx, [rbp + 0x1c8]
mov edx, 0x17
call fcn.00410160
lea rcx, [rbp + 0x280]
call fcn.00415f60
lea rcx, [rbp + 0x2a0]
call fcn.00415f60
lea rcx, [rbp + 0x738]
mov edx, 2
call fcn.00410160
lea rcx, [rbp + 0x758]
mov rdx, qword [0x004f5dd0]
call fcn.00413ec0
mov rax, qword [rbp + 0x788]
lea rsp, [rbp + 0x760]
pop rbx
pop rsi
pop rbp
ret