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

Disassembly:
mov byte [rsp + 0x20], r9b
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov dword [rsp + 0x28], 0
mov rax, qword [rsp + 0x110]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x110]
call qword [rax + 0x20]
test eax, eax
je 0x140038ad2
cmp dword [rsp + 0x120], 0
je 0x140038adc
cmp dword [rsp + 0x120], 2
jne 0x140038ae6
mov eax, 1
jmp 0x14003924b
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x50]
call fcn.14007ff00
nop
cmp dword [rsp + reloc.mfc120u.dll_Ordinal_280], 5
jne 0x140038b0e
mov dword [rsp + reloc.mfc120u.dll_Ordinal_280], 3
cmp dword [rsp + 0x20], 0
jne 0x14003920c
mov r8b, 1
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x110]
call fcn.1400382a0
test eax, eax
jne 0x14003920c
lea rcx, [rsp + 0x50]
call fcn.14007ffc0
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x50]
call fcn.14007ffa0
cmp eax, dword [rsp + reloc.mfc120u.dll_Ordinal_280]
jne 0x140039052
mov r8d, dword [rsp + 0x120]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x110]
call fcn.140039fd0
test eax, eax
jne 0x140038b8d
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x28], 0
jmp case.default.0x140038bb6
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 6
ja case.default.0x140038bb6
movsxd rax, dword [rsp + 0x6c]
lea rcx, [0x140000000]
mov eax, dword [rcx + rax*4 + 0x39254]
add rax, rcx
jmp rax
movzx r9d, byte [rsp + reloc.mfc120u.dll_Ordinal_296]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x110]
call fcn.14003a110
mov dword [rsp + 0x28], eax
jmp case.default.0x140038bb6
mov rax, qword [rsp + 0x110]
movzx eax, word [rax + 0x38]
cmp eax, 1
jne 0x140038c18
movzx r9d, byte [rsp + reloc.mfc120u.dll_Ordinal_296]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x110]
call fcn.14003a110
mov dword [rsp + 0x28], eax
jmp 0x140038c20
mov dword [rsp + 0x20], 1
jmp case.default.0x140038bb6
mov rcx, qword [rsp + 0x110]
call fcn.140039c90
mov rax, qword [rsp + 0x110]
movzx eax, word [rax + 0x38]
test eax, eax
jne 0x140038c68
movzx r9d, byte [rsp + reloc.mfc120u.dll_Ordinal_296]
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x110]
call fcn.14003a110
mov dword [rsp + 0x28], eax
jmp 0x140038c70
mov dword [rsp + 0x20], 1
jmp case.default.0x140038bb6
mov qword [rsp + 0x48], 0
lea rcx, [rsp + 0x48]
call fcn.1400377e0
mov dword [rsp + 0x20], 1
mov qword [rsp + 0xa8], 0
lea rdx, [rsp + 0xa8]
mov rcx, qword [rsp + 0x110]
call fcn.140038430
test eax, eax
jne 0x140038ce0
movzx eax, byte [rsp + reloc.mfc120u.dll_Ordinal_296]
test eax, eax
je 0x140038cd3
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x110]
call fcn.1400388a0
mov dword [rsp + 0x28], 1
jmp 0x140038e9f
lea rcx, [rsp + 0x50]
call fcn.140080020
cwde
mov dword [rsp + 0x3c], eax
imul eax, dword [rsp + 0x3c], 0x15180
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xc8], rax
movsxd rax, dword [rsp + 0x3c]
cmp qword [rsp + 0xc8], rax
jl 0x140038e9f
movzx eax, byte [rsp + reloc.mfc120u.dll_Ordinal_296]
test eax, eax
je 0x140038d47
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x110]
call fcn.1400388a0
lea rcx, [rsp + 0x50]
call fcn.14007ffe0
mov dword [rsp + 0x2c], eax
cmp dword [rsp + 0x2c], 0
jl 0x140038d66
cmp dword [rsp + 0x2c], 0xffff
jne 0x140038d73
mov dword [rsp + 0x28], 1
jmp 0x140038e9f
lea rcx, [rsp + 0x50]
call fcn.140080000
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
je 0x140038d94
cmp dword [rsp + 0x70], 1
je 0x140038dfb
jmp 0x140038e9f
mov rcx, qword [rsp + 0x110]
call fcn.1400383a0
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x50]
call fcn.14007ffe0
cmp dword [rsp + 0x34], eax
jge 0x140038dee
movzx eax, byte [rsp + reloc.mfc120u.dll_Ordinal_296]
test eax, eax
je 0x140038ddc
mov edx, dword [rsp + 0x34]
mov rcx, qword [rsp + 0x110]
call fcn.1400387f0
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 1
jmp 0x140038df6
mov dword [rsp + 0x20], 0
jmp 0x140038e9f
mov qword [rsp + 0xb8], 0
mov qword [rsp + 0x98], 0
lea rdx, [rsp + 0x98]
mov rcx, qword [rsp + 0x110]
call fcn.140038500
test eax, eax
jne 0x140038e57
movzx eax, byte [rsp + reloc.mfc120u.dll_Ordinal_296]
test eax, eax
je 0x140038e4a
mov rdx, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x110]
call fcn.140038950
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x48]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xb8], rax
imul eax, dword [rsp + 0x2c], 0x15180
mov dword [rsp + 0x2c], eax
movsxd rax, dword [rsp + 0x2c]
cmp qword [rsp + 0xb8], rax
jle 0x140038e97
mov dword [rsp + 0x20], 0
jmp 0x140038e9f
mov dword [rsp + 0x28], 1
jmp case.default.0x140038bb6
lea rcx, [rsp + 0x50]
call fcn.14007ffe0
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0
jl 0x140038ec3
cmp dword [rsp + 0x30], 0xffff
jne 0x140038ed0
mov dword [rsp + 0x20], 1
jmp case.default.0x140038bb6
lea rcx, [rsp + 0x50]
call fcn.140080000
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
je 0x140038ef1
cmp dword [rsp + 0x68], 1
je 0x140038f46
jmp case.default.0x140038bb6
mov rcx, qword [rsp + 0x110]
call fcn.1400383a0
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x50]
call fcn.14007ffe0
cmp dword [rsp + 0x38], eax
jge 0x140038f41
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
movzx eax, byte [rsp + reloc.mfc120u.dll_Ordinal_296]
test eax, eax
je 0x140038f39
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0x110]
call fcn.1400387f0
mov dword [rsp + 0x20], 1
jmp case.default.0x140038bb6
mov qword [rsp + 0x78], 0
lea rcx, [rsp + 0x78]
call fcn.1400377e0
mov qword [rsp + 0xd0], 0
lea rdx, [rsp + 0xd0]
mov rcx, qword [rsp + 0x110]
call fcn.140038430
test eax, eax
jne 0x140038fa9
movzx eax, byte [rsp + reloc.mfc120u.dll_Ordinal_296]
test eax, eax
je 0x140038f9c
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x110]
call fcn.1400388a0
mov dword [rsp + 0x20], 1
jmp case.default.0x140038bb6
mov qword [rsp + 0xc0], 0
mov qword [rsp + 0x88], 0
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x110]
call fcn.140038500
test eax, eax
jne 0x140039005
movzx eax, byte [rsp + reloc.mfc120u.dll_Ordinal_296]
test eax, eax
je 0x140038ff8
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x110]
call fcn.140038950
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0xc0], rax
imul eax, dword [rsp + 0x30], 0x15180
mov dword [rsp + 0x30], eax
movsxd rax, dword [rsp + 0x30]
cmp qword [rsp + 0xc0], rax
jle 0x140039045
mov dword [rsp + 0x20], 0
jmp case.default.0x140038bb6
mov dword [rsp + 0x20], 1
jmp 0x140039199
lea rcx, [rsp + 0x50]
call fcn.14007ffa0
cmp eax, dword [rsp + reloc.mfc120u.dll_Ordinal_280]
jle 0x140039162
mov rcx, qword [rsp + 0x110]
call fcn.140038a40
mov qword [rsp + 0xa0], 0
mov dword [rsp + 0x90], 0
lea r8, [rsp + 0x90]
lea rdx, [rsp + 0xa0]
mov rcx, qword [rsp + 0x110]
call fcn.140037f60
test eax, eax
je 0x140039160
xor r8d, r8d
mov rdx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x110]
call fcn.14007fac0
mov byte [rsp + 0x24], 1
lea rcx, [rsp + 0xd8]
call fcn.14007ff00
nop
xor r8d, r8d
lea rdx, [rsp + 0xd8]
mov rcx, qword [rsp + 0x110]
call fcn.1400382a0
test eax, eax
jne 0x140039138
lea rcx, [rsp + 0xd8]
call fcn.14007ffa0
cmp eax, dword [rsp + reloc.mfc120u.dll_Ordinal_280]
jle 0x140039138
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x10]
add rax, 0xc
mov rcx, qword [rsp + 0x110]
mov qword [rcx + 0x10], rax
mov dword [rsp + 0x20], 1
mov byte [rsp + 0x24], 0
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x140039153
lea rcx, [rsp + 0xd8]
call fcn.14007ff20
jmp 0x140038b0e
lea rcx, [rsp + 0xd8]
call fcn.14007ff20
jmp 0x140039199
mov r8d, dword [rsp + 0x120]
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x110]
call fcn.140039fd0
test eax, eax
jne 0x140039199
cmp dword [rsp + 0x120], 1
jne 0x140039199
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x28], 0
cmp dword [rsp + 0x20], 0
jne 0x140039207
movzx eax, byte [rsp + reloc.mfc120u.dll_Ordinal_296]
test eax, eax
je 0x140039207
mov rcx, qword [rsp + 0x110]
call fcn.1400386b0
test eax, eax
je 0x140039207
mov rcx, qword [rsp + 0x110]
call fcn.140038a00
mov qword [rsp + 0xb0], 0
lea rcx, [rsp + 0xb0]
call fcn.1400377e0
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x110]
call fcn.140038950
xor edx, edx
mov rcx, qword [rsp + 0x110]
call fcn.1400387f0
jmp 0x140038b0e
cmp dword [rsp + 0x20], 0
je 0x14003922f
mov rax, qword [rsp + 0x110]
mov rax, qword [rax + 0x10]
sub rax, 0xc
mov rcx, qword [rsp + 0x110]
mov qword [rcx + 0x10], rax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x80], eax
lea rcx, [rsp + 0x50]
call fcn.14007ff20
mov eax, dword [rsp + 0x80]
add rsp, 0x108
ret