joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4195ce
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
lea eax, [ebp - 4]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 1
push 0
push 0
push dword [ebp - 4]
mov edi, eax
call fcn.00428e60
xor ecx, ecx
add eax, edi
adc edx, ecx
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edx
pop edi
leave
ret

Function at 0x41960d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x40], edi
jne 0x41961f
xor eax, eax
jmp 0x419646
push ebx
mov ebx, dword [ebp + 0xc]
push edi
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
mov dword [esi + 0x1c], edi
push dword [esi + 0xc]
mov dword [esi + 0x20], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, edi
je 0x419645
add dword [esi + 0x28], ebx
adc dword [esi + 0x2c], edi
pop ebx
pop edi
pop esi
pop ebp
ret 8

Function at 0x41971f
Capabilities:
Get disk information

Disassembly:
push 0x10
mov eax, 0x432c77
call fcn.0042e9de
mov eax, dword [ebp + 8]
push eax
mov esi, edx
mov dword [ebp - 0x1c], ecx
call fcn.00414938
mov edi, eax
pop ecx
test edi, edi
jne 0x41974a
xor eax, eax
call fcn.0042ea28
ret 8
mov dword [ebp - 0x14], edi
and dword [ebp - 4], 0
cmp dword [esi + 0xc], 0xffffffff
je 0x419760
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x20]
test ebx, ebx
je 0x419773
push 0xffffffffffffffff
push edi
push dword [ebp + 0xc]
push ebx
call fcn.0042028d
add esp, 0x10
push dword [ebp - 0x1c]
push edi
call fcn.0041980c
test eax, eax
jne 0x4197bb
mov eax, dword [esi + 0x140]
push dword [eax + 0x1c]
mov ecx, dword [ebp - 0x1c]
push edi
call fcn.00414a0c
pop ecx
pop ecx
test eax, eax
jne 0x4197a1
push edi
call fcn.004200e6
pop ecx
jmp 0x419740
push dword [ebp - 0x1c]
push edi
call fcn.0041980c
test eax, eax
jne 0x4197bb
xor esi, esi
push edi
call fcn.004200e6
pop ecx
mov eax, esi
jmp 0x419742
push edi
call fcn.004211b6
pop ecx
push edi
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 3
jle 0x419807
cmp word [edi + 2], 0x3a
jne 0x419807
cmp word [edi + 4], 0x5c
jne 0x419807
mov ax, word [edi]
push 0x3a
mov word [ebp - 0x18], ax
pop eax
mov word [ebp - 0x16], ax
push 0x5c
pop eax
mov word [ebp - 0x14], ax
xor eax, eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [esi + 0x38], eax
xor esi, esi
inc esi
jmp 0x4197b0

