Function at 0x1000b060
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10019d88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.CreateFileMappingA
push str.KERNEL32.dll
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.MapViewOfFile
push str.KERNEL32.dll
mov dword [ebp - 0x10], eax
call esi
push eax
call edi
mov dword [ebp - 0x14], eax
mov eax, dword [0x10021710]
test eax, eax
jne 0x1000b0c3
push str.user32.dll
call esi
mov dword [0x10021710], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
lea ecx, [ebp - 0x28]
xor esi, esi
lea eax, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x1001b31c
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], esi
call fcn.1000b310
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], esi
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
mov eax, dword [ebp - 0x38]
add esp, 4
neg eax
sbb eax, eax
lea edx, [ebp - 0x34]
push str.MyCreateMa
push 0x594
and eax, edx
push 0
push 4
push eax
push 0xffffffffffffffff
call dword [ebp - 0x10]
mov dword [0x10021704], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
mov esi, dword [sym.imp.MSVCRT.dll_putchar]
push 0x30
call esi
mov eax, dword [0x10021704]
add esp, 4
test eax, eax
jne 0x1000b1c1
mov esi, dword [ebp - 0x38]
mov dword [ebp - 4], 0xffffffff
test esi, esi
mov dword [ebp - 0x3c], 0x1001b31c
je 0x1000b24d
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.GetProcessHeap
push str.KERNEL32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.HeapFree
push str.KERNEL32.dll
mov dword [ebp - 0x10], eax
call edi
push eax
call ebx
test esi, esi
mov edi, eax
je 0x1000b24d
push esi
push 0
call dword [ebp - 0x10]
push eax
call edi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x30
call esi
mov eax, dword [0x10021704]
add esp, 4
push 0
push 0
push 0
push 6
push eax
call dword [ebp - 0x14]
mov dword [0x10021700], eax
inc eax
dec eax
pushal
sub eax, 0xa
add eax, 0xa
popal
push 0x30
call dword [sym.imp.MSVCRT.dll_putchar]
mov eax, dword [0x10021700]
mov esi, dword [ebp - 0x38]
add esp, 4
mov dword [ebp - 4], 0xffffffff
test eax, eax
mov dword [ebp - 0x3c], 0x1001b31c
jne 0x1000b260
test esi, esi
je 0x1000b24d
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.GetProcessHeap
push str.KERNEL32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.HeapFree
push str.KERNEL32.dll
mov dword [ebp - 0x14], eax
call edi
push eax
call ebx
test esi, esi
mov edi, eax
je 0x1000b24d
push esi
push 0
call dword [ebp - 0x14]
push eax
call edi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x1000b2a0
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.GetProcessHeap
push str.KERNEL32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.HeapFree
push str.KERNEL32.dll
mov dword [ebp - 0x14], eax
call edi
push eax
call ebx
test esi, esi
mov edi, eax
je 0x1000b2a0
push esi
push 0
call dword [ebp - 0x14]
push eax
call edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret