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

Disassembly:
mov rax, rsp
mov dword [rax + 0x20], r9d
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0xf0
mov rbp, qword [rcx]
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov qword [rax - 0x38], r14
mov qword [rax - 0x40], r15
xor eax, eax
cmp dword [rsp + reloc.mfc120u.dll_Ordinal_320], eax
mov r13, rdx
mov r12, rcx
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x90], eax
setne byte [rsp + 0x50]
mov byte [rsp + 0x51], al
mov dword [rsp + 0x98], 0xffffffff
mov qword [rsp + 0xa0], rbp
call fcn.140050be0
test byte [r13 + 0x48], 0x20
movsx rcx, word [r13 + 0x42]
mov rdi, rax
mov eax, 1
jne 0x14004e120
xor r9d, r9d
mov qword [rsp + 0x88], r9
jmp 0x14004e152
mov rdx, qword [r13 + 0x10]
mov qword [rsp + 0x88], rdx
test rdx, rdx
je 0x14004e14b
mov eax, dword [rdx + 0x64]
and al, 3
cmp al, 2
je 0x14004e143
mov rdx, qword [rdx + 0x28]
test rdx, rdx
jne 0x14004e131
mov qword [rsp + 0x88], rdx
movzx eax, word [rdx + 0x5e]
xor r9d, r9d
mov r15, rcx
movzx ecx, byte [rsp + 0x150]
mov dword [rsp + 0x64], eax
mov qword [rsp + 0xe8], rbx
mov esi, r9d
mov edx, 2
test r15, r15
jle 0x14004e36a
mov r14, r9
nop dword [rax]
movsx eax, word [r13 + 0x40]
cmp esi, eax
je 0x14004e35b
mov rax, qword [r13 + 8]
movzx ebx, byte [rax + r14 + 0x28]
test ebx, ebx
je 0x14004e35b
cmp cl, 0xa
je 0x14004e23d
movzx ebx, cl
cmp ebx, 5
jne 0x14004e1b9
cmp qword [rax + r14 + 8], 0
cmove ebx, edx
mov ecx, ebx
dec ecx
je 0x14004e28b
dec ecx
je 0x14004e275
dec ecx
je 0x14004e28b
dec ecx
mov dword [rsp + 0x20], r9d
mov rcx, rdi
je 0x14004e24d
mov ebx, dword [rsp + 0x138]
xor r9d, r9d
add ebx, esi
lea edx, [r9 + 0x4d]
lea r8d, [rbx + 1]
call fcn.140068970
mov rdx, qword [r13 + 8]
lea r8d, [rbx + 1]
mov rdx, qword [rdx + r14 + 8]
mov rcx, r12
mov ebp, eax
call fcn.140047d40
mov edx, dword [rdi + 0x3c]
cmp edx, ebp
jbe 0x14004e229
mov rax, qword [rdi + 8]
lea rcx, [rbp*2]
add rcx, rbp
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
xor r9d, r9d
mov dword [rax + 0x64], ecx
jmp 0x14004e346
cmp ebx, 0xa
jne 0x14004e1ab
mov ebx, edx
jmp 0x14004e1b9
mov r8d, dword [rsp + 0x138]
mov r9d, dword [rsp + 0x158]
mov edx, 0x4c
inc r8d
add r8d, esi
call fcn.140068970
xor r9d, r9d
jmp 0x14004e34e
mov rax, qword [r12 + 0x1c0]
mov rcx, r12
test rax, rax
cmovne rcx, rax
mov byte [rcx + 0x21], 1
mov r9, qword [r13 + 8]
mov r8, qword [r13]
lea rdx, str._s._s
mov r9, qword [r9 + r14]
mov rcx, rbp
call fcn.140054b00
mov ecx, dword [rsp + 0x138]
mov r9d, ebx
inc ecx
mov edx, 0x17
mov r8d, 0x513
add ecx, esi
mov rbp, rax
mov dword [rsp + 0x20], ecx
mov rcx, rdi
call fcn.140068970
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x14004e322
cmp byte [rcx + 0x50], 0
jne 0x14004e322
test eax, eax
jns 0x14004e2e9
mov eax, dword [rdi + 0x3c]
dec eax
cdqe
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.140027190
xor r9d, r9d
mov qword [rbx + 0x10], r9
test rbp, rbp
jne 0x14004e318
mov qword [rbx + 0x10], r9
mov byte [rbx + 1], r9b
jmp 0x14004e330
mov qword [rbx + 0x10], rbp
mov byte [rbx + 1], 0xff
jmp 0x14004e330
mov r8, rbp
or edx, 0xffffffff
call fcn.140027190
xor r9d, r9d
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14004e346
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 1
mov rbp, qword [rsp + 0xa0]
movzx ecx, byte [rsp + 0x150]
mov edx, 2
inc esi
add r14, 0x30
dec r15
jne 0x14004e180
mov r13, qword [r13 + 0x30]
mov r15d, dword [rsp + 0x138]
test r13, r13
je 0x14004e5e9
test dword [rbp + 0x2c], 0x2000
jne 0x14004e5e9
lea eax, [r15 + 1]
movzx ebp, cl
mov dword [r12 + 0x68], eax
cmp cl, 0xa
jne 0x14004e39f
mov ebp, edx
cmp dword [r13], 0
mov r14d, r9d
mov dword [rsp + 0x54], r9d
jle 0x14004e5e9
mov r12, r9
nop word [rax + rax]
mov rsi, qword [rdi + 0x30]
movsxd rbx, dword [rsi + 0x78]
lea eax, [rbx + 1]
mov dword [rsi + 0x78], eax
lea eax, [rbx - 1]
test ebx, eax
jne 0x14004e3f9
mov rdx, qword [rsi + 0x80]
mov rcx, qword [rsi]
lea eax, [rbx*2 + 1]
movsxd r8, eax
shl r8, 2
call fcn.140044940
mov qword [rsi + 0x80], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x14004e40c
mov dword [rcx + rbx*4], 0xffffffff
mov rdx, qword [r13 + 8]
mov rsi, qword [rsp + 0x110]
or r15d, 0xffffffff
mov rdx, qword [rdx + r12]
sub r15d, ebx
mov r9d, InitCommonControls
mov r8d, r15d
mov rcx, rsi
call fcn.14004a960
cmp ebp, 4
jne 0x14004e491
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x14004e459
lea edx, [rbp - 3]
mov rcx, rdi
call fcn.140029ca0
test eax, eax
jne 0x14004e599
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
mov edx, dword [rsp + 0x158]
lea rcx, [rbx + rbx*2]
xor r9d, r9d
mov word [rax + rcx*8], InitCommonControls
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r9d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r9d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x14004e599
mov rax, qword [r13 + 8]
mov r14, qword [rax + r12 + 8]
test r14, r14
jne 0x14004e4aa
mov rax, qword [rsp + reloc.mfc120u.dll_Ordinal_280]
mov r14, qword [rax]
mov rbx, qword [rsi + 0x10]
cmp ebp, 5
mov eax, 2
cmove ebp, eax
test rbx, rbx
jne 0x14004e502
mov rcx, rsi
call fcn.140069280
mov rbx, rax
mov qword [rsi + 0x10], rax
test rax, rax
je 0x14004e4eb
xor eax, eax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x99
mov rcx, rbx
mov dword [rsp + 0x20], eax
call fcn.140068970
cmp qword [rsi + 0x1c0], 0
jne 0x14004e502
mov rax, qword [rsi]
test byte [rax + 0x4c], 8
jne 0x14004e502
mov byte [rsi + 0x23], 1
cmp ebp, 2
jne 0x14004e51c
mov rax, qword [rsi + 0x1c0]
mov rcx, rsi
test rax, rax
cmovne rcx, rax
mov byte [rcx + 0x21], 1
mov rax, qword [rbx + 0x30]
movsxd rsi, dword [rbx + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x14004e541
mov edx, 1
mov rcx, rbx
call fcn.140029ca0
test eax, eax
je 0x14004e541
mov esi, 1
jmp 0x14004e56e
inc dword [rbx + 0x3c]
mov rax, qword [rbx + 8]
lea rcx, [rsi + rsi*2]
xor edx, edx
mov word [rax + rcx*8], 0x18
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], Ordinal_280
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
xor r9d, r9d
mov r8, r14
mov edx, esi
mov rcx, rbx
call fcn.140068cc0
mov rdx, qword [rbx + 8]
mov r14d, dword [rsp + 0x54]
test rdx, rdx
je 0x14004e599
movsxd rax, dword [rbx + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 3
mov r8, qword [rdi + 0x30]
or eax, 0xffffffff
sub eax, r15d
js 0x14004e5ba
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14004e5ba
movsxd rcx, eax
mov eax, dword [rdi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rdi + 0x3c]
inc r14d
add r12, 0x28
dec eax
mov dword [rsp + 0x54], r14d
mov dword [r8 + 0x64], eax
cmp r14d, dword [r13]
jl 0x14004e3c0
mov r12, qword [rsp + 0x110]
mov r15d, dword [rsp + 0x138]
cmp byte [rsp + 0x148], 0
je 0x14004e9e1
cmp qword [rsp + 0x88], 0
jne 0x14004e9e1
mov rsi, qword [rdi + 0x30]
movsxd rbx, dword [rsi + 0x78]
lea eax, [rbx + 1]
mov dword [rsi + 0x78], eax
lea eax, [rbx - 1]
test ebx, eax
jne 0x14004e63f
mov rdx, qword [rsi + 0x80]
mov rcx, qword [rsi]
lea eax, [rbx*2 + 1]
movsxd r8, eax
shl r8, 2
call fcn.140044940
mov qword [rsi + 0x80], rax
mov rcx, qword [rsi + 0x80]
test rcx, rcx
je 0x14004e652
mov dword [rcx + rbx*4], 0xffffffff
mov r14, qword [rsp + reloc.mfc120u.dll_Ordinal_280]
movzx esi, byte [rsp + 0x150]
or ebp, 0xffffffff
sub ebp, ebx
movzx ebx, byte [r14 + 0x49]
cmp sil, 0xa
je 0x14004e678
movzx ebx, sil
jmp 0x14004e683
cmp ebx, 0xa
mov eax, 2
cmove ebx, eax
cmp byte [rsp + 0x50], 0
je 0x14004e6be
mov eax, dword [rsp + reloc.mfc120u.dll_Ordinal_320]
mov r9d, ebp
mov r8d, r15d
mov edx, 0x4f
mov rcx, rdi
mov dword [rsp + 0x20], eax
call fcn.140068970
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14004e6be
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x90
cmp ebx, 5
jne 0x14004e739
cmp sil, bl
je 0x14004e739
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x14004e739
movzx eax, byte [rcx + 0x62]
sub al, 3
cmp al, 1
jbe 0x14004e6e6
mov rcx, qword [rcx + 0x28]
test rcx, rcx
jne 0x14004e6d1
jmp 0x14004e739
movsxd rsi, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
mov dword [rsp + 0x70], esi
cmp dword [rax + 0x60], esi
jg 0x14004e713
mov r13d, 1
mov rcx, rdi
mov edx, r13d
call fcn.140029ca0
test eax, eax
je 0x14004e713
mov dword [rsp + 0x70], r13d
jmp 0x14004e739
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
lea rcx, [rsi + rsi*2]
xor edx, edx
mov word [rax + rcx*8], InitCommonControls
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], rdx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov rax, qword [rdi + 0x30]
movsxd rsi, dword [rdi + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x14004e757
mov edx, 1
mov rcx, rdi
call fcn.140029ca0
test eax, eax
jne 0x14004e78d
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
mov r13d, dword [rsp + reloc.mfc120u.dll_Ordinal_296]
lea rcx, [rsi + rsi*2]
xor r9d, r9d
mov word [rax + rcx*8], 0x46
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], ebp
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r9
jmp 0x14004e798
mov r13d, dword [rsp + reloc.mfc120u.dll_Ordinal_296]
xor r9d, r9d
test ebx, ebx
jle 0x14004e924
cmp ebx, 3
jle 0x14004e929
cmp ebx, 4
je 0x14004e906
cmp ebx, 5
jne 0x14004e924
mov rax, qword [rsp + 0xa0]
mov rsi, r9
test dword [rax + 0x2c], 0x40000
je 0x14004e823
mov rax, qword [r12]
mov ebx, r9d
mov r8, r9
test dword [rax + 0x2c], 0x800000
je 0x14004e7f3
mov rdx, r14
mov rcx, r12
call fcn.1400648c0
xor r9d, r9d
mov r8, rax
mov rdx, r8
test r8, r8
je 0x14004e815
nop dword [rax + rax]
cmp byte [rdx + 0x10], 0x6d
jne 0x14004e80c
movzx ecx, byte [rdx + 0x11]
or ebx, ecx
mov rdx, qword [rdx + 0x40]
test rdx, rdx
jne 0x14004e800
test ebx, ebx
mov rsi, r9
cmovne rsi, r8
test rsi, rsi
jne 0x14004e85f
mov rax, qword [r12]
test dword [rax + 0x2c], 0x80000
je 0x14004e8c1
mov rcx, qword [r14 + 0x70]
mov rdx, qword [r14]
lea r8, [rsp + 0xa8]
add rcx, 0x50
call fcn.1400244a0
test rax, rax
je 0x14004e858
cmp qword [rax + 0x10], 0
jne 0x14004e85f
cmp qword [r14 + 0x20], 0
je 0x14004e8be
mov rax, qword [r12 + 0x1c0]
mov r9d, dword [rsp + 0x130]
mov byte [rsp + 0x48], 1
mov byte [rsp + 0x40], 5
test rax, rax
mov byte [rsp + 0x38], 0
mov rcx, r12
mov r8, rsi
mov rdx, r14
cmovne rcx, rax
mov eax, 1
mov word [rsp + 0x30], ax
mov byte [rcx + 0x20], 1
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r9d
mov rcx, r12
mov r9d, r13d
call fcn.14004f8f0
mov r15d, 1
mov dword [rsp + 0x78], r15d
jmp 0x14004e93c
xor r9d, r9d
cmp qword [r14 + 0x10], 0
je 0x14004e8f9
mov rax, qword [r12 + 0x1c0]
mov qword [rsp + 0x20], r9
mov r9d, dword [rsp + 0x130]
test rax, rax
mov rcx, r12
mov r8d, r13d
cmovne rcx, rax
mov rdx, r14
mov byte [rcx + 0x20], 1
mov rcx, r12
call fcn.14004fd50
mov r15d, 1
mov dword [rsp + 0x78], r15d
jmp 0x14004e93c
xor r8d, r8d
mov dword [rsp + 0x20], r9d
mov r9d, dword [rsp + 0x158]
lea edx, [r8 + 0x10]
mov rcx, rdi
call fcn.140068970
jmp 0x14004e936
mov ebx, 2
mov r8, r14
mov edx, ebx
mov rcx, r12
call fcn.14005edc0
mov r15d, 1
mov r8, qword [rdi + 0x30]
or eax, 0xffffffff
sub eax, ebp
js 0x14004e95c
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14004e95c
movsxd rcx, eax
mov eax, dword [rdi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rdi + 0x3c]
mov ebx, dword [rsp + 0x70]
dec eax
mov dword [r8 + 0x64], eax
test ebx, ebx
je 0x14004e9e9
movsxd rsi, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
mov dword [rsp + 0x90], esi
cmp dword [rax + 0x60], esi
jg 0x14004e99a
mov edx, r15d
mov rcx, rdi
call fcn.140029ca0
test eax, eax
je 0x14004e99a
mov dword [rsp + 0x90], r15d
jmp 0x14004e9c0
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
lea rcx, [rsi + rsi*2]
xor edx, edx
mov word [rax + rcx*8], InitCommonControls
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], rdx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
mov edx, dword [rdi + 0x3c]
cmp edx, ebx
jbe 0x14004e9d3
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
jmp 0x14004e9e9
mov r14, qword [rsp + reloc.mfc120u.dll_Ordinal_280]
mov r15, qword [r14 + 0x10]
xor ebp, ebp
mov dword [rsp + 0x58], ebp
mov qword [rsp + 0x68], r15
test r15, r15
je 0x14004f4c3
mov rdx, qword [rsp + 0x120]
mov eax, ebp
mov qword [rsp + 0x80], rax
mov ecx, eax
cmp dword [rdx + rax*4], 0
je 0x14004f4a0
cmp byte [rsp + 0x51], 0
jne 0x14004ea45
mov r8d, dword [rsp + 0x138]
mov rdx, r14
mov rcx, rdi
inc r8d
call fcn.140064220
mov ecx, dword [rsp + 0x58]
mov byte [rsp + 0x51], 1
mov rsi, qword [rdi + 0x30]
mov r13d, dword [rsp + 0x130]
movsxd rbx, dword [rsi + 0x78]
add r13d, ecx
lea eax, [rbx + 1]
mov dword [rsp + 0x74], r13d
mov dword [rsi + 0x78], eax
lea eax, [rbx - 1]
test ebx, eax
jne 0x14004ea8e
mov rdx, qword [rsi + 0x80]
mov rcx, qword [rsi]
lea eax, [rbx*2 + 1]
movsxd r8, eax
shl r8, 2
call fcn.140044940
mov qword [rsi + 0x80], rax
mov rcx, qword [rsi + 0x80]
or r8d, 0xffffffff
test rcx, rcx
je 0x14004eaa2
mov dword [rcx + rbx*4], r8d
mov ebp, r8d
sub ebp, ebx
cmp qword [r15 + 0x48], 0
mov dword [rsp + 0x5c], ebp
je 0x14004eb44
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x120]
movsxd rbx, dword [rdi + 0x3c]
mov esi, dword [rcx + rax*4]
mov rax, qword [rdi + 0x30]
cmp dword [rax + 0x60], ebx
jg 0x14004eae7
mov edx, 1
mov rcx, rdi
call fcn.140029ca0
test eax, eax
jne 0x14004eb14
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
xor edx, edx
mov dword [rax + rcx*8 + 8], esi
xor esi, esi
mov word [rax + rcx*8], 0x1c
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
mov dword [rax + rcx*8 + 4], edx
jmp 0x14004eb16
xor esi, esi
mov eax, dword [rsp + 0x138]
mov r9d, InitCommonControls
mov r8d, ebp
inc eax
mov rcx, r12
mov dword [r12 + 0x68], eax
mov rdx, qword [r15 + 0x48]
call fcn.14004a500
mov dword [r12 + 0x68], esi
or r8d, 0xffffffff
jmp 0x14004eb46
xor esi, esi
movzx ecx, word [r15 + 0x60]
mov edx, dword [r12 + 0x44]
mov r11d, dword [r12 + 0x48]
mov dword [rsp + 0x54], r11d
cmp ecx, edx
jg 0x14004eb70
lea eax, [r11 + rcx]
sub edx, ecx
mov dword [r12 + 0x48], eax
mov dword [r12 + 0x44], edx
jmp 0x14004eb85
mov eax, dword [r12 + 0x54]
lea r11d, [rax + 1]
add eax, ecx
mov dword [rsp + 0x54], r11d
mov dword [r12 + 0x54], eax
cmp si, word [r15 + 0x60]
jae 0x14004ec68
mov rdx, qword [rsp + 0x68]
mov r12, qword [rsp + reloc.mfc120u.dll_Ordinal_280]
mov r13d, dword [rsp + 0x138]
mov r15d, r11d
mov ebx, r11d
mov r14, rsi
neg r15d
mov rax, qword [rdx + 8]
movsx ecx, word [rax + r14]
test ecx, ecx
js 0x14004ebd0
movsx eax, word [r12 + 0x40]
cmp ecx, eax
je 0x14004ebd0
lea ebp, [r13 + 1]
add ebp, ecx
jmp 0x14004ebee
cmp dword [rsp + 0x98], ebx
je 0x14004ec3a
cmp qword [rdx + 0x48], 0
mov eax, ebx
mov ebp, r13d
cmovne eax, r8d
mov dword [rsp + 0x98], eax
mov rax, qword [rdi + 0x30]
movsxd rsi, dword [rdi + 0x3c]
cmp dword [rax + 0x60], esi
jg 0x14004ec11
mov edx, 1
mov rcx, rdi
call fcn.140029ca0
mov rdx, qword [rsp + 0x68]
test eax, eax
jne 0x14004ec3a
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
lea rcx, [rsi + rsi*2]
xor esi, esi
mov word [rax + rcx*8], 0x22
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], ebx
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rsi
movzx eax, word [rdx + 0x60]
inc ebx
add r14, 2
lea ecx, [r15 + rbx]
mov r8d, 0xffffffff
cmp ecx, eax
jl 0x14004ebb1
mov r12, qword [rsp + 0x110]
mov r13d, dword [rsp + 0x74]
mov r15, qword [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x120]
movsxd rbx, dword [rdi + 0x3c]
mov esi, dword [rcx + rax*4]
mov rax, qword [rdi + 0x30]
movzx ebp, word [r15 + 0x60]
cmp dword [rax + 0x60], ebx
jg 0x14004ec9e
mov edx, 1
mov rcx, rdi
call fcn.140029ca0
test eax, eax
jne 0x14004eccf
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
mov r14d, dword [rsp + 0x54]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], ebp
xor ebp, ebp
mov word [rax + rcx*8], 0x31
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r14d
mov dword [rax + rcx*8 + 0xc], esi
mov qword [rax + rcx*8 + 0x10], rbp
jmp 0x14004ecd6
mov r14d, dword [rsp + 0x54]
xor ebp, ebp
movzx eax, word [r15 + 0x60]
lea r9d, [r14 - 1]
lea rcx, [r12 + 0x94]
add r9d, eax
mov r8d, 0xa
mov edx, dword [rcx]
cmp edx, r14d
jl 0x14004ed1f
cmp edx, r9d
jg 0x14004ed1f
cmp byte [rcx - 6], 0
je 0x14004ed1d
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x14004ed19
movzx eax, al
mov dword [r12 + rax*4 + 0x24], edx
inc byte [r12 + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], ebp
add rcx, 0x14
dec r8
jne 0x14004ecf0
cmp byte [rsp + 0x50], r8b
je 0x14004ed7b
cmp qword [rsp + 0x88], r15
jne 0x14004ed7b
cmp byte [rsp + 0x148], r8b
jne 0x14004ed7b
mov r8, qword [rdi + 0x30]
or eax, 0xffffffff
sub eax, dword [rsp + 0x5c]
js 0x14004ed65
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14004ed65
movsxd rcx, eax
mov eax, dword [rdi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rdi + 0x3c]
mov r14, qword [rsp + reloc.mfc120u.dll_Ordinal_280]
dec eax
mov dword [r8 + 0x64], eax
jmp 0x14004f48c
movzx ebp, byte [r15 + 0x62]
test ebp, ebp
jne 0x14004edf8
movzx r10d, word [r15 + 0x60]
lea r9d, [r14 - 1]
lea rcx, [r12 + 0x94]
add r9d, r10d
lea r8d, [rbp + 0xa]
nop dword [rax]
mov edx, dword [rcx]
cmp edx, r14d
jl 0x14004edd3
cmp edx, r9d
jg 0x14004edd3
cmp byte [rcx - 6], 0
je 0x14004edcd
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x14004edc9
movzx eax, al
mov dword [r12 + rax*4 + 0x24], edx
inc byte [r12 + 0x1f]
mov byte [rcx - 6], 0
xor ebp, ebp
mov dword [rcx], ebp
jmp 0x14004edd5
xor ebp, ebp
add rcx, 0x14
dec r8
jne 0x14004eda0
cmp r10d, dword [r12 + 0x44]
jle 0x14004ed43
mov dword [r12 + 0x44], r10d
mov dword [r12 + 0x48], r14d
jmp 0x14004ed43
movzx eax, byte [rsp + 0x150]
cmp al, 0xa
je 0x14004ee09
movzx ebp, al
jmp 0x14004ee14
cmp ebp, 0xa
mov eax, 2
cmove ebp, eax
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
movzx esi, word [r15 + 0x5e]
mov dword [rsp + 0x74], ebp
cmp dword [rax + 0x60], ebx
jg 0x14004ee42
mov edx, 1
mov rcx, rdi
call fcn.140029ca0
test eax, eax
je 0x14004ee42
mov ebx, 1
jmp 0x14004ee71
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
mov edx, dword [rsp + 0x5c]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
xor edx, edx
mov word [rax + rcx*8], 0x43
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 0xc], r14d
mov qword [rax + rcx*8 + 0x10], rdx
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x14004eec0
cmp byte [rcx + 0x50], 0
jne 0x14004eec0
test ebx, ebx
jns 0x14004ee8c
mov ebx, dword [rdi + 0x3c]
dec ebx
movsxd rax, ebx
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.140027190
xor r9d, r9d
mov byte [rbx + 1], 0xf2
mov qword [rbx + 0x10], r9
mov dword [rbx + 0x10], esi
jmp 0x14004eed0
mov r8, rsi
mov edx, 0xfffffff2
call fcn.140027190
xor r9d, r9d
mov rsi, qword [rsp + 0x88]
cmp r15, rsi
jne 0x14004eee7
mov r15d, r14d
mov dword [rsp + 0x60], r14d
jmp 0x14004ef25
mov ecx, dword [r12 + 0x44]
mov edx, dword [rsp + 0x64]
mov r15d, dword [r12 + 0x48]
mov dword [rsp + 0x60], r15d
cmp edx, ecx
jg 0x14004ef10
lea eax, [r15 + rdx]
sub ecx, edx
mov dword [r12 + 0x48], eax
mov dword [r12 + 0x44], ecx
jmp 0x14004ef25
mov eax, dword [r12 + 0x54]
lea r15d, [rax + 1]
add eax, edx
mov dword [rsp + 0x60], r15d
mov dword [r12 + 0x54], eax
cmp byte [rsp + 0x50], 0
jne 0x14004ef35
cmp ebp, 5
jne 0x14004f316
mov rax, qword [rsp + reloc.mfc120u.dll_Ordinal_280]
test byte [rax + 0x48], 0x20
jne 0x14004f013
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
mov r14d, 1
cmp dword [rax + 0x60], ebx
jg 0x14004ef69
mov edx, r14d
mov rcx, rdi
call fcn.140029ca0
test eax, eax
jne 0x14004ef96
inc dword [rdi + 0x3c]
mov rax, qword [rdi + 8]
lea rcx, [rbx + rbx*2]
xor ebp, ebp
mov word [rax + rcx*8], 0x70
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r13d
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
jmp 0x14004ef98
xor ebp, ebp
cmp byte [rsp + 0x50], 0
je 0x14004f316
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x14004efbf
mov edx, r14d
mov rcx, rdi
call fcn.140029ca0
test eax, eax
jne 0x14004eff2
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
mov edx, dword [rsp + 0x5c]
lea rcx, [rbx + rbx*2]
mov dword [rax + rcx*8 + 8], edx
mov edx, dword [rsp + reloc.mfc120u.dll_Ordinal_320]
mov word [rax + rcx*8], 0x4f
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r15d
mov qword [rax + rcx*8 + 0x10], rbp
mov dword [rax + rcx*8 + 0xc], edx
mov rdx, qword [rdi + 8]
xor ebp, ebp
test rdx, rdx
je 0x14004f318
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x90
jmp 0x14004f318
mov r8, qword [rsp + 0x68]
cmp r8, rsi
je 0x14004f0f2
mov ebp, r9d
cmp r9w, word [rsi + 0x5e]
jae 0x14004f0f2
mov r14, r9
mov r12, r8
nop word [rax + rax]
movzx edx, word [r12 + 0x60]
mov eax, r9d
test edx, edx
jle 0x14004f070
mov rcx, qword [rsi + 8]
mov r8, qword [r12 + 8]
movzx r9d, word [r14 + rcx]
nop dword [rax + rax]
movsxd rcx, eax
cmp r9w, word [r8 + rcx*2]
je 0x14004f073
inc eax
cmp eax, edx
jl 0x14004f060
or eax, 0xffffffff
movsxd rbx, dword [rdi + 0x3c]
movsx esi, ax
mov rax, qword [rdi + 0x30]
cmp dword [rax + 0x60], ebx
jg 0x14004f094
mov edx, 1
mov rcx, rdi
call fcn.140029ca0
test eax, eax
jne 0x14004f0c3
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
lea rcx, [rbx + rbx*2]
lea rdx, [rax + rcx*8]
lea eax, [r15 + rbp]
xor r9d, r9d
mov word [rdx], 0x2f
mov byte [rdx + 3], 0
mov dword [rdx + 4], r13d
mov dword [rdx + 8], esi
mov dword [rdx + 0xc], eax
mov qword [rdx + 0x10], r9
jmp 0x14004f0c6
xor r9d, r9d
mov rsi, qword [rsp + 0x88]
inc ebp
add r14, 2
movzx eax, word [rsi + 0x5e]
cmp ebp, eax
jl 0x14004f040
mov r12, qword [rsp + 0x110]
mov r14d, dword [rsp + 0x54]
mov r8, qword [rsp + 0x68]
cmp byte [rsp + 0x50], 0
je 0x14004f316
movzx ecx, word [rsi + 0x5e]
mov edx, dword [rdi + 0x3c]
mov eax, dword [r8 + 0x64]
add edx, ecx
and al, 3
mov dword [rsp + 0x94], 0x4e
mov dword [rsp + 0x9c], edx
mov edx, r15d
cmp al, 2
cmove edx, r14d
xor ebp, ebp
mov r15d, ebp
mov dword [rsp + 0xa8], edx
test ecx, ecx
jle 0x14004f318
mov ecx, ebp
mov r13d, ebp
mov qword [rsp + 0xb0], rcx
nop dword [rax + rax]
mov rax, qword [rsi + 0x40]
mov rbp, qword [rcx + rax]
mov rcx, qword [r12]
mov rax, qword [rcx + 0x20]
movzx ebx, byte [rcx + 0xa1]
mov rdx, qword [rax + 0x18]
movzx r14d, byte [rdx + 0x71]
test rbp, rbp
je 0x14004f186
movzx r8d, bl
mov rdx, rbp
call fcn.140024390
mov rsi, rax
jmp 0x14004f18a
mov rsi, qword [rcx + 0x10]
test rsi, rsi
je 0x14004f19f
movzx eax, r14b
dec eax
cdqe
lea rcx, [rax + rax*4]
lea rsi, [rsi + rcx*8]
test bl, bl
jne 0x14004f1c4
test rsi, rsi
je 0x14004f1af
cmp qword [rsi + 0x18], 0
jne 0x14004f1c4
mov r9, rbp
mov r8, rsi
movzx edx, r14b
mov rcx, r12
call fcn.14004fe80
mov rsi, rax
mov rax, qword [rsp + 0x88]
mov rcx, qword [rax + 8]
movsx ebp, word [r13 + rcx]
movzx ecx, word [rax + 0x5e]
dec ecx
cmp r15d, ecx
jne 0x14004f1fb
mov r14d, dword [rsp + 0x5c]
mov dword [rsp + 0x94], 0x4f
mov dword [rsp + 0x9c], r14d
jmp 0x14004f203
mov r14d, dword [rsp + 0x9c]
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x14004f22a
mov edx, 1
mov rcx, rdi
call fcn.140029ca0
test eax, eax
je 0x14004f22a
mov ebx, 1
xor ebp, ebp
jmp 0x14004f26f
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
lea rcx, [rbx + rbx*2]
lea rdx, [rax + rcx*8]
mov eax, dword [rsp + 0x94]
mov byte [rdx], al
mov eax, dword [rsp + reloc.mfc120u.dll_Ordinal_320]
mov byte [rdx + 3], 0
inc eax
mov dword [rdx + 8], r14d
add eax, ebp
mov dword [rdx + 4], eax
mov eax, dword [rsp + 0xa8]
add eax, r15d
xor ebp, ebp
mov qword [rdx + 0x10], rbp
mov byte [rdx + 1], bpl
mov dword [rdx + 0xc], eax
mov r8, qword [rdi + 8]
mov rcx, qword [rdi]
test r8, r8
je 0x14004f2c1
cmp byte [rcx + 0x50], 0
jne 0x14004f2c1
test ebx, ebx
jns 0x14004f28a
mov ebx, dword [rdi + 0x3c]
dec ebx
movsxd rax, ebx
lea rdx, [rax + rax*2]
lea rbx, [r8 + rdx*8]
movsx edx, byte [r8 + rdx*8 + 1]
mov r8, qword [rbx + 0x10]
call fcn.140027190
mov qword [rbx + 0x10], rbp
test rsi, rsi
jne 0x14004f2b7
mov qword [rbx + 0x10], rbp
mov byte [rbx + 1], sil
jmp 0x14004f2ce
mov qword [rbx + 0x10], rsi
mov byte [rbx + 1], 0xfc
jmp 0x14004f2ce
mov r8, rsi
mov edx, 0xfffffffc
call fcn.140027190
mov rdx, qword [rdi + 8]
test rdx, rdx
je 0x14004f2e4
movsxd rax, dword [rdi + 0x3c]
lea rcx, [rax + rax*2]
mov byte [rdx + rcx*8 - 0x15], 0x90
mov rcx, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0x88]
inc r15d
movzx eax, word [rsi + 0x5e]
add rcx, 8
add r13, 2
mov qword [rsp + 0xb0], rcx
cmp r15d, eax
jl 0x14004f150
jmp 0x14004f318
xor ebp, ebp
mov edx, dword [rsp + 0x74]
test edx, edx
jle 0x14004f58d
cmp edx, 3
jle 0x14004f578
cmp edx, 4
jne 0x14004f58d
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x14004f354
mov edx, 1
mov rcx, rdi
call fcn.140029ca0
test eax, eax
jne 0x14004f382
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
mov edx, dword [rsp + 0x158]
lea rcx, [rbx + rbx*2]
mov word [rax + rcx*8], InitCommonControls
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], ebp
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], rbp
mov r15, qword [rsp + 0x68]
mov ebx, dword [rsp + 0x60]
mov r14, qword [rsp + reloc.mfc120u.dll_Ordinal_280]
mov esi, dword [rsp + 0x64]
mov r8, qword [rdi + 0x30]
or eax, 0xffffffff
sub eax, dword [rsp + 0x5c]
js 0x14004f3b9
mov rdx, qword [r8 + 0x80]
test rdx, rdx
je 0x14004f3b9
movsxd rcx, eax
mov eax, dword [rdi + 0x3c]
mov dword [rdx + rcx*4], eax
mov eax, dword [rdi + 0x3c]
mov r11d, dword [rsp + 0x54]
lea rcx, [r12 + 0x94]
dec eax
lea r9d, [r11 - 1]
mov dword [r8 + 0x64], eax
movzx r10d, word [r15 + 0x60]
mov r8d, 0xa
add r9d, r10d
mov edx, dword [rcx]
cmp edx, r11d
jl 0x14004f410
cmp edx, r9d
jg 0x14004f410
cmp byte [rcx - 6], 0
je 0x14004f40e
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x14004f40a
movzx eax, al
mov dword [r12 + rax*4 + 0x24], edx
inc byte [r12 + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], ebp
add rcx, 0x14
dec r8
jne 0x14004f3e1
cmp r10d, dword [r12 + 0x44]
jle 0x14004f42a
mov dword [r12 + 0x44], r10d
mov dword [r12 + 0x48], r11d
cmp ebx, r11d
je 0x14004f48c
lea r9d, [rsi - 1]
lea rcx, [r12 + 0x94]
mov r8d, 0xa
add r9d, ebx
mov edx, dword [rcx]
cmp edx, ebx
jl 0x14004f472
cmp edx, r9d
jg 0x14004f472
cmp byte [rcx - 6], 0
je 0x14004f470
movzx eax, byte [r12 + 0x1f]
cmp al, 8
jae 0x14004f46c
movzx eax, al
mov dword [r12 + rax*4 + 0x24], edx
inc byte [r12 + 0x1f]
mov byte [rcx - 6], 0
mov dword [rcx], ebp
add rcx, 0x14
dec r8
jne 0x14004f444
cmp esi, dword [r12 + 0x44]
jle 0x14004f48c
mov dword [r12 + 0x44], esi
mov dword [r12 + 0x48], ebx
mov rax, qword [rsp + 0x80]
mov ecx, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x120]
mov r15, qword [r15 + 0x28]
inc ecx
inc rax
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x58], ecx
mov qword [rsp + 0x80], rax
test r15, r15
jne 0x14004ea15
mov esi, dword [rsp + 0x70]
mov r15, qword [rsp + 0xc8]
mov r14, qword [rsp + 0xd0]
mov r13, qword [rsp + 0xd8]
mov r12, qword [rsp + 0xe0]
test esi, esi
je 0x14004f557
mov rax, qword [rdi + 0x30]
movsxd rbx, dword [rdi + 0x3c]
cmp dword [rax + 0x60], ebx
jg 0x14004f509
mov edx, 1
mov rcx, rdi
call fcn.140029ca0
test eax, eax
jne 0x14004f531
mov rax, qword [rdi + 8]
inc dword [rdi + 0x3c]
lea rcx, [rbx + rbx*2]
lea rdx, [rax + rcx*8]
lea eax, [rsi + 1]
mov word [rdx], InitCommonControls
mov byte [rdx + 3], 0
mov dword [rdx + 4], ebp
mov dword [rdx + 8], eax
mov dword [rdx + 0xc], ebp
mov qword [rdx + 0x10], rbp
mov edx, dword [rdi + 0x3c]
mov eax, dword [rsp + 0x90]
cmp edx, eax
jbe 0x14004f54b
lea rcx, [rax + rax*2]
mov rax, qword [rdi + 8]
mov dword [rax + rcx*8 + 8], edx
mov ecx, dword [rdi + 0x3c]
mov rax, qword [rdi + 0x30]
dec ecx
mov dword [rax + 0x64], ecx
mov rax, qword [rsp + 0x160]
mov ecx, dword [rsp + 0x78]
mov rbx, qword [rsp + 0xe8]
mov dword [rax], ecx
add rsp, 0xf0
pop rdi
pop rsi
pop rbp
ret
mov r15, qword [rsp + 0x68]
mov rcx, r12
mov r8, r15
call fcn.140064bc0
jmp 0x14004f387
mov rax, qword [r12 + 0x1c0]
mov rcx, r12
mov r8, rbp
test rax, rax
cmovne rcx, rax
mov rax, qword [rsp + 0xa0]
mov byte [rcx + 0x20], 1
test dword [rax + 0x2c], 0x40000
je 0x14004f602
mov rax, qword [r12]
mov ebx, ebp
mov r9, rbp
test dword [rax + 0x2c], 0x800000
je 0x14004f5dc
mov rdx, qword [rsp + reloc.mfc120u.dll_Ordinal_280]
mov rcx, r12
call fcn.1400648c0
mov r9, rax
mov rdx, r9
test r9, r9
je 0x14004f5f9
cmp byte [rdx + 0x10], 0x6d
jne 0x14004f5f0
movzx ecx, byte [rdx + 0x11]
or ebx, ecx
mov rdx, qword [rdx + 0x40]
test rdx, rdx
jne 0x14004f5e4
mov r8, rbp
test ebx, ebx
cmovne r8, r9
mov r15, qword [rsp + 0x68]
mov r14, qword [rsp + reloc.mfc120u.dll_Ordinal_280]
mov ebx, dword [rsp + 0x60]
mov r9d, dword [rsp + reloc.mfc120u.dll_Ordinal_296]
cmp r15, rsi
mov esi, dword [rsp + 0x64]
sete al
mov rdx, r14
mov rcx, r12
mov byte [rsp + 0x48], al
mov eax, dword [rsp + 0x130]
mov byte [rsp + 0x40], 5
mov byte [rsp + 0x38], 0
mov word [rsp + 0x30], si
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call fcn.14004f8f0
mov dword [rsp + 0x78], 1
jmp 0x14004f397