Function at 0x419835
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x13c]
test eax, eax
jne 0x419846
inc eax
leave
ret
push 0
lea ecx, [ebp - 4]
push ecx
push eax
lea eax, [esi + 0x3c]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
cmp ecx, dword [esi + 0x13c]
je 0x419869
xor eax, eax
leave
ret
and dword [esi + 0x13c], 0
leave
ret
Function at 0x4198b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov esi, ecx
call fcn.00419835
mov ebx, dword [ebp + 0xc]
xor edi, edi
push edi
lea eax, [ebp - 4]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp + 0xc], eax
cmp eax, edi
je 0x419959
cmp dword [esi + 0x38], 2
jne 0x419959
mov ecx, dword [esi + 0x34]
mov eax, dword [esi + 0x30]
push edi
mov edi, 0x400
push edi
push ecx
push eax
call fcn.00428cf0
push 0
push edi
push edx
push eax
call fcn.00428cf0
push 0
push 0xa
push edx
push eax
call fcn.00428cf0
mov dword [ebp - 0xc], eax
xor eax, eax
add ebx, dword [esi + 0x30]
mov dword [ebp - 8], edx
adc eax, dword [esi + 0x34]
mov dword [esi + 0x30], ebx
xor ebx, ebx
push ebx
push edi
push eax
push dword [esi + 0x30]
mov dword [esi + 0x34], eax
call fcn.00428cf0
push ebx
push edi
push edx
push eax
call fcn.00428cf0
push ebx
push 0xa
push edx
push eax
call fcn.00428cf0
cmp dword [ebp - 0xc], eax
jne 0x41994e
cmp dword [ebp - 8], edx
je 0x41995f
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
jmp 0x41995f
add dword [esi + 0x30], ebx
adc dword [esi + 0x34], edi
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x419969
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
xor ebx, ebx
push edi
mov dword [ebp - 0x10], 0x436014
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
cmp eax, ebx
je 0x41999d
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004158cb
push dword [esi + 0x10]
call fcn.004200e6
pop ecx
cmp dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], ebx
jne 0x4199ba
xor edi, edi
inc edi
lea esi, [ebp - 0x10]
call fcn.00415921
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
mov dword [ebp - 4], 1
call fcn.00419835
test eax, eax
jne 0x4199cd
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 0xc]
cmp ecx, 0xffffffff
je 0x4199ec
lea eax, [esi + 0x14]
push ecx
call fcn.004150b7
pop ecx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 0xc], 0xffffffff
push 6
xor eax, eax
pop ecx
lea edi, [esi + 0x14]
mov dword [esi + 0x38], ebx
rep stosd dword es:[edi], eax
cmp dword [ebp + 8], ebx
je 0x419a0c
cmp dword [ebp - 0xc], ebx
je 0x419a0c
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edi, dword [ebp - 4]
jmp 0x4199a9
Function at 0x41b98d
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ebx + 0x9c]
push edi
cmp eax, 0xffffffff
je 0x41b9f7
cmp eax, 0x40
jbe 0x41b9b4
push esi
lea esi, [ebx + 0x40]
push ebx
call fcn.0041bce9
pop ecx
mov dword [ebx + 0x9c], 0x14
pop esi
mov eax, dword [ebx + 0x9c]
push 0x40
pop ecx
sub ecx, eax
push ecx
add eax, ebx
push 0
push eax
call fcn.00422c40
add esp, 0xc
xor eax, eax
xor dword [ebx + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x41b9cf
lea eax, [ebx + 0x40]
call fcn.0041bc58
push 0x40
mov edi, eax
mov ecx, ebx
call fcn.0041bc83
or dword [ebx + 0x9c], 0xffffffff
pop ecx
cmp dword [esp + 0xc], 0
je 0x41ba0f
push dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
lea edi, [ebx + 0x40]
call fcn.0041bc83
pop ecx
pop edi
ret

Function at 0x41ba11
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x43f050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
cmp dword [ebx + 0x9c], 0xffffffff
push esi
push edi
mov dword [ebp - 0x1c], eax
je 0x41ba40
push 0
push 0
call fcn.0041b98d
pop ecx
pop ecx
lea eax, [ebp - 0x18]
lea esi, [ebx + 0x40]
push eax
call fcn.0041bce9
pop ecx
xor eax, eax
xor dword [ebx + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x41ba4f
mov eax, esi
call fcn.0041bc58
push 0x40
mov edi, esi
mov ecx, ebx
call fcn.0041bc83
push 0x14
lea ecx, [ebp - 0x18]
call fcn.0041bc83
lea eax, [ebp - 0x18]
push eax
call fcn.0041bce9
add esp, 0xc
cmp dword [ebp + 0xc], 0
pop edi
pop esi
pop ebx
jbe 0x41ba9f
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x1c]
call fcn.004230c0
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fc9d
leave
ret
Function at 0x41baab
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
push esi
push edi
xor esi, esi
lea edx, [eax + 0x1c]
mov ecx, dword [edx]
mov edi, ecx
ror edi, 8
and edi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edi, ecx
mov dword [ebp + esi*4 - 0x150], edi
inc esi
add edx, 4
cmp esi, 0x10
jb 0x41babc
push 0x40
lea ecx, [ebp - 0x148]
pop edx
mov esi, dword [ecx + 0x2c]
xor esi, dword [ecx + 0x18]
xor esi, dword [ecx - 8]
xor esi, dword [ecx]
add ecx, 4
dec edx
rol esi, 1
mov dword [ecx + 0x34], esi
jne 0x41baed
mov edi, dword [eax + 0x14]
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
and dword [ebp - 4], 0
mov dword [ebp - 8], edi
mov edi, dword [eax + 0x18]
mov dword [ebp - 0x10], edi
mov edi, esi
not edi
and edi, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov ebx, ecx
and ebx, esi
xor edi, ebx
rol edx, 5
add edx, edi
mov edi, dword [ebp - 4]
add edx, dword [ebp + edi*4 - 0x150]
mov edi, dword [ebp - 0x10]
inc dword [ebp - 4]
ror esi, 2
cmp dword [ebp - 4], 0x14
lea edx, [edx + edi + 0x5a827999]
mov edi, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov ecx, esi
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
jb 0x41bb1c
mov dword [ebp - 4], 0x14
mov ebx, dword [ebp - 8]
xor ebx, ecx
mov dword [ebp - 0xc], edx
xor ebx, esi
rol edx, 5
add edx, ebx
mov ebx, dword [ebp - 4]
add edx, dword [ebp + ebx*4 - 0x150]
inc dword [ebp - 4]
ror esi, 2
cmp dword [ebp - 4], 0x28
lea edx, [edx + edi + 0x6ed9eba1]
mov edi, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov ecx, esi
mov esi, dword [ebp - 0xc]
jb 0x41bb66
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0x28
mov edi, ecx
xor edi, esi
and edi, dword [ebp - 8]
mov ebx, ecx
and ebx, esi
xor edi, ebx
mov ebx, dword [ebp - 4]
add edi, dword [ebp + ebx*4 - 0x150]
mov dword [ebp - 0xc], edx
rol edx, 5
add edx, dword [ebp - 0x10]
inc dword [ebp - 4]
lea edx, [edi + edx - 0x70e44324]
mov edi, dword [ebp - 8]
ror esi, 2
push 0x3c
mov dword [ebp - 0x10], edi
pop edi
mov dword [ebp - 8], ecx
mov ecx, esi
mov esi, dword [ebp - 0xc]
cmp dword [ebp - 4], edi
jb 0x41bba7
mov dword [ebp - 4], edi
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
xor edi, ecx
mov dword [ebp - 0xc], edx
xor edi, esi
add edi, dword [ebp + ebx*4 - 0x150]
mov ebx, dword [ebp - 8]
rol edx, 5
add edx, dword [ebp - 0x10]
inc dword [ebp - 4]
ror esi, 2
cmp dword [ebp - 4], 0x50
mov dword [ebp - 8], ecx
mov ecx, esi
mov esi, dword [ebp - 0xc]
lea edx, [edi + edx - 0x359d3e2a]
mov dword [ebp - 0x10], ebx
jb 0x41bbed
mov edi, dword [eax + 8]
add edi, edx
mov edx, dword [eax + 0xc]
add edx, esi
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0x10]
add edx, ecx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 8]
add ecx, edx
mov dword [eax + 0x14], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 8], edi
pop edi
add ecx, ebx
pop esi
mov dword [eax + 0x18], ecx
pop ebx
leave
ret
Function at 0x41bc58
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret

Function at 0x41bddf
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x224
mov eax, dword [0x43f050]
xor eax, ebp
mov dword [ebp + 0x60], eax
mov eax, dword [ebp + 0x70]
push ebx
push esi
push edi
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp + 0x78]
push 0xa0
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x108]
push 0
push eax
mov esi, ecx
call fcn.00422c40
mov ebx, dword [ebp + 0x6c]
push esi
lea esi, [ebp - 0x108]
call fcn.0041b92f
push 0x28
pop ecx
push dword [ebp + 0x74]
lea edi, [ebp - 0x1a8]
push dword [ebp - 0x1b0]
lea ebx, [ebp - 0x1a8]
rep movsd dword es:[edi], dword [esi]
call fcn.0041b98d
mov eax, dword [ebp + 0x7c]
add esp, 0x18
push 0x14
dec eax
xor edx, edx
pop ecx
div ecx
inc eax
mov dword [ebp - 0x1bc], eax
je 0x41bf58
and dword [ebp - 0x1b4], 0
xor edx, edx
inc edx
lea eax, [ebp + 0x38]
mov dword [ebp - 0x1ac], edx
mov dword [ebp - 0x1b8], eax
jmp 0x41be88
mov edx, dword [ebp - 0x1ac]
xor eax, eax
lea edi, [ebp + 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, edx
shr eax, 0x18
mov byte [ebp + 0x4c], al
mov eax, edx
shr eax, 0x10
push 0x28
mov byte [ebp + 0x4d], al
pop ecx
mov eax, edx
shr eax, 8
lea esi, [ebp - 0x1a8]
lea edi, [ebp - 0x68]
push 4
mov byte [ebp + 0x4e], al
rep movsd dword es:[edi], dword [esi]
mov byte [ebp + 0x4f], dl
pop eax
mov dword [ebp - 0x1b0], 0x3e8
push eax
lea eax, [ebp + 0x4c]
push eax
lea ebx, [ebp - 0x68]
call fcn.0041b98d
lea eax, [ebp + 0x4c]
push 0x14
push eax
mov ecx, ebx
call fcn.0041ba11
add esp, 0x10
xor eax, eax
mov cl, byte [ebp + eax + 0x4c]
xor byte [ebp + eax + 0x38], cl
inc eax
cmp eax, 0x14
jb 0x41bee7
dec dword [ebp - 0x1b0]
push 0x28
pop ecx
lea esi, [ebp - 0x108]
lea edi, [ebp - 0x68]
rep movsd dword es:[edi], dword [esi]
jne 0x41bec8
mov eax, dword [ebp - 0x1b4]
xor ecx, ecx
cmp eax, dword [ebp + 0x7c]
jae 0x41bf31
mov edx, dword [ebp - 0x1b8]
mov dl, byte [edx + eax]
mov esi, dword [ebp - 0x1c0]
inc ecx
mov byte [eax + esi], dl
inc eax
cmp ecx, 0x14
jb 0x41bf13
inc dword [ebp - 0x1ac]
add dword [ebp - 0x1b4], 0x14
sub dword [ebp - 0x1b8], 0x14
mov eax, dword [ebp - 0x1ac]
dec eax
cmp eax, dword [ebp - 0x1bc]
jb 0x41be82
mov ecx, dword [ebp + 0x60]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fc9d
add ebp, 0x64
leave
ret
Function at 0x41f2dd
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x43f050]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 4
mov eax, 0x43344d
call fcn.0042e975
and dword [ebp - 0x10], 0
mov esi, 0x104
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x41f349
cmp eax, esi
jge 0x41f349
lea eax, [ebp - 0x10]
push eax
lea edi, [ebp]
call fcn.00401bbc
and dword [ebp - 4], 0
push 0x436010
push ebx
mov ecx, eax
call fcn.0041eab2
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.00401cc5
jmp 0x41f354
push ebx
mov edi, 0x436014
call fcn.00401bbc
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.0041fc9d
add ebp, 0x20c
leave
ret

