Function at 0x426fb0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44967d
mov eax, dword fs:[0]
push eax
sub esp, 0x3d0
mov eax, dword [0x4a0cb8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x394], ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x39c]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push ecx
push ebx
push ebx
push ebx
mov dword [ebp - 0x3b0], eax
mov eax, dword [edi + 0x9c]
push 0x407028
push eax
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x390], ebx
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov dword [ebp - 0x36c], eax
test eax, eax
jne 0x453def
mov eax, dword [ebp - 0x39c]
test eax, eax
je 0x453df3
mov esi, dword [0x402f5c]
xor ecx, ecx
shr eax, 1
mov edx, 2
inc eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov ecx, esi
call dword [0x4a3670]
call esi
mov esi, eax
test esi, esi
je 0x453dfd
lea eax, [ebp - 0x39c]
push eax
push esi
push ebx
push ebx
push 0x407028
push dword [ebp - 0x38c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov dword [ebp - 0x36c], eax
test eax, eax
jne 0x453e07
mov eax, dword [ebp - 0x39c]
mov ebx, esi
shr eax, 1
xor ecx, ecx
mov dword [ebp - 0x390], ebx
mov dword [ebp - 0x36c], ecx
mov word [esi + eax*2], cx
push 0
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x38c], 4
test eax, eax
je 0x453e4b
lea ecx, [ebp - 0x38c]
push ecx
lea ecx, [ebp - 0x3d8]
push ecx
lea ecx, [ebp - 0x398]
push ecx
push 0
push 0x407094
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x45435d
cmp dword [ebp - 0x398], 4
jne 0x45435d
push eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x380], 4
test eax, eax
je 0x453e52
lea ecx, [ebp - 0x380]
push ecx
lea ecx, [ebp - 0x3a8]
push ecx
lea ecx, [ebp - 0x37c]
push ecx
push 0
push 0x407080
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x454340
cmp dword [ebp - 0x37c], 4
jne 0x454340
push eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x378], 4
test eax, eax
je 0x453e59
lea ecx, [ebp - 0x378]
push ecx
lea ecx, [ebp - 0x3ac]
push ecx
lea ecx, [ebp - 0x3cc]
push ecx
push 0
push 0x407070
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x454340
cmp dword [ebp - 0x3cc], 4
jne 0x454340
push eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x3d0], 4
test eax, eax
je 0x453e60
lea ecx, [ebp - 0x3d0]
push ecx
lea ecx, [ebp - 0x3a0]
push ecx
lea ecx, [ebp - 0x3d4]
push ecx
push 0
push 0x407060
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x453e64
cmp dword [ebp - 0x3d4], 4
jne 0x453e64
mov esi, dword [ebp - 0x3a0]
mov dword [ebp - 0x398], esi
push 0
mov dword [ebp - 0x38c], 0
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov eax, dword [edi + 0x9c]
mov dword [ebp - 0x3a4], 4
test eax, eax
je 0x453e89
lea ecx, [ebp - 0x3a4]
push ecx
lea ecx, [ebp - 0x370]
push ecx
lea ecx, [ebp - 0x384]
push ecx
push 0
push 0x40704c
push eax
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x453e8d
cmp dword [ebp - 0x384], 4
jne 0x453e8d
mov eax, dword [ebp - 0x370]
mov dword [ebp - 0x38c], eax
mov dword [ebp - 4], 1
mov eax, dword [0x4a1724]
mov esi, dword [eax + 0xc]
cmp esi, fcn.00428b50
jne 0x453eb6
mov ecx, 0x4a1724
call fcn.00428b50
lea esi, [eax + 0x10]
mov dword [ebp - 0x388], esi
mov byte [ebp - 4], 2
test ebx, ebx
je 0x453f0f
test ebx, 0xffff0000
je 0x453eca
mov edi, ebx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4272d0
sub edi, ecx
sar edi, 1
je 0x453f0f
mov eax, dword [esi - 0xc]
mov edx, ebx
mov dword [ebp - 0x384], eax
sub edx, esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edi
sar edx, 1
or eax, ecx
mov dword [ebp - 0x370], edx
jge 0x427323
push edi
lea ecx, [ebp - 0x388]
call fcn.004289b0
mov esi, dword [ebp - 0x388]
mov edx, dword [ebp - 0x370]
lea ecx, [edi + edi]
push ecx
cmp edx, dword [ebp - 0x384]
jbe 0x453ef4
push ebx
push ecx
push esi
call dword [sym.imp.msvcrt.dll_memcpy_s]
add esp, 0x10
test edi, edi
js 0x453f05
cmp edi, dword [esi - 8]
jg 0x453f05
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov edx, dword [ebp - 0x394]
lea edi, [esi - 0x10]
mov byte [ebp - 4], 3
mov dword [ebp - 0x378], edi
mov eax, dword [edx + 4]
sub eax, 0x10
mov dword [ebp - 0x3a0], eax
cmp edi, eax
je 0x427400
cmp dword [eax + 0xc], 0
lea ecx, [eax + 0xc]
mov dword [ebp - 0x3a4], ecx
jl 0x453ff9
mov ecx, dword [edi]
mov dword [ebp - 0x370], ecx
cmp ecx, dword [eax]
jne 0x453ff9
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x384], eax
cmp eax, fcn.00429030
jne 0x453f5e
call fcn.00429030
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
mov dword [ebp - 0x37c], ecx
jl 0x453f77
cmp ecx, dword [edi]
jne 0x453f77
lock inc dword [eax]
mov ecx, dword [ebp - 0x3a4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
dec eax
test eax, eax
jle 0x453fce
mov ecx, dword [ebp - 0x394]
lea eax, [edi + 0x10]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x394]
add eax, 8
mov dword [ebp - 0x1d0], 0
mov dword [ebp - 0x374], eax
lea eax, [ebp - 0x1b8]
mov dword [ebp - 0x1c4], eax
xor eax, eax
mov dword [ebp - 0x1c0], 0xc1
mov dword [ebp - 0x1bc], 0
mov word [ebp - 0x1b8], ax
mov dword [ebp - fcn.0042be10], 0x401508
mov byte [ebp - 4], 4
mov edi, dword [0x4a1304]
mov dword [ebp - 0x1d4], 0x4014e8
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [ebp - 0x370], eax
cmp eax, fcn.00429950
jne 0x45400a
mov ecx, edi
call fcn.00429950
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c8]
push 0xffffffffffffffff
push 0
push esi
mov edi, dword [eax + 0x10]
cmp edi, fcn.00429650
jne 0x45401f
lea ecx, [ebp - 0x1c8]
call fcn.00429650
mov edi, dword [ebp - 0x1bc]
lea eax, [ebp - 0x1c8]
xor ecx, ecx
mov dword [ebp - 0x3b8], edi
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 0x3b4], eax
test edi, edi
je 0x42751d
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx*2]
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
add esp, 4
test eax, eax
jne 0x454034
mov ebx, dword [ebp - 0x3bc]
lea esp, [esp]
test edi, edi
je 0x427517
mov eax, dword [ebp - 0x3b4]
lea ecx, [ebx + edi]
mov eax, dword [eax + 4]
movzx eax, word [eax + ecx*2 - 2]
push eax
call dword [sym.imp.msvcrt.dll_iswspace]
add esp, 4
test eax, eax
jne 0x454058
mov ebx, dword [ebp - 0x390]
cmp edi, dword [ebp - 0x1bc]
jne 0x454083
xor eax, eax
lea ecx, [ebp - 0x1d4]
mov dword [ebp - 0x32], eax
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1c], eax
mov eax, 0x7f
mov word [ebp - 0x1e], ax
call fcn.00429080
test byte [ebp - 0x1e], 2
je 0x45410d
lea ecx, [ebp - 0x1d4]
call fcn.00429080
movzx edi, word [ebp - 0x30]
movzx ecx, word [ebp - 0x32]
mov dword [ebp - 0x37c], edi
lea eax, [ecx + edi]
cmp eax, ecx
jb 0x427952
cmp eax, dword [ebp - 0x1bc]
ja 0x4541b6
lea eax, [ebp - 0x1c8]
add ecx, ecx
mov dword [ebp - 0x378], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x384], ecx
add ecx, eax
mov dword [ebp - 0x370], ecx
cmp edi, 1
ja 0x42792b
mov eax, edi
mov dword [ebp - 0x380], edi
push eax
push 0x407048
push edi
push ecx
push 1
push 0x800
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringW]
cmp eax, 2
jne 0x42793b
cmp edi, 1
jae 0x4275e6
test edi, edi
jne 0x427884
mov edx, dword [ebp - 0x374]
mov edi, 0x407030
mov eax, dword [edx]
sub edi, eax
sar edi, 1
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x370], ecx
mov ecx, 1
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 9
or eax, ecx
jge 0x427621
push 9
mov ecx, edx
call fcn.004289b0
mov edx, dword [ebp - 0x374]
mov ecx, dword [edx]
push 0x12
cmp edi, dword [ebp - 0x370]
jbe 0x45420b
push 0x407030
push 0x12
push ecx
call dword [sym.imp.msvcrt.dll_memcpy_s]
mov ecx, dword [ebp - 0x374]
add esp, 0x10
mov eax, dword [ecx]
cmp dword [eax - 8], 9
jl 0x453f05
mov dword [eax - 0xc], 9
mov eax, dword [ecx]
xor ecx, ecx
mov word [eax + 0x12], cx
mov byte [ebp - 4], 8
mov edi, dword [0x4a1304]
mov dword [ebp - 0x1d4], 0x4014e8
mov dword [ebp - 0x1d0], 0xc0000001
mov eax, dword [edi]
mov eax, dword [eax + 8]
mov dword [ebp - 0x370], eax
cmp eax, fcn.00429970
jne 0x45421d
mov ecx, edi
call fcn.00429970
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - fcn.00437280], 0x401574
mov dword [ebp - fcn.0042be10], 0x401508
test eax, eax
je 0x4276ca
lea ecx, [ebp - 0x1b8]
cmp eax, ecx
jne 0x454232
mov dword [ebp - fcn.00437280], 0x401558
mov eax, dword [ebp - 0x394]
add esi, 0xfffffff0
mov ecx, dword [ebp - 0x3d8]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x3a8]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x3ac]
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x398]
mov dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x38c]
mov dword [eax + 0x14], 1
mov dword [eax + 0x1c], 1
mov dword [eax + 0x20], 0
mov dword [eax + 0x28], ecx
or eax, 0xffffffff
mov byte [ebp - 4], 1
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jle 0x454241
mov eax, dword [0x4a1724]
mov esi, dword [eax + 0xc]
cmp esi, fcn.00428b50
jne 0x45425a
mov ecx, 0x4a1724
call fcn.00428b50
lea esi, [eax + 0x10]
mov dword [ebp - 0x374], esi
mov byte [ebp - 4], 9
test ebx, ebx
je 0x4542a9
test ebx, 0xffff0000
je 0x45426e
mov edi, ebx
lea ecx, [edi + 2]
jmp 0x427780
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x427780
sub edi, ecx
sar edi, 1
je 0x4542a9
mov eax, dword [esi - 0xc]
mov ecx, ebx
mov dword [ebp - 0x3a8], eax
sub ecx, esi
mov eax, dword [esi - 8]
mov edx, 1
sub edx, dword [esi - 4]
sub eax, edi
sar ecx, 1
or eax, edx
mov dword [ebp - 0x3ac], ecx
jge 0x4277d3
push edi
lea ecx, [ebp - 0x374]
call fcn.004289b0
mov esi, dword [ebp - 0x374]
mov ecx, dword [ebp - 0x3ac]
lea edx, [edi + edi]
push edx
cmp ecx, dword [ebp - 0x3a8]
jbe 0x454298
push ebx
push edx
push esi
call dword [sym.imp.msvcrt.dll_memcpy_s]
add esp, 0x10
test edi, edi
js 0x453f05
cmp edi, dword [esi - 8]
jg 0x453f05
xor eax, eax
mov dword [esi - 0xc], edi
mov word [esi + edi*2], ax
mov ecx, dword [ebp - 0x3b0]
lea eax, [ebp - 0x374]
push eax
mov byte [ebp - 4], 0xa
call fcn.004283a0
mov byte [ebp - 4], 1
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jle 0x4542f8
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x427866
mov dword [ebp - 4], 0xc
mov esi, dword [0x402f60]
mov ecx, esi
push ebx
call dword [0x4a3670]
call esi
mov eax, dword [ebp - 0x36c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043b590
mov esp, ebp
pop ebp
ret 8
xor ecx, ecx
lea eax, [edi + 1]
mov edi, dword [0x402f5c]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
mov ecx, edi
call dword [0x4a3670]
call edi
mov edx, eax
mov dword [ebp - 0x380], edx
test edx, edx
je 0x4541fb
mov eax, dword [ebp - 0x378]
mov edi, dword [ebp - 0x37c]
add edi, edi
push edi
mov eax, dword [eax + 4]
add eax, dword [ebp - 0x384]
push eax
push edx
call sub.msvcrt.dll_memcpy
mov ecx, dword [ebp - 0x380]
add esp, 0xc
mov edx, ecx
xor eax, eax
mov word [edi + ecx], ax
lea edi, [edx + 2]
jmp 0x4278f0
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4278f0
sub edx, edi
sar edx, 1
push edx
push ecx
mov ecx, dword [ebp - 0x374]
call fcn.004261f0
mov byte [ebp - 4], 7
push dword [ebp - 0x380]
mov edi, dword [0x402f60]
mov ecx, edi
call dword [0x4a3670]
call edi
jmp 0x427663
mov eax, 1
mov dword [ebp - 0x380], eax
jmp 0x4275bb
sub eax, 1
je 0x4275de
sub eax, 2
je 0x4275de
jmp 0x4541cd
call fcn.004654b2
int3
jg 0x453e30
jmp 0x453e40
mov eax, 0x8000ffff
jmp 0x427866
mov eax, 0x8007000e
jmp 0x427866
mov dword [ebp - 4], 0
push esi
mov esi, dword [0x402f60]
mov ecx, esi
call dword [0x4a3670]
call esi
mov eax, dword [ebp - 0x36c]
mov dword [ebp - 4], 0xffffffff
test eax, eax
jle 0x453e40
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 0x36c], eax
test eax, eax
js 0x427866
jmp 0x4270ae
push 6
jmp 0x45435e
push 6
jmp 0x454341
push 6
jmp 0x454341
push 6
jmp 0x453e65
push eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
jne 0x45433a
mov dword [ebp - 0x398], 0
jmp 0x427217
push 6
jmp 0x453e8e
push eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
cmp eax, 2
je 0x427285
test eax, eax
je 0x427285
jg 0x454378
jmp 0x454380
mov ecx, esi
call dword [0x4a3670]
mov ecx, 0x4a1724
call esi
jmp 0x4272aa
movzx edi, bx
mov ecx, edi
call fcn.004686d4
test eax, eax
je 0x427359
push edi
push eax
lea ecx, [ebp - 0x388]
call fcn.00469c13
mov esi, dword [ebp - 0x388]
jmp 0x427359
lea eax, [esi + edx*2]
push eax
push ecx
push esi
call dword [sym.imp.msvcrt.dll_memmove_s]
jmp 0x42733c
mov ecx, 0x80070057
call fcn.0045fefb
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x427359
mov eax, dword [ecx + 0xc]
shr eax, 0x1f
test al, al
je 0x453f3a
push 0
lea ecx, [ebp - 0x388]
call fcn.004224c0
jmp 0x427359
call fcn.00429900
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4a3670]
mov ecx, edi
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x388], esi
jmp 0x427359
mov ecx, eax
call dword [0x4a3670]
mov ecx, dword [ebp - 0x370]
call dword [ebp - 0x384]
jmp 0x4273be
mov eax, dword [ecx]
lea edx, [edi + 4]
push 2
push dword [edx]
mov dword [ebp - 0x370], edx
mov edi, dword [eax]
mov ecx, edi
call dword [0x4a3670]
mov ecx, dword [ebp - 0x37c]
call edi
mov edi, eax
mov dword [ebp - 0x378], edi
test edi, edi
jne 0x453fa9
call fcn.0046b9e4
mov ecx, dword [ebp - 0x370]
mov eax, dword [ecx]
mov dword [edi + 4], eax
mov eax, dword [ecx]
inc eax
add eax, eax
push eax
push esi
push eax
lea eax, [edi + 0x10]
push eax
call dword [sym.imp.msvcrt.dll_memcpy_s]
add esp, 0x10
jmp 0x4273de
mov ecx, dword [ebp - 0x3a0]
push ecx
mov ebx, dword [ecx]
mov eax, dword [ebx]
mov edi, dword [eax + 4]
mov ecx, edi
call dword [0x4a3670]
mov ecx, ebx
call edi
mov ebx, dword [ebp - 0x390]
mov edi, dword [ebp - 0x378]
jmp 0x4273f4
push dword [esi - 0xc]
lea ecx, [edx + 4]
push esi
call fcn.004261f0
jmp 0x427400
mov ecx, eax
call dword [0x4a3670]
mov ecx, edi
call dword [ebp - 0x370]
jmp 0x42747d
mov ecx, edi
call dword [0x4a3670]
lea ecx, [ebp - 0x1c8]
call edi
jmp 0x4274a6
push 1
lea ecx, [ebp - 0x3bc]
call fcn.0046f114
mov edi, dword [ebp - 0x3b8]
mov ecx, dword [ebp - 0x3bc]
mov eax, dword [ebp - 0x3b4]
jmp 0x4274c6
lea eax, [edi - 1]
cmp eax, edi
jbe 0x454076
mov ecx, dword [ebp + 4]
mov edx, 0x3ca
push 0xce
push 0x4097a4
call fcn.00466213
mov edi, eax
mov dword [ebp - 0x3b8], edi
jmp 0x4274f0
lea eax, [ebp - 0x3bc]
push eax
lea eax, [ebp - 0x358]
push eax
push 0xc1
lea ecx, [ebp - 0x368]
call fcn.00429fc3
mov dword [ebp - fcn.0042be10], 0x401508
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x1c8]
push 0xffffffffffffffff
push 0
push dword [ebp - 0x364]
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x4a3670]
lea ecx, [ebp - 0x1c8]
call edi
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x364]
mov dword [ebp - fcn.0042be10], 0x401508
test eax, eax
je 0x4540fe
lea ecx, [ebp - 0x358]
cmp eax, ecx
je 0x4540fe
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
mov dword [ebp - fcn.00437280], 0x401558
jmp 0x427529
movzx eax, word [ebp - 0x30]
movzx ecx, word [ebp - 0x32]
add ecx, eax
movzx eax, word [ebp - 0x2a]
cmp eax, ecx
jbe 0x42755b
lea ecx, [ebp - 0x1d4]
call fcn.00429230
cmp word [ebp - 0x34], 1
jne 0x45417b
lea ecx, [ebp - 0x1d4]
call fcn.00429080
test byte [ebp - 0x1e], 2
jne 0x45417b
cmp dword [ebp - 0x18], 0x50
jne 0x45417b
lea eax, [ebp - 0x3c8]
push eax
lea ecx, [ebp - 0x1d4]
call fcn.0042f125
mov edi, dword [ebp - 0x3c4]
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x37c], edi
jmp 0x427591
movzx ecx, word [ebp - 0x32]
movzx eax, word [ebp - 0x2a]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x3c8]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.0042c701
mov edi, dword [ebp - 0x3c4]
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [ebp - 0x3c8]
mov dword [ebp - 0x37c], edi
jmp 0x427591
mov ecx, dword [ebp + 4]
mov edx, 0x44c
push 0xce
push 0x4097a4
call fcn.00466213
mov eax, dword [ebp - 0x380]
cmp edi, eax
jge 0x4541d9
mov eax, edi
push eax
push 0x407048
push dword [ebp - 0x370]
call dword [sym.imp.msvcrt.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x4275de
jmp 0x4275d9
lea ecx, [ebp - 0x1d4]
call fcn.004220ba
jmp 0x4276d4
lea eax, [ecx + edi*2]
push eax
push 0x12
push ecx
call dword [sym.imp.msvcrt.dll_memmove_s]
jmp 0x42763f
mov ecx, eax
call dword [0x4a3670]
mov ecx, edi
call dword [ebp - 0x370]
jmp 0x42769e
push eax
call dword [sym.imp.msvcrt.dll_free]
add esp, 4
jmp 0x4276ca
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4a3670]
mov ecx, edi
call esi
jmp 0x427734
mov ecx, esi
call dword [0x4a3670]
mov ecx, 0x4a1724
call esi
jmp 0x427752
movzx edi, bx
mov ecx, edi
call fcn.004686d4
test eax, eax
je 0x427809
push edi
push eax
lea ecx, [ebp - 0x374]
call fcn.00469c13
mov esi, dword [ebp - 0x374]
jmp 0x427809
lea eax, [esi + ecx*2]
push eax
push edx
push esi
call dword [sym.imp.msvcrt.dll_memmove_s]
jmp 0x4277ec
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x427809
mov eax, dword [ecx + 0xc]
shr eax, 0x1f
test al, al
je 0x4542d4
push 0
lea ecx, [ebp - 0x374]
call fcn.004224c0
jmp 0x427809
call fcn.00429900
mov eax, dword [edi]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4a3670]
mov ecx, edi
call esi
lea esi, [eax + 0x10]
mov dword [ebp - 0x374], esi
jmp 0x427809
mov edi, dword [esi]
push esi
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4a3670]
mov ecx, edi
call esi
jmp 0x427837
test eax, eax
jg 0x454378
jmp 0x454380
push eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [ebp - 0x36c], eax
test eax, eax
jle 0x427844
jmp 0x454378
push eax
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov dword [ebp - 0x36c], eax
test eax, eax
jle 0x427844
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 0x36c], eax
jmp 0x427844