Function at 0x401b90
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
push str.Local1333155B_29F3_4010_B2BB_2A5028893008
call fcn.00401b10
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.00401390
add esp, 4
push 0x104
lea ecx, [ebp - 0x2d0]
push ecx
call fcn.00402020
add esp, 8
push str.512m
push str._Xmx_s
push 0x50
lea edx, [ebp - 0x32c]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
mov dword [ebp - 0x2d8], 1
jmp 0x401bfd
mov eax, dword [ebp - 0x2d8]
add eax, 1
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2d8]
cmp ecx, dword [ebp + 0xc]
jge 0x401d2a
push str._installDir
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + edx*4]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x401c85
mov edx, dword [ebp - 0x2d8]
add edx, 1
mov dword [ebp - 0x2d8], edx
mov eax, dword [ebp - 0x2d8]
cmp eax, dword [ebp + 0xc]
jge 0x401c72
push 0x104
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + ecx*4]
push eax
lea ecx, [ebp - 0x2d0]
push ecx
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov word [ebp - 0xca], 0
jmp 0x401c80
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.0040211c
add esp, 4
jmp 0x401d25
push str._maxJvmHeap
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.MSVCRT.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x401d17
mov ecx, dword [ebp - 0x2d8]
add ecx, 1
mov dword [ebp - 0x2d8], ecx
mov edx, dword [ebp - 0x2d8]
cmp edx, dword [ebp + 0xc]
jge 0x401d07
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + eax*4]
push edx
push 0x40329c
push 0x50
lea eax, [ebp - 0xc8]
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
push 0
push 0
push 0x50
lea ecx, [ebp - 0x32c]
push ecx
push 0xffffffffffffffff
lea edx, [ebp - 0xc8]
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
jmp 0x401d15
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
push ecx
call fcn.0040211c
add esp, 4
jmp 0x401d25
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
push eax
call fcn.0040211c
add esp, 4
jmp 0x401bee
lea ecx, [ebp - 0x2d0]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea edx, [ebp - 0x2d0]
push edx
call fcn.004020b3
add esp, 4
mov dword [ebp - 0x2dc], eax
cmp dword [ebp - 0x2dc], 0
jne 0x401d62
push str.Could_not_get_Java_VM_entry_point
call fcn.00401dfc
add esp, 4
mov dword [ebp - 0x18], str._Djava.class.pathlibjpf_boot.jar
mov dword [ebp - 0x10], str._Xms25m
lea eax, [ebp - 0x32c]
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], 0x10004
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], 3
mov byte [ebp - 0x1c], 0
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x2d4]
push eax
lea ecx, [ebp - 0x330]
push ecx
call dword [ebp - 0x2dc]
test eax, eax
je 0x401dba
push str.Cant_create_Java_VM
call fcn.00401dfc
add esp, 4
mov edx, dword [ebp - 0x330]
mov dword [0x404034], edx
mov eax, dword [ebp - 0x2d4]
push eax
call fcn.00401f3b
add esp, 4
mov ecx, dword [ebp - 0x2d4]
push ecx
call fcn.00401e6d
add esp, 4
mov edx, dword [ebp - 0x330]
push edx
mov eax, dword [ebp - 0x330]
mov ecx, dword [eax]
call dword [ecx + 0xc]
xor eax, eax
mov esp, ebp
pop ebp
ret