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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
xor eax, eax
lea ecx, [esp + 0xd0]
lea edx, [esp + 0xd4]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0xa0], edx
mov dword [esp + 0x9c], eax
jmp 0x100020f3
mov eax, dword [esp + 0x98]
add eax, 1
cmp eax, 0x34a
mov dword [esp + 0x94], eax
je 0x100021cd
jmp 0x10002285
mov eax, esp
lea ecx, [esp + 0xa8]
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 + 0x90], eax
jmp 0x10002224
mov eax, dword [esp + 0x8c]
mov ecx, esp
mov dword [ecx + 4], 0xd0d3b9
mov dword [ecx], 0xea0
mov ecx, dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [esp + 0x88], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x88]
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 + 0x84], eax
mov dword [esp + 0x80], ecx
call edx
sub esp, 0x10
mov ecx, dword [esp + 0x80]
cmp ecx, 0xa
mov dword [esp + 0x7c], eax
mov dword [esp + 0x8c], ecx
je 0x100023bc
jmp 0x10002065
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xc8]
mov edx, esp
mov dword [edx], 0x2b
mov edx, dword [sym.imp.KERNEL32.dll_GlobalDeleteAtom]
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], 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 + 0x72], ax
call ecx
sub esp, 8
mov dword [esp + 0xcc], 0
mov dword [esp + 0xc8], 0
mov ecx, dword [esp + 0xa4]
mov edx, dword [esp + 0x74]
mov dword [ecx], edx
mov esi, esp
lea edi, [esp + 0xd0]
mov dword [esi + 4], edi
mov dword [esi], str.Y_ChDELXSy
mov esi, dword [sym.imp.ADVAPI32.dll_QueryUsersOnEncryptedFile]
mov dword [esp + 0x6c], 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 + 0x68], eax
call ecx
sub esp, 0xc
mov ecx, esp
mov dword [ecx], 0x58
mov ecx, dword [sym.imp.USER32.dll_IsCharUpperW]
mov dword [esp + 0x64], eax
call ecx
sub esp, 4
xor ecx, ecx
mov dword [esp + 0x60], eax
mov dword [esp + 0x94], ecx
jmp 0x10002285
xor eax, eax
mov ecx, esp
mov dword [ecx], 0xc6ae2b
mov ecx, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0x5c], eax
call ecx
sub esp, 4
xor ecx, ecx
mov edx, dword [esp + 0x78]
sub edx, 9
mov dword [esp + 0x58], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], edx
je 0x10002365
jmp 0x10002203
mov eax, dword [esp + 0x78]
sub eax, 0x3d
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x8c], ecx
je 0x100022d4
jmp 0x10002065
mov eax, esp
mov dword [eax], 0x161b66
mov eax, dword [sym.imp.USER32.dll_DestroyAcceleratorTable]
call eax
sub esp, 4
mov dword [esp + 0xdc], 0x1c0
mov ecx, esp
lea edx, [esp + 0xdc]
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 + 0x48], eax
call ecx
sub esp, 0x14
mov dword [esp + 0x44], eax
jmp 0x10001ffe
mov eax, dword [esp + 0x94]
mov ecx, 0xcccccccd
mov dword [esp + 0x98], eax
mul ecx
shr edx, 4
imul eax, edx, 0x14
mov ecx, dword [esp + 0x98]
sub ecx, eax
mov eax, ecx
sub eax, 5
mov dword [esp + 0x40], ecx
mov dword [esp + 0x3c], eax
je 0x10002021
jmp 0x100022be
mov eax, dword [esp + 0x40]
sub eax, 8
mov dword [esp + 0x38], eax
je 0x10002224
jmp 0x10001ffe
mov byte [esp + 0xdb], 5
mov eax, esp
lea ecx, [esp + 0xdb]
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 + 0x34], eax
call ecx
sub esp, 0xc
mov ecx, esp
lea edx, [esp + 0xc0]
mov dword [ecx + 4], edx
mov dword [ecx], 0x35355a
mov ecx, dword [sym.imp.GDI32.dll_GetViewportOrgEx]
mov dword [esp + 0x30], eax
call ecx
sub esp, 8
mov dword [esp + 0x2c], 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 + 0x28], eax
call ecx
sub esp, 0x18
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x78]
add eax, 1
mov dword [esp + 0xbc], 0x876
mov ecx, esp
lea edx, [esp + 0xbc]
mov dword [ecx + 4], edx
mov dword [ecx], 0xbeefe9
mov ecx, dword [sym.imp.KERNEL32.dll_GetHandleInformation]
mov dword [esp + 0x20], eax
call ecx
sub esp, 8
mov ecx, dword [esp + 0x20]
cmp ecx, 0xa2
mov dword [esp + 0x1c], eax
mov dword [esp + 0x9c], ecx
jne 0x100020f3
lea esp, [ebp - 8]
pop esi
pop edi
pop ebp
ret