joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40954c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x414018]
jne 0x409556
repz ret
jmp fcn.00409a46

Function at 0x40a0d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40d990
push 0x40bf96
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov cx, word [eax]
cmp ecx, 0x5a4d
je 0x40a136
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3d]
jmp 0x40a1bf
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx], 0x4550
je 0x40a15d
mov byte [ebp - 0x3e], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3e]
jmp 0x40a1bf
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0xd8]
cmp dword [ebp + 0xc], eax
jb 0x40a198
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + 0xd8]
mov eax, dword [ebp - 0x3c]
add edx, dword [eax + 0xdc]
cmp dword [ebp + 0xc], edx
jae 0x40a198
mov byte [ebp - 0x3f], 1
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3f]
jmp 0x40a1bf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x40]
jmp 0x40a1bf
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a260
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x41478c]
mov dword [ebp - 4], eax
jmp 0x40a279
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x40a296
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x40a270
mov esp, ebp
pop ebp
ret
Function at 0x40a2a0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x41479c], eax
je 0x40a2be
mov eax, 0x10dd
jmp 0x40a3a0
mov eax, dword [0x4147ac]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40a33d
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
xor eax, eax
mov al, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
jne 0x40a31b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x10], 0
je 0x40a31b
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
push eax
call fcn.0040a410
add esp, 4
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x40a2c6
mov dword [0x4147ac], 0
call fcn.0040a3b0
mov ecx, dword [0x4147a8]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x40a38a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
jmp 0x40a355
mov dword [0x4147a8], 0
mov dword [0x41479c], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40a910
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x40a925
xor eax, eax
jmp 0x40a99a
mov ecx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
add edx, 0x10000
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
jmp 0x40a952
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0x38d
jae 0x40a995
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
cmp dword [eax + edx + 0x40], 0
je 0x40a993
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x40a98f
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x40a993
xor eax, eax
jmp 0x40a99a
jmp 0x40a949
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x40aa50
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x4147a0], 0
je 0x40aa69
mov eax, dword [0x4147a0]
jmp 0x40ab09
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x40aa7b
xor eax, eax
jmp 0x40ab09
push 8
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x40aad1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x40aaba
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x4147a0], eax
mov dword [0x4147a4], 0
mov eax, dword [ebp - 8]
jmp 0x40ab09
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x40aaeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x40aa9b
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x4147a8]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x4147a8], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x40b330
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.0040b400
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x40b3ec
cmp dword [ebp - 4], 0x50000000
jb 0x40b36c
cmp dword [ebp - 4], 0x80000000
ja 0x40b36c
mov dword [ebp - 4], 0x80010000
jmp 0x40b345
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x40b392
jmp 0x40b3ec
cmp dword [ebp - 0x10], 0x10000
jne 0x40b3d5
cmp dword [ebp - 0x14], 0x10000
jb 0x40b3d5
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x40b3c8
mov eax, dword [ebp - 0x24]
jmp 0x40b3ee
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x40b3e7
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.0040b400
add esp, 4
mov dword [ebp - 4], eax
jmp 0x40b345
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x40b440
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.0040b510
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x40b504
cmp dword [ebp - 4], 0x50000000
jb 0x40b481
cmp dword [ebp - 4], 0x80000000
ja 0x40b481
mov dword [ebp - 4], 0x4fff0000
jmp 0x40b45a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x40b4a7
jmp 0x40b504
cmp dword [ebp - 0x10], 0x10000
jne 0x40b4ea
cmp dword [ebp - 0x14], 0x10000
jb 0x40b4ea
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x40b4dd
mov eax, dword [ebp - 0x24]
jmp 0x40b506
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x40b4ff
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.0040b510
add esp, 4
mov dword [ebp - 4], eax
jmp 0x40b45a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x40b540
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x41479c], eax
je 0x40b565
mov eax, 0x10dd
jmp 0x40b6fa
cmp dword [0x4147a0], 0
je 0x40b578
mov eax, dword [0x4147a0]
jmp 0x40b6fa
cmp dword [ebp + 8], 0
jne 0x40b588
mov eax, 6
jmp 0x40b6fa
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x40b5b1
mov dword [ebp - 0x14], 6
mov ecx, dword [ebp - 0x14]
mov dword [0x4147a0], ecx
mov edx, dword [ebp + 8]
mov dword [0x4147a4], edx
mov eax, dword [ebp - 0x14]
jmp 0x40b6fa
push 0x18
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x40b60a
mov dword [ebp - 0x14], 8
mov ecx, dword [ebp - 0x14]
mov dword [0x4147a0], ecx
cmp dword [ebp - 0x18], 0
je 0x40b5f9
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call sub.mfc90.dll_Ordinal_800
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [0x4147a4], ecx
mov eax, dword [ebp - 0x14]
jmp 0x40b6fa
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00409ff0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00409ff0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx + 0x36]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], 0
je 0x40b64b
cmp dword [ebp - 8], 0x1e
jbe 0x40b665
mov dword [ebp - 0x14], 9
cmp dword [0x414794], 0
je 0x40b660
jmp 0x40b5da
jmp 0x40b5d1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x40b68a
mov dword [ebp - 0x14], 9
cmp dword [0x414794], 0
je 0x40b685
jmp 0x40b5da
jmp 0x40b5d1
mov dword [ebp - 4], 0
lea edx, [ebp - 4]
push edx
push 0x40
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x40b6b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x14], eax
jmp 0x40b5d1
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x4147ac]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [0x4147ac], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x401000
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0040eb78
push str._JAVA_LAUNCHER_DEBUG
mov eax, dword [eax]
mov dword [0x433680], eax
call fcn.0041f7c8
xor ebp, ebp
pop ecx
test eax, eax
je 0x401059
push str.Windows_original_main_args:_n
call fcn.00401112
pop ecx
mov esi, ebp
call fcn.0040e6c7
cmp dword [eax], ebp
jle 0x401059
call fcn.0040e6cd
mov eax, dword [eax]
push dword [eax + esi*4]
push esi
push str.wwwd_args__d____s_n
call fcn.00401112
add esp, 0xc
inc esi
call fcn.0040e6c7
cmp esi, dword [eax]
jl 0x401037
call dword [sym.imp.kernel32.dll_GetCommandLineA]
push eax
call fcn.0040121d
call fcn.00401285
mov ebx, eax
lea ecx, [ebx*4 + 4]
push ecx
call fcn.00401135
pop ecx
pop ecx
mov esi, eax
call fcn.0040128b
mov edx, ebp
test ebx, ebx
jle 0x401093
mov ecx, dword [eax + edx*8]
mov dword [esi + edx*4], ecx
inc edx
cmp edx, ebx
jl 0x401088
mov edi, dword [str.java]
mov dword [esi + edx*4], ebp
test edi, edi
jne 0x4010a2
mov edi, dword [esi]
mov edx, dword [section..data]
test edx, edx
jne 0x4010ae
mov edx, dword [esi]
mov ecx, dword [0x432990]
push ebp
xor ebp, ebp
inc ebp
test ecx, ecx
push ebp
push ebp
setne al
movzx eax, al
push eax
push edi
push edx
push 0x426274
push 0x426278
push dword [0x432994]
push ebp
push ecx
push ebp
push esi
push ebx
call fcn.00401d65
add esp, 0x38
pop edi
pop esi
pop ebp
pop ebx
ret 0x10
Function at 0x404305
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.0041f7c8
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x404478
jg 0x404334
test esi, esi
jb 0x404478
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.004175dd
add esp, 0xc
test eax, eax
js 0x404478
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x404396
push edi
call fcn.00404887
pop ecx
test eax, eax
je 0x40438d
push ebx
push esi
push edi
push ebp
call fcn.0041f7c8
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x40447d
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.0041f7c8
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x404478
jg 0x4043bf
cmp ebp, ebx
jb 0x404478
mov ecx, 0x10015
cmp eax, ebx
jg 0x4043d4
jl 0x4043ce
cmp ebp, ecx
jae 0x4043d4
mov esi, ebp
mov ecx, eax
jmp 0x4043d8
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.0041f7c8
add esp, 0x10
cmp edx, ebx
jl 0x404478
jg 0x4043fe
cmp eax, ebx
jb 0x404478
push 0x10015
call fcn.0041f7c8
mov ebx, eax
pop ecx
test ebx, ebx
je 0x404478
push esi
push ebx
push dword [esp + 0x24]
call fcn.004175dd
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x404471
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x40446d
cmp byte [esi], 0x50
jne 0x40446c
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x40446c
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x404484
dec esi
cmp esi, ebx
jae 0x40442d
push ebx
call fcn.0041f7c8
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.0040a170
push ebx
call fcn.0041f7c8
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.00404887
add esp, 0x14
test eax, eax
je 0x4044c4
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.0041f7c8
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x40447d
Function at 0x41f7c8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x41f7d7
pop dword [ebp - 8]
mov eax, 0x70b9490
add eax, 0xf9366347
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x74579a4f
sub dword [ebp - 0x18], 0x26055504
mov dword [ebp - 0x14], 0xf8b81ea
sub dword [ebp - 0x14], 0xdd5835a5
mov dword [ebp - 0x10], 0x8e082845
sub dword [ebp - 0x10], 0x41bbe417
mov dword [ebp - 0xc], 0x4e54f709
sub dword [ebp - 0xc], 0x4e54f709
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xeb9fa6d1
sub dword [ebp - 0x18], 0x772d3d7b
mov dword [ebp - 0x14], 0x530c61
add dword [ebp - 0x14], 0x41195514
mov dword [ebp - 0x10], 0x3140622e
add dword [ebp - 0x10], 0x322f0a3e
mov dword [ebp - 0xc], 0xa77bb176
add dword [ebp - 0xc], 0x58844e8a
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0xb49029ed
add eax, 0x4bb2366b
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x42a52
push 0
call eax
mov ecx, 0x2e524a18
sub ecx, 0x2e51f2c7
xor edi, edi
add edi, eax
mov ebx, 0x43ea00
add ebx, dword [ebp - 8]
mov edx, 0x454ac7b9
sub edx, 0x56919c25
add dword [ebp - 4], 0x275ffc0f
mov esi, dword [ebx]
sub dword [ebp - 4], edi
xor esi, edx
add dword [ebp - 4], edi
mov dword [edi], esi
mov dword [ebp - 4], 0x6bfa60cf
add edi, 4
add ebx, 0xa63e7443
sub ebx, 0xa63e743f
loop 0x41f8f0
add eax, 0x15017
xor ebx, ebx
add ebx, eax
add eax, 0xd21e9d28
add eax, 0x2de162dd
mov ecx, 0x5eeb6cd5
sub ecx, 0x5eab6cd5
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x4177e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a9aeb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0049dae0
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x417862
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0049ac27
mov eax, dword [eax]
push 0x896200
push eax
call fcn.0048c514
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0049dd6b
test bl, bl
je 0x417862
push 0x896200
lea ecx, [esp + 0xc]
call fcn.0049e0fb
push 0x899d90
lea ecx, [esp + 0xc]
call fcn.0049e0fb
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41789e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0049dd6b
jmp 0x417969
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x417922
lea edx, [esp + 0x7c]
push 0x899d8c
push edx
call fcn.0048c514
add esp, 8
test eax, eax
je 0x417922
lea eax, [esp + 0x7c]
push 0x899d88
push eax
call fcn.0048c514
add esp, 8
test eax, eax
je 0x417922
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4178b2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0049dd6b
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x418160
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4181c2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x4181d0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a9b6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8a340c]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x418308
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x418236
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049dd6b
xor eax, eax
jmp 0x41837f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0049dea8
push esi
lea ecx, [esp + 0xc]
call fcn.0049e137
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x899dc8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41835d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push bind
call fcn.00418160
test eax, eax
jne 0x41835d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push bind
mov ecx, edi
call fcn.00418160
test eax, eax
jne 0x41835d
lea eax, [esp + 0x14]
push 0x899da4
push eax
call fcn.0048d5e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41833c
lea ecx, [esp + 0x14]
push 0x899da0
push ecx
call fcn.0048d560
mov esi, eax
add esp, 8
test esi, esi
jne 0x41833c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41833f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049de58
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41824e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0049dd6b
xor eax, eax
jmp 0x41837f
mov byte [esi], 0
push 0x899d9c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0049dd6b
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4