Function at 0x4127a0
Capabilities:
Create directory

Disassembly:
mov eax, dword [esp + 8]
test eax, eax
je 0x4127ad
mov dword [0x4de194], eax
mov eax, dword [esp + 0x10]
push esi
mov esi, dword [esp + 8]
push 0x100
push 0x4ddf7c
push esi
mov dword [0x4ddf78], esi
mov dword [0x4de1a4], eax
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
call fcn.00432a70
test eax, eax
jne 0x4127ea
push str.Unable_to_allocate_memory_for_geometries
call fcn.004116a0
add esp, 4
pop esi
ret
push 0x4ddf7c
call fcn.0041cf40
push 0x5c
push 0x4ddf7c
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 0xc
mov byte [eax], 0
call fcn.00412f50
test eax, eax
jne 0x41281f
push str.The_initialization_file_couldnt_be_located._Ensure_the_working_directory_is_set_to_where_this_program_resides.
call fcn.004116a0
add esp, 4
pop esi
ret
push 0x4ddf7c
push str.Path
push str.Browser
call fcn.00455b10
add esp, 0xc
call fcn.00441560
test eax, eax
je 0x41284e
push str.Unable_to_load_default_messages.__Please_re_install_Active_Worlds.
call fcn.004116a0
add esp, 4
pop esi
ret
push str.cache
push 0x4de08c
call fcn.0046b030
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
call fcn.004773a0
call fcn.0043bc80
mov ecx, dword [0x4de194]
push ecx
call fcn.00438d40
add esp, 0x10
call fcn.00426940
call fcn.00422a50
test eax, eax
jne 0x41289d
push 0x1e
call fcn.004411b0
push eax
call fcn.004116a0
add esp, 8
pop esi
ret
call fcn.00412e00
test eax, eax
jne 0x4128a8
pop esi
ret
call fcn.00442f20
test eax, eax
jne 0x4128ce
push 0x44
call fcn.004411b0
push eax
push 0x2da
call fcn.004411f0
push eax
call fcn.004116a0
add esp, 0x10
pop esi
ret
call fcn.00443230
cmp eax, 0x300
jge 0x4128f7
push 0x44
call fcn.004411b0
push eax
push 0x2db
call fcn.004411f0
push eax
call fcn.004116a0
add esp, 0x10
pop esi
ret
call fcn.00412ec0
test eax, eax
jne 0x412902
pop esi
ret
call fcn.0047e250
mov edx, dword [0x4de19c]
push edx
call fcn.00415270
mov eax, dword [0x4de19c]
push eax
call fcn.004292f0
add esp, 8
test eax, eax
jne 0x412927
pop esi
ret
mov ecx, dword [0x4de19c]
push ecx
call fcn.004562b0
add esp, 4
test eax, eax
je 0x41294d
push eax
push 0x12
call fcn.004411f0
push eax
call fcn.004116a0
add esp, 0xc
pop esi
ret
call fcn.0047dd30
push eax
call fcn.00406d00
add esp, 4
test eax, eax
je 0x412975
push eax
push 0x209
call fcn.004411f0
push eax
call fcn.004116a0
add esp, 0xc
pop esi
ret
call fcn.00403ed0
call fcn.004232f0
test eax, eax
je 0x41298f
push 0
call fcn.004116a0
add esp, 4
pop esi
ret
call fcn.0047c4b0
call fcn.004356e0
mov edx, dword [0x4ddf78]
mov eax, dword [0x4de19c]
push edx
push eax
call fcn.00401780
add esp, 8
test eax, eax
je 0x4129c8
push eax
push 0x97
call fcn.004411f0
push eax
call fcn.004116a0
add esp, 0xc
pop esi
ret
push 0x4d
call fcn.004411b0
push eax
call fcn.004014e0
add esp, 8
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.00453900
mov ecx, dword [0x4de19c]
push esi
push ecx
call fcn.0043dd80
mov edx, dword [0x4de19c]
push edx
call fcn.00436450
mov eax, dword [0x4de19c]
push eax
push esi
call fcn.004559a0
mov ecx, dword [0x4de19c]
push ecx
call fcn.0044d3e0
call fcn.00402740
call fcn.0044cd40
call fcn.0044c3c0
mov edx, dword [0x4de19c]
push esi
push edx
call fcn.00478150
mov eax, dword [0x4de19c]
push eax
call fcn.00466f50
mov ecx, dword [0x4de19c]
push ecx
call fcn.00480110
call fcn.00444f80
push esi
call fcn.00477de0
add esp, 0x30
call fcn.00482fe0
call fcn.004377a0
call fcn.0044af90
call fcn.00427e10
test eax, eax
je 0x412a80
push 0x52
call fcn.004411b0
push eax
call fcn.004116a0
add esp, 8
pop esi
ret
call fcn.00430470
test eax, eax
jne 0x412a9b
push 0xe
call fcn.004411b0
push eax
call fcn.004116a0
add esp, 8
pop esi
ret
mov edx, dword [0x4de19c]
push edx
call fcn.0042b320
mov eax, dword [0x4de19c]
push eax
push esi
call fcn.0046d390
add esp, 0xc
call fcn.004303f0
push eax
call fcn.00430400
push eax
push esi
call fcn.00451260
mov ecx, dword [0x4ddf78]
mov edx, dword [0x4de19c]
push ecx
push edx
call fcn.0043d0e0
push str.toolbar
push str.show
call fcn.0044cec0
add esp, 0x1c
cmp eax, 0xffffffff
jne 0x412b0f
call fcn.00415260
test eax, eax
je 0x412b0f
push 0
push str.toolbar
push str.show
call fcn.0044cf00
add esp, 0xc
push str.toolbar
push str.show
call fcn.0044cec0
add esp, 8
test eax, eax
jne 0x412b3f
push eax
call fcn.0046d220
add esp, 4
mov dword [0x4de088], 0
call fcn.0043d0d0
jmp 0x412b62
push 1
call fcn.0046d220
push 0x81
mov dword [0x4de088], 1
call fcn.0043ed00
add esp, 8
call fcn.0043d030
push str.kiosk
push str.special
call fcn.0044cec0
dec eax
push esi
neg eax
sbb eax, eax
inc eax
mov dword [0x4de1ac], eax
mov eax, dword [0x4de19c]
push eax
call fcn.0047e8e0
add esp, 0x10
test eax, eax
jne 0x412ba4
push 0xcd
call fcn.004411b0
push eax
call fcn.004116a0
add esp, 8
pop esi
ret
mov ecx, dword [0x4de19c]
push ecx
call fcn.004699c0
mov edx, dword [0x4ddf78]
mov eax, dword [0x4de19c]
push edx
push eax
call fcn.004827d0
mov ecx, dword [0x4de19c]
push ecx
call fcn.00404660
call fcn.0041afe0
mov edx, dword [0x4de19c]
push edx
call fcn.00486b20
call fcn.00430290
mov eax, dword [0x4de19c]
push eax
call fcn.0041cd30
add esp, 0x18
test eax, eax
je 0x412ddf
mov ecx, dword [0x4de19c]
push ecx
call fcn.00483d70
add esp, 4
test eax, eax
je 0x412ddf
mov edx, dword [0x4de19c]
push edx
call fcn.00424840
add esp, 4
test eax, eax
je 0x412c52
cmp eax, 0x1e5
jne 0x412c40
push 0x300
call fcn.004411b0
push eax
call fcn.004116a0
add esp, 8
pop esi
ret
push 0x7c
call fcn.004411b0
push eax
call fcn.004116a0
add esp, 8
pop esi
ret
call fcn.004532a0
call fcn.0047dd30
push eax
call fcn.0047dd20
push ecx
fstp dword [esp]
call fcn.00434340
push 0
call fcn.004347c0
add esp, 0xc
test eax, eax
je 0x412c8f
push eax
push 0xba
call fcn.004411f0
push eax
call fcn.004116a0
add esp, 0xc
pop esi
ret
call fcn.004310e0
call fcn.004299e0
mov eax, dword [0x4de19c]
push eax
call fcn.00467f00
call fcn.0047e780
push eax
call fcn.00440c70
call fcn.00418f80
call fcn.00430750
call fcn.0047fd80
call fcn.004658b0
call fcn.00484790
call fcn.00429210
call fcn.0044dda0
call fcn.00438130
mov ecx, dword [0x4de19c]
push ecx
call fcn.00432ff0
call fcn.0047f380
call fcn.00448c50
mov edx, dword [0x4de19c]
push edx
call fcn.0042bfa0
mov eax, dword [0x4ddf78]
mov ecx, dword [0x4de19c]
push eax
push ecx
call fcn.00453720
mov edx, dword [0x4ddf78]
mov eax, dword [0x4de19c]
push edx
push eax
call fcn.00444930
mov ecx, dword [esp + 0x30]
push ecx
push esi
call fcn.0041bf50
mov edx, dword [0x4de19c]
push edx
call fcn.0046cdb0
mov eax, dword [0x4ddf78]
mov ecx, dword [0x4de19c]
push eax
push ecx
call fcn.0043cdd0
mov edx, dword [0x4de19c]
push edx
call fcn.00483680
mov eax, dword [0x4de19c]
push eax
call fcn.0047d080
call fcn.0046fff0
call fcn.00410b00
mov ecx, dword [0x4de19c]
push eax
push ecx
call fcn.0046bef0
mov edx, dword [0x4ddf78]
add esp, 0x44
push str.MAIN_MENU
push edx
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov dword [0x4de190], eax
mov eax, dword [0x4de194]
test eax, eax
push 0
je 0x412da5
mov eax, dword [0x4de19c]
push 1
push 1
push eax
jmp 0x412db3
mov ecx, dword [0x4de19c]
push 0x14d
push 1
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
push str.MSWHEEL_ROLLMSG
mov dword [0x4de1bc], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov dword [0x4de1a8], eax
mov dword [0x4de07c], 0
mov eax, 1
pop esi
ret
push 0x17
call fcn.004411b0
push eax
call fcn.004116a0
add esp, 8
pop esi
ret