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

Disassembly:
push rbp
push rbx
sub rsp, 0x68
mov rbp, rsp
mov qword [rbp + 0x20], 0
mov qword [rbp + 0x28], rbp
mov qword [rbp + 0x80], rcx
mov dword [rbp + 0x88], edx
nop
mov eax, dword [0x00693208]
mov dword [0x00693200], eax
mov eax, dword [0x006931e4]
add eax, dword [0x006931ec]
mov ecx, dword [0x006931f4]
add ecx, dword [0x006931fc]
cmp eax, ecx
jle 0x598487
mov eax, dword [0x006931fc]
mov dword [0x006931e4], eax
mov eax, dword [0x006931b0]
mov dword [0x00693210], eax
mov eax, dword [0x006931dc]
add eax, dword [0x006931e8]
mov ecx, dword [0x006931f0]
add ecx, dword [0x006931f8]
cmp eax, ecx
jle 0x5984b4
call fcn.004096f0
mov qword [rbp + 0x58], 0
nop
mov eax, dword [0x006931c8]
add eax, dword [0x006931d0]
mov ecx, dword [0x006931b8]
add ecx, dword [0x006931bc]
cmp ecx, eax
jle 0x5984e3
mov dword [0x006931b8], 0x12e
mov ecx, dword [0x006931b8]
add ecx, dword [0x006931bc]
cmp ecx, eax
jle 0x5984fd
mov dword [0x006931b8], 0x12e
mov eax, dword [0x006931f8]
cmp eax, dword [0x00693200]
je 0x598517
mov eax, dword [0x006931f8]
mov dword [0x00693200], eax
mov rax, qword [rbp + 0x80]
mov rcx, qword [rbp + 0x80]
movsxd rcx, dword [rcx + 0x3c]
lea rax, [rax + rcx]
mov qword [rbp + 0x50], rax
mov eax, dword [0x00693204]
mov dword [0x00693200], eax
mov eax, dword [0x00693200]
add eax, dword [0x0069320c]
mov ecx, dword [0x006931f0]
add ecx, dword [0x006931f8]
cmp ecx, eax
jle 0x598565
mov ecx, dword [0x0069320c]
mov dword [0x006931f0], ecx
mov rcx, qword [rbp + 0x50]
cmp dword [rcx + 0x88], 0
je 0x598a97
mov ecx, dword [0x006931f0]
add ecx, dword [0x006931f8]
cmp ecx, eax
jle 0x598592
mov eax, dword [0x0069320c]
mov dword [0x006931f0], eax
mov eax, dword [0x006931f8]
cmp eax, dword [0x00693200]
je 0x5985ac
mov eax, dword [0x006931f8]
mov dword [0x00693200], eax
mov eax, dword [0x006931e8]
add eax, dword [0x006931f0]
mov ecx, dword [0x006931fc]
add ecx, dword [0x00693204]
cmp eax, ecx
jle 0x5985d4
mov eax, dword [0x00693204]
mov dword [0x006931e8], eax
mov eax, dword [0x00693204]
mov dword [0x00693200], eax
mov eax, dword [0x006931dc]
mov dword [0x006931d0], eax
mov eax, dword [0x00693208]
mov dword [0x006931fc], eax
mov eax, dword [0x006931e4]
add eax, dword [0x006931e8]
mov ecx, dword [0x006931f4]
add ecx, dword [0x006931fc]
cmp eax, ecx
jle 0x598620
mov eax, dword [0x006931fc]
mov dword [0x006931e4], eax
mov rax, qword [rbp + 0x50]
mov eax, dword [rax + 0x88]
mov rcx, qword [rbp + 0x80]
lea rax, [rax + rcx]
mov qword [rbp + 0x48], rax
mov eax, dword [0x006931e4]
mov dword [0x006931d8], eax
xor eax, eax
mov rcx, qword [rbp + 0x48]
mov ebx, dword [rcx + 0x18]
sub ebx, 1
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], ebx
jg 0x598999
sub ebx, eax
add ebx, 1
mov eax, dword [0x0069320c]
mov dword [0x00693204], eax
mov eax, dword [0x006931e4]
mov dword [0x006931d8], eax
mov eax, dword [0x006931b0]
mov dword [0x00693210], eax
mov eax, dword [0x006931b0]
mov dword [0x00693210], eax
mov eax, dword [0x006931ec]
cmp eax, dword [0x006931f8]
je 0x5986ac
mov eax, dword [0x006931ec]
mov dword [0x006931f8], eax
mov eax, dword [0x00693208]
mov dword [0x00693200], eax
mov eax, dword [0x006931cc]
sub eax, dword [0x006931c4]
mov dword [0x006931c4], eax
mov eax, dword [0x006931ec]
add eax, dword [0x006931f4]
mov ecx, dword [0x006931fc]
add ecx, dword [0x00693208]
cmp eax, ecx
jle 0x5986f2
mov eax, dword [0x00693208]
mov dword [0x006931ec], eax
mov eax, dword [0x006931dc]
mov dword [0x006931d4], eax
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x20]
mov rcx, qword [rbp + 0x80]
lea rax, [rax + rcx]
movsxd rcx, dword [rbp + 0x44]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rbp + 0x80]
lea rax, [rax + rcx]
mov qword [rbp + 0x38], rax
mov eax, dword [0x006931b8]
add eax, dword [0x006931bc]
mov ecx, dword [0x006931c8]
add ecx, dword [0x006931cc]
cmp eax, ecx
jle 0x59874c
mov dword [0x006931b8], 0x45
mov eax, dword [0x006931e0]
mov dword [0x006931d8], eax
mov dword [0x006931b0], 0x340
mov eax, dword [0x006931b0]
sub eax, 0x1b2
mov dword [0x006931b8], eax
mov eax, dword [0x006931ec]
add eax, dword [0x006931f4]
mov ecx, dword [0x006931fc]
add ecx, dword [0x00693204]
cmp eax, ecx
jle 0x59879c
mov eax, dword [0x00693204]
mov dword [0x006931ec], eax
mov eax, dword [0x006931bc]
mov dword [0x006931b0], eax
mov eax, dword [0x006931b4]
add eax, dword [0x006931bc]
mov ecx, dword [0x006931c4]
add ecx, dword [0x006931cc]
cmp eax, ecx
jle 0x5987ce
mov dword [0x006931b4], 0x194
mov eax, dword [0x00693208]
mov dword [0x006931fc], eax
lea rcx, [rbp + 0x20]
mov rdx, qword [rbp + 0x38]
xor r8, r8
call fcn.0040f570
mov rcx, qword [rbp + 0x20]
call fcn.005980e0
cmp eax, dword [rbp + 0x88]
jne 0x59898a
mov eax, dword [0x00693208]
mov dword [0x006931fc], eax
mov eax, dword [0x006931f4]
cmp eax, dword [0x00693200]
je 0x598825
mov eax, dword [0x006931f4]
mov dword [0x00693200], eax
mov eax, dword [0x006931c0]
add eax, dword [0x006931c8]
mov ecx, dword [0x006931b0]
add ecx, dword [0x006931b8]
cmp ecx, eax
jle 0x59884b
mov dword [0x006931b0], 0xd3
mov rcx, qword [rbp + 0x48]
mov ecx, dword [rcx + 0x24]
mov rdx, qword [rbp + 0x80]
lea rcx, [rcx + rdx]
movsxd rdx, dword [rbp + 0x44]
movzx ecx, word [rcx + rdx*2]
mov dword [rbp + 0x34], ecx
mov ecx, dword [0x006931b0]
add ecx, dword [0x006931b8]
cmp ecx, eax
jle 0x598882
mov dword [0x006931b0], 0xd3
mov eax, dword [0x006931f8]
cmp eax, dword [0x006931fc]
je 0x59889c
mov eax, dword [0x006931f8]
mov dword [0x006931fc], eax
mov eax, dword [0x006931dc]
mov dword [0x006931d4], eax
mov eax, dword [0x0069320c]
mov dword [0x00693204], eax
mov eax, dword [0x006931e8]
add eax, dword [0x006931f0]
mov ecx, dword [0x006931f8]
add ecx, dword [0x00693200]
cmp eax, ecx
jle 0x5988dc
mov eax, dword [0x00693200]
mov dword [0x006931e8], eax
mov eax, dword [0x006931dc]
mov dword [0x006931d4], eax
mov eax, dword [0x006931c0]
add eax, dword [0x006931c4]
mov ecx, dword [0x006931cc]
add ecx, dword [0x006931d4]
cmp eax, ecx
jle 0x59890e
mov dword [0x006931c0], 1
mov rax, qword [rbp + 0x48]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rbp + 0x80]
lea rax, [rax + rcx]
mov ecx, dword [rbp + 0x34]
mov eax, dword [rax + rcx*4]
mov rcx, qword [rbp + 0x80]
lea rax, [rax + rcx]
mov qword [rbp + 0x58], rax
mov eax, dword [0x006931d4]
mov dword [0x006931cc], eax
mov eax, dword [0x0069320c]
add eax, dword [0x006931b0]
mov ecx, dword [0x006931b8]
add ecx, dword [0x006931bc]
cmp eax, ecx
jle 0x598967
mov dword [0x0069320c], 0x11d
mov eax, dword [0x006931dc]
add eax, dword [0x006931e4]
mov ecx, dword [0x006931ec]
add ecx, dword [0x006931f0]
cmp eax, ecx
jle 0x598999
call fcn.004096f0
jmp 0x598999
add dword [rbp + 0x44], 1
sub ebx, 1
test ebx, ebx
jne 0x598662
nop
jmp 0x598a97
mov eax, dword [0x006931d8]
mov dword [0x006931d4], eax
mov eax, dword [0x00693204]
add eax, dword [0x00693208]
mov ecx, dword [0x00693210]
add ecx, dword [0x006931b0]
cmp eax, ecx
jle 0x598ac9
mov dword [0x00693204], 0x171
mov eax, dword [0x006931dc]
mov dword [0x006931d4], eax
mov eax, dword [0x0069320c]
add eax, dword [0x006931b4]
mov ecx, dword [0x006931b8]
add ecx, dword [0x006931c0]
cmp eax, ecx
jle 0x598afb
mov dword [0x0069320c], 0x4c
mov eax, dword [0x006931d0]
mov dword [0x006931cc], eax
mov eax, dword [0x00693208]
mov dword [0x00693204], eax
nop
lea rcx, [rbp + 0x20]
call fcn.0040e970
mov rax, qword [rbp + 0x58]
lea rsp, [rbp + 0x68]
pop rbx
pop rbp
ret