joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e154
Capabilities:
Packed with generic packer

Disassembly:
mov dword [esp], 0x40d0e4
xor bh, 0xbe
sal ebx, cl
bsr ebx, esi
pop ebx
push 0xfe7c3c4d
sub bx, bx
jmp 0x40e41e

Function at 0x40e37b
Capabilities:
Packed with generic packer

Disassembly:
pushal
jmp 0x40e0bf
pushal
lea esp, [esp + 0x28]
call fcn.0040d089
cmp ax, 0xfc12
push esp
bt cx, 0xa
mov dword [ebx], eax
cmp dh, bh
add ebx, 4
pushal
push ebx
pushfd
pop dword [esp + 0x24]
pushfd
dec ecx
mov word [esp], 0xbdcb
lea esp, [esp + 0x28]
je 0x40d155
pushfd
push dword [esp + 4]
popfd
pushfd
push 0xf9f91bbe
pushfd
lea esp, [esp + 0x14]
jmp 0x40e0b3
jmp 0x40e331

Function at 0x16a4120
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.GVD1
lea edi, [esi - 0x1270000]
push edi
or ebp, 0xffffffff
jmp 0x16a4142
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a4149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
mov al, byte [edi]
jb 0x16a4138
mov eax, 1
add ebx, ebx
jne 0x16a415d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a416e
jne 0x16a417e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a417e
dec eax
add ebx, ebx
jne 0x16a417a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a4152
xor ecx, ecx
sub eax, 3
jb 0x16a4196
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a420a
sar eax, 1
mov ebp, eax
jmp 0x16a41a1
add ebx, ebx
jne 0x16a41a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x16a41ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x16a41d2
inc ecx
add ebx, ebx
jne 0x16a41be
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a41b3
jne 0x16a41cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a41b3
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
mov al, byte [edi + ecx]
jbe 0x16a41f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a41e6
jmp 0x16a413e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a41f4
add edi, ecx
jmp 0x16a413e
pop esi
mov edi, esi
mov ecx, 0x346a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a4212
cmp byte [edi], 0x16
jne 0x16a4212
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x16a4217
lea edi, [esi + 0x12a1000]
mov eax, dword [edi]
or eax, eax
je 0x16a4286
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a57f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a58e8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a4244
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a58ec]
or eax, eax
je 0x16a4280
mov dword [ebx], eax
add ebx, 4
jmp 0x16a4261
call dword [esi + 0x12a58f0]
popal
jmp 0x46b748
Function at 0x402680
Capabilities:
Shutdown system

Disassembly:
sub esp, 0x1c
lea eax, [esp]
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x4026f4
lea ecx, [esp + 4]
push ecx
push str.SeShutdownPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
push 0
push 0
push 0x10
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x10]
push 0
push edx
mov dword [esp + 0x24], 1
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4026f4
xor eax, eax
add esp, 0x1c
ret
mov eax, dword [esp + 0x20]
push 0x80020003
or eax, 0x10
push eax
call dword [sym.imp.USER32.dll_ExitWindowsEx]
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret

Function at 0x403a20
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403a39
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403a74
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403a70
lea ebx, [ebx]
cmp esi, eax
jae 0x403a74
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403a60
cmp esi, eax
jb 0x403a7a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x404290
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ecx
push esi
xor esi, esi
push esi
mov dword [esp + 8], esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40432f
push ebp
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebp, dword [esp + 0x14]
mov eax, ebp
lea edx, [eax + 2]
jmp 0x4042c0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4042c0
sub eax, edx
sar eax, 1
lea edi, [eax + eax]
lea eax, [edi + 2]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x404320
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ebx, eax
test ebx, ebx
je 0x40431f
push edi
push ebp
push ebx
call fcn.004bb170
add esp, 0xc
xor ecx, ecx
push esi
mov word [edi + ebx], cx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x40431f
mov dword [esp + 0x10], 1
pop ebx
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0xc]
pop edi
pop ebp
pop esi
pop ecx
ret
mov eax, esi
pop esi
pop ecx
ret
Function at 0x4055c0
Capabilities:
Log keystrokes

