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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
lea eax, [r9 - 0x13]
mov r12, rdx
mov dword [rbp + 0x58], eax
mov r13d, r9d
mov r14, r8
mov rdx, rcx
cmp r9d, eax
jbe case.0x180058fb4.161
mov ebx, dword [rbp + 0x58]
lea r8, [0x180000000]
mov edi, dword [rbp + 0x58]
xor esi, esi
mov r15, qword [rbp + 0x68]
lea eax, [r13 - 0x9d]
cmp eax, 0x29
ja case.0x180058fb4.175
movzx eax, byte [r8 + rax + 0x59aa0]
mov ecx, dword [r8 + rax*4 + 0x59a54]
add rcx, r8
jmp rcx
mov r15, qword [rbp + 0x68]
lea rdx, [rbp - 8]
mov r9, r14
mov qword [rsp + 0x20], r12
mov r8d, 0x43
xor ecx, ecx
mov rax, qword [r15]
mov qword [rbp - 8], rax
call fcn.1800674f0
test eax, eax
jne 0x180059974
jmp 0x1800591b6
mov r9d, 0xce
lea r8, [rbp - 0x20]
xor edx, edx
xor ecx, ecx
call fcn.18006e2f0
mov r9d, 0xce
mov word [r12 + 6], ax
lea r8, [rbp - 0x20]
xor edx, edx
xor ecx, ecx
call fcn.18006e2f0
mov word [r12 + 8], ax
jmp 0x1800591b6
mov dword [rbp - 0x30], esi
jmp case.0x180058fb4.175
mov r15, qword [rbp + 0x68]
lea rcx, [rbp - 8]
mov r9, r12
mov r8, r14
mov edx, 0x90
mov rax, qword [r15]
mov qword [rbp - 8], rax
call fcn.180053660
test eax, eax
jne 0x180059998
mov rax, qword [r15]
lea rcx, [rbp - 8]
mov r9, r12
mov qword [rbp - 8], rax
mov r8d, 0x6c
mov rdx, r14
call fcn.1800656a0
test eax, eax
jne 0x18005998c
mov rax, qword [r15]
mov r9d, 0x4b
mov qword [rbp - 8], rax
xor r8d, r8d
lea rax, [rbp - 8]
mov rdx, r12
mov rcx, r14
mov qword [rsp + 0x20], rax
call fcn.180057600
test eax, eax
jne 0x180059980
jmp 0x1800591b6
mov r15, qword [rbp + 0x68]
test r15, r15
je 0x1800590ae
mov dword [r15], esi
cmp qword [r14 + 0x28], rsi
je 0x180059123
mov edx, StrCmpNCW
nop dword [rax]
cmp edx, 0x96
je 0x180059101
cmp edx, 0x5e56
jne 0x180059115
mov rax, qword [r14 + 0x18]
mov rcx, qword [r14 + 0x28]
mov rcx, qword [rax + rcx*8]
mov qword [rcx + 0x18], rsi
mov rax, qword [r14 + 0x18]
mov rcx, qword [r14 + 0x28]
mov rcx, qword [rax + rcx*8]
mov qword [rcx + 0x20], rsi
mov rcx, qword [r14 + 0x28]
mov rax, qword [r14 + 0x18]
mov rax, qword [rax + rcx*8]
jmp 0x18005921f
dec qword [r14 + 0x28]
mov rcx, qword [r14 + 0x28]
mov rax, qword [r14 + 0x18]
mov rcx, qword [rax + rcx*8]
mov qword [rcx + 8], rsi
add edx, 0x5dc0
cmp edx, 0xbb80
jbe 0x1800590c0
mov rax, qword [r14 + 0x48]
cmp qword [r14 + 0x50], rax
jb 0x18005996f
mov rax, qword [r14 + 0x38]
cmp qword [r14 + 0x40], rax
jb 0x180059196
mov rcx, qword [r14 + 0x30]
lea r15, [rax + rax]
lea rax, [r15*8]
mov r9d, 0xa0
xor r8d, r8d
mov qword [rbp - 8], rax
lea rdx, [rbp - 8]
call fcn.18005b920
mov r12, rax
test rax, rax
je 0x1800599a4
mov rcx, qword [r14 + 0x40]
mov r8, r15
sub r8, rcx
xor edx, edx
shl r8, 3
lea rcx, [rax + rcx*8]
call sub.VCRUNTIME140.dll_memset
mov qword [r14 + 0x38], r15
mov r15, qword [rbp + 0x68]
mov qword [r14 + 0x30], r12
mov r12, qword [rbp + 0x48]
xor edx, edx
mov r9, r14
xor r8d, r8d
lea ecx, [rdx + 0x51]
call fcn.180060170
test eax, eax
jne 0x1800599a8
inc qword [r14 + 0x40]
mov r15, qword [rbp + 0x68]
lea r8, [0x180000000]
dec r13d
cmp r13d, dword [rbp + 0x58]
jbe case.0x180058fb4.161
mov rdx, qword [rbp + 0x40]
jmp 0x180058f90
mov rax, qword [r14 + 0x50]
mov r8, qword [r14 + 0x40]
mov rdx, qword [r14 + 0x30]
lea rcx, [rax + rax*4]
mov rax, qword [rdx + r8*8 - 8]
lea rax, [rax + rcx*8]
mov qword [rbp - 0x18], rax
jmp 0x1800591b6
mov r8, qword [rbp + 0x60]
xor eax, eax
mov qword [r12], rax
mov word [r12 + 8], ax
mov ecx, dword [r8]
lea rax, [r15 + rcx]
mov qword [rbp - 0x20], rax
lea eax, [rcx + 0xa]
mov dword [r8], eax
cmp rax, qword [rdx]
jbe 0x1800591b6
mov dword [rbp - 0x30], 0x70004
mov rax, qword [rbp - 0x30]
mov rbx, qword [rsp + 0xc0]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp - 0x18]
inc qword [r14 + 0x50]
mov qword [rax + 0x18], rsi
jmp case.0x180058fb4.175
mov r15, qword [rbp + 0x68]
lea rcx, [rbp - 8]
mov r9, r12
mov r8d, StrCmpNCW
mov rdx, r14
mov rax, qword [r15]
mov qword [rbp - 8], rax
call fcn.18006d370
test eax, eax
jne 0x1800599e0
mov rax, qword [r15]
lea r9, [rbp - 8]
mov r8d, 0x20
mov qword [rbp - 8], rax
mov rdx, r14
mov rcx, r12
call fcn.180065c00
test eax, eax
jne 0x1800599d4
mov rax, qword [r15]
lea rdx, [rbp - 8]
mov qword [rsp + 0x28], r14
xor r9d, r9d
xor r8d, r8d
mov qword [rbp - 8], rax
mov ecx, 0x8a
mov qword [rsp + 0x20], r12
call fcn.1800671d0
test eax, eax
jne 0x1800599c8
mov rax, qword [r15]
lea rcx, [rbp - 8]
mov r9, r12
mov qword [rbp - 8], rax
mov r8d, 0x1e
mov rdx, r14
call fcn.1800656a0
test eax, eax
jne 0x1800599bc
jmp 0x1800591b6
cmp qword [r15], 0xc
jb 0x180059214
xor edx, edx
mov qword [rbp - 0x28], r12
mov r8d, 0x90
lea rcx, [rbp - 0x28]
call fcn.180069710
xor edx, edx
mov word [r14], ax
mov r8d, 0x90
lea rcx, [rbp - 0x28]
call fcn.180069710
xor edx, edx
mov word [r14 + 2], ax
mov r8d, 0x90
lea rcx, [rbp - 0x28]
call fcn.180069710
mov word [r14 + 4], ax
jmp 0x1800591b6
mov rax, qword [r15]
lea r8, [rbp - 8]
mov r9, r12
mov qword [rbp - 8], rax
mov edx, 0x8b
mov rcx, r14
call fcn.180067a40
test eax, eax
je 0x1800591b6
mov dword [rbp - 0x30], 0x70062
jmp case.0x180058fb4.161
mov r15, qword [rbp + 0x68]
lea r8, [rbp - 8]
mov r9, r14
mov rdx, r12
mov ecx, 0xe2
mov rax, qword [r15]
mov qword [rbp - 8], rax
call fcn.1800486a0
test eax, eax
jne 0x1800599f8
mov rax, qword [r15]
lea rdx, [rbp - 8]
mov r9d, 0x108
mov qword [rbp - 8], rax
mov r8, r14
mov rcx, r12
call fcn.180068b20
test eax, eax
jne 0x1800599ec
mov dword [rbp - 0x30], esi
jmp 0x1800591b6
xor edx, edx
lea rcx, [rbp - 0x28]
mov r8d, 0x90
call fcn.180069710
xor edx, edx
mov word [r14 + 6], ax
mov r8d, 0x90
lea rcx, [rbp - 0x28]
call fcn.180069710
mov word [r14 + 8], ax
jmp 0x1800591b6
mov r9d, 0xce
lea r8, [rbp - 0x20]
xor edx, edx
xor ecx, ecx
call fcn.18006e2f0
mov r9d, 0xce
mov word [r12], ax
lea r8, [rbp - 0x20]
xor edx, edx
xor ecx, ecx
call fcn.18006e2f0
mov r9d, 0xce
mov word [r12 + 2], ax
lea r8, [rbp - 0x20]
xor edx, edx
xor ecx, ecx
call fcn.18006e2f0
mov word [r12 + 4], ax
jmp 0x1800591b6
cmp word [r12], si
jle case.0x180058fb4.175
mov rax, qword [rbp + 0x60]
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x30], r14
mov r9, r12
mov r8d, 0xb5
mov eax, dword [rax]
mov dword [rbp + 0x58], eax
mov rax, qword [rdx]
mov rdx, qword [rbp - 0x20]
mov qword [rbp - 8], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
call fcn.1800549c0
mov ecx, dword [rax]
mov dword [rbp - 0x30], ecx
jmp case.0x180058fb4.161
xor edx, edx
lea rcx, [rbp - 0x28]
mov r8d, 0x90
call fcn.180069710
movzx ecx, word [r14 + 4]
mov r15, qword [rbp + 0x68]
mov word [r14 + 0xa], ax
mov eax, ecx
shl rax, 4
add rax, 0xc
cmp qword [r15], rax
jb 0x180059214
movzx r12d, si
cmp si, cx
jae 0x180059911
mov r15d, 0x7e
nop word [rax + rax]
mov eax, r15d
sub eax, 0x7b
je 0x1800598eb
sub eax, 1
je 0x180059557
sub eax, 1
je 0x180059525
cmp eax, 1
jne 0x1800598f1
mov dword [rsp + 0x28], 0xb1
lea rdx, [rbp - 0x28]
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
xor ecx, ecx
call fcn.180069980
mov rdi, rax
jmp 0x1800598f1
xor edx, edx
lea r8, [rbp - 0x28]
lea ecx, [rdx + 0x1b]
call fcn.180047ca0
xor edx, edx
lea r8, [rbp - 0x28]
lea ecx, [rdx + 0x1b]
call fcn.180047ca0
xor edx, edx
lea r8, [rbp - 0x28]
mov rbx, rax
lea ecx, [rdx + 0x1b]
call fcn.180047ca0
jmp 0x1800598f1
cmp edi, 0x544c4350
ja 0x18005974b
je 0x180059739
cmp edi, 0x47495344
ja 0x18005965d
je 0x18005964e
cmp edi, 0x43534245
ja 0x1800595ee
je 0x1800595df
mov eax, edi
sub eax, 0x322f534f
je 0x1800595d0
sub eax, 0x1025fff8
je 0x1800595c1
sub eax, 0xf6eefc
je 0x1800595b2
cmp eax, 2
jne 0x1800598e3
mov dword [r14 + 0x54], ebx
lea r15d, [rax + 0x7a]
jmp 0x1800598f1
mov dword [r14 + 0x60], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x70], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x24], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x58], ebx
mov r15d, 0x7c
jmp 0x1800598f1
cmp edi, 0x45534142
je 0x18005963f
cmp edi, 0x46454447
je 0x180059630
cmp edi, 0x46464300
je 0x180059621
cmp edi, 0x4654534a
jne 0x1800598e3
mov dword [r14 + 0x74], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x44], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x68], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x64], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x7c], ebx
mov r15d, 0x7c
jmp 0x1800598f1
cmp edi, 0x4c415043
ja 0x1800596dc
je 0x1800596ca
cmp edi, 0x47524f56
je 0x1800596bb
cmp edi, 0x47565300
je 0x1800596ac
cmp edi, 0x4853544c
je 0x18005969a
cmp edi, 0x4854414d
jne 0x1800598e3
mov dword [r14 + 0x78], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x88], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x4c], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x48], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0xa0], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov eax, edi
sub eax, 0x524c4f43
je 0x180059727
sub eax, 0x1030104
je 0x180059718
sub eax, 0xf4f1fc
je 0x180059709
cmp eax, 2
jne 0x1800598e3
mov dword [r14 + 0x50], ebx
lea r15d, [rax + 0x7a]
jmp 0x1800598f1
mov dword [r14 + 0x5c], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x6c], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x9c], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x8c], ebx
mov r15d, 0x7c
jmp 0x1800598f1
cmp edi, 0x70616d63
ja 0x180059848
je 0x180059839
cmp edi, 0x64616568
ja 0x1800597d6
je 0x1800597c7
mov eax, edi
sub eax, 0x584d4456
je 0x1800597b5
sub eax, 0x9162b16
je 0x1800597a6
sub eax, 0x1f8fc
je 0x180059797
cmp eax, 0xe
jne 0x1800598e3
mov dword [r14 + 0x94], ebx
lea r15d, [rax + 0x6e]
jmp 0x1800598f1
mov dword [r14 + 0x14], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x38], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x90], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x10], ebx
mov r15d, 0x7c
jmp 0x1800598f1
cmp edi, 0x656d616e
je 0x18005982a
cmp edi, 0x66796c67
je 0x18005981b
cmp edi, 0x6d677066
je 0x18005980c
cmp edi, 0x6e72656b
jne 0x1800598e3
mov dword [r14 + 0x84], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x30], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x34], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x20], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0xc], ebx
mov r15d, 0x7c
jmp 0x1800598f1
cmp edi, 0x74766300
ja 0x1800598ae
je 0x1800598a2
cmp edi, 0x70657270
je 0x180059896
cmp edi, 0x70736167
je 0x18005988a
cmp edi, 0x7078616d
je 0x18005987e
cmp edi, 0x74736f70
jne 0x1800598e3
mov dword [r14 + 0x28], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x1c], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x40], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x3c], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x2c], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov eax, edi
sub eax, 0x786d6468
je 0x1800598dc
sub eax, 0x70900
je 0x1800598d0
cmp eax, 0xe
jne 0x1800598e3
mov dword [r14 + 0x98], ebx
lea r15d, [rax + 0x6e]
jmp 0x1800598f1
mov dword [r14 + 0x18], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov dword [r14 + 0x80], ebx
mov r15d, 0x7c
jmp 0x1800598f1
mov r13d, 0xb1
dec r15d
cmp r15d, 0x7a
ja 0x1800594e0
inc r12w
cmp r12w, word [r14 + 4]
jb 0x1800594d1
mov r15, qword [rbp + 0x68]
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
lea edx, [r9 + 0x2a]
call fcn.180063530
test eax, eax
jne 0x180059214
mov rax, qword [r15]
xor r9d, r9d
mov r12, qword [rbp + 0x48]
xor edx, edx
mov qword [rbp - 8], rax
mov r8, r12
lea rax, [rbp - 8]
xor ecx, ecx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0xde
call fcn.180064e10
test eax, eax
je 0x1800591b2
mov dword [rbp - 0x30], 0x70040
jmp case.0x180058fb4.161
jmp case.0x180058fb4.175
mov dword [rbp - 0x30], 0x70044
jmp case.0x180058fb4.161
mov dword [rbp - 0x30], 0x70046
jmp case.0x180058fb4.161
mov dword [rbp - 0x30], 0x70045
jmp case.0x180058fb4.161
mov dword [rbp - 0x30], 0x70041
jmp case.0x180058fb4.161
mov r15, qword [rbp + 0x68]
test r15, r15
je 0x1800599b4
mov dword [r15], 2
mov rax, rsi
jmp 0x18005921f
mov dword [rbp - 0x30], 0x7004a
jmp case.0x180058fb4.161
mov dword [rbp - 0x30], 0x7004b
jmp case.0x180058fb4.161
mov dword [rbp - 0x30], 0x70043
jmp case.0x180058fb4.161
mov dword [rbp - 0x30], 0x70042
jmp case.0x180058fb4.161
mov dword [rbp - 0x30], 0x70060
jmp case.0x180058fb4.161
mov dword [rbp - 0x30], 0x70063
jmp case.0x180058fb4.161
mov rbx, qword [rbp - 0x18]
mov r9d, 0xcd
lea r8, [rbp - 8]
mov rdx, rbx
mov qword [rbx + 0x20], rsi
test r15, r15
je 0x180059a39
mov rax, qword [r12]
mov rcx, r14
mov qword [rbp - 8], rax
call fcn.18005a1e0
mov dword [r15], eax
mov rax, rbx
jmp 0x18005921f
mov rcx, qword [r12]
mov qword [rbp - 8], rcx
mov rcx, r14
call fcn.18005a1e0
mov rax, rbx
jmp 0x18005921f