Function at 0x41fb77
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x440f60], 0
push esi
jne 0x41faea
call fcn.0041fa10
test eax, eax
je 0x41fb2d
mov eax, dword [0x440f60]
cmp eax, 1
jne 0x41fb0b
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41fb2d
pop esi
ret
push eax
call dword [0x440f68]
test eax, eax
jne 0x41fb75
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41fb31
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x440f60]
call dword [0x440f68]
mov edi, eax
test edi, edi
je 0x41fb56
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41fb72
mov edi, esi
add esi, 0xff0
push edi
push dword [0x440f60]
call dword [0x440f64]
add edi, 0x10
cmp edi, esi
jb 0x41fb5e
mov eax, edi
pop edi
pop esi
ret
jmp 0x41fad7

Function at 0x41fc9d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43f050]
jne 0x41fca7
repz ret
jmp fcn.00422eac
Function at 0x42afc1
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042367f
and dword [ebp - 4], 0
cmp dword [0x441b28], 0
mov ebx, eax
jne 0x42b072
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42b123
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42b123
push eax
call fcn.0042360d
mov dword [esp], 0x435510
push edi
mov dword [0x441b28], eax
call esi
push eax
call fcn.0042360d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x441b2c], eax
call esi
push eax
call fcn.0042360d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x441b30], eax
call esi
push eax
call fcn.0042360d
pop ecx
mov dword [0x441b38], eax
test eax, eax
je 0x42b072
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042360d
pop ecx
mov dword [0x441b34], eax
mov eax, dword [0x441b34]
cmp eax, ebx
je 0x42b0ca
cmp dword [0x441b38], ebx
je 0x42b0ca
push eax
call fcn.00423688
push dword [0x441b38]
mov esi, eax
call fcn.00423688
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42b0ca
test edi, edi
je 0x42b0ca
call esi
test eax, eax
je 0x42b0c1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42b0c1
test byte [ebp - 0xc], 1
jne 0x42b0ca
or dword [ebp + 0x10], 0x200000
jmp 0x42b103
mov eax, dword [0x441b2c]
cmp eax, ebx
je 0x42b103
push eax
call fcn.00423688
pop ecx
test eax, eax
je 0x42b103
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42b103
mov eax, dword [0x441b30]
cmp eax, ebx
je 0x42b103
push eax
call fcn.00423688
pop ecx
test eax, eax
je 0x42b103
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x441b28]
call fcn.00423688
pop ecx
test eax, eax
je 0x42b123
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42b125
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401c30
Capabilities:
Query environment variable

