Function at 0x140001130
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub rsp, 0x88
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0x104
jae 0x140001152
jmp 0x140001157
call fcn.140059a40
lea rax, [0x1400cdc40]
mov rcx, qword [rsp + 0x50]
mov byte [rax + rcx], 0
lea rdx, [0x140084198]
lea rcx, [0x1400cdb30]
call fcn.14005de20
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0x104
jae 0x140001195
jmp 0x14000119a
call fcn.140059a40
lea rax, [0x1400cd050]
mov rcx, qword [rsp + 0x58]
mov byte [rax + rcx], 0
mov r8d, 0xa
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_FindResourceA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1400011dd
lea rcx, str.Unable_to_FindResource
call fcn.140001000
xor eax, eax
jmp 0x14000149f
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [rsp + 0x30], eax
mov rdx, qword [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x14000121b
lea rcx, str.Unable_to_LoadResource
call fcn.140001000
xor eax, eax
jmp 0x14000149f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LockResource]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140001246
lea rcx, str.Unable_to_LockResource
call fcn.140001000
xor eax, eax
jmp 0x14000149f
mov eax, dword [rsp + 0x30]
inc eax
cdqe
mov rcx, rax
call fcn.14005e044
mov qword [rsp + 0x38], rax
movsxd rax, dword [rsp + 0x30]
mov r8, rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x38]
call fcn.14005a790
movsxd rax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FreeResource]
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x400
jae 0x1400012b0
jmp 0x1400012b5
call fcn.140059a40
lea rax, [0x1400cd620]
mov rcx, qword [rsp + 0x68]
mov byte [rax + rcx], 0
mov eax, 1
imul rax, rax, 0
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0x104
jae 0x1400012e0
jmp 0x1400012e5
call fcn.140059a40
lea rax, [0x1400cda20]
mov rcx, qword [rsp + 0x70]
mov byte [rax + rcx], 0
cmp qword [rsp + 0x20], 0
je 0x140001490
lea rdx, [0x14008333c]
mov rcx, qword [rsp + 0x20]
call fcn.140002cc0
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001343
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
jmp 0x140001374
mov edx, 0xa
mov rcx, qword [rsp + 0x20]
call fcn.140002c80
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0
je 0x140001374
mov rax, qword [rsp + 0x28]
mov byte [rax], 0
mov rax, qword [rsp + 0x28]
inc rax
mov qword [rsp + 0x28], rax
mov r8d, 0xa
lea rdx, str.CLASSPATH
mov rcx, qword [rsp + 0x20]
call fcn.14005dfb0
test eax, eax
jne 0x1400013ac
mov rax, qword [rsp + 0x20]
add rax, 0xa
mov rdx, rax
lea rcx, [0x1400cd620]
call fcn.14005de20
jmp 0x140001481
mov r8d, 0xa
lea rdx, str.MAINCLASS
mov rcx, qword [rsp + 0x20]
call fcn.14005dfb0
test eax, eax
jne 0x1400013e4
mov rax, qword [rsp + 0x20]
add rax, 0xa
mov rdx, rax
lea rcx, [0x1400cda20]
call fcn.14005de20
jmp 0x140001481
mov r8d, 0xa
lea rdx, str.JAVA_HOME
mov rcx, qword [rsp + 0x20]
call fcn.14005dfb0
test eax, eax
jne 0x140001419
mov rax, qword [rsp + 0x20]
add rax, 0xa
mov rdx, rax
lea rcx, [0x1400cd050]
call fcn.14005de20
jmp 0x140001481
mov r8d, 8
lea rdx, str.OPTIONS
mov rcx, qword [rsp + 0x20]
call fcn.14005dfb0
test eax, eax
jne 0x14000144e
mov rax, qword [rsp + 0x20]
add rax, 8
mov rdx, rax
lea rcx, [0x1400cdc40]
call fcn.14005de20
jmp 0x140001481
mov r8d, 7
lea rdx, str.METHOD
mov rcx, qword [rsp + 0x20]
call fcn.14005dfb0
test eax, eax
jne 0x140001481
mov rax, qword [rsp + 0x20]
add rax, 7
mov rdx, rax
lea rcx, [0x1400cdb30]
call fcn.14005de20
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x20], rax
jmp 0x1400012f5
mov rcx, qword [rsp + 0x38]
call fcn.14005e030
mov eax, 1
add rsp, 0x88
ret