joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469df0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2038
call fcn.00481cf0
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x2038], eax
lea esi, [ebp - 0x2034]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount64]
push edi
push eax
lea eax, [ebp - 0x34]
push 0x4b6db8
push eax
call fcn.0045c530
mov al, byte [ebp - 0x34]
add esp, 0x10
test al, al
je 0x469e51
lea ecx, [ebp - 0x34]
mov edx, esi
sub ecx, edx
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x469e47
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x469e6a
mov al, byte [ecx]
test al, al
je 0x469e6a
sub ecx, esi
mov byte [esi], al
inc esi
mov al, byte [ecx + esi]
test al, al
jne 0x469e60
mov eax, dword [ebp + 0x14]
lea edi, [ebp - 0x36]
test eax, eax
mov ecx, 0x4b6dcc
push ebx
cmovne ecx, eax
lea eax, [ebp + 0x18]
push eax
push 0
push ecx
push 0xffffffffffffffff
sub edi, esi
mov dword [ebp + 0x14], ecx
push edi
push esi
call fcn.00437b90
push dword [eax + 4]
push dword [eax]
call fcn.0048e2ed
or ecx, 0xffffffff
add esp, 0x20
test eax, eax
cmovs eax, ecx
cmp eax, edi
cmovbe edi, eax
cmp dword [ebp + 0xc], 8
mov word [esi + edi], 0xa
mov esi, dword [ebp - 0x2038]
mov eax, dword [esi]
mov ebx, dword [eax]
jne 0x469ec9
cmp dword [esi + 8], 2
je 0x469ec9
or ebx, 2
lea eax, [ebp - 0x2034]
push esi
push eax
call fcn.0046a030
add esp, 8
mov edi, eax
test bl, 1
je 0x469eed
lea eax, [ebp - 0x2034]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
test bl, 2
pop ebx
je 0x469f02
push edi
lea eax, [ebp - 0x2034]
mov ecx, esi
push eax
call fcn.00464f90
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004810ea
mov esp, ebp
pop ebp
ret

Function at 0x46a030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [eax + 4]
test esi, esi
je 0x46a086
cmp dword [esi], 0
je 0x46a086
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4dd320]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x4dd1e8]
cmp eax, dword [ecx + 0x58]
jg 0x46a08b
mov edx, dword [ebp + 8]
mov ecx, edx
mov al, byte [edx]
test al, al
je 0x46a07f
nop word [eax + eax]
xor al, byte [0x4dd1e4]
mov byte [ecx], al
inc ecx
mov al, byte [ecx]
test al, al
jne 0x46a070
sub ecx, edx
mov eax, ecx
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret
push 0x4dd1e8
call fcn.004812aa
add esp, 4
cmp dword [0x4dd1e8], 0xffffffff
jne 0x46a05f
mov al, byte [esi + 1]
sub al, byte [esi + 3]
sub al, byte [esi + 2]
add al, byte [esi]
push 0x4dd1e8
mov byte [0x4dd1e4], al
call fcn.00481260
add esp, 4
jmp 0x46a05f
Function at 0x46b6a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov esi, edx
mov ebx, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jb 0x46b6bc
mov esi, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x46b6d8
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, ebx
jb 0x46b6c7
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0xc]
push edi
push edx
push eax
mov ecx, ebx
call fcn.004346b0
mov esi, dword [eax + 4]
test esi, esi
je 0x46b755
mov ecx, dword [ebx + 0x18]
mov eax, dword [ebx + 0xc]
and ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], esi
jne 0x46b717
cmp eax, esi
jne 0x46b70f
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x46b71f
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x46b71f
cmp eax, esi
jne 0x46b71f
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
lea edx, [ebx + 4]
dec dword [edx + 4]
mov eax, dword [esi + 4]
mov dword [eax], ecx
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea eax, [esi + 8]
push eax
push edx
call fcn.00434e40
push 0x20
push esi
call fcn.00481131
add esp, 0x10
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46cee0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b049d
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0
push 0
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x46cfb1
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00481be8
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov esi, eax
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x46cfa2
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46cf60
sub ecx, edx
mov dword [edi], 0
sar ecx, 1
xor eax, eax
push ecx
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 7
push esi
mov word [edi], ax
call fcn.00437950
test esi, esi
je 0x46cfd5
push 2
push esi
call fcn.00481131
add esp, 8
jmp 0x46cfd5
test esi, esi
je 0x46cfb1
push 2
push esi
call fcn.00481131
add esp, 8
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret
Function at 0x46d1f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b053d
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
push 0
push 0
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x46d367
lea esi, [eax + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00481be8
add esp, 4
mov dword [ebp - 0x14], eax
push esi
mov esi, eax
mov dword [ebp - 4], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x46d35a
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x46d271
sub ecx, edx
mov dword [ebp - 0x48], 0
sar ecx, 1
xor eax, eax
push ecx
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
call fcn.00437950
push 4
xor eax, eax
mov dword [ebp - 0x30], 0
push 0x4b7564
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
call fcn.00437950
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x48]
call fcn.00405760
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
cmp edx, 8
jb 0x46d327
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46d31a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46d3a8
push edx
push ecx
call fcn.00481131
mov eax, dword [ebp - 0x18]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], cx
mov ecx, edi
push eax
mov dword [ebp - 0x1c], 7
call fcn.0041ea30
lea ecx, [ebp - 0x48]
call fcn.00405c30
test esi, esi
je 0x46d38b
push esi
call fcn.0048112c
add esp, 4
jmp 0x46d38b
test esi, esi
je 0x46d367
push esi
call fcn.0048112c
add esp, 4
xorps xmm0, xmm0
xor eax, eax
movups xmmword [edi], xmm0
movq qword [edi + 0x10], xmm0
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret
call fcn.004861f9
int3
Function at 0x47d390
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi - 0x10000]
movzx eax, cx
mov edi, ecx
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
jbe 0x47d45b
cmp edi, dword [0x4d914c]
jb 0x47d3db
cmp edi, dword [0x4d9150]
ja 0x47d3db
sub edi, 0x8000000
jmp 0x47d453
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
je 0x47d45b
cmp dword [ebp - 0x10], 0x10000
jne 0x47d43e
cmp dword [ebp - 0x14], 0x10000
jb 0x47d43e
push 0x40
push 0x3000
push 0x10000
push edi
call sub.KERNEL32.dll_VirtualAlloc
test eax, eax
jne 0x47d50d
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x47d45b
sub edi, 0x10000
jmp 0x47d453
mov ecx, dword [ebp - 0x1c]
add ecx, 0xffff0000
mov edi, ecx
movzx eax, di
sub edi, eax
test eax, eax
cmove edi, ecx
cmp edi, ebx
ja 0x47d3c3
movzx eax, si
test eax, eax
je 0x47d46a
sub esi, eax
add esi, 0x10000
mov edi, dword [ebp + 0x10]
cmp esi, edi
jae 0x47d50b
cmp esi, dword [0x4d914c]
jb 0x47d48d
cmp esi, dword [0x4d9150]
ja 0x47d48d
add esi, 0x8000000
jmp 0x47d503
push 0x1c
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
je 0x47d50b
cmp dword [ebp - 0x10], 0x10000
mov ecx, dword [ebp - 0x14]
jne 0x47d4ee
cmp ecx, 0x10000
jb 0x47d4ee
push 0x40
push 0x3000
push 0x10000
push esi
call sub.KERNEL32.dll_VirtualAlloc
test eax, eax
jne 0x47d50d
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
je 0x47d50b
add esi, 0x10000
jmp 0x47d503
mov esi, dword [ebp - 0x20]
add esi, ecx
movzx ecx, si
test ecx, ecx
je 0x47d503
mov eax, 0x10000
sub eax, ecx
add esi, eax
cmp esi, edi
jb 0x47d475
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004810ea
mov esp, ebp
pop ebp
ret
Function at 0x47d830
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4d4ad8
push 0x4849b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d9164]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
push 0x1c
lea ecx, [ebp - 0x38]
push ecx
push eax
call sub.KERNEL32.dll_VirtualQuery
mov dword [ebp - 4], 0
mov eax, 0x5a4d
mov ecx, dword [ebp - 0x34]
cmp word [ecx], ax
jne 0x47d8d5
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
jne 0x47d8d5
mov esi, dword [edx + ecx + 0xd8]
lea eax, [esi + ecx]
cmp dword [ebp + 0xc], eax
jb 0x47d8d5
mov eax, dword [edx + ecx + 0xdc]
add eax, esi
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x47d8d5
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x47d8de
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret
Function at 0x47de80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x4dd2a4], eax
je 0x47debc
pop edi
mov eax, 0x10dd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4dd2a8]
test eax, eax
jne 0x47dfe6
test edi, edi
jne 0x47dee2
lea eax, [edi + 0x57]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret 8
test ebx, ebx
je 0x47defb
cmp dword [ebx], 0
jne 0x47df12
mov dword [0x4dd2a8], 6
mov dword [0x4dd2ac], ebx
pop edi
mov eax, 6
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret 8
push esi
push 0x18
call fcn.0048113f
mov esi, eax
add esp, 4
test esi, esi
jne 0x47df2b
lea edi, [eax + 8]
jmp 0x47dfc8
push 0
push dword [ebx]
call fcn.0047ddf0
push 0
push edi
mov dword [ebp - 0xc], eax
call fcn.0047ddf0
mov edi, dword [ebp - 0xc]
mov edx, eax
movzx ecx, byte [edi + 0x36]
mov eax, dword [edi + 0x40]
sub eax, ecx
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x47dfba
cmp ecx, 0x1e
ja 0x47dfba
cmp dword [edi + 0x44], edx
jne 0x47dfba
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push 0x40
push ecx
push eax
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x47df7f
call sub.KERNEL32.dll_GetLastError
mov edi, eax
jmp 0x47dfc8
mov eax, dword [ebp - 0xc]
mov dword [esi + 0xc], eax
mov dword [esi + 8], ebx
mov dword [esi + 0x10], edi
mov dword [esi + 4], 1
mov eax, dword [ebp - 8]
mov dword [esi + 0x14], eax
mov eax, dword [0x4dd2b4]
mov dword [esi], eax
xor eax, eax
mov dword [0x4dd2b4], esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret 8
cmp dword [0x4dd29c], 0
mov edi, 9
jne 0x47dfd2
mov dword [0x4dd2a8], edi
test esi, esi
je 0x47dfdd
push 0x18
push esi
call fcn.00481131
add esp, 8
mov dword [0x4dd2ac], ebx
mov eax, edi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004810ea
mov esp, ebp
pop ebp
ret 8
Function at 0x47e000
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 4], eax
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x4dd2a4], eax
je 0x47e030
mov eax, 0x10dd
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [0x4dd2b4]
push edi
test esi, esi
je 0x47e09d
push ebx
nop dword [eax]
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x36]
push eax
push dword [esi + 0xc]
call sub.KERNEL32.dll_VirtualProtect
cmp dword [esi + 4], 0
jne 0x47e089
mov ebx, dword [esi + 0x10]
test ebx, ebx
je 0x47e089
push 0x48
push 0
mov edi, ebx
push ebx
and edi, 0xffff0000
call fcn.00483710
mov eax, dword [edi + 8]
add esp, 0xc
mov dword [ebx + 0x40], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x10], 0
mov edi, dword [esi]
push 0x18
push esi
call fcn.00481131
add esp, 8
mov esi, edi
test edi, edi
jne 0x47e040
pop ebx
mov dword [0x4dd2b4], 0
call sub.KERNEL32.dll_GetCurrentProcess
mov esi, dword [0x4dd294]
mov edi, eax
test esi, esi
je 0x47e0dc
lea eax, [ebp - 8]
push eax
push 0x20
push 0x10000
push esi
call sub.KERNEL32.dll_VirtualProtect
push 0x10000
push esi
push edi
call sub.KERNEL32.dll_FlushInstructionCache
mov esi, dword [esi + 4]
test esi, esi
jne 0x47e0b8
mov edi, dword [0x4dd2b0]
test edi, edi
je 0x47e101
push dword [edi + 4]
call sub.KERNEL32.dll_ResumeThread
mov esi, dword [edi]
push 8
push edi
call fcn.00481131
add esp, 8
mov edi, esi
test esi, esi
jne 0x47e0e6
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
mov dword [0x4dd2b0], 0
mov dword [0x4dd2a4], 0
pop esi
call fcn.004810ea
mov esp, ebp
pop ebp
ret