Disassembly:
sub esp, 0x14
mov eax, dword [0x64222c]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push ebx
mov bx, word [esp + 0x1c]
push ebp
push esi
push edi
cmp bx, 0x61
jb 0x4055e7
cmp bx, 0x7a
jbe 0x4055f4
lea ecx, [eax - 0x41]
cmp cx, 0x19
ja 0x405685
mov esi, dword [sym.imp.USER32.dll_keybd_event]
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
add eax, 0xffffffbf
mov dword [esp + 0x10], 0
cmp ax, 0x19
ja 0x405628
push 0
push 0
push 0
push 0x10
mov dword [esp + 0x20], 1
call edi
push eax
push 0x10
call esi
movzx edx, bx
push edx
call fcn.004bbb9c
add esp, 4
movzx ebx, ax
push 0
push 0
movzx ebp, bx
push 0
push ebp
mov dword [esp + 0x38], ebx
call edi
push eax
push ebx
call esi
push 0
push 2
push 0
push ebp
call edi
push eax
push ebx
call esi
cmp dword [esp + 0x10], 0
je 0x405748
push 0
push 2
push 0
push 0x10
call edi
push eax
push 0x10
call esi
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.004ba4b8
add esp, 0x14
ret
mov eax, 0xff
cmp bx, ax
jbe 0x4056a4
mov al, byte [esp + 0x28]
mov cl, byte [esp + 0x29]
mov byte [esp + 0x28], cl
mov byte [esp + 0x29], al
mov bx, word [esp + 0x28]
movzx edx, bx
push edx
lea eax, [esp + 0x18]
push 0x502cc4
push eax
call fcn.004bba09
lea ebp, [esp + 0x20]
add esp, 0xc
lea ecx, [ebp + 1]
mov al, byte [ebp]
inc ebp
test al, al
jne 0x4056c1
sub ebp, ecx
mov eax, 0
je 0x4056e5
mov cl, byte [esp + eax + 0x14]
sub cl, 0x30
or cl, 0x60
mov byte [esp + eax + 0x14], cl
inc eax
cmp eax, ebp
jb 0x4056d2
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
push 0
push 0
push 0
push 0x12
call edi
mov ebx, dword [sym.imp.USER32.dll_keybd_event]
push eax
push 0x12
call ebx
xor esi, esi
test ebp, ebp
jbe 0x405739
movsx edx, byte [esp + esi + 0x14]
push 0
push 0
push 0
push edx
call edi
push eax
movzx eax, byte [esp + esi + 0x20]
push eax
call ebx
movsx ecx, byte [esp + esi + 0x14]
push 0
push 2
push 0
push ecx
call edi
movzx edx, byte [esp + esi + 0x1c]
push eax
push edx
call ebx
inc esi
cmp esi, ebp
jb 0x405706
push 0
push 2
push 0
push 0x12
call edi
push eax
push 0x12
call ebx
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004ba4b8
add esp, 0x14
ret
Function at 0x407d90
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f1998
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x18], ebx
mov dword [esi], vtable.Event.0
call fcn.004a3062
cmp eax, ebx
jne 0x407ddb
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
xor eax, eax
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi], vtable.KeystrokeEvent.0
mov dword [esi + 8], 0xf
mov byte [esi + 0x1c], bl
mov byte [esi + 0x1d], bl
mov byte [esi + 0x1e], bl
mov byte [esi + 0x1f], bl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x40c4e0
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4f1c39
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2c]
xor esi, esi
push esi
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov ebp, eax
shl ebp, 0x10
cmp dword [esp + 0x30], esi
je 0x40c52c
or ebp, 0x1000000
call fcn.004a3062
xor ecx, ecx
cmp eax, esi
setne cl
cmp ecx, esi
jne 0x40c546
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x28]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], 1
mov esi, 0x40
mov eax, dword [edi]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
mov eax, dword [eax + 8]
add esi, esi
sub eax, esi
or eax, ecx
jge 0x40c589
push esi
mov ecx, edi
call fcn.004018a0
mov eax, dword [edi]
test esi, esi
jl 0x40c5f5
cmp esi, dword [eax - 8]
jg 0x40c5f5
mov dword [eax - 0xc], esi
mov ecx, dword [edi]
xor edx, edx
mov word [ecx + esi*2], dx
lea ecx, [esi + 1]
push ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40c5c5
mov eax, dword [edi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x40c5c9
push ecx
push eax
call fcn.004bb8a7
add esp, 8
test eax, eax
jl 0x40c5f5
mov ecx, dword [edi]
cmp eax, dword [ecx - 8]
jg 0x40c5f5
mov dword [ecx - 0xc], eax
mov edx, dword [edi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp ebx, esi
je 0x40c569
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
push 0x80070057
call fcn.00401000
int3
Function at 0x412fc0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x4f5da9
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
call fcn.004a3062
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41300d
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
mov edi, dword [esp + 0x20]
add eax, 0x10
mov dword [edi], eax
push 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x413065
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
je 0x41305f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00402010
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x4155a0
Capabilities:
Enumerate gui resources

Disassembly:
push 0xffffffffffffffff
push 0x4f21c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
call fcn.00414a80
xor esi, esi
lea ecx, [esp + 8]
mov dword [esp + 0x1c], esi
call fcn.0040cde0
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push 0x40e740
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ecx
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x415629
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x18
ret

Function at 0x419360
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x4fa89b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov eax, dword [0x6440cc]
test eax, eax
jne 0x41939c
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4193d9
push 0x3c
call fcn.0049b694
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], esi
test eax, eax
je 0x4193c8
mov ecx, eax
call fcn.00419330
jmp 0x4193ca
xor eax, eax
push eax
mov esi, eax
mov eax, dword [0x6440cc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x41fcc0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x401620
push 0
push 0
mov dword [0x643e84], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x643e84], 0
jne 0x40176a
nop
push 0x6441e8
push 0x32
push 0xa
call fcn.00404880
add esp, 0xc
cmp dword [0x643e84], 0
je 0x401750
call fcn.00419360
mov ecx, dword [0x643e84]
mov dword [eax + 0x1c], ecx
ret
inc dword [0x6441e4]
push esi
call fcn.00419360
mov ecx, eax
call fcn.00412f60
mov dword [0x6441f8], 0
call fcn.0041fc50
call fcn.00454f90
call fcn.00454fd0
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0x63f1a8
call dword [sym.imp.USER32.dll_SetRect]
call fcn.004485b0
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x17
call esi
test eax, eax
je 0x41fd3c
mov dword [0x63f198], 8
mov dword [0x63f19c], 0x10
mov dword [0x63f1a0], 2
mov dword [0x63f1a4], 4
jmp 0x41fd64
mov dword [0x63f198], 2
mov dword [0x63f19c], 4
mov dword [0x63f1a0], 8
mov dword [0x63f1a4], 0x10
push 0
call esi
push 1
mov dword [0x6441f0], eax
call esi
mov dword [0x6441ec], eax
mov dword [0x66eaec], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x644200], eax
call fcn.0043acd0
pop esi
jmp 0x401720

