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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
mov dword [rsp + 0x50], 0
mov dword [rsp + 4], 0
mov dword [rsp + 0x10], 0
mov dword [rsp + 0x4c], 0
mov eax, dword [rsp + 0x4c]
mov dword [rsp], eax
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
mov dword [rsp + 8], 0
jmp 0x180005b5f
mov eax, dword [rsp + 8]
add eax, 1
mov dword [rsp + 8], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 8], eax
jge 0x180005f35
mov eax, dword [rsp + 8]
imul eax, dword [rsp + 0x90]
movsxd rcx, eax
mov rax, qword [rsp + 0x80]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x18], rax
mov dword [rsp + 0xc], 0
jmp 0x180005ba5
mov eax, dword [rsp + 0xc]
add eax, 1
mov dword [rsp + 0xc], eax
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0xc], eax
jge 0x180005f30
movsxd rdx, dword [rsp + 0xc]
mov rcx, qword [rsp + 0x18]
mov eax, dword [rsp + 0xa0]
cmp dword [rcx + rdx*4], eax
je 0x180005f2b
movsxd rcx, dword [rsp + 0xc]
mov rax, qword [rsp + 0x18]
mov eax, dword [rax + rcx*4]
mov dword [rsp + 0x64], eax
mov eax, dword [rsp + 8]
sub eax, 1
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x38], 1
mov eax, dword [rsp + 8]
mov dword [rsp + 0x60], eax
jmp 0x180005c09
mov eax, dword [rsp + 0x60]
add eax, 1
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x98]
cmp dword [rsp + 0x60], eax
jge 0x180005ce9
mov eax, dword [rsp + 0x60]
imul eax, dword [rsp + 0x90]
movsxd rcx, eax
mov rax, qword [rsp + 0x80]
lea rax, [rax + rcx*4]
mov qword [rsp + 0x30], rax
movsxd rdx, dword [rsp + 0xc]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x64]
cmp dword [rcx + rdx*4], eax
je 0x180005c52
jmp 0x180005ce9
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x20], eax
movsxd rdx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x64]
cmp dword [rcx + rdx*4], eax
jne 0x180005c87
mov eax, dword [rsp + 0x90]
cmp dword [rsp + 0x20], eax
jge 0x180005c87
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
jmp 0x180005c5a
mov eax, dword [rsp + 0x20]
sub eax, 1
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 8]
cmp dword [rsp + 0x60], eax
jne 0x180005cac
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x50], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
cmp dword [rsp + 0x20], eax
jge 0x180005cbe
mov eax, dword [rsp + 0x20]
mov dword [rsp + 4], eax
cmp dword [rsp + 0x38], 0
jle 0x180005cdc
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x20], eax
jl 0x180005cdc
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
jmp 0x180005ce4
mov dword [rsp + 0x38], 0
jmp 0x180005bfe
mov eax, dword [rsp + 0x60]
sub eax, 1
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0xc]
mov eax, dword [rsp + 0x50]
sub eax, ecx
add eax, 1
mov dword [rsp + 0x40], eax
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 0x3c]
sub eax, ecx
add eax, 1
mov dword [rsp + 0x48], eax
mov ecx, dword [rsp + 0xc]
mov eax, dword [rsp + 4]
sub eax, ecx
add eax, 1
mov dword [rsp + 0x28], eax
mov ecx, dword [rsp + 8]
mov eax, dword [rsp + 0x24]
sub eax, ecx
add eax, 1
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0xc]
mov dword [rsp + 0x5c], eax
mov eax, dword [rsp + 8]
mov dword [rsp + 0x14], eax
mov ecx, dword [rsp + 0x40]
imul ecx, dword [rsp + 0x48]
mov eax, dword [rsp + 0x28]
imul eax, dword [rsp + 0x2c]
cmp ecx, eax
jle 0x180005d70
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x58], eax
jmp 0x180005d80
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0xb0], 0
je 0x180005d9c
mov ecx, dword [rsp]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
add eax, 2
mov dword [rsp + 0x54], eax
jmp 0x180005dac
mov ecx, dword [rsp]
mov eax, dword [rsp + 0x4c]
sub eax, ecx
add eax, 6
mov dword [rsp + 0x54], eax
mov eax, dword [rsp + 0x90]
imul eax, dword [rsp + 0x98]
shl eax, 2
cmp dword [rsp + 0x54], eax
jle 0x180005dcb
xor eax, eax
jmp 0x180005f4d
mov eax, dword [rsp + 0x10]
add eax, 1
mov dword [rsp + 0x10], eax
cmp dword [rsp + 0xb0], 0
jne 0x180005e64
movsxd rdx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rsp + 0x64]
mov byte [rcx + rdx], al
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
movsxd rdx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rsp + 0x65]
mov byte [rcx + rdx], al
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
movsxd rdx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rsp + 0x66]
mov byte [rcx + rdx], al
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
movsxd rdx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rsp + 0x67]
mov byte [rcx + rdx], al
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
mov edx, dword [rsp + 0x5c]
shl edx, 4
or edx, dword [rsp + 0x14]
movsxd rcx, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x88]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
mov edx, dword [rsp + 0x44]
sub edx, 1
shl edx, 4
mov eax, dword [rsp + 0x58]
sub eax, 1
or edx, eax
movsxd rcx, dword [rsp + 0x4c]
mov rax, qword [rsp + 0x88]
mov byte [rax + rcx], dl
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x14]
mov dword [rsp + 0x60], eax
jmp 0x180005ecd
mov eax, dword [rsp + 0x60]
add eax, 1
mov dword [rsp + 0x60], eax
mov ecx, dword [rsp + 0x58]
mov eax, dword [rsp + 0x14]
add eax, ecx
cmp dword [rsp + 0x60], eax
jge 0x180005f2b
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x20], eax
jmp 0x180005ef2
mov eax, dword [rsp + 0x20]
add eax, 1
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x44]
mov eax, dword [rsp + 0x5c]
add eax, ecx
cmp dword [rsp + 0x20], eax
jge 0x180005f29
mov eax, dword [rsp + 0x60]
imul eax, dword [rsp + 0x90]
add eax, dword [rsp + 0x20]
movsxd rdx, eax
mov rcx, qword [rsp + 0x80]
mov eax, dword [rsp + 0xa0]
mov dword [rcx + rdx*4], eax
jmp 0x180005ee7
jmp 0x180005ec2
jmp 0x180005b9a
jmp 0x180005b54
movsxd rdx, dword [rsp]
mov rcx, qword [rsp + 0x88]
movzx eax, byte [rsp + 0x10]
mov byte [rcx + rdx], al
mov eax, dword [rsp + 0x4c]
add rsp, 0x78
ret