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

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push ebx
and esp, 0xfffffff0
sub esp, 0xc0
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [esp + 0xb4]
mov byte [esp + 0xb3], 0xe4
mov dword [esp + 0xa0], 0x1f4d2987
mov dx, word [esp + 0xba]
mov bl, byte [esp + 0xb3]
mov bh, bl
xor bh, 0x52
mov byte [esp + 0x6f], bh
mov byte [esp + 0xa7], 0x26
mov byte [esp + 0x7f], 0xf3
mov esi, dword [esp + 0xa8]
mov edi, dword [esp + 0xac]
mov dword [esp + 0x48], eax
mov eax, esi
xor eax, 0x6ec64408
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa0]
xor eax, 0x7b117237
mov dword [esp + 0x60], eax
mov eax, esi
not eax
mov dword [esp + 0x44], eax
mov eax, edi
not eax
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa0]
add eax, 0x3723d7b9
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x48]
movzx eax, byte [eax]
cmp eax, 0xb8
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ecx
mov word [esp + 0x3a], dx
mov byte [esp + 0x39], bl
mov dword [esp + 0x34], esi
je 0x10001ba8
jmp 0x10001a67
xor eax, eax
mov dword [esp + 0x50], 0x61e
mov ecx, esp
mov dword [ecx], 0
mov ecx, dword [sym.imp.USER32.dll_TranslateMessage]
mov dword [esp + 0x30], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0xb4], edx
mov esi, dword [esp + 0xa0]
xor esi, 0x1f4d2986
mov edi, esp
mov dword [edi + 4], 0
mov dword [edi], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegOverridePredefKey]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], esi
call edi
sub esp, 8
mov ecx, dword [esp + 0x24]
add ecx, dword [esp + 0x78]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x20], eax
jmp 0x10001acc
mov al, byte [esp + 0x6f]
mov cl, byte [esp + 0xb3]
xor cl, 0x95
cmp cl, al
ja 0x10001aa1
jmp 0x10001bb5
mov eax, 0x2ae09d7c
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dl, byte [ecx]
mov byte [esp + 0x6e], dl
mov ecx, dword [esp + 0x58]
mov dl, byte [esp + 0x39]
mov byte [esp + 0xa7], dl
cmp eax, ecx
ja 0x10001aad
jmp 0x10001adf
mov eax, 0x732f34fd
cmp eax, dword [esp + 0x5c]
ja 0x10001c34
jmp 0x10001ba8
mov eax, dword [esp + 0x4c]
lea esp, [ebp - 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov byte [esp + 0xa7], 0x20
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0xb4], eax
jmp 0x10001aa1
cmp dword [esp + 0x78], 0x3ff
jl 0x100019dd
jmp 0x10001bd4
movzx eax, byte [esp + 0x6e]
cmp eax, 0xb8
jne 0x10001bee
mov dword [esp + 0x4c], 1
mov eax, dword [esp + 0x3c]
xor eax, 0xffffffff
mov dword [esp + 0xb4], eax
jmp 0x10001aa1
call fcn.100041b0
cmp eax, 0
jne 0x10001c56
jmp 0x10001c1c
lea eax, [esp + 0x64]
xor ecx, ecx
mov edx, 8
mov esi, dword [esp + 0xa0]
add esi, 0xe0b2df94
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
mov dword [esp + 0x90], 0
mov dword [esp + 0x70], esi
lea esi, [esp + 0x64]
mov edi, dword [esp + 0x34]
and edi, 0x7a27b8d7
mov dword [esp + 0xa8], edi
mov dword [esp + 0xac], 0
mov dword [esp], esi
mov dword [esp + 4], 0
mov dword [esp + 8], 8
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
call sub.msvcrt.dll_memset
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x54]
add ecx, 1
mov dword [esp + 0x54], ecx
jmp 0x10001a50
mov dword [esp + 0x4c], 1
jmp 0x10001aa1
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb4], 0x787a451c
cmp eax, 0x349
jne 0x10001b1a
jmp 0x10001aad
mov dword [esp + 0x54], 0
jmp 0x10001a50
mov dword [esp + 0x4c], 1
jmp 0x10001aa1
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
movzx eax, byte [eax]
mov ecx, dword [esp + 0x34]
xor ecx, 0x60ed9851
mov edx, dword [esp + 0x40]
mov dword [esp + 0xac], edx
mov dword [esp + 0xa8], ecx
cmp eax, 0x6a
je 0x10001be1
jmp 0x10001b07
mov eax, dword [esp + 0x60]
mov dword [esp + 0x5c], eax
cmp byte [esp + 0x7f], 0x32
jae 0x10001a8d
jmp 0x10001ba8
mov eax, 0x1f4d2987
sub eax, dword [esp + 0xa0]
mov cx, word [esp + 0x3a]
mov word [esp + 0xba], cx
mov dword [esp + 0x78], eax
jmp 0x10001acc
mov dword [esp + 0x4c], 0
jmp 0x10001aa1