Function at 0x420580
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f2cb7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Event.0
call fcn.004a3062
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4205d2
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esp + 0x18], 1
mov dword [esi], vtable.ForLoopEvent.0
call fcn.004a3062
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x420619
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
lea ecx, [esi + 0x38]
mov byte [esp + 0x18], 6
call fcn.0041a020
mov dword [esi + 8], 8
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], 3
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x421eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f3071
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi], vtable.Event.0
call fcn.004a3062
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x421f03
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], ebx
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esp + 0x1c], 1
mov dword [esi], vtable.WaitWindowEvent.0
call fcn.004a3062
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x421f4a
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x1c], 2
lea edi, [esi + 0x28]
call fcn.004a3062
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x421f7b
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [edi], eax
lea ecx, [esi + 0x34]
mov byte [esp + 0x1c], 3
call fcn.0041a020
push 3
push 0x505638
mov ecx, edi
mov byte [esp + 0x24], 4
mov dword [esi + 8], 0x1d
mov dword [esi + 0x1c], 1
mov dword [esi + 0x24], 0xa
call fcn.00401bd0
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x4222f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4f30fb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esp + 0x18], edi
mov dword [esi], vtable.Event.0
call fcn.004a3062
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x422342
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], 0x3e8
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
push edi
push edi
push edi
push 0x43c320
push 0x502a78
lea ecx, [esi + 0x1c]
mov dword [esp + 0x2c], 1
mov dword [esi], vtable.FunStartEvent.0
call fcn.004126c0
lea ecx, [esi + 0x288]
mov byte [esp + 0x18], 2
call fcn.0041a020
mov dword [esi + 8], 0x2e
mov dword [esi + 0x10], edi
mov dword [esi + 0x30], esi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x42a480
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push edi
push 0x288
push 0x40
xor ebx, ebx
call esi
mov edi, eax
lea eax, [esp + 0xc]
push eax
push edi
mov dword [esp + 0x14], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x42a4c0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [esp + 0xc]
push ecx
push 0x40
call esi
mov edi, eax
lea edx, [esp + 0xc]
push edx
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x42a53b
mov esi, edi
test edi, edi
je 0x42a53b
jmp 0x42a4e0
lea eax, [esi + 0x10c]
push 0x6066b4
push eax
call fcn.004bc4f0
add esp, 8
test eax, eax
ja 0x42a515
cmp dword [esi + 0x1a0], 0x47
je 0x42a515
mov esi, dword [esi]
test esi, esi
jne 0x42a4e0
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x190]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
push eax
add esi, 0x194
push esi
push edx
mov dword [ecx], eax
call fcn.004bb170
add esp, 0xc
mov ebx, 1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x42ce60
Capabilities:
Hash data with md5

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

