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

Disassembly:
mov qword [rsp + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xb18
mov edi, dword [rcx + 0x14]
mov r13, qword [rsp + 0xb80]
xor r15d, r15d
cmp dword [rcx + 8], 0x3f
lea rax, [rdx + 2]
mov rbx, rdx
mov edx, dword [rcx + 4]
mov qword [rsp + 0x150], rax
mov eax, dword [rcx]
mov dword [rsp + 0xb78], eax
mov dword [rsp + 0x58], edx
mov eax, r15d
sete al
mov edx, r15d
mov esi, edi
mov dword [rsp + 0x44], eax
mov al, byte [rcx + 8]
lea r14d, [r15 + 1]
cmp al, 0x74
lea rcx, [rsp + 0x60]
mov r12, r9
sete dl
cmp al, 0x73
mov eax, edi
mov dword [rsp + 0x68], edx
mov edx, r15d
sete dl
and eax, 2
mov dword [rsp + 0x70], edx
lea edx, [r15 + 0x3b]
and esi, r14d
mov qword [rsp + 0x88], r9
mov rbp, r8
mov qword [rsp + 0x78], r8
mov qword [rsp + 0x98], r9
mov dword [rsp + 0xb68], r15d
mov dword [rsp + 0xa0], esi
mov dword [rsp + 0x48], eax
and edi, 4
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x30], r15
call fcn.140044d9c
mov rcx, qword [rsp + 0x60]
cmp word [rcx], r15w
je 0x140046b7b
mov word [rcx], r15w
mov rcx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0xb70]
add rcx, 2
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x60], rcx
cmp word [rbp], r15w
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x30]
setne byte [rsp + 0xb60]
call fcn.140044d9c
mov rcx, qword [rsp + 0x30]
cmp word [rcx], r15w
je 0x140046bc1
mov word [rcx], r15w
mov rcx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0xb70]
add rcx, 2
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x30], rcx
mov eax, 0x2a
cmp ax, word [rcx]
jne 0x140046bd7
or edi, r14d
add rcx, 2
mov qword [rsp + 0x30], rcx
mov eax, 0x7e
or edx, 0xffffffff
mov dword [rsp + 0x3c], r14d
mov dword [rsp + 0x38], r14d
cmp ax, word [r13]
jne 0x140046c00
add r13, 2
mov dword [rsp + 0x3c], edx
mov qword [rsp + 0xb80], r13
cmp ax, word [rcx]
jne 0x140046c12
add rcx, 2
mov dword [rsp + 0x38], edx
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x178]
call fcn.140044b8c
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x198], r15d
mov dword [rsp + 0x19c], r15d
mov dword [rsp + 0x1a0], r14d
mov dword [rsp + 0x170], r15d
call fcn.140055fcc
lea rcx, [rsp + 0xb0]
call fcn.140055fcc
lea rcx, [rsp + 0x128]
mov qword [rsp + 0xb8], r15
mov qword [rsp + 0xc0], r15
call fcn.140055fcc
mov rcx, r12
mov qword [rsp + 0x130], r15
mov qword [rsp + 0x138], r15
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r14, eax
lea rcx, [rsp + 0x90]
mov rdx, r12
mov qword [rsp + 0x50], r14
call fcn.14006016c
lea rdx, [r14 + 0xa]
lea rcx, [rsp + 0x90]
call fcn.1400560cc
mov r12, qword [rsp + 0x90]
lea rcx, [rsp + 0x170]
mov word [r12 + r14*2 + 6], r15w
mov word [r12 + r14*2 + 4], r15w
mov word [r12 + r14*2 + 2], r15w
mov r8d, esi
mov rdx, rbx
mov qword [rsp + 0x80], r15
mov qword [rsp + 0x140], r12
mov qword [rsp + 0xa8], r12
mov r15, r12
call fcn.140046698
xor ecx, ecx
cmp eax, ecx
jne 0x1400478c9
mov dword [rsp + 0x40], ecx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rsi, qword [rsp + 0x20]
xor edx, edx
cdqe
mov r13d, edx
mov r14d, edx
mov qword [rsp + 0x148], rax
lea eax, [rdx + 0x5c]
mov qword [rsp + 0x28], rsi
cmp ax, word [rbp]
jne 0x140046d70
movzx eax, word [rbp + 2]
lea ecx, [rdx + 0x75]
or ax, 0x20
cmp cx, ax
jne 0x140046d55
cmp word [rbp + 4], dx
jne 0x140046d55
lea r13d, [rdx + 1]
jmp 0x140046d69
mov ecx, 0x6c
cmp cx, ax
jne 0x140046d70
cmp word [rbp + 4], dx
jne 0x140046d70
lea r14d, [rcx - 0x6b]
mov ebp, 1
jmp 0x140046d72
mov ebp, edx
mov eax, 0x400
cmp dword [rsp + 0x68], edx
jne 0x140046d8b
cmp dword [rsp + 0x70], edx
jne 0x140046d8b
cmp ebp, edx
je 0x140046e2f
cmp qword [rsp + 0x50], rdx
jl 0x140046db9
add eax, 8
lea rcx, [rsp + 0x20]
movsxd rdx, eax
call fcn.1400560cc
mov rsi, qword [rsp + 0x20]
mov eax, 0x400
cdqe
xor edx, edx
lea rax, [rsi + rax*2]
mov qword [rsp + 0x28], rax
cmp ebp, edx
je 0x140046e2f
lea r15, [0x1400e94a4]
cmp r13d, edx
je 0x140046df8
xor r13d, r13d
jmp 0x140046def
movzx ecx, word [r12]
add r12, 2
lea eax, [rcx - 0x61]
cmp ax, 0x19
ja 0x140046de8
mov eax, 0xffdf
and cx, ax
mov word [rsi], cx
add rsi, 2
cmp word [r12], r13w
jne 0x140046dce
jmp 0x140046e26
xor r13d, r13d
cmp r14d, r13d
je 0x140046e26
jmp 0x140046e1f
movzx ecx, word [r12]
add r12, 2
lea eax, [rcx - 0x41]
cmp ax, 0x19
ja 0x140046e18
or cx, 0x20
mov word [rsi], cx
add rsi, 2
cmp word [r12], r13w
jne 0x140046e02
mov word [rsi], r13w
jmp 0x1400477bb
xor r13d, r13d
lea rcx, [rsp + 0xf8]
mov qword [rsp + 0xe8], r13
mov qword [rsp + 0xf0], r13
call fcn.140044b8c
lea rcx, [rsp + 0xf8]
or r8d, 0xffffffff
mov edx, 0x100
mov dword [rsp + 0xd0], r13d
mov qword [rsp + 0x118], r13
call fcn.140044fcc
mov qword [rsp + 0xd8], r13
mov qword [rsp + 0xe0], r13
cmp dword [rsp + 0x70], r13d
je 0x14004717e
mov qword [rsp + 0xb60], rbx
mov edi, r13d
mov r9, r13
lea edx, [r13 + 0xa]
cmp word [rbx], r13w
je 0x140046f2e
lea r11, [rsp + 0x7f0]
mov r10, r13
lea r15, [0x1400e94a4]
cmp r10, 0x190
jge 0x140046f2e
lea rcx, [rsp + 0xb60]
mov qword [r11], rbx
mov qword [rsp + 0x4d0], r15
mov dword [rsp + r10 + 0x340], r13d
call fcn.140044d9c
mov rbx, qword [rsp + 0xb60]
mov rax, rbx
sub rax, qword [r11]
sar rax, 1
mov dword [rsp + r10 + 0x1b0], eax
cmp word [rbx], r13w
je 0x140046f1e
mov word [rbx], r13w
mov rbx, qword [rsp + 0xb60]
add rbx, 2
mov qword [rsp + 0xb60], rbx
inc edi
add r11, 8
add r10, 4
cmp word [rbx], r13w
jne 0x140046ebe
mov rcx, qword [rsp + 0xb70]
movsxd r14, edi
mov qword [rsp + 0xb60], rcx
jmp 0x140046f9c
cmp r9, r14
jge 0x140046fa2
mov qword [rsp + r9*8 + 0x4d0], rcx
lea rcx, [rsp + 0xb60]
call fcn.140044d9c
mov rcx, qword [rsp + 0xb60]
mov rax, rcx
sub rax, qword [rsp + r9*8 + 0x4d0]
sar rax, 1
mov dword [rsp + r9*4 + 0x340], eax
cmp word [rcx], r13w
je 0x140046f99
mov word [rcx], r13w
mov rcx, qword [rsp + 0xb60]
add rcx, 2
mov qword [rsp + 0xb60], rcx
inc r9
cmp word [rcx], r13w
jne 0x140046f43
cmp edi, r13d
jle 0x140047130
cmp word [r12], r13w
je 0x140047130
movsxd r15, dword [rsp + 0xa0]
mov rdi, qword [rsp + 0x28]
cmp r14, r13
mov rbp, r13
jle 0x140047003
mov r8d, dword [rsp + rbp*4 + 0x1b0]
cmp r8d, r13d
jle 0x140046ffb
mov rcx, qword [rsp + rbp*8 + 0x7f0]
mov rdx, r12
cmp r15, r13
je 0x140046ff0
call qword [sym.imp.SHLWAPI.dll_StrCmpNW]
jmp 0x140046ff6
call qword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp eax, r13d
je 0x140047077
inc rbp
cmp rbp, r14
jl 0x140046fcb
mov rax, rdi
sub rax, rsi
and rax, 0xfffffffffffffffe
cmp rax, 2
jg 0x140047057
sub rsi, qword [rsp + 0x20]
mov eax, 0x400
lea rcx, [rsp + 0x20]
lea rdi, [rsi + 2]
mov rbx, rsi
sar rdi, 1
sar rbx, 1
add edi, eax
lea eax, [rdi + 8]
movsxd rdx, eax
call fcn.1400560cc
mov rax, qword [rsp + 0x20]
movsxd rcx, edi
movsxd r11, ebx
lea rsi, [rax + r11*2]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x28], rax
mov rdi, rax
movzx eax, word [r12]
mov word [rsi], ax
add rsi, 2
add r12, 2
cmp word [r12], r13w
jne 0x140046fc3
jmp 0x140047130
movsxd r13, dword [rsp + rbp*4 + 0x340]
xor ecx, ecx
cmp r13d, ecx
jle 0x140047104
mov rdx, rdi
lea eax, [r13 + 1]
sub rdx, rsi
movsxd rcx, eax
sar rdx, 1
cmp rcx, rdx
jl 0x1400470e8
mov eax, 0x400
lea rbx, [r13 + r13 + 2]
mov rdi, rsi
sub rbx, qword [rsp + 0x20]
sub rdi, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
add rbx, rsi
sar rdi, 1
sar rbx, 1
add ebx, eax
lea eax, [rbx + 8]
movsxd rdx, eax
call fcn.1400560cc
mov rax, qword [rsp + 0x20]
movsxd r11, edi
movsxd rcx, ebx
lea rsi, [rax + r11*2]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x28], rax
mov rdi, rax
mov rdx, qword [rsp + rbp*8 + 0x4d0]
mov rbx, r13
mov rcx, rsi
add rbx, rbx
mov r8, rbx
call fcn.14001a4c0
add rsi, rbx
movsxd rax, dword [rsp + rbp*4 + 0x1b0]
lea r12, [r12 + rax*2]
mov eax, dword [rsp + 0xb78]
cmp eax, 1
je 0x14004712d
dec eax
xor r13d, r13d
mov dword [rsp + 0xb78], eax
jmp 0x140047067
xor r13d, r13d
mov rax, qword [rsp + 0x28]
sub rax, rsi
and rax, 0xfffffffffffffffe
cmp rax, 2
jg 0x140047172
sub rsi, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
lea rax, [rsi + 2]
mov rbx, rsi
sar rax, 1
sar rbx, 1
add eax, 0x408
movsxd rdx, eax
call fcn.1400560cc
mov rax, qword [rsp + 0x20]
movsxd r11, ebx
lea rsi, [rax + r11*2]
mov word [rsi], r13w
mov r15, r12
jmp 0x140047794
cmp word [r12], r13w
je 0x140047794
movsxd r13, dword [rsp + 0x44]
movsxd r14, dword [rsp + 0x3c]
movsxd rax, ebp
movsxd rbp, dword [rsp + 0x48]
mov qword [rsp + 0xa0], rax
movsxd rax, edi
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x158], r13
mov qword [rsp + 0x168], r14
mov qword [rsp + 0x160], rbp
mov rbx, r12
lea r9, [rsp + 0x80]
lea r8, [rsp + 0xd0]
lea rcx, [rsp + 0x170]
mov rdx, rbx
call fcn.140045170
xor r9d, r9d
mov dword [rsp + 0x40], eax
cmp eax, r9d
je 0x140047791
mov rdi, qword [rsp + 0x80]
cmp rbx, rdi
je 0x140047791
sub dword [rsp + 0x58], 1
js 0x140047219
mov rbx, rdi
jmp 0x140047787
cmp r13, r9
jne 0x140047640
mov rax, qword [rsp + 0xe0]
mov rcx, qword [rsp + 0xd8]
mov r14, qword [rsp + 0x78]
sub rax, qword [rsp + 0xd8]
sub rcx, r15
sar rax, 1
sar rcx, 1
cmp ecx, r9d
mov qword [rsp + 0x70], rax
movsxd rax, ecx
lea rbp, [rax + rax]
lea r13, [r15 + rbp]
jle 0x1400472d9
mov rdx, qword [rsp + 0x28]
lea eax, [rcx + 1]
sub rdx, rsi
movsxd rcx, eax
sar rdx, 1
cmp rcx, rdx
jl 0x1400472bd
mov rax, rbp
mov rdi, rsi
lea rcx, [rsp + 0x20]
sub rax, qword [rsp + 0x20]
sub rdi, qword [rsp + 0x20]
lea rbx, [rax + rsi + 2]
mov eax, 0x400
sar rdi, 1
sar rbx, 1
add ebx, eax
lea eax, [rbx + 8]
movsxd rdx, eax
call fcn.1400560cc
mov rax, qword [rsp + 0x20]
movsxd r11, edi
movsxd rcx, ebx
lea rsi, [rax + r11*2]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x28], rax
mov r8, rbp
mov rdx, r15
mov rcx, rsi
call fcn.14001a4c0
mov rdi, qword [rsp + 0x80]
add rsi, rbp
xor r9d, r9d
cmp qword [rsp + 0xa0], r9
je 0x14004734f
mov rax, rdi
mov rdi, qword [rsp + 0x28]
sub rax, r13
sar rax, 1
movsxd rbx, eax
mov rax, rdi
sub rax, rsi
sar rax, 1
cmp rbx, rax
jl 0x140047354
add rbx, rbx
mov eax, 0x400
mov rdi, rsi
sub rbx, qword [rsp + 0x20]
sub rdi, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
add rbx, rsi
sar rdi, 1
sar rbx, 1
add ebx, eax
lea eax, [rbx + 8]
movsxd rdx, eax
call fcn.1400560cc
mov rax, qword [rsp + 0x20]
movsxd r11, edi
movsxd rcx, ebx
xor r9d, r9d
lea rsi, [rax + r11*2]
lea rdi, [rax + rcx*2]
mov qword [rsp + 0x28], rdi
jmp 0x140047359
mov rdi, qword [rsp + 0x28]
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rsp + 0x68]
cmp rcx, r9
je 0x1400473b5
mov r8, qword [rsp + 0x150]
mov rcx, r8
movzx edx, word [r8]
jmp 0x140047382
cmp dx, word [r13]
je 0x14004738a
add rcx, 2
mov dx, word [rcx]
cmp dx, r9w
jne 0x140047374
jmp 0x1400473b5
sub rcx, r8
sar rcx, 1
movsxd rdx, ecx
cmp rdx, qword [rsp + 0x148]
jge 0x1400473b5
mov rax, qword [rsp + 0xb70]
movzx ecx, word [rax + rdx*2]
mov word [rsi], cx
mov rax, qword [rsp + 0x20]
add rsi, 2
mov rcx, r14
cmp word [rcx], r9w
je 0x140047610
mov r15, qword [rsp + 0x70]
mov ebp, 0x5c
cmp bp, word [r14]
je 0x140047438
mov rcx, rdi
sub rcx, rsi
and rcx, 0xfffffffffffffffe
cmp rcx, 4
jg 0x140047424
sub rsi, rax
mov eax, 0x400
lea rcx, [rsp + 0x20]
lea rdi, [rsi + 4]
mov rbx, rsi
sar rdi, 1
sar rbx, 1
add edi, eax
lea eax, [rdi + 8]
movsxd rdx, eax
call fcn.1400560cc
mov rax, qword [rsp + 0x20]
movsxd rcx, edi
lea rdi, [rax + rcx*2]
movsxd r11, ebx
xor r9d, r9d
mov qword [rsp + 0x28], rdi
lea rsi, [rax + r11*2]
movzx eax, word [r14]
mov word [rsi], ax
add rsi, 2
add r14, 2
jmp 0x140047601
cmp word [r14 + 2], bp
jne 0x1400474a1
mov rcx, rdi
sub rcx, rsi
and rcx, 0xfffffffffffffffe
cmp rcx, 4
jg 0x140047491
sub rsi, rax
mov eax, 0x400
lea rcx, [rsp + 0x20]
lea rdi, [rsi + 4]
mov rbx, rsi
sar rdi, 1
sar rbx, 1
add edi, eax
lea eax, [rdi + 8]
movsxd rdx, eax
call fcn.1400560cc
mov rax, qword [rsp + 0x20]
movsxd rcx, edi
lea rdi, [rax + rcx*2]
movsxd r11, ebx
xor r9d, r9d
mov qword [rsp + 0x28], rdi
lea rsi, [rax + r11*2]
mov word [rsi], bp
add rsi, 2
add r14, 4
jmp 0x140047601
movzx ecx, word [r14 + 2]
mov r10d, 0x30
sub cx, r10w
cmp cx, 9
ja 0x140047606
movzx edx, word [r14 + 2]
lea r8d, [r10 - 0x2f]
sub edx, r10d
add r14, 4
movzx ecx, word [r14]
sub cx, r10w
cmp cx, 9
ja 0x1400474ed
movzx ecx, word [r14]
lea edx, [rdx + rdx*4]
add r14, 2
sub r8d, 1
lea edx, [rcx + rdx*2 - 0x30]
jns 0x1400474ca
cmp edx, r9d
jne 0x140047556
mov rcx, rdi
movsxd rbp, r15d
sub rcx, rsi
sar rcx, 1
cmp rbp, rcx
jl 0x140047549
lea rbx, [rbp + rbp]
mov rdi, rsi
lea rcx, [rsp + 0x20]
sub rbx, rax
sub rdi, rax
mov eax, 0x400
add rbx, rsi
sar rdi, 1
sar rbx, 1
add ebx, eax
lea eax, [rbx + 8]
movsxd rdx, eax
call fcn.1400560cc
mov rax, qword [rsp + 0x20]
movsxd r11, edi
movsxd rcx, ebx
lea rsi, [rax + r11*2]
lea rdi, [rax + rcx*2]
mov qword [rsp + 0x28], rdi
mov rdx, qword [rsp + 0xd8]
jmp 0x1400475e6
cmp edx, dword [rsp + 0xd0]
ja 0x140047606
dec edx
cmp edx, dword [rsp + 0xd0]
jae 0x140047882
mov rcx, qword [rsp + 0xf0]
add rdx, rdx
mov r13, qword [rcx + rdx*8]
mov r8, qword [rcx + rdx*8 + 8]
mov rcx, rdi
sub r8, r13
sub rcx, rsi
sar r8, 1
sar rcx, 1
movsxd rbp, r8d
cmp rbp, rcx
jl 0x1400475e3
lea rbx, [rbp + rbp]
mov rdi, rsi
lea rcx, [rsp + 0x20]
sub rbx, rax
sub rdi, rax
mov eax, 0x400
add rbx, rsi
sar rdi, 1
sar rbx, 1
add ebx, eax
lea eax, [rbx + 8]
movsxd rdx, eax
call fcn.1400560cc
mov rax, qword [rsp + 0x20]
movsxd r11, edi
movsxd rcx, ebx
lea rsi, [rax + r11*2]
lea rdi, [rax + rcx*2]
mov qword [rsp + 0x28], rdi
mov rdx, r13
lea rbx, [rbp + rbp]
mov rcx, rsi
mov r8, rbx
call fcn.14001a4c0
add rsi, rbx
xor r9d, r9d
mov ebp, 0x5c
mov rax, qword [rsp + 0x20]
cmp word [r14], r9w
jne 0x1400473cc
inc dword [rsp + 0xb68]
mov rdi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x160]
mov r13, qword [rsp + 0x158]
mov r14, qword [rsp + 0x168]
mov word [rsi], r9w
jmp 0x14004776c
mov r10, qword [rsp + 0xd8]
mov r11, qword [rsp + 0xe0]
mov qword [rsp + 0x88], r10
mov qword [rsp + 0x98], r11
cmp rbp, r9
je 0x1400476cc
mov r9, qword [rsp + 0xb70]
lea rcx, [rsp + 0xb70]
mov edx, 0x3b
call fcn.140044d9c
mov rcx, qword [rsp + 0xb70]
xor eax, eax
cmp word [rcx], ax
je 0x14004769a
mov word [rcx], ax
add qword [rsp + 0xb70], 2
movzx ebx, word [r11]
mov rcx, qword [rsp + 0xb88]
mov r8, r10
mov rdx, r9
mov word [r11], ax
call fcn.140055710
mov r11, qword [rsp + 0x98]
mov r10, qword [rsp + 0x88]
mov word [r11], bx
xor r9d, r9d
inc dword [rsp + 0xb68]
lea rax, [r10 + 2]
mov rbx, rax
mov qword [rsp + 0xa8], rax
sub rbx, r12
sar rbx, 1
cmp qword [rsp + 0x120], r9
je 0x14004774f
mov rax, qword [rsp + 0x30]
mov r15, qword [rsp + 0x50]
cmp word [rax], r9w
je 0x140047727
mov r8d, dword [rsp + 0x38]
mov r9d, r15d
mov edx, ebx
mov rcx, r12
call fcn.140053b58
lea rcx, [rsp + 0x128]
movsxd rdx, eax
call fcn.14005da10
xor r9d, r9d
cmp r14, r9
jg 0x14004773a
cmp rbx, r9
jle 0x14004773a
lea rdx, [r15 + 1]
sub rdx, rbx
jmp 0x14004773d
mov rdx, rbx
lea rcx, [rsp + 0xb0]
call fcn.14005da10
xor r9d, r9d
jmp 0x14004776c
mov rax, qword [rsp + 0xb70]
cmp word [rax], r9w
je 0x140047762
cmp rbp, r9
jne 0x14004776c
cmp byte [rsp + 0xb60], r9b
jne 0x140047791
mov eax, dword [rsp + 0xb78]
mov rbx, rdi
mov r15, rdi
cmp eax, 1
je 0x140047791
dec eax
mov dword [rsp + 0xb78], eax
cmp word [rdi], r9w
jne 0x1400471c9
xor r13d, r13d
lea rcx, [rsp + 0xf8]
call fcn.140044d84
mov rcx, qword [rsp + 0xf0]
call fcn.1400cebe0
mov rcx, qword [rsp + 0xe8]
call fcn.1400cebe0
cmp dword [rsp + 0x44], r13d
je 0x1400478b4
cmp dword [rsp + 0x48], r13d
jne 0x140047804
mov rax, qword [rsp + 0xb70]
cmp word [rax], r13w
je 0x140047804
mov rax, qword [rsp + 0x98]
mov r8, qword [rsp + 0x88]
mov rcx, qword [rsp + 0xb88]
mov word [rax], r13w
mov rdx, qword [rsp + 0xb70]
call fcn.140055710
mov rax, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x140]
mov r8, qword [rsp + 0xb0]
sub rax, rcx
sar rax, 1
movsxd rbx, eax
cmp word [r8], r13w
jne 0x14004798b
mov r8, qword [rsp + 0x30]
cmp word [r8], r13w
je 0x140047869
cmp dword [rsp + 0x40], r13d
mov eax, r13d
jle 0x14004785a
mov r9d, dword [rsp + 0x50]
mov r8d, dword [rsp + 0x38]
mov edx, ebx
call fcn.140053b58
mov r8, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb88]
mov edx, eax
call fcn.140058f7c
cmp dword [rsp + 0x3c], r13d
jg 0x14004788d
cmp rbx, r13
jle 0x14004788d
mov rdi, qword [rsp + 0x50]
inc rdi
sub rdi, rbx
jmp 0x140047890
mov ecx, 0x80004005
call fcn.140044b60
int3
mov rdi, rbx
lea rcx, [rsp + 0x20]
mov edx, 0x3c
call fcn.1400560cc
lea rdx, [0x1400e9b70]
mov r8, rdi
mov rcx, rax
call qword [sym.imp.USER32.dll_wsprintfW]
jmp 0x1400478c1
lea rcx, [rsp + 0x20]
mov rdx, r15
call fcn.140056108
mov r13, qword [rsp + 0xb80]
mov r8, qword [rsp + 0xb0]
xor ebx, ebx
cmp word [r8], bx
jne 0x14004798d
mov r8, qword [rsp + 0x20]
mov rdx, r13
mov rcx, qword [rsp + 0xb88]
call fcn.140055710
mov r8, qword [rsp + 0x60]
cmp word [r8], bx
je 0x140047911
mov edx, dword [rsp + 0xb68]
mov rcx, qword [rsp + 0xb88]
call fcn.140058f7c
mov r8, qword [rsp + 0x128]
cmp word [r8], bx
je 0x140047931
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb88]
call fcn.140055710
mov rbx, qword [rsp + 0x20]
lea rcx, [rsp + 0x90]
call fcn.14004ea6c
lea rcx, [rsp + 0x128]
call fcn.14004ea6c
lea rcx, [rsp + 0xb0]
call fcn.14004ea6c
lea rcx, [rsp + 0x20]
call fcn.14004ea6c
lea rcx, [rsp + 0x178]
call fcn.140044d84
mov rax, rbx
add rsp, 0xb18
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
xor ebx, ebx
mov rdx, qword [rsp + 0xb80]
jmp 0x1400478e5