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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe8
xor eax, eax
lea ecx, [esp + 0xe4]
lea edx, [esp + 0xdc]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0x9c], eax
jmp 0x10001ebb
mov eax, esp
lea ecx, [esp + 0xb0]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], 0x907
mov dword [eax + 0xc], 0x907
mov dword [eax + 8], 0x907
mov dword [eax + 4], 0x54f
mov dword [eax], 0xbf8401
mov eax, dword [sym.imp.KERNEL32.dll_LockFileEx]
call eax
sub esp, 0x18
mov dword [esp + 0x98], eax
jmp 0x10001e54
mov eax, dword [esp + 0x94]
add eax, 1
mov dword [esp + 0xa8], 0x876
mov ecx, esp
lea edx, [esp + 0xa8]
mov dword [ecx + 4], edx
mov dword [ecx], 0xbeefe9
mov ecx, dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov dword [esp + 0x90], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x90]
cmp ecx, 0xa2
mov dword [esp + 0x8c], eax
mov dword [esp + 0x9c], ecx
je 0x100021a7
jmp 0x10001ebb
mov eax, esp
mov dword [eax], 0x161b66
mov eax, dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
call eax
sub esp, 4
mov dword [esp + 0xe0], 0x1c0
mov ecx, esp
lea edx, [esp + 0xe0]
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 0xa0]
mov esi, dword [edx]
mov dword [ecx + 0xc], esi
mov dword [ecx + 8], 0x97b
mov dword [ecx + 4], 0x58
mov dword [ecx], 0x52c4ca
mov ecx, dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
mov dword [esp + 0x88], eax
call ecx
sub esp, 0x14
mov dword [esp + 0x84], eax
jmp 0x10001fd9
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xd0]
mov edx, esp
mov dword [edx], 0x2b
mov edx, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov dword [esp + 0x94], eax
mov dword [esp + 0x80], ecx
call edx
sub esp, 4
mov ecx, esp
mov dword [ecx + 4], 0x194
mov dword [ecx], 0x173e25
mov ecx, dword [sym.imp.USER32.dll_GetSystemMenu]
mov word [esp + 0x7e], ax
call ecx
sub esp, 8
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd0], 0
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x80]
mov dword [ecx], edx
mov esi, esp
lea edi, [esp + 0xe4]
mov dword [esi + 4], edi
mov dword [esi], 0x101ad9be
mov esi, dword [sym.imp.ADVAPI32.dll_QueryUsersOnEncryptedFile]
mov dword [esp + 0x78], eax
call esi
sub esp, 8
mov ecx, esp
mov dword [ecx + 8], 0xd77
mov dword [ecx + 4], 0xd77
mov dword [ecx], 0x8951df
mov ecx, dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x74], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharUpperW]
mov dword [esp + 0x70], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x68]
mov ecx, 0xcccccccd
mov dword [esp + 0x64], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [esp + 0x64]
sub ecx, eax
mov eax, ecx
sub eax, 5
mov dword [esp + 0x60], ecx
mov dword [esp + 0x5c], eax
je 0x10001db5
jmp 0x10001fc6
mov eax, dword [esp + 0x60]
sub eax, 8
mov dword [esp + 0x58], eax
je 0x10001e54
jmp 0x10001fd9
mov eax, dword [esp + 0x64]
add eax, 1
cmp eax, 0x34a
mov dword [esp + 0x68], eax
jne 0x10001f96
xor eax, eax
mov ecx, esp
mov dword [ecx], 0xc6ae2b
mov ecx, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0x54], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x94]
sub edx, 9
mov dword [esp + 0x50], eax
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x48], edx
je 0x100020d5
jmp 0x10002026
mov eax, dword [esp + 0x94]
sub eax, 0x3d
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x44], eax
mov dword [esp + 0x40], ecx
jne 0x10002131
jmp 0x10002044
mov byte [esp + 0xaf], 5
mov eax, esp
lea ecx, [esp + 0xaf]
mov dword [eax + 8], ecx
mov dword [eax + 0x18], 0x51afd5
mov dword [eax + 0x14], 0xe8a
mov dword [eax + 0x10], 0x3fb
mov dword [eax + 0xc], str.NYz3_tbM
mov dword [eax + 4], 0xe64
mov dword [eax], 0xe64
mov eax, dword [sym.imp.USER32.dll_ToUnicodeEx]
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [ecx + 8], 0xdba4af
mov dword [ecx + 4], 0x2aa
mov dword [ecx], 0x160244
mov ecx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esp + 0x3c], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0xc8]
mov dword [ecx + 4], edx
mov dword [ecx], 0x35355a
mov ecx, dword [sym.imp.GDI32.dll_GetViewportOrgEx]
mov dword [esp + 0x38], eax
call ecx
sub esp, 8
mov dword [esp + 0x34], eax
mov eax, esp
mov dword [eax + 4], 0x27a
mov dword [eax], 0x50e
mov eax, dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
call eax
sub esp, 8
mov ecx, esp
mov dword [ecx + 0x14], 0x390
mov dword [ecx + 0x10], 0x445
mov dword [ecx + 0xc], 0x830
mov dword [ecx + 8], 0x830
mov dword [ecx + 4], 0xcbc
mov dword [ecx], 0xc24c02
mov ecx, dword [sym.imp.GDI32.dll_PatBlt]
mov dword [esp + 0x30], eax
call ecx
sub esp, 0x18
mov dword [esp + 0x2c], eax
jmp 0x10001df6
mov eax, dword [esp + 0x40]
mov ecx, esp
mov dword [ecx + 4], 0xd0d3b9
mov dword [ecx], 0xea0
mov ecx, dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp + 0x28], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x28]
add ecx, 1
mov edx, esp
mov dword [edx + 0xc], str.8L_YW5Z_wS
mov dword [edx + 8], 0x186
mov dword [edx + 4], 0x14c
mov dword [edx], str.8L_YW5Z_wS
mov edx, dword [sym.imp.SHLWAPI.dll_StrCatChainW]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
call edx
sub esp, 0x10
mov ecx, dword [esp + 0x20]
cmp ecx, 0xa
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ecx
je 0x10001df6
jmp 0x10002131
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret