joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100013d0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001027a
mov eax, dword fs:[0]
push eax
sub esp, 0x19c
mov eax, dword [0x10015130]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esi + 4]
mov dword [ebp - 0x1a8], esi
mov dword [esi], vtable.CClientSocket.0
call fcn.10001000
lea ecx, [esi + 0x2c]
mov dword [ebp - 4], 0
call fcn.10001000
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 1
call fcn.10001000
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 2
call fcn.10001000
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x1a8], 0x2a264024
mov ecx, dword [ebp - 0x1a8]
mov dword [esi + 0xac], eax
mov word [esi + 0xb4], 0x25
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xb0], ecx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10004c80
mov esp, ebp
pop ebp
ret

Function at 0x100015a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10015130]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
call fcn.100016e0
push dword [esi + 0xac]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 6
push 1
push 2
mov byte [esi + 0xb5], 0
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi + 0xa8], eax
cmp eax, 0xffffffff
jne 0x100015fa
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10004c80
mov esp, ebp
pop ebp
ret 8
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x100015e6
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x20], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
mov eax, dword [edi + 0xc]
push 0x10
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0xa8]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
je 0x100015e6
push 4
lea eax, [ebp - 0x24]
push eax
push 8
push 0xffff
push dword [esi + 0xa8]
mov dword [ebp - 0x24], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x10001698
push eax
push eax
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x98000004
push dword [esi + 0xa8]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0xc], 0x2bf20
mov dword [ebp - 8], 0x1388
call dword [sym.imp.WS2_32.dll_WSAIoctl]
push 1
push 0
push 0
push esi
push 0x10001be0
push 0
push 0
mov byte [esi + 0xb5], 1
call fcn.10001eb0
mov ecx, dword [ebp - 4]
add esp, 0x1c
mov dword [esi + 0xa4], eax
pop edi
xor ecx, ebp
mov al, 1
pop esi
call fcn.10004c80
mov esp, ebp
pop ebp
ret 8
Function at 0x10001b00
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 0xc]
push esi
xor edx, edx
push edi
mov edi, dword [ebp + 8]
test ecx, ecx
jle 0x10001b27
mov al, byte [edx + edi]
xor al, 0x91
sub al, 0x67
mov byte [edx + edi], al
inc edx
cmp edx, ecx
jl 0x10001b18
mov ebx, dword [ebp + 0x10]
mov edx, dword [sym.imp.WS2_32.dll_send]
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp + 8], ecx
cmp ecx, ebx
jb 0x10001b8a
lea esp, [esp]
xor esi, esi
mov eax, dword [ebp - 8]
push 0
push ebx
push edi
push dword [eax + 0xa8]
call edx
test eax, eax
jg 0x10001b61
mov edx, dword [sym.imp.WS2_32.dll_send]
inc esi
cmp esi, 0xf
jl 0x10001b42
cmp esi, 0xf
je 0x10001bce
mov esi, dword [ebp - 4]
add esi, eax
push 0xa
mov dword [ebp - 4], esi
add edi, ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [sym.imp.WS2_32.dll_send]
sub ecx, ebx
mov dword [ebp + 8], ecx
cmp ecx, ebx
jae 0x10001b40
test ecx, ecx
jle 0x10001bbc
xor esi, esi
mov eax, dword [ebp - 8]
push 0
push ecx
push edi
push dword [eax + 0xa8]
call edx
test eax, eax
jg 0x10001bb2
mov ecx, dword [ebp + 8]
mov edx, dword [sym.imp.WS2_32.dll_send]
inc esi
cmp esi, 0xf
jl 0x10001b90
cmp esi, 0xf
je 0x10001bce
mov esi, dword [ebp - 4]
add esi, eax
or eax, 0xffffffff
cmp esi, dword [ebp + 0xc]
pop edi
cmove eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10001eb0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push esi
push 0
push 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
push 0
push 0
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
push dword [ebp + 0x18]
lea eax, [ebp - 0x10]
push eax
push 0x10002300
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100053f5
add esp, 0x18
mov esi, eax
push 0xffffffffffffffff
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002ad0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov eax, 0x24924925
mul ecx
push esi
mov esi, ecx
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
mov dword [ebp + 0xc], esi
lea eax, [esi*8]
sub eax, esi
shl eax, 2
sub ecx, eax
jne 0x10002c53
call fcn.10002210
test esi, esi
jle 0x10002c53
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_mouse_event]
add ebx, 8
jmp 0x10002b20
push 0
call dword [sym.imp.USER32.dll_BlockInput]
mov eax, dword [ebx - 4]
add eax, 0xfffffe00
cmp eax, 8
ja 0x10002b5d
movzx esi, word [ebx + 6]
movzx edi, word [ebx + 4]
push esi
push edi
call dword [sym.imp.USER32.dll_SetCursorPos]
push esi
push edi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov esi, dword [ebp + 0xc]
mov edi, dword [sym.imp.USER32.dll_mouse_event]
mov eax, dword [ebx - 4]
cmp eax, 0x201
ja 0x10002bb1
je 0x10002ba2
sub eax, 0x100
cmp eax, 5
ja case.0x10002bbf.521
jmp dword [eax*4 + 0x10002c58]
push 0
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
movzx eax, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x10002bbf.521
push 0
push 2
jmp 0x10002b82
push 0
push 0
push 0
push 0
push 2
jmp 0x10002c42
sub eax, 0x202
cmp eax, 8
ja case.0x10002bbf.521
jmp dword [eax*4 + 0x10002c70]
push 0
push 0
push 0
push 0
push 4
jmp 0x10002c42
push 0
push 0
push 0
push 0
push 8
jmp 0x10002c42
push 0
push 0
push 0
push 0
push 0x10
jmp 0x10002c42
push 0
push 0
push 0
push 0
push 6
call edi
push 0
push 0
push 0
push 0
push 6
jmp 0x10002c42
push 0
push 0
push 0
push 0
push 0x18
call edi
push 0
push 0
push 0
push 0
push 0x18
jmp 0x10002c42
push 0
push 0
push 0
push 0
push 0x20
jmp 0x10002c42
push 0
push 0
push 0
push 0
push 0x40
jmp 0x10002c42
movsx eax, word [ebx + 2]
push 0
push eax
push 0
push 0
push 0x800
call edi
add ebx, 0x1c
dec esi
mov dword [ebp + 0xc], esi
jne 0x10002b20
pop edi
pop ebx
pop esi
pop ebp
ret 8