Function at 0x47e130
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4d9164]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4dd2a4], 0
jne 0x47e1cb
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, eax
mov edx, 0x4dd2a4
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x47e1cb
push esi
mov esi, dword [0x4dd294]
mov dword [0x4dd2b4], eax
mov dword [0x4dd2b0], eax
mov dword [0x4dd2ac], eax
test esi, esi
je 0x47e19c
nop dword [eax]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
push esi
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
je 0x47e1b2
mov esi, dword [esi + 4]
test esi, esi
jne 0x47e180
xor eax, eax
mov dword [0x4dd2a8], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret
call sub.KERNEL32.dll_GetLastError
mov dword [0x4dd2a8], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x10dd
xor ecx, ebp
call fcn.004810ea
mov esp, ebp
pop ebp
ret
Function at 0x47e690
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4dd2a8]
test eax, eax
jne 0x47e70f
push edi
call sub.KERNEL32.dll_GetCurrentThread
mov edi, dword [ebp + 8]
cmp edi, eax
jne 0x47e6b0
xor eax, eax
pop edi
pop ebp
ret 4
push esi
push 8
call fcn.0048113f
mov esi, eax
add esp, 4
test esi, esi
jne 0x47e6c6
lea edi, [eax + 8]
jmp 0x47e6e3
push edi
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x47e6fb
call sub.KERNEL32.dll_GetLastError
mov edi, eax
push 8
push esi
call fcn.00481131
add esp, 8
pop esi
mov dword [0x4dd2a8], edi
mov eax, edi
mov dword [0x4dd2ac], 0
pop edi
pop ebp
ret 4
mov eax, dword [0x4dd2b0]
mov dword [esi + 4], edi
mov dword [esi], eax
xor eax, eax
mov dword [0x4dd2b0], esi
pop esi
pop edi
pop ebp
ret 4
Function at 0x47fcf0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b13c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4d9164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
push 2
push edi
call fcn.00440044
lea esi, [edi + 0x30]
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0048113f
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00480220
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4827c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, 8
add byte [eax], al
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x1c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
jmp 0x482823
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 0x18]
jae 0x482865
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.00482720
add esp, 4
cmp eax, dword [ebp + 0xc]
jne 0x482863
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx*4]
jmp 0x482867
jmp 0x48281a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4a0b33
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004a07b0
Function at 0x10005a4a
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x9c]
sub esp, 0x11c
mov eax, dword [0x10024050]
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 0x10005aed
mov eax, dword [ebp - 0x80]
push dword [eax + 8]
inc dword [ebp - 0x74]
lea eax, [ebp - 0x6c]
push eax
call fcn.10008900
pop ecx
pop ecx
test eax, eax
je 0x10005ad6
test ebx, ebx
je 0x10005aca
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.10008900
pop ecx
pop ecx
test eax, eax
jle 0x10005ad6
push ebx
call fcn.10006dc1
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.10006da0
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 0x10005a97
xor edi, edi
cmp ebx, edi
jne 0x10005af1
xor eax, eax
jmp 0x10005b5d
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 0x10005b20
call fcn.10006dc1
pop ecx
cmp dword [ebp - 0x70], edi
je 0x10005aed
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
jmp 0x10005aed
call fcn.10006dc1
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 0x10005b10
cmp dword [ebp - 0x70], edi
je 0x10005b53
push dword [ebp - 0x70]
call dword [sym.imp.advapi32.dll_RegCloseKey]
lea eax, [ebp - 0x6c]
push eax
call fcn.10006da0
pop ecx
mov ecx, dword [ebp + 0x98]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10008c61
add ebp, 0x9c
leave
ret
Function at 0x10008900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x1000890f
pop dword [ebp - 8]
mov eax, 0xe2c212a5
sub eax, 0xd2c18996
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x33d6a613
add dword [ebp - 0x18], 0x1a7b9f38
mov dword [ebp - 0x14], 0x33bb4124
sub dword [ebp - 0x14], 0x187f4df
mov dword [ebp - 0x10], 0xd914b7b
add dword [ebp - 0x10], 0x3ebaf8b3
mov dword [ebp - 0xc], 0xbb2bd8b2
add dword [ebp - 0xc], 0x44d4274e
lea eax, [ebp - 0x18]
push eax
mov eax, 0x26d7a348
sub eax, 0x16d5e2f8
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x32925f34
add dword [ebp - 0x18], 0x41e00a22
mov dword [ebp - 0x14], 0x31fc9dcd
add dword [ebp - 0x14], 0xf6fc3a8
mov dword [ebp - 0x10], 0x34bcdca1
add dword [ebp - 0x10], 0x2eb28fcb
mov dword [ebp - 0xc], 0x28ce7324
sub dword [ebp - 0xc], 0x28ce7324
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xa674803
add eax, 0x59a7849
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3bf2a
push 0
call eax
mov ecx, 0x49b0
xor ebx, ebx
add ebx, eax
mov esi, 0xc16b79c5
sub esi, 0xb168cfc5
add esi, dword [ebp - 8]
mov edi, 0xd5166ca
add edi, 0x6c667c36
xor dword [ebp - 4], edx
mov edx, dword [esi]
mov dword [ebp - 4], 0xffef50ce
sub edx, edi
xor dword [ebp - 4], 0xa17b735b
mov dword [ebx], edx
xor dword [ebp - 4], 0xef8264cb
add ebx, 4
add esi, 4
loop 0x10008a2d
add eax, 0xbe01aa0f
add eax, 0x41ff6f84
mov ebx, eax
add eax, 5
mov ecx, 0x949a0a77
sub ecx, 0x849a0a77
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x10008c61
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10024050]
jne 0x10008c6b
repz ret
jmp fcn.1000d082