Function at 0x431940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f4418
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x64222c]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov esi, dword [esp + 0x64]
cmp dword [esi], 0
je 0x4319c0
lea ecx, [esp + 0xc]
call fcn.004a923c
push 0
lea eax, [esp + 0x68]
push eax
push 9
push 2
push 0x1ee
push esi
mov dword [esp + 0x74], 0
call fcn.004a9d47
mov ecx, dword [esp + 0x7c]
add esp, 0x18
push 1
push ecx
lea ecx, [esp + 0x14]
call fcn.004a95a8
cmp dword [esp + 0xc], 0
jne 0x4319d4
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004a92ea
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret
mov eax, dword [esp + 0x68]
xor edx, edx
push eax
lea ecx, [esp + 0x28]
mov word [esp + 0x28], dx
call fcn.004aa2df
lea ecx, [esp + 0x24]
push ecx
push 0x63fdd4
lea edx, [esp + 0x6c]
push edx
push 9
push 2
lea eax, [esp + 0x20]
push 0xaa
push eax
mov byte [esp + 0x78], 1
call fcn.004a9d47
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
add esp, 0x1c
lea ecx, [esp + 0x24]
push ecx
mov byte [esp + 0x60], 0
call esi
mov edi, dword [esp + 0x64]
test edi, edi
je 0x4319af
lea ecx, [esp + 0x1c]
call fcn.004a923c
push 1
push edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 2
call fcn.004a95a8
lea ecx, [esp + 0x14]
call fcn.004a923c
push 0
lea edx, [esp + 0x68]
push edx
push 9
push 2
lea eax, [esp + 0x2c]
push 0xee
push eax
mov byte [esp + 0x74], 3
call fcn.004a9d47
mov ecx, dword [esp + 0x7c]
add esp, 0x18
push 1
push ecx
lea ecx, [esp + 0x1c]
call fcn.004a95a8
mov eax, dword [esp + 0x74]
xor edx, edx
push eax
lea ecx, [esp + 0x28]
mov word [esp + 0x28], dx
call fcn.004aa2df
mov ecx, dword [esp + 0x70]
push 3
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x64], 4
call fcn.004a9e55
mov edi, eax
mov edx, dword [esp + 0x6c]
push 3
push edx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 5
call fcn.004a9e55
lea ecx, [esp + 0x24]
push ecx
push edi
push eax
push 0x63fd98
push 0
push 0
push 4
lea edx, [esp + 0x30]
push 0xaa
push edx
mov byte [esp + 0x80], 6
call fcn.004a9d47
add esp, 0x24
lea eax, [esp + 0x34]
push eax
call esi
lea ecx, [esp + 0x44]
push ecx
call esi
lea edx, [esp + 0x24]
push edx
call esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x5c], 2
call fcn.004a92ea
lea ecx, [esp + 0x1c]
mov byte [esp + 0x5c], 0
call fcn.004a92ea
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004a92ea
mov eax, 1
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x54
ret