Disassembly:
push ebp
mov eax, 0x812c
mov ebp, esp
push edi
push esi
push ebx
call fcn.004058d0
lea edi, [ebp - 0x8018]
xor ebx, ebx
mov esi, 0x7fff
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], edi
call sub.msvcrt.dll_memset
mov dword [esp + 4], edi
mov ecx, 0x7fff
mov dword [esp + 8], ecx
mov dword [esp], str.Launch4j
call sub.KERNEL32.dll_GetEnvironmentVariableA
mov eax, dword [ebp + 8]
sub esp, 0xc
mov edx, str.__l4j_debug
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_strstr
test eax, eax
je 0x401d86
lea ebx, [ebp - 0x8128]
mov edx, 0x104
xor esi, esi
mov dword [esp + 8], edx
mov dword [esp + 4], esi
mov esi, 0x6f6c2e6a
mov dword [esp], ebx
call sub.msvcrt.dll_memset
mov dword [esp], ebx
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strncpy
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov dword [eax + ebx], 0x75616c5c
mov edx, 0x3468636e
mov ecx, 0x407090
mov dword [eax + ebx + 4], edx
mov dword [eax + ebx + 8], esi
mov word [eax + ebx + 0xc], 0x67
mov dword [esp], ebx
mov dword [esp + 4], ecx
call sub.msvcrt.dll_fopen
mov dword [0x408090], eax
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x401d7e
mov eax, dword [ebp + 8]
mov ecx, str.__l4j_debug_all
xor esi, esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call sub.msvcrt.dll_strstr
test eax, eax
je 0x401da7
mov esi, 1
mov dword [0x408028], esi
test ebx, ebx
je 0x401d79
mov dword [esp], ebx
mov esi, str.3.12
mov edi, str._n_nVersion:_t_s_n
mov dword [esp + 8], esi
mov dword [esp + 4], edi
call sub.msvcrt.dll_fprintf
mov eax, dword [0x408090]
test eax, eax
je 0x401d79
mov dword [esp], eax
mov edx, dword [ebp + 8]
mov ebx, str.CmdLine:_t_s__s_n
mov dword [esp + 4], ebx
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
call sub.msvcrt.dll_fprintf
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
mov dword [esp], edi
mov edx, str.debug
mov dword [esp + 4], edx
call sub.msvcrt.dll_strstr
test eax, eax
jne 0x401c95
mov ebx, dword [0x408090]
jmp 0x401d33
mov dword [esp], edi
mov edx, str.debug_all
mov dword [esp + 4], edx
call sub.msvcrt.dll_strstr
test eax, eax
jne 0x401d28
jmp 0x401d2d

Function at 0x401ed0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
call sub.KERNEL32.dll_GetLastError
invalid
Function at 0x404d90
Capabilities:
Check mutex on windows
Get common file path

