Function at 0x4108b0
Capabilities:
Create directory
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x5ad991
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5f13cc]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f13cc]
xor eax, esp
push eax
lea eax, [esp + 0xa8]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xb8]
lea edi, [esp + 0x14]
call fcn.00474ab0
mov dword [esp + 0xb0], 0
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 0xc]
test eax, eax
jle 0x410935
lea ecx, [eax - 1]
test ecx, ecx
jl 0x410a0b
cmp ecx, eax
jg 0x410a0b
movzx eax, word [edx + ecx*2]
cmp ax, 0x5c
je 0x410935
push 0x5c
call fcn.00404400
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov ebx, str.LevelPoint_
call fcn.00412480
add esp, 8
mov byte [esp + 0xb0], 1
mov edx, dword [esp + 0x18]
push 0
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.00403ce0
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0xbc]
push eax
push str.level__d.dat
lea edi, [esp + 0x24]
mov byte [esp + 0xb8], 2
call fcn.00403650
push 0x7c
lea ecx, [esp + 0x30]
push 0
push ecx
call fcn.00580260
mov esi, dword [esp + 0x30]
add esp, 0x14
push 0x7c
lea edx, [esp + 0x28]
push edx
push 0
push esi
call fcn.00450b40
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
add esp, 0x10
test eax, eax
je 0x410a36
mov edx, dword [esp + 0x24]
test edx, edx
jbe 0x410a36
lea eax, [esp + 0x30]
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4109d4
sub eax, edi
sar eax, 1
je 0x410a36
cmp edx, dword [0x5fe590]
mov dword [0x5fe594], 1
je 0x410a15
push 1
push 0
push ebp
mov dword [0x5fe590], edx
call ebx
call fcn.00450fe0
jmp 0x410a62
push 0x80070057
call fcn.00404550
cmp dword [0x5f91e4], 0
je 0x410a2f
push 1
push 0
push ebp
call ebx
mov dword [0x5f91e4], 0
call fcn.00450fe0
jmp 0x410a62
cmp dword [0x6035cc], 0
mov dword [0x5fe594], 0
mov dword [0x5f91e4], 1
jne 0x410aa2
mov dword [0x6035cc], 1
call fcn.00410750
cmp dword [0x5fe594], 0
je 0x410aa2
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 1
push 0x566
push ebp
call edi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call esi
push 1
push 0x565
push ebp
call edi
push eax
call esi
push 0
push 0
push 0x565
push ebp
call edi
push eax
call ebx
jmp 0x410ac8
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0x566
push ebp
call esi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call edi
push 0
push 0x565
push ebp
call esi
push eax
call edi
mov byte [esp + 0xb0], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410af0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0xb0], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410b18
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xb0], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x410b43
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0xa8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x90]
xor ecx, esp
call fcn.005787fd
add esp, 0xa0
ret