Function at 0x10002dc0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
mov dword [ebp - 8], ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10002e48
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x10002df2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push esi
lea ebx, [eax + 1]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call fcn.10004c0c
mov edi, eax
lea ecx, [ebx - 1]
push ecx
lea ecx, [edi + 1]
push esi
push ecx
mov byte [edi], 0xc
call fcn.100044e0
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [ebp - 8]
push ebx
push edi
call fcn.10001e10
push edi
call fcn.10003af3
add esp, 4
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10002e50
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x10002eae
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebp + 0xc]
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x10002ea7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call fcn.100044e0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebp
ret 8
Function at 0x100037c0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov eax, ecx
xor esi, esi
mov dword [ebp - 4], eax
test ebx, ebx
jle 0x10003812
lea edx, [esi + 0x32]
push edi
push dword [eax + 0x10]
mov edi, ebx
push esi
push 0
push dword [ebp + 0xc]
sub edi, esi
cmp edi, 0x32
cmova edi, edx
push edi
push dword [ebp + 0x10]
push esi
push 0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
add esi, edi
mov edx, 0x32
cmp esi, ebx
jl 0x100037d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10003920
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
test ebx, ebx
je 0x10003a9e
cmp dword [esi + 0x1c], 0
je 0x10003a9e
call fcn.10002210
test al, al
je 0x1000396d
push dword [esi + 0x44]
push dword [esi + 0x10c]
call dword [sym.imp.USER32.dll_ReleaseDC]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
mov dword [esi + 0x10c], eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esi + 0x44], eax
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x20], 0
mov al, byte [esi + 4]
mov byte [ecx], al
inc dword [esi + 0x20]
lea eax, [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x20]
movq xmm0, qword [ebp - 8]
lea ecx, [esi + 0x88]
movq qword [eax], xmm0
add dword [esi + 0x20], 8
call fcn.10003860
mov ecx, dword [esi + 0x1c]
add ecx, dword [esi + 0x20]
mov byte [ecx], al
inc dword [esi + 0x20]
cmp byte [esi + 4], 2
jne 0x100039fb
mov eax, dword [esi + 0x68]
mov ecx, esi
push dword [eax + 8]
push dword [eax + 4]
push dword [esi + 0x44]
push dword [esi + 0x80]
call fcn.100037c0
mov eax, dword [esi + 0x68]
mov ecx, esi
push dword [eax + 0x14]
mov eax, dword [esi + 0x1c]
add eax, dword [esi + 0x20]
push eax
push dword [esi + 0x60]
push dword [esi + 0x78]
call fcn.100033c0
add eax, dword [esi + 0x20]
mov dword [ebx], eax
mov eax, dword [esi + 0x1c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push edi
lea edi, [eax - 0x13]
xor ecx, ecx
test edi, edi
cmovs edi, ecx
cmp eax, dword [0x10016324]
je 0x10003a22
push edi
mov ecx, esi
call fcn.100036d0
test al, al
je 0x10003a22
add edi, 0x13
jmp 0x10003a25
mov edi, dword [esi + 0x30]
cmp edi, dword [esi + 0x2c]
jge 0x10003a47
lea ebx, [ebx]
push edi
mov ecx, esi
call fcn.100036d0
test al, al
je 0x10003a3f
add edi, 0x13
add edi, 0x13
cmp edi, dword [esi + 0x2c]
jl 0x10003a30
mov eax, dword [ebp - 4]
mov dword [0x10016324], eax
mov eax, dword [esi + 0x30]
add eax, 3
cdq
mov ecx, 0x13
idiv ecx
mov eax, dword [esi + 0x20]
lea edi, [esi + 0x14]
mov dword [esi + 0x30], edx
mov dword [ebx], eax
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
sub eax, dword [edi]
cmp eax, dword [esi + 0x18]
jae 0x10003a88
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
sub eax, dword [edi]
cmp eax, dword [esi + 0x18]
jb 0x10003a77
call ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
mov eax, dword [esi + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ea24
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10015130]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10008a39
mov dword [ebp - 0x14], eax
cmp dword [0x10016ff4], edi
jne 0x1000eb15
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1000eaa2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1000ebf5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1000ebf5
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000ebf5
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x10016ff4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10016ff8], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10016ffc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10017004], eax
test eax, eax
je 0x1000eb12
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10017000], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1000eb3a
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1000eb2d
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1000eb4f
push 4
pop eax
jmp 0x1000ebf7
cmp dword [ebp - 0x14], edi
je 0x1000eb4f
push dword [0x10016ff4]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1000eb34
mov eax, dword [0x10017000]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1000ebad
cmp dword [0x10017004], esi
je 0x1000ebad
push eax
call ebx
push dword [0x10017004]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1000ebad
test eax, eax
je 0x1000ebad
call ecx
test eax, eax
je 0x1000eba2
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1000eba2
test byte [ebp - 8], 1
jne 0x1000ebad
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1000ebdd
mov eax, dword [0x10016ff8]
cmp eax, esi
je 0x1000ebda
push eax
call ebx
test eax, eax
je 0x1000ebda
call eax
mov edi, eax
test edi, edi
je 0x1000ebda
mov eax, dword [0x10016ffc]
cmp eax, esi
je 0x1000ebda
push eax
call ebx
test eax, eax
je 0x1000ebda
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x10016ff4]
call ebx
test eax, eax
je 0x1000ebf5
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1000ebf7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004c80
leave
ret
Function at 0x100187a
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10040ac]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
push edi
xor edi, edi
cmp eax, 0xffffffff
jne 0x10018ab
push 0x2737
push 1
call fcn.0100156c
pop ecx
pop ecx
jmp 0x10018e6
push edi
push edi
push edi
push edi
push 0x80002014
push ecx
push edi
push edi
push edi
push eax
call dword [sym.imp.ntdll.dll_NtDeviceIoControlFile]
cmp eax, edi
je 0x10018e6
push eax
lea eax, [ebp - 0x24]
push 0x1001168
push eax
call dword [sym.imp.msvcrt.dll_sprintf]
lea eax, [ebp - 0x24]
push eax
push 0x2734
push 1
call fcn.0100156c
add esp, 0x18
mov eax, dword [0x100410c]
cmp eax, 0xffffffff
mov esi, dword [sym.imp.ntdll.dll_NtClose]
je 0x10018f9
push eax
call esi
mov eax, dword [0x1004110]
cmp eax, 0xffffffff
je 0x1001906
push eax
call esi
mov eax, dword [0x1004108]
cmp eax, 0xffffffff
je 0x1001913
push eax
call esi
push edi
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x10019fa
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1001a09
sub eax, edx
cmp eax, 0xc
jne 0x1001a4b
mov edx, dword [ebp + 0xc]
xor esi, esi
push edi
call fcn.010013fa
inc edi
push edi
mov cl, al
call fcn.010013fa
inc edi
cmp cl, 0xff
je 0x1001a4b
cmp al, 0xff
je 0x1001a4b
shl cl, 4
add cl, al
mov byte [edx], cl
inc edx
inc esi
cmp esi, 6
jl 0x1001a1c
pop edi
pop esi
xor eax, eax
pop ebp
ret 8
push 0x271c
push 1
call fcn.0100156c
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x1001c96
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10040ac]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
mov eax, dword [0x10040cc]
mov dword [ebp - 0x10], eax
mov eax, dword [0x1004110]
cmp eax, 0xffffffff
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, 0x2721
mov esi, 0x494450cc
je 0x1001d09
push 0
push 0xa
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
call fcn.01001427
test eax, eax
je 0x1001d09
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x100119c
push edi
push 1
mov ebx, eax
call fcn.0100156c
add esp, 0xc
push ebx
call fcn.01001461
push eax
push 1
call fcn.0100156c
pop ecx
pop ecx
mov eax, dword [0x100410c]
cmp eax, 0xffffffff
mov ebx, dword [sym.imp.ntdll.dll_NtClose]
je 0x1001d65
push 0xa
lea ecx, [ebp - 0x10]
push ecx
push esi
push eax
call fcn.0100149a
mov esi, eax
test esi, esi
je 0x1001d58
push 0x1001190
push edi
push 1
call fcn.0100156c
add esp, 0xc
cmp esi, 0x16
jne 0x1001d48
push 0x2713
jmp 0x1001d4f
push esi
call fcn.01001461
push eax
push 1
call fcn.0100156c
pop ecx
pop ecx
mov eax, dword [0x100410c]
cmp eax, 0xffffffff
je 0x1001d65
push eax
call ebx
mov eax, dword [0x1004110]
cmp eax, 0xffffffff
je 0x1001d72
push eax
call ebx
mov eax, dword [0x1004108]
cmp eax, 0xffffffff
je 0x1001d7f
push eax
call ebx
push 0
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
push str._JAVA_LAUNCHER_DEBUG
call fcn.00408d33
pop ecx
test eax, eax
je 0x401046
push str.Windows_original_main_args:_n
call fcn.00408bef
xor esi, esi
pop ecx
cmp dword [0x425628], esi
jle 0x401046
mov eax, dword [0x42562c]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00408bef
add esp, 0xc
inc esi
cmp esi, dword [0x425628]
jl 0x401027
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.00416c5e
call fcn.0040392e
mov edi, eax
lea eax, [edi*4 + 4]
push eax
call fcn.004039b0
pop ecx
pop ecx
mov esi, eax
call fcn.00403934
xor ecx, ecx
test edi, edi
jle 0x401080
mov edx, dword [eax + ecx*8]
mov dword [esi + ecx*4], edx
inc ecx
cmp ecx, edi
jl 0x401075
mov eax, dword [0x424010]
and dword [esi + ecx*4], 0
mov ebx, eax
test eax, eax
jne 0x401091
mov ebx, dword [esi]
mov ecx, dword [0x42400c]
test ecx, ecx
jne 0x40109d
mov ecx, dword [esi]
mov eax, dword [0x425420]
push 0
push 0
push 1
test eax, eax
setne dl
movzx edx, dl
push edx
push ebx
push ecx
push 0x41c24c
push 0x41c23c
push dword [0x425424]
push 1
push eax
push 1
push esi
push edi
call fcn.00403472
add esp, 0x38
pop edi
pop esi
pop ebx
ret
Function at 0x403e2f
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x424070]
xor eax, ebp
mov dword [ebp + 0x98], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
push edi
mov edi, dword [sym.imp.advapi32.dll_RegEnumKeyA]
mov esi, 0x104
push esi
lea ecx, [ebp - 0x6c]
push ecx
xor ebx, ebx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xa8]
push ebx
push eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], ebx
call edi
test eax, eax
jne 0x403ed2
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.00416c5e
pop ecx
pop ecx
test eax, eax
je 0x403ebb
test ebx, ebx
je 0x403eaf
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.00416c5e
pop ecx
pop ecx
test eax, eax
jle 0x403ebb
push ebx
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ebx, eax
push esi
lea eax, [ebp - 0x6c]
push eax
push dword [ebp - 0x74]
push dword [ebp - 0x78]
call edi
test eax, eax
je 0x403e7c
xor edi, edi
cmp ebx, edi
jne 0x403ed6
xor eax, eax
jmp 0x403f42
lea eax, [ebp - 0x70]
push eax
push 0x20019
push edi
push ebx
push dword [ebp - 0x78]
call dword [sym.imp.advapi32.dll_RegOpenKeyExA]
push ebx
test eax, eax
je 0x403f05
call fcn.00403a18
pop ecx
cmp dword [ebp - 0x70], edi
je 0x403ed2
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x403ed2
call fcn.00403a18
pop ecx
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x6c]
push eax
push edi
push edi
push str.JavaHome
push dword [ebp - 0x70]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test eax, eax
jne 0x403ef5
cmp dword [ebp - 0x70], edi
je 0x403f38
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.004039f7
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004098e8
add ebp, 0x9c
leave
ret
Function at 0x408f37
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x422550
call fcn.0040dcb0
xor esi, esi
cmp dword [0x4274a8], esi
jne 0x408df7
push esi
push esi
push 1
push esi
call dword [sym.imp.kernel32.dll_HeapSetInformation]
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x408e0a
mov dword [ebp - 0x1c], esi
jmp 0x408e40
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x408e05
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x408e05
cmp dword [eax + 0x400074], 0xe
jbe 0x408e05
xor ecx, ecx
cmp dword [eax + 0x4000e8], esi
setne cl
mov dword [ebp - 0x1c], ecx
call fcn.0040f80c
test eax, eax
jne 0x408e51
push 0x1c
call fcn.00416c5e
pop ecx
call fcn.0040d831
test eax, eax
jne 0x408e62
push 0x10
call fcn.00416c5e
pop ecx
call fcn.0040dae6
mov dword [ebp - 4], esi
call fcn.00416c5e
test eax, eax
jns 0x408e7b
push 0x1b
call fcn.00416c5e
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4274a4], eax
call fcn.00416c5e
mov dword [0x42565c], eax
call fcn.00416c5e
test eax, eax
jns 0x408ea1
push 8
call fcn.00416c5e
pop ecx
call fcn.0040f1ff
test eax, eax
jns 0x408eb2
push 9
call fcn.00416c5e
pop ecx
push 1
call fcn.00416c5e
pop ecx
cmp eax, esi
je 0x408ec5
push eax
call fcn.00416c5e
pop ecx
mov eax, dword [0x425634]
mov dword [0x425638], eax
push eax
push dword [0x42562c]
push dword [0x425628]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], esi
jne 0x408ef2
push eax
call fcn.00416c5e
call fcn.00408bb3
jmp 0x408f27
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.0040dcf5
ret
call fcn.00416c5e
jmp 0x408dd6

Function at 0x4098e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424070]
jne 0x4098f2
repz ret
jmp fcn.004114ed