Disassembly:
push ebp
mov eax, 0x10468
mov ebp, esp
call fcn.004058d0
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], esi
mov dword [ebp - 4], edi
mov dword [esp], 0
call sub.KERNEL32.dll_GetModuleHandleA
mov dword [0x410880], eax
sub esp, 4
xor edx, edx
test eax, eax
jne 0x404dd0
mov ebx, dword [ebp - 0xc]
mov eax, edx
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
mov byte [0x410898], 0
mov edi, 0x6e75614c
mov esi, 0x6a346863
mov dword [0x410890], edi
mov ecx, 9
xor edx, edx
mov dword [0x410894], esi
xor ebx, ebx
xor eax, eax
mov dword [0x4102d0], ecx
mov edi, 0x104
lea ecx, [ebp - 0x128]
mov dword [0x4102d4], ebx
xor esi, esi
mov ebx, 0x104
mov dword [0x4102d8], edx
mov dword [0x4102dc], eax
mov dword [esp + 8], edi
lea edi, [ebp - 0x128]
mov dword [esp + 4], esi
mov dword [esp], ecx
call sub.msvcrt.dll_memset
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov edx, dword [0x410880]
mov dword [esp], edx
call sub.KERNEL32.dll_GetModuleFileNameA
sub esp, 0xc
test eax, eax
je 0x404f70
mov dword [esp], edi
mov edx, 0x5c
mov dword [esp + 4], edx
call sub.msvcrt.dll_strrchr
mov esi, eax
sub esi, edi
cmp esi, 0xffffffff
je 0x404f70
mov dword [esp + 8], esi
lea ecx, [ebp - 0x128]
mov dword [esp + 4], ecx
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call fcn.00401c30
xor edx, edx
test eax, eax
je 0x404dc0
mov dword [esp], str.kernel32
mov edi, str.IsWow64Process
call sub.KERNEL32.dll_GetModuleHandleA
sub esp, 4
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.KERNEL32.dll_GetProcAddress
sub esp, 8
test eax, eax
invalid
Function at 0x4054c0
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov eax, 0x808c
mov ebp, esp
push edi
push esi
push ebx
call fcn.004058d0
cld
mov edx, 0x44
xor eax, eax
lea esi, [ebp - 0x68]
xor ebx, ebx
mov edi, 0x4102b0
mov ecx, 4
rep stosd dword es:[edi], eax
mov dword [esp + 8], edx
xor edi, edi
mov dword [esp + 4], ebx
lea ebx, [ebp - 0x8068]
mov dword [esp], esi
call sub.msvcrt.dll_memset
mov dword [ebp - 0x68], 0x44
mov eax, 0x8000
mov dword [esp + 4], edi
mov edi, 0x4102b0
mov dword [esp + 8], eax
mov dword [esp], ebx
call sub.msvcrt.dll_memset
mov ecx, 0x22
mov edx, 0x4081a4
mov word [ebp - 0x8068], cx
mov dword [esp + 4], edx
mov dword [esp], ebx
call sub.msvcrt.dll_strcat
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
mov word [eax + ebx], 0x2022
mov byte [eax + ebx + 2], 0
mov eax, 0x4082a8
mov dword [esp + 4], eax
mov dword [esp], ebx
call sub.msvcrt.dll_strcat
mov dword [esp + 0x20], esi
xor ecx, ecx
xor esi, esi
mov dword [esp + 0x24], edi
mov eax, 1
xor edi, edi
mov dword [esp + 0x1c], esi
xor esi, esi
mov dword [esp + 0x18], ecx
mov edx, dword [0x4102c0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov dword [esp + 0x14], edx
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], 0
call sub.KERNEL32.dll_CreateProcessA
sub esp, 0x28
test eax, eax
je 0x4055d0
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4055e3
mov ebx, dword [ebp + 0xc]
mov eax, 1
mov dword [ebx], 0
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
mov edx, dword [ebp + 0xc]
xor eax, eax
mov dword [edx], 0xffffffff
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, 0xffffffff
mov dword [esp + 4], esi
mov eax, dword [0x4102b0]
mov dword [esp], eax
call sub.KERNEL32.dll_WaitForSingleObject
mov edi, dword [ebp + 0xc]
sub esp, 8
mov dword [esp + 4], edi
mov ecx, dword [0x4102b0]
mov dword [esp], ecx
call sub.KERNEL32.dll_GetExitCodeProcess
mov edx, dword [0x4102b4]
sub esp, 8
mov dword [esp], edx
call sub.KERNEL32.dll_CloseHandle
mov ebx, dword [0x4102b0]
sub esp, 4
mov dword [esp], ebx
call sub.KERNEL32.dll_CloseHandle
sub esp, 4
mov eax, 1
jmp 0x4055c2