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

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov edx, dword [rsp + 0x110]
cmp edx, 4
jae 0x140003f9f
mov eax, 0x80004005
add rsp, 0xf8
ret
mov qword [rsp + 0xd0], r12
mov r12, qword [rsp + 0x108]
mov eax, dword [r12]
mov r11, r12
mov qword [rsp + 0x20], r12
cmp edx, eax
jae 0x140003fd4
mov eax, 0x80004005
mov r12, qword [rsp + 0xd0]
add rsp, 0xf8
ret
mov qword [rsp + 0xd8], rdi
xor edi, edi
cmp eax, 0xc
jne 0x1400040da
mov dword [rsp + 0x78], eax
movsx eax, word [r12 + 4]
lea r11, [rsp + 0x78]
mov dword [rsp + 0x7c], eax
movsx eax, word [r12 + 6]
mov dword [rsp + 0x88], edi
mov dword [rsp + 0x80], eax
movzx eax, word [r12 + 8]
mov dword [rsp + 0x8c], edi
mov word [rsp + 0x84], ax
movzx eax, word [r12 + 0xa]
mov dword [rsp + 0x90], edi
mov dword [rsp + 0x94], edi
mov dword [rsp + 0x98], edi
mov dword [rsp + 0x9c], edi
mov word [rsp + 0x86], ax
mov qword [rsp + 0x20], r11
mov eax, dword [r11 + 8]
mov qword [rsp + 0xb8], r15
movsxd r15, dword [r11 + 4]
test eax, eax
jg 0x140004068
neg eax
mov r8d, dword [r11]
mov r9w, word [r11 + 0xe]
mov qword [rsp + 0xf0], rbx
cmp r8d, 0xc
mov rbx, rdi
movsxd rcx, eax
setne bl
mov qword [rsp + 0xe0], rsi
mov esi, dword [r11 + 0x20]
add rbx, 3
cmp r9w, 8
mov qword [rsp + 0x58], rcx
mov rax, rsi
ja 0x1400040b5
test rsi, rsi
jne 0x1400040b5
mov eax, 1
mov ecx, r9d
shl eax, cl
cdqe
mov r10, rbx
imul r10, rax
mov eax, r8d
add r10, rax
mov eax, edx
cmp r10, rax
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], rax
jbe 0x1400040ea
mov eax, 0x80004005
jmp 0x140004151
cmp eax, 0x28
jae 0x140004052
mov eax, 0x80004005
jmp 0x140004169
cmp word [r11 + 0xc], 1
jne 0x1400040d3
mov eax, dword [r11 + 0x10]
mov qword [rsp + 0xe8], rbp
mov qword [rsp + 0xc8], r13
cmp eax, 2
mov qword [rsp + 0xc0], r14
jbe 0x1400044fb
cmp eax, 3
je 0x140004191
cmp eax, 4
je 0x140004181
cmp eax, 5
jne case.0x140004528.2
lea rdx, str.LoadBMP:_PNG_compression_not_supported
xor ecx, ecx
call fcn.1400039d0
mov eax, 0x80004005
mov r14, qword [rsp + 0xc0]
mov r13, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xf0]
mov rsi, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xd0]
add rsp, 0xf8
ret
lea rdx, str.LoadBMP:_JPEG_compression_not_supported
xor ecx, ecx
call fcn.1400039d0
jmp case.0x140004528.2
cmp r8d, 0x34
jb case.0x140004528.2
cmp r8d, 0x38
mov r13, qword [rsp + 0x20]
mov r11d, dword [r11 + 0x30]
mov ecx, dword [r13 + 0x2c]
mov eax, dword [r13 + 0x28]
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x30], eax
jb 0x1400041c1
mov r14d, dword [r13 + 0x34]
jmp 0x1400041c4
mov r14d, edi
movzx edx, r9w
mov ebp, reloc.WS2_32.dll_WSACleanup
cmp edx, 0x10
je 0x1400043a2
cmp edx, 0x18
je 0x140004368
cmp edx, 0x20
jne case.0x140004528.2
cmp r11d, 0xff
jne 0x140004234
cmp ecx, 0xff00
jne 0x1400046c1
cmp eax, 0xff0000
jne 0x1400046bc
test r14d, r14d
jne 0x14000421a
mov ebp, reloc.WLDAP32.dll_Ordinal_22
mov r11, r13
jmp 0x1400046c4
cmp r14d, 0xff000000
jne 0x1400046b7
mov ebp, reloc.WS2_32.dll_setsockopt
mov r11, r13
jmp 0x1400046c4
cmp r11d, 0x3ff00000
jne 0x14000426e
cmp ecx, 0xffc00
jne 0x1400046b2
cmp eax, 0x3ff
jne 0x1400046ad
cmp r14d, 0xc0000000
jne 0x1400046a8
mov ebp, Ordinal_32
mov r11, r13
jmp 0x1400046c4
cmp r11d, 0xff0000
jne 0x1400042ba
cmp ecx, 0xff00
jne 0x1400046a3
cmp eax, 0xff
jne 0x14000469e
cmp r14d, 0xff000000
jne 0x1400042a4
mov ebp, reloc.WLDAP32.dll_Ordinal_32
mov r11, r13
jmp 0x1400046c4
test r14d, r14d
jne 0x140004699
mov ebp, reloc.WLDAP32.dll_Ordinal_33
mov r11, r13
jmp 0x1400046c4
test r11d, r11d
jne 0x1400042ec
cmp ecx, 0xffff0000
jne 0x140004694
cmp eax, 0xffff
jne 0x14000468f
test r14d, r14d
jne 0x14000468a
mov ebp, Ordinal_35
mov r11, r13
jmp 0x1400046c4
cmp r11d, 0x3ff
jne 0x140004326
cmp ecx, 0xffc00
jne 0x140004685
cmp eax, 0x3ff00000
jne 0x140004680
cmp r14d, 0xc0000000
jne 0x14000467b
mov ebp, reloc.WLDAP32.dll_Ordinal_35
mov r11, r13
jmp 0x1400046c4
cmp r11d, 0xff00
jne 0x140004676
cmp ecx, 0xff0000
jne 0x140004671
cmp eax, 0xff000000
jne 0x14000466c
test r14d, r14d
jne 0x140004667
inc r10
mov ebp, reloc.WLDAP32.dll_Ordinal_22
mov r11, r13
mov qword [rsp + 0x38], r10
jmp 0x1400046c4
cmp r11d, 0xff
jne 0x140004662
cmp ecx, 0xff00
jne 0x14000465d
cmp eax, 0xff0000
jne 0x140004658
test r14d, r14d
jne 0x140004653
mov ebp, reloc.WS2_32.dll_sendto
mov r11, r13
jmp 0x1400046c4
cmp r11d, 0xff
jne 0x1400043d7
cmp ecx, r11d
jne 0x14000464e
cmp eax, r11d
jne 0x140004649
cmp r14d, 0xff00
jne 0x140004644
mov ebp, 0x33
mov r11, r13
jmp 0x1400046c4
cmp r11d, 0x1f
jne 0x140004449
cmp ecx, 0x7e0
jne 0x140004406
cmp eax, 0xf800
jne 0x14000463c
test r14d, r14d
jne 0x140004634
mov ebp, reloc.WS2_32.dll_socket
mov r11, r13
jmp 0x1400046c4
cmp ecx, 0x3e0
jne 0x14000462c
cmp eax, 0x7c00
jne 0x140004624
test r14d, r14d
jne 0x14000442f
mov ebp, Ordinal_27
mov r11, r13
jmp 0x1400046c4
cmp r14d, 0x8000
jne 0x14000461c
mov ebp, Ordinal_27
mov r11, r13
jmp 0x1400046c4
cmp r11d, 0xf
jne 0x14000447c
cmp ecx, 0xf0
jne 0x140004614
cmp eax, 0xf00
jne 0x14000460c
cmp r14d, 0xf000
jne 0x1400044b0
mov ebp, reloc.WLDAP32.dll_Ordinal_26
mov r11, r13
jmp 0x1400046c4
cmp r11d, 3
jne 0x1400044c6
cmp ecx, 0x1c
jne 0x140004604
cmp eax, 0xe0
jne 0x1400045fc
cmp r14d, 0xff00
jne 0x1400045f4
mov ebp, Ordinal_32
mov r11, r13
jmp 0x1400046c4
test r14d, r14d
jne 0x1400045ec
mov ebp, reloc.WLDAP32.dll_Ordinal_30
mov r11, r13
jmp 0x1400046c4
cmp r11d, 0xffff
jne 0x1400045e4
cmp ecx, r11d
jne 0x1400045dc
cmp eax, r11d
jne 0x1400045d4
test r14d, r14d
jne 0x1400045cc
mov ebp, 0x51
mov r11, r13
jmp 0x1400046c4
movzx edx, r9w
lea eax, [rdx - 1]
cmp eax, 0x1f
ja case.0x140004528.2
lea r8, [0x140000000]
cdqe
movzx eax, byte [r8 + rax + 0x4f0c]
mov ecx, dword [r8 + rax*4 + 0x4ef8]
add rcx, r8
jmp rcx
mov r8d, dword [rsp + 0x28]
mov ebp, reloc.WLDAP32.dll_Ordinal_41
mov dword [rsp + 0x28], r8d
mov ecx, dword [rsp + 0x28]
mov eax, dword [rsp + 0x28]
mov r14d, dword [rsp + 0x28]
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x30], eax
jmp 0x1400046c4
mov r8d, dword [rsp + 0x28]
mov ebp, Ordinal_27
mov dword [rsp + 0x28], r8d
mov ecx, dword [rsp + 0x28]
mov eax, dword [rsp + 0x28]
mov r14d, dword [rsp + 0x28]
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x30], eax
jmp 0x1400046c4
mov r8d, dword [rsp + 0x28]
mov ebp, reloc.WS2_32.dll_sendto
mov dword [rsp + 0x28], r8d
mov ecx, dword [rsp + 0x28]
mov eax, dword [rsp + 0x28]
mov r14d, dword [rsp + 0x28]
mov dword [rsp + 0x2c], ecx
mov dword [rsp + 0x30], eax
jmp 0x1400046c4
mov eax, dword [rsp + 0x28]
mov ebp, reloc.WLDAP32.dll_Ordinal_22
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x28]
mov r14d, dword [rsp + 0x28]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x28]
mov dword [rsp + 0x30], eax
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
jmp 0x1400046c4
mov r11, r13
mov rdi, qword [rsp + 0x100]
cmp dword [rdi + 0x4c], 0
je 0x1400047b9
cmp ebp, 0x29
jne 0x1400047b9
test esi, esi
jne 0x1400046ec
mov ecx, edx
mov esi, 1
shl esi, cl
mov ecx, 0x400
mov dword [rdi + 0x48], 1
call fcn.1401130c4
test rax, rax
mov qword [rdi + 0x10], rax
jne 0x140004710
mov eax, 0x8007000e
jmp 0x140004139
mov r11, qword [rsp + 0x20]
mov edx, dword [r11]
add rdx, r12
test esi, esi
je 0x14000476c
xor r8d, r8d
mov r9d, esi
nop
nop
nop
movzx eax, byte [rdx + 2]
mov rcx, qword [rdi + 0x10]
add r8, 4
mov byte [r8 + rcx - 4], al
movzx eax, byte [rdx + 1]
mov rcx, qword [rdi + 0x10]
mov byte [r8 + rcx - 3], al
movzx eax, byte [rdx]
mov rcx, qword [rdi + 0x10]
mov byte [r8 + rcx - 2], al
mov rax, qword [rdi + 0x10]
add rdx, rbx
dec r9
mov byte [r8 + rax - 1], 0xff
jne 0x140004730
mov eax, 0x100
movsxd rcx, esi
cmp esi, eax
jae 0x1400047b4
shl rcx, 2
sub eax, esi
mov edx, eax
mov rax, qword [rdi + 0x10]
add rcx, 4
dec rdx
mov byte [rcx + rax - 4], 0xff
mov rax, qword [rdi + 0x10]
mov byte [rcx + rax - 3], 0xff
mov rax, qword [rdi + 0x10]
mov byte [rcx + rax - 2], 0xff
mov rax, qword [rdi + 0x10]
mov byte [rcx + rax - 1], 0xff
jne 0x140004780
mov r10, qword [rsp + 0x38]
jmp 0x1400047b9
mov r10, qword [rsp + 0x38]
mov dx, word [r11 + 0xe]
movzx ecx, dx
dec ecx
je 0x1400047e7
cmp ecx, 3
je 0x1400047db
movzx r13d, dx
shr r13, 3
imul r13, r15
mov rcx, r13
jmp 0x1400047f2
lea rcx, [r15 + 1]
mov r13, r15
shr rcx, 1
jmp 0x1400047f2
lea rcx, [r15 + 7]
mov r13, r15
shr rcx, 3
cmp ebp, 0x74
jne 0x1400047fe
mov r13, r15
shl r13, 4
mov edx, dword [r11 + 0x10]
lea r8, [rcx + 3]
and r8, 0xfffffffffffffffc
test edx, edx
mov qword [rsp + 0x60], r8
je 0x140004818
cmp edx, 3
jne 0x140004837
mov rsi, qword [rsp + 0x58]
lea rax, [rsi - 1]
imul rax, r8
add rax, rcx
add rax, r10
cmp rax, qword [rsp + 0x40]
jbe 0x14000483c
jmp case.0x140004528.2
mov rsi, qword [rsp + 0x58]
test edx, edx
jne 0x14000487f
cmp ebp, 0x16
jne 0x14000487f
test rsi, rsi
je 0x14000487f
lea rcx, [r10 + r12]
nop
xor eax, eax
test r15, r15
je 0x140004874
test dword [rcx + rax*4], 0xff000000
jne 0x14000486a
inc rax
cmp rax, r15
jb 0x140004857
jmp 0x140004874
cmp rax, r15
mov ebp, reloc.WS2_32.dll_setsockopt
jb 0x14000487f
inc rdx
add rcx, r8
cmp rdx, rsi
jb 0x140004850
xor edx, edx
lea eax, [r13 + 3]
mov dword [rdi], ebp
and eax, 0xfffffffc
cmp dword [rdi + 0x4c], edx
mov dword [rdi + 0x18], r15d
mov dword [rdi + 0x3c], eax
mov dword [rdi + 0x40], edx
mov dword [rdi + 0x1c], esi
mov dword [rdi + 0x20], 1
je 0x140004ef1
mov ecx, dword [r11 + 0x10]
test ecx, ecx
je 0x1400048b4
cmp ecx, 3
jne 0x1400048d9
cmp dword [r11 + 8], edx
jge 0x1400048d9
cmp word [r11 + 0xe], 8
jb 0x1400048d9
cmp ebp, 0x74
je 0x1400048d9
lea rax, [r10 + r12]
mov dword [rdi + 0x44], edx
mov qword [rdi + 8], rax
xor eax, eax
jmp 0x140004139
mov ecx, eax
mov dword [rdi + 0x44], 1
imul rcx, rsi
call fcn.1401130c4
test rax, rax
mov r10, rax
mov qword [rsp + 0x58], rax
mov qword [rdi + 8], rax
je 0x140004706
mov rax, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x20]
lea rbx, [rax + r12]
mov rax, qword [rsp + 0x40]
add r12, rax
cmp dword [rdx + 8], 0
mov rcx, rbx
mov qword [rsp + 0x48], rbx
jge 0x140004935
mov r9d, dword [rdi + 0x3c]
mov rdi, r10
mov r11, r9
mov qword [rsp + 0x38], r9
jmp 0x14000494f
mov r9d, dword [rdi + 0x3c]
lea rdi, [rsi - 1]
mov r11, r9
neg r11
mov qword [rsp + 0x38], r11
imul rdi, r9
add rdi, r10
mov eax, dword [rdx + 0x10]
imul r9, rsi
mov rsi, rdi
add r9, r10
cmp eax, 2
mov qword [rsp + 0x40], r9
jne 0x140004ad7
cmp rdi, r10
jb 0x1400048d2
cmp rsi, r9
jae 0x1400048d2
cmp rbx, rcx
jb case.0x140004528.2
lea r8, [rbx + 1]
cmp r8, r12
jae case.0x140004528.2
movzx edx, byte [rbx]
test dl, dl
jne 0x140004a75
movzx ecx, byte [r8]
test ecx, ecx
mov edx, ecx
je 0x140004a6d
dec edx
je 0x140004a68
dec edx
je 0x140004a43
cmp rdi, r10
jb case.0x140004528.2
movzx eax, cl
add rax, rdi
cmp rax, r9
ja case.0x140004528.2
test cl, cl
je 0x1400049ed
lea eax, [rcx - 1]
sar eax, 1
add eax, 2
cdqe
add rax, rbx
cmp rax, r12
jae case.0x140004528.2
xor edx, edx
test ecx, ecx
jle 0x140004a2d
mov r9, rdi
test dl, 1
je 0x140004a0a
movsxd rax, edx
sar rax, 1
mov cl, byte [rax + rbx + 2]
and ecx, 0xf
jmp 0x140004a18
movsxd rax, edx
sar rax, 1
movzx ecx, byte [rax + rbx + 2]
shr ecx, 4
mov byte [r9], cl
movzx eax, byte [r8]
inc edx
inc r9
cmp edx, eax
jl 0x1400049f6
mov r9, qword [rsp + 0x40]
movzx eax, byte [r8]
add rdi, rax
shr eax, 1
inc eax
cdqe
and rax, 0xfffffffffffffffe
add rbx, rax
jmp 0x140004abe
lea rax, [rbx + 3]
cmp rax, r12
jae case.0x140004528.2
movzx ecx, byte [rax]
movzx eax, byte [rbx + 2]
add rbx, 2
imul rcx, r11
add rax, rdi
lea rdi, [rax + rcx]
jmp 0x140004abe
mov rsi, r9
jmp 0x140004abe
add rsi, r11
mov rdi, rsi
jmp 0x140004abe
cmp rdi, r10
jb case.0x140004528.2
movzx eax, dl
add rax, rdi
cmp rax, r9
ja case.0x140004528.2
xor ecx, ecx
test dl, dl
je 0x140004ab8
mov rdx, rdi
test cl, 1
je 0x140004aa3
mov al, byte [r8]
and eax, 0xf
jmp 0x140004aaa
movzx eax, byte [r8]
shr eax, 4
mov byte [rdx], al
movzx eax, byte [rbx]
inc ecx
inc rdx
cmp ecx, eax
jl 0x140004a96
movzx eax, byte [rbx]
add rdi, rax
mov rcx, qword [rsp + 0x48]
add rbx, 2
cmp rsi, r10
jae 0x140004973
xor eax, eax
jmp 0x140004139
cmp eax, 1
jne 0x140004c0c
cmp rdi, r10
jb 0x1400048d2
nop
nop
cmp rsi, r9
jae 0x1400048d2
cmp rbx, rcx
jb case.0x140004528.2
lea rbp, [rbx + 1]
cmp rbp, r12
jae case.0x140004528.2
movzx eax, byte [rbx]
test al, al
jne 0x140004bb7
movzx edx, byte [rbp]
test edx, edx
mov ecx, edx
je 0x140004baf
dec ecx
je 0x140004baa
dec ecx
je 0x140004b85
cmp rdi, r10
jb case.0x140004528.2
movzx r8d, dl
lea rax, [r8 + rdi]
cmp rax, r9
ja case.0x140004528.2
lea rax, [r8 + rbx + 2]
cmp rax, r12
ja case.0x140004528.2
lea rdx, [rbx + 2]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movzx r11d, byte [rbp]
mov r9, qword [rsp + 0x40]
mov r10, qword [rsp + 0x58]
add rdi, r11
inc r11d
movsxd rax, r11d
and rax, 0xfffffffffffffffe
add rbx, rax
jmp 0x140004bee
lea rax, [rbx + 3]
cmp rax, r12
jae case.0x140004528.2
movzx ecx, byte [rax]
movzx eax, byte [rbx + 2]
add rbx, 2
imul rcx, r11
add rax, rdi
lea rdi, [rax + rcx]
jmp 0x140004bee
mov rsi, r9
jmp 0x140004bee
add rsi, r11
mov rdi, rsi
jmp 0x140004bee
cmp rdi, r10
jb case.0x140004528.2
movzx r8d, al
lea rax, [r8 + rdi]
cmp rax, r9
ja case.0x140004528.2
movzx edx, byte [rbp]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
movzx r11d, byte [rbx]
mov r9, qword [rsp + 0x40]
mov r10, qword [rsp + 0x58]
add rdi, r11
mov rcx, qword [rsp + 0x48]
mov r11, qword [rsp + 0x38]
add rbx, 2
cmp rsi, r10
jae 0x140004af0
xor eax, eax
jmp 0x140004139
mov ax, word [rdx + 0xe]
cmp ax, 1
jne 0x140004c79
cmp rdi, r10
jb 0x140004c72
mov rax, qword [rsp + 0x60]
cmp rdi, r9
jae 0x140004c72
xor r8d, r8d
test r15, r15
je 0x140004c67
xor edx, edx
mov r9, rdi
shr rdx, 3
movzx eax, r8b
inc r8d
and al, 7
mov ecx, 7
inc r9
sub cl, al
movzx eax, byte [rdx + rbx]
mov edx, r8d
shr al, cl
and al, 1
cmp rdx, r15
mov byte [r9 - 1], al
jb 0x140004c32
mov r9, qword [rsp + 0x40]
mov rax, qword [rsp + 0x60]
add rdi, r11
add rbx, rax
cmp rdi, r10
jae 0x140004c20
xor eax, eax
jmp 0x140004139
cmp ax, 4
jne 0x140004ce1
cmp rdi, r10
jb 0x140004cda
mov rax, qword [rsp + 0x60]
nop
nop
cmp rdi, r9
jae 0x140004cda
xor edx, edx
test r15, r15
je 0x140004ccf
xor eax, eax
mov r8, rdi
test dl, 1
je 0x140004cb1
shr rax, 1
mov cl, byte [rax + rbx]
and ecx, 0xf
jmp 0x140004cbb
shr rax, 1
movzx ecx, byte [rax + rbx]
shr ecx, 4
inc edx
mov byte [r8], cl
inc r8
mov eax, edx
cmp rax, r15
jb 0x140004ca1
mov rax, qword [rsp + 0x60]
add rdi, r11
add rbx, rax
cmp rdi, r10
jae 0x140004c90
xor eax, eax
jmp 0x140004139
cmp ebp, 0x74
je 0x140004d1f
cmp rdi, r10
jb 0x140004d18
mov rsi, qword [rsp + 0x38]
mov r14, r10
cmp rdi, r9
jae 0x140004d18
mov r8, r13
mov rdx, rbx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
add rbx, qword [rsp + 0x60]
mov r9, qword [rsp + 0x40]
add rdi, rsi
cmp rdi, r14
jae 0x140004cf3
xor eax, eax
jmp 0x140004139
mov r9d, dword [rsp + 0x30]
mov r10d, dword [rsp + 0x2c]
mov r11d, dword [rsp + 0x28]
movss xmm2, dword [0x14014378c]
mov dword [rsp + 0x48], r9d
mov dword [rsp + 0x4c], r10d
mov dword [rsp + 0x50], r11d
mov dword [rsp + 0x54], r14d
xor ecx, ecx
mov r8d, 4
nop
nop
nop
nop
mov eax, dword [rsp + rcx + 0x48]
mov dword [rsp + rcx + 0xa0], 0
test eax, eax
je 0x140004dae
and eax, 1
test al, al
jne 0x140004d98
xor edx, edx
nop
shr dword [rsp + rcx + 0x48], 1
mov eax, dword [rsp + rcx + 0x48]
inc edx
and eax, 1
test al, al
je 0x140004d80
mov dword [rsp + rcx + 0xa0], edx
mov eax, dword [rsp + rcx + 0x48]
movaps xmm1, xmm2
cvtsi2ss xmm0, rax
divss xmm1, xmm0
movss dword [rsp + rcx + 0x68], xmm1
add rcx, 4
dec r8
jne 0x140004d60
test r9d, r9d
jne 0x140004df3
test r10d, r10d
jne 0x140004df3
test r11d, r11d
jne 0x140004df3
xorps xmm0, xmm0
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x4c], 1
movss dword [rsp + 0x70], xmm0
movss dword [rsp + 0x6c], xmm0
movss dword [rsp + 0x68], xmm0
mov dword [rsp + 0x48], 1
mov r14, qword [rsp + 0x58]
cmp rdi, r14
jb 0x140004ef1
mov r9d, dword [rsp + 0x28]
mov r12, qword [rsp + 0x40]
mov r13, qword [rsp + 0x20]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
nop
nop
cmp rdi, r12
jae 0x140004ef1
xor ebp, ebp
test r15, r15
mov rsi, rdi
mov r10, rbx
je 0x140004ee2
nop
nop
movzx eax, word [r13 + 0xe]
cmp eax, 0x10
je 0x140004e7f
cmp eax, 0x18
je 0x140004e5d
cmp eax, 0x20
jne 0x140004e87
mov r9d, dword [r10]
add r10, 4
jmp 0x140004e87
movzx eax, byte [r10 + 1]
movzx r9d, byte [r10 + 2]
shl r9d, 8
or r9d, eax
movzx eax, byte [r10]
shl r9d, 8
or r9d, eax
add r10, 3
jmp 0x140004e87
movzx r9d, word [r10]
add r10, 2
xor edx, edx
mov r11d, 4
nop
mov r8d, dword [rsp + rdx + 0x48]
test r8d, r8d
je 0x140004eb6
mov ecx, dword [rsp + rdx + 0xa0]
mov eax, r9d
shr eax, cl
and eax, r8d
cvtsi2ss xmm0, rax
mulss xmm0, dword [rsp + rdx + 0x68]
jmp 0x140004eb9
movaps xmm0, xmm2
movss dword [rdx + rsi], xmm0
add rdx, 4
dec r11
jne 0x140004e90
inc ebp
add rsi, 0x10
mov eax, ebp
cmp rax, r15
jb 0x140004e40
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
add rdi, rax
add rbx, rcx
cmp rdi, r14
jae 0x140004e20
xor eax, eax
jmp 0x140004139