Function at 0x180045c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x200
mov qword [rsp + 0xb8], 0xfffffffffffffffe
mov rax, qword [0x1800c2008]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
lea rcx, [0x1800a2010]
nop
nop
nop
nop
nop
nop
mov qword [rsp + 0x28], 0
jmp 0x180045c8f
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x210]
mov rcx, rax
call fcn.180046c40
cmp qword [rsp + 0x28], rax
jae 0x180045cc9
mov rax, qword [rsp + 0x210]
mov rdx, qword [rsp + 0x28]
mov rcx, rax
call fcn.180046c30
add rax, 0x78
mov rcx, rax
call fcn.180046c90
jmp 0x180045c82
mov rax, qword [rsp + 0x210]
mov rcx, rax
call fcn.180046b10
lea rax, [rsp + 0xc0]
mov rdi, rax
xor eax, eax
mov ecx, 0x20
rep stosb byte [rdi], al
mov r8d, dword [rsp + 0x220]
mov rdx, qword [rsp + 0x218]
lea rcx, [rsp + 0xc0]
call fcn.18005ac70
nop
mov dword [rsp + 0xec], 0
lea rdx, [rsp + 0xec]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x180045d50
mov dword [rsp + 0x44], 0
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x44]
jmp 0x180046762
cmp dword [rsp + 0xec], 0x5346
je 0x180045d7b
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x48]
jmp 0x180046762
mov dword [rsp + 0xe8], 0
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x180045dc0
mov dword [rsp + 0x64], 0
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x64]
jmp 0x180046762
cmp dword [rsp + 0xe8], 0x100
je 0x180045df9
mov rax, qword [rsp + 0x228]
mov dword [rax], 0
mov dword [rsp + 0x50], 0
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x50]
jmp 0x180046762
mov rdx, qword [rsp + 0x228]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x180045e33
mov dword [rsp + 0x54], 0
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x54]
jmp 0x180046762
mov rax, qword [rsp + 0x210]
mov rcx, qword [rsp + 0x228]
mov ecx, dword [rcx]
mov dword [rax + 0xa70], ecx
xor eax, eax
mov word [rsp + 0xe0], ax
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0xc0]
call fcn.18005ad90
movzx eax, al
test eax, eax
jne 0x180045e8f
mov dword [rsp + 0x58], 0
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x58]
jmp 0x180046762
nop
nop
nop
nop
nop
nop
lea rcx, str._gr
nop
nop
nop
nop
nop
nop
mov dword [rsp + 0x20], 0
jmp 0x180045eb6
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
movzx eax, word [rsp + 0xe0]
cmp dword [rsp + 0x20], eax
jge 0x18004669e
lea rcx, [rsp + 0x160]
call fcn.180043930
nop
lea rcx, [rsp + 0xc0]
call fcn.180001210
mov qword [rsp + 0xa8], rax
lea rcx, [rsp + 0xc0]
call fcn.18005b010
cdqe
mov rcx, qword [rsp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0xb0], rax
lea rcx, [rsp + 0xc0]
call fcn.18005b010
mov dword [rsp + 0x84], eax
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x180045f6c
mov dword [rsp + 0x5c], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x5c]
jmp 0x180046762
lea rdx, [rsp + 0x164]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x180045fb4
mov dword [rsp + 0x60], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x60]
jmp 0x180046762
lea rdx, [rsp + 0x168]
lea rcx, [rsp + 0xc0]
call fcn.18005aea0
movzx eax, al
test eax, eax
jne 0x180046002
mov dword [rsp + 0xa4], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0xa4]
jmp 0x180046762
lea rdx, [0x18009ec60]
lea rcx, [rsp + 0x168]
call fcn.180003720
mov eax, dword [rsp + 0x164]
and eax, 1
test eax, eax
je 0x18004606c
lea rdx, [rsp + 0x188]
lea rcx, [rsp + 0xc0]
call fcn.18005aea0
movzx eax, al
test eax, eax
jne 0x18004606c
mov dword [rsp + 0x68], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x68]
jmp 0x180046762
mov eax, dword [rsp + 0x164]
and eax, 2
test eax, eax
je 0x1800460c2
lea rdx, [rsp + 0x1a8]
lea rcx, [rsp + 0xc0]
call fcn.18005aea0
movzx eax, al
test eax, eax
jne 0x1800460c2
mov dword [rsp + 0x6c], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x6c]
jmp 0x180046762
mov eax, dword [rsp + 0x164]
and eax, 4
test eax, eax
je 0x180046164
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x18004611c
mov dword [rsp + 0x70], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x70]
jmp 0x180046762
lea rdx, [rsp + 0x1d4]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x180046164
mov dword [rsp + 0x74], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x74]
jmp 0x180046762
mov eax, dword [rsp + 0x164]
and eax, 8
test eax, eax
je 0x1800461ba
lea rdx, [rsp + 0x1c8]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x1800461ba
mov dword [rsp + 0x78], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x78]
jmp 0x180046762
mov eax, dword [rsp + 0x164]
and eax, 0x10
test eax, eax
je 0x180046210
lea rdx, [rsp + 0x1cc]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x180046210
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x38]
jmp 0x180046762
mov eax, dword [rsp + 0x164]
and eax, 0x20
test eax, eax
je 0x1800465ab
mov dword [rsp + 0xf0], 0
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x180046275
mov dword [rsp + 0x4c], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x4c]
jmp 0x180046762
mov dword [rsp + 0x24], 0
jmp 0x180046289
mov eax, dword [rsp + 0x24]
inc eax
mov dword [rsp + 0x24], eax
mov eax, dword [rsp + 0xf0]
cmp dword [rsp + 0x24], eax
jge 0x1800465ab
lea rcx, [rsp + 0x100]
call fcn.1800438e0
nop
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x180046311
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x130]
mov rcx, rax
call fcn.180003770
lea rax, [rsp + 0x110]
mov rcx, rax
call fcn.180003770
nop
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x40]
jmp 0x180046762
mov eax, dword [rsp + 0x100]
and eax, 1
test eax, eax
je 0x180046388
lea rdx, [rsp + 0x104]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x180046388
mov dword [rsp + 0x3c], 0
lea rax, [rsp + 0x130]
mov rcx, rax
call fcn.180003770
lea rax, [rsp + 0x110]
mov rcx, rax
call fcn.180003770
nop
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x3c]
jmp 0x180046762
mov eax, dword [rsp + 0x100]
and eax, 2
test eax, eax
je 0x1800463ff
lea rdx, [rsp + 0x108]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x1800463ff
mov dword [rsp + 0x34], 0
lea rax, [rsp + 0x130]
mov rcx, rax
call fcn.180003770
lea rax, [rsp + 0x110]
mov rcx, rax
call fcn.180003770
nop
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x34]
jmp 0x180046762
mov eax, dword [rsp + 0x100]
and eax, 4
test eax, eax
je 0x180046476
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0xc0]
call fcn.18005aea0
movzx eax, al
test eax, eax
jne 0x180046476
mov dword [rsp + 0x30], 0
lea rax, [rsp + 0x130]
mov rcx, rax
call fcn.180003770
lea rax, [rsp + 0x110]
mov rcx, rax
call fcn.180003770
nop
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x30]
jmp 0x180046762
mov eax, dword [rsp + 0x100]
and eax, 8
test eax, eax
je 0x1800464ed
lea rdx, [rsp + 0x110]
lea rcx, [rsp + 0xc0]
call fcn.18005aea0
movzx eax, al
test eax, eax
jne 0x1800464ed
mov dword [rsp + 0x7c], 0
lea rax, [rsp + 0x130]
mov rcx, rax
call fcn.180003770
lea rax, [rsp + 0x110]
mov rcx, rax
call fcn.180003770
nop
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x7c]
jmp 0x180046762
mov eax, dword [rsp + 0x100]
and eax, 0x10
test eax, eax
je 0x180046570
mov r8d, 0x10
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xc0]
call fcn.18005afc0
movzx eax, al
test eax, eax
jne 0x180046570
mov dword [rsp + 0x80], 0
lea rax, [rsp + 0x130]
mov rcx, rax
call fcn.180003770
lea rax, [rsp + 0x110]
mov rcx, rax
call fcn.180003770
nop
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x80]
jmp 0x180046762
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x1d8]
call fcn.180046cf0
nop
lea rax, [rsp + 0x130]
mov rcx, rax
call fcn.180003770
lea rax, [rsp + 0x110]
mov rcx, rax
call fcn.180003770
jmp 0x18004627f
lea rcx, [rsp + 0xc0]
call fcn.18005b010
sub eax, dword [rsp + 0x84]
cdqe
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.180028d70
mov dword [rsp + 0x8c], eax
mov dword [rsp + 0xe4], 0
lea rdx, [rsp + 0xe4]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x180046631
mov dword [rsp + 0x88], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x88]
jmp 0x180046762
mov eax, dword [rsp + 0xe4]
cmp dword [rsp + 0x8c], eax
je 0x180046673
mov dword [rsp + 0x90], 0
lea rcx, [rsp + 0x160]
call fcn.180044b30
nop
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x90]
jmp 0x180046762
mov rax, qword [rsp + 0x210]
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.180046b70
nop
lea rcx, [rsp + 0x160]
call fcn.180044b30
jmp 0x180045eac
mov dword [rsp + 0xf4], 0
lea rdx, [rsp + 0xf4]
lea rcx, [rsp + 0xc0]
call fcn.18005adf0
movzx eax, al
test eax, eax
jne 0x1800466e6
mov dword [rsp + 0x94], 0
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x94]
jmp 0x180046762
mov eax, dword [rsp + 0x220]
sub eax, 4
cdqe
mov rdx, rax
mov rcx, qword [rsp + 0x218]
call fcn.180028d70
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0xf4], eax
je 0x18004673a
mov dword [rsp + 0x9c], 0
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0x9c]
jmp 0x180046762
mov dword [rsp + 0xa0], 1
lea rcx, [rsp + 0xc0]
call fcn.18005acf0
mov eax, dword [rsp + 0xa0]
jmp 0x180046762
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.18005ef70
add rsp, 0x200
pop rdi
ret