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

Disassembly:
mov byte [rsp + 0x20], r9b
mov byte [rsp + 0x18], r8b
mov byte [rsp + 0x10], dl
mov byte [rsp + 8], cl
sub rsp, 0xd8
mov eax, 0x7aa2
mov word [rsp + 0x30], ax
mov dword [rsp + 0x4c], 0x59645f9b
mov eax, 0xffffdb0a
mov word [rsp + 8], ax
movzx eax, word [0x1401772a8]
mov word [rsp + 0xc], ax
movzx eax, byte [0x140177258]
mov byte [rsp + 1], al
mov eax, 0x95
mov word [rsp + 0x20], ax
movzx eax, byte [0x1401771a7]
movsx ax, al
mov word [rsp + 0x34], ax
mov byte [rsp + 2], 0x63
movzx eax, word [0x14017726c]
mov word [rsp + 0x18], ax
mov byte [rsp], 0x74
mov qword [rsp + 0x98], 0xafbe
mov eax, 0xffff912f
mov word [rsp + 0x1c], ax
movzx eax, word [0x1401772d4]
mov byte [rsp + 3], al
mov rax, qword [0x140177278]
mov word [rsp + 0x38], ax
movzx eax, byte [0x1401771fe]
movsx eax, al
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x88], 0x30a0b20e
movzx eax, word [0x14017726c]
mov word [rsp + 0x3c], ax
movsxd rax, dword [0x14017726c]
mov qword [rsp + 0x90], rax
movzx eax, word [0x14017728c]
movzx eax, ax
mov qword [rsp + 0x70], rax
mov eax, dword [0x1401772b0]
mov dword [rsp + 0x54], eax
mov qword [rsp + 0x58], 0x4b1ec1bb
mov eax, 0x6e33
mov word [rsp + 0x14], ax
movzx eax, byte [0x1401771a3]
mov byte [rsp + 4], al
mov qword [rsp + 0xa0], 0xe9
mov byte [rsp + 0x10], 0x3c
mov eax, dword [0x140177264]
mov dword [rsp + 0x78], eax
movzx eax, byte [0x1401771ff]
mov qword [rsp + 0xa8], rax
mov eax, 0xec0b
mov word [rsp + 0x40], ax
mov qword [rsp + 0xb0], 0x5aba25a
mov qword [rsp + 0xb8], 0x71
movzx eax, byte [0x1401771fe]
mov byte [rsp + 0x11], al
movzx eax, word [0x140177264]
mov word [rsp + 0x44], ax
movzx eax, word [0x140177258]
mov dword [rsp + 0x7c], eax
movzx eax, word [0x14017725c]
movsx rax, ax
mov qword [rsp + 0xc0], rax
mov eax, dword [0x1401772c8]
mov dword [rsp + 0x80], eax
mov eax, 0xe214
mov word [rsp + 0x48], ax
movzx eax, word [0x1401772cc]
cwde
test eax, eax
je 0x14003a08f
movzx eax, word [rsp + 0xc]
movzx eax, ax
sub eax, 0xdb
mov dword [0x140177268], eax
movzx eax, word [0x140177288]
cwde
test eax, eax
je 0x14003a075
movzx eax, word [0x1401772cc]
cwde
mov dword [rsp + 0x28], eax
jmp 0x14003a081
movzx eax, word [rsp + 0xc]
movzx eax, ax
mov dword [rsp + 0x28], eax
movsxd rax, dword [rsp + 0x28]
mov qword [0x140177280], rax
jmp 0x14003a0ae
movzx eax, byte [rsp + 1]
sub eax, 0x3c491cd4
mov word [rsp + 8], ax
movzx eax, byte [rsp + 2]
movzx eax, al
mov qword [rsp + 0x88], rax
movzx eax, word [rsp + 0x14]
movsx rax, ax
mov rcx, qword [0x140177248]
cmp rax, rcx
jge 0x14003a124
mov eax, dword [0x1401772c8]
mov eax, eax
movabs rcx, 0x520128691a7c8
imul rax, rcx
mov qword [rsp + 0x90], rax
mov rax, qword [0x140177248]
test rax, rax
jne 0x14003a0f7
mov dword [rsp + 0x2c], 1
jmp 0x14003a0ff
mov dword [rsp + 0x2c], 0
movzx eax, byte [rsp + 1]
mov ecx, dword [rsp + 0x2c]
sub ecx, eax
mov eax, ecx
cdqe
mov qword [0x140177290], rax
mov eax, 0xfffffec4
mov word [rsp + 0x18], ax
jmp 0x14003a261
movzx eax, byte [0x140177216]
test eax, eax
jne 0x14003a139
mov dword [rsp + 0x24], 1
jmp 0x14003a141
mov dword [rsp + 0x24], 0
movzx eax, byte [rsp + 3]
cmp dword [rsp + 0x24], eax
jne 0x14003a157
mov qword [rsp + 0x60], 1
jmp 0x14003a160
mov qword [rsp + 0x60], 0
mov rax, qword [rsp + 0x58]
cmp qword [rsp + 0x60], rax
jb 0x14003a1ac
movsx rax, word [0x140177260]
movabs rcx, 0xb50344000736a
sub rax, rcx
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x50]
add eax, 0x8fcc01f8
mov dword [rsp + 0x54], eax
movzx eax, byte [rsp]
movsx eax, al
movzx ecx, word [rsp + 8]
movsx ecx, cx
imul eax, ecx
mov byte [rsp], al
jmp 0x14003a261
movzx eax, byte [0x1401771d3]
test eax, eax
je 0x14003a220
cmp qword [rsp + 0x58], 0
je 0x14003a1ce
movzx eax, byte [rsp + 2]
movzx eax, al
mov qword [rsp + 0x68], rax
jmp 0x14003a1d8
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x58], rax
movsx eax, byte [rsp + 4]
add eax, 0x7631
cdqe
mov qword [0x140177280], rax
movzx eax, byte [rsp]
movsx rax, al
mov rcx, qword [0x1401772b0]
sub rcx, rax
mov rax, rcx
mov rcx, qword [0x1401772b0]
sub rcx, rax
mov rax, rcx
mov qword [0x1401772b0], rax
jmp 0x14003a261
cmp qword [0x1401772a8], 0
jne 0x14003a261
movzx eax, word [0x14017728c]
movzx eax, ax
mov rcx, qword [0x1401772a0]
add rcx, rax
mov rax, rcx
mov rcx, qword [0x1401772a0]
add rcx, rax
mov rax, rcx
mov qword [0x1401772a0], rax
movzx eax, word [0x1401772a8]
mov word [rsp + 0x1c], ax
mov eax, dword [0x140177264]
add eax, 0xf20635fb
mov eax, eax
mov qword [rsp + 0x70], rax
movzx eax, byte [0x1401771a6]
movzx ecx, word [rsp + 8]
movsx ecx, cx
xor eax, ecx
mov byte [0x1401771a6], al
movzx eax, word [0x1401772b8]
cwde
xor eax, 0x9e
mov dword [0x1401772d8], eax
movzx eax, word [rsp + 0x20]
add rsp, 0xd8
ret