Function at 0x4012e0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x1c4
and esp, 0xfffffff0
mov eax, 0
add eax, 0xf
add eax, 0xf
shr eax, 4
shl eax, 4
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
call fcn.00404420
call fcn.00404090
mov dword [ebp - 0x10], 0
mov dword [esp], str.RELATIVE_CLASSPATH
call fcn.0040229e
test eax, eax
je 0x40133a
mov dword [esp], str.RELATIVE_CLASSPATH
call fcn.004022ce
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004031f6
mov dword [ebp - 0x14], 0
mov dword [esp], str.EXTFLAGS
call fcn.0040229e
test eax, eax
je 0x401373
mov dword [esp], str.EXTFLAGS
call fcn.004022ce
mov dword [esp], eax
call sub.msvcrt.dll__strupr
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4013c9
mov dword [esp + 4], str.DDE_CONNECT
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_strstr
test eax, eax
je 0x4013c9
call fcn.004024c0
mov edx, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], 0x402046
call fcn.00402550
cmp eax, 1
jne 0x4013c9
mov dword [ebp - 0x194], 0
jmp 0x40203a
cmp dword [ebp - 0x14], 0
je 0x401421
mov dword [esp + 4], str.SINGLE
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_strstr
test eax, eax
je 0x401421
call fcn.004024c0
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], 0
call sub.KERNEL32.dll_CreateMutexA
sub esp, 0xc
call sub.KERNEL32.dll_GetLastError
cmp eax, 0xb7
jne 0x401421
mov dword [ebp - 0x194], 0
jmp 0x40203a
mov dword [esp], str.SPLASH_IMAGE
call fcn.0040229e
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 0
jle 0x4014df
mov dword [esp], str.SPLASH_IMAGE
call fcn.004022ce
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4014df
mov dword [esp], str.splashscreen.dll
call sub.KERNEL32.dll_LoadLibraryA
sub esp, 4
mov dword [0x407018], eax
cmp dword [0x407018], 0
je 0x4014df
mov dword [esp + 4], str.SplashInit
mov eax, dword [0x407018]
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov dword [0x407010], eax
mov dword [esp + 4], str.SplashLoadMemory
mov eax, dword [0x407018]
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
mov dword [0x407014], eax
cmp dword [0x407010], 0
je 0x4014df
cmp dword [0x407014], 0
je 0x4014df
mov eax, dword [0x407010]
call eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
mov eax, dword [0x407014]
call eax
mov dword [ebp - 0x20], 0
mov dword [esp], str.VMARGS
call fcn.0040229e
test eax, eax
je 0x401505
mov dword [esp], str.VMARGS
call fcn.004022ce
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.00402b10
test eax, eax
jne 0x4015b2
mov edx, dword [ebp - 0xc]
add edx, 6
mov dword [ebp - 0x198], edx
cmp dword [ebp - 0x198], 7
ja case.0x401541.6
mov edx, dword [ebp - 0x198]
mov eax, dword [edx*4 + 0x406684]
jmp eax
mov dword [esp], 0x406070
call fcn.0040242e
jmp case.0x401541.6
mov dword [esp], 0x4060b0
call fcn.0040242e
jmp case.0x401541.6
mov dword [esp], 0x4060f8
call fcn.0040242e
jmp case.0x401541.6
mov dword [esp], 0x406140
call fcn.0040242e
jmp case.0x401541.6
mov dword [esp], 0x40617c
call fcn.0040242e
jmp case.0x401541.6
mov dword [esp], 0x4061bc
call fcn.0040242e
jmp case.0x401541.6
mov dword [esp], str.JavaVM
call fcn.0040242e
mov dword [ebp - 0x194], 0xffffffff
jmp 0x40203a
call fcn.00402dfc
mov dword [ebp - 0x24], eax
mov dword [esp], 0x40622d
call fcn.004022ce
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x24]
jbe 0x40161f
mov dword [esp], 0x100
call sub.msvcrt.dll_malloc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x40623c
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffffe
jmp 0x40203a
mov dword [esp], 0x406269
call fcn.0040229e
mov ebx, eax
mov dword [esp], 0x406269
call fcn.004022ce
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.URLConnection
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.004048d0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x401682
mov dword [esp], str.Fialed_to_define_class:_URLConnection_n
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffffd
jmp 0x40203a
mov dword [esp], 0x4062af
call fcn.0040229e
mov ebx, eax
mov dword [esp], 0x4062af
call fcn.004022ce
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x4062c2
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.004048d0
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
jne 0x4016e5
mov dword [esp], str.Fialed_to_define_class:_URLStreamHandler_n
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffffd
jmp 0x40203a
cmp dword [ebp - 0x14], 0
je 0x401706
mov dword [esp + 4], str.NOLOG
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call sub.msvcrt.dll_strstr
test eax, eax
jne 0x4017c9
mov dword [esp], str.FILELOG_STREAM
call fcn.0040229e
mov ebx, eax
mov dword [esp], str.FILELOG_STREAM
call fcn.004022ce
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.FileLogStream
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.004048d0
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x4017c9
mov dword [esp + 0xc], 0x406321
mov dword [esp + 8], str.initialize
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404ab0
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
je 0x4017c9
mov dword [esp + 8], 0x104
lea eax, [ebp - 0x158]
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
lea eax, [ebp - 0x158]
mov dword [esp], eax
call fcn.00403024
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404b4c
cmp dword [ebp - 0x24], 0x104ffff
jbe 0x4018f5
mov dword [esp], 0x406342
call fcn.0040229e
mov ebx, eax
mov dword [esp], 0x406342
call fcn.004022ce
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.UncaughtHandler
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.004048d0
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
je 0x4018f5
mov dword [esp + 0xc], 0x406363
mov dword [esp + 8], str.initialize
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404ab0
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
je 0x4018f5
mov eax, dword [ebp - 0x160]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404b4c
mov dword [ebp - 0x178], 0x406367
mov dword [ebp - 0x174], 0x40637c
mov dword [ebp - 0x170], 0x40249a
mov dword [esp + 0xc], 1
lea eax, [ebp - 0x178]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x15c]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404a04
test eax, eax
je 0x4018f5
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp + 4], eax
mov dword [esp], str.Failed_to_regist_native_method:_UncaughtException_n
call sub.msvcrt.dll_fputs
mov dword [ebp - 0x194], 0xfffffffa
jmp 0x40203a
mov dword [esp], str.PACK_LOADER
call fcn.004022ce
test eax, eax
je 0x401caa
mov dword [esp], str.PACK_LOADER
call fcn.0040229e
mov ebx, eax
mov dword [esp], str.PACK_LOADER
call fcn.004022ce
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.PackLoader
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.004048d0
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0
jne 0x401972
mov dword [esp], str.Failed_to_define_class:_PackLoader_n
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffffc
jmp 0x40203a
mov dword [esp + 0xc], 0x406363
mov dword [esp + 8], 0x406414
mov eax, dword [ebp - 0x160]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404908
mov dword [ebp - 0x15c], eax
cmp dword [ebp - 0x15c], 0
jne 0x4019c3
mov dword [esp], str.Failed_to_find_method:_PackLoaderinit___n
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffffd
jmp 0x40203a
mov eax, dword [ebp - 0x15c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x160]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404c20
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
jne 0x401a0e
mov dword [esp], str.Failed_to_init:_PackLoader_n
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffffc
jmp 0x40203a
mov dword [ebp - 0x180], 0
mov dword [ebp - 0x184], 0
mov dword [ebp - 0x188], 0
mov dword [ebp - 0x18c], 0
mov dword [esp], 0x406462
call fcn.004022ce
test eax, eax
je 0x401aaa
mov dword [esp], 0x406462
call fcn.0040229e
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.0040493c
mov dword [ebp - 0x180], eax
mov dword [esp], 0x406462
call fcn.004022ce
mov ebx, eax
mov dword [esp], 0x406462
call fcn.0040229e
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x180]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404b10
mov dword [esp], str.RESOURCES_GZ
call fcn.004022ce
test eax, eax
je 0x401b1e
mov dword [esp], str.RESOURCES_GZ
call fcn.0040229e
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.0040493c
mov dword [ebp - 0x184], eax
mov dword [esp], str.RESOURCES_GZ
call fcn.004022ce
mov ebx, eax
mov dword [esp], str.RESOURCES_GZ
call fcn.0040229e
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x184]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404b10
mov dword [esp], str.SPLASH_PATH
call fcn.004022ce
test eax, eax
je 0x401b92
mov dword [esp], str.SPLASH_PATH
call fcn.0040229e
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.0040493c
mov dword [ebp - 0x188], eax
mov dword [esp], str.SPLASH_PATH
call fcn.004022ce
mov ebx, eax
mov dword [esp], str.SPLASH_PATH
call fcn.0040229e
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x188]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404b10
mov dword [esp], str.SPLATH_IMAGE
call fcn.004022ce
test eax, eax
je 0x401c06
mov dword [esp], str.SPLASH_IMAGE
call fcn.0040229e
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.0040493c
mov dword [ebp - 0x18c], eax
mov dword [esp], str.SPLASH_IMAGE
call fcn.004022ce
mov ebx, eax
mov dword [esp], str.SPLASH_IMAGE
call fcn.0040229e
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x18c]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404b10
mov dword [esp + 0xc], str.__B_B_B_B_Ljava_lang_Class_
mov dword [esp + 8], str.initialize
mov eax, dword [ebp - 0x160]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404908
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0
jne 0x401c57
mov dword [esp], str.Failed_to_find_method:_PackLoaderinitialize_byte____byte____byte____byte____n
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffffa
jmp 0x40203a
mov eax, dword [ebp - 0x18c]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x188]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x184]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x180]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x17c]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404a38
mov dword [0x407024], eax
jmp 0x401ec5
mov dword [esp], str.CLASSIC_LOADER
call fcn.004022ce
test eax, eax
je 0x401eaa
mov dword [esp], str.CLASSIC_LOADER
call fcn.0040229e
mov ebx, eax
mov dword [esp], str.CLASSIC_LOADER
call fcn.004022ce
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], str.ClassicLoader
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.004048d0
mov dword [ebp - 0x190], eax
cmp dword [ebp - 0x190], 0
jne 0x401d27
mov dword [esp], str.Failed_to_define_class:_ClassicLoader_n
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffffc
jmp 0x40203a
mov dword [esp + 0xc], 0x406363
mov dword [esp + 8], 0x406414
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404908
mov dword [ebp - 0x18c], eax
cmp dword [ebp - 0x18c], 0
jne 0x401d78
mov dword [esp], str.Failed_to_find_method:_ClassicLoaderinit___n
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffffd
jmp 0x40203a
mov eax, dword [ebp - 0x18c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404c20
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jne 0x401dc3
mov dword [esp], str.Failed_to_init:_ClassicLoader_n
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffffc
jmp 0x40203a
mov dword [esp], 0x406597
call fcn.0040229e
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.0040493c
mov dword [ebp - 0x184], eax
mov dword [esp], 0x406597
call fcn.004022ce
mov ebx, eax
mov dword [esp], 0x406597
call fcn.0040229e
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov eax, dword [ebp - 0x184]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404b10
mov dword [esp + 0xc], str.__B_Ljava_lang_Class_
mov dword [esp + 8], str.initialize
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404908
mov dword [ebp - 0x180], eax
cmp dword [ebp - 0x180], 0
jne 0x401e78
mov dword [esp], str.Failed_to_find_method:_ClassicLoaderinitialize_byte____n
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffffa
jmp 0x40203a
mov eax, dword [ebp - 0x184]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x180]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x188]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404a38
mov dword [0x407024], eax
jmp 0x401ec5
mov dword [esp], 0x4065f0
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffff7
jmp 0x40203a
cmp dword [0x407024], 0
jne 0x401ee9
mov dword [esp], 0x406614
call fcn.004022fe
mov dword [ebp - 0x194], 0xfffffff8
jmp 0x40203a
mov dword [esp + 0xc], str.__Ljava_lang_String__V
mov dword [esp + 8], 0x406652
mov eax, dword [0x407024]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404ab0
mov dword [0x407028], eax
cmp dword [0x407028], 0
jne 0x401f38
mov dword [esp], str.main
call fcn.0040242e
mov dword [ebp - 0x194], 0xfffffff7
jmp 0x40203a
mov dword [esp + 4], 0x406673
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404bfc
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
dec eax
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.004049d0
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x18c], 1
mov eax, dword [ebp - 0x18c]
cmp eax, dword [ebp + 8]
jge 0x401fd4
mov eax, dword [ebp - 0x18c]
lea edx, [eax*4]
mov eax, dword [ebp + 0xc]
mov eax, dword [edx + eax]
mov dword [esp], eax
call fcn.00403024
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x18c]
dec eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x190]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404b88
lea eax, [ebp - 0x18c]
inc dword [eax]
jmp 0x401f7e
mov eax, dword [ebp - 0x190]
mov dword [esp + 0xc], eax
mov eax, dword [0x407028]
mov dword [esp + 8], eax
mov eax, dword [0x407024]
mov dword [esp + 4], eax
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404b4c
mov eax, dword [0x407074]
mov dword [esp], eax
call fcn.00404964
cmp al, 1
jne 0x402026
mov dword [esp], 0
call fcn.004022fe
mov dword [ebp - 0x194], 0xffffffff
jmp 0x40203a
call fcn.00402de6
call fcn.00402d8e
mov dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
mov ebx, dword [ebp - 4]
leave
ret