joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422ec0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x84
mov eax, dword [0x44c040]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push ebp
push edi
xor eax, eax
push 0x7e
mov ebx, ecx
push eax
lea ecx, [esp + 0x16]
push ecx
mov edi, edx
mov ebp, 0x44481c
mov word [esp + 0x18], ax
call fcn.0042aa60
add esp, 0xc
test ebx, ebx
jne 0x422f09
push ebx
push 1
push 0x7f
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
xor edx, edx
cmp edx, 0x44481c
jne 0x422f25
push 0x3f
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea ebp, [esp + 0xc]
push 0x3b8
push 0
push esi
call fcn.0042aa60
add esp, 0xc
mov dword [esi + 4], edi
push 0x4440f8
lea edi, [esi + 0x18]
push edi
mov dword [esi], 0x3b8
mov dword [esi + 0xc], 0x17
mov dword [esi + 8], 0x7b
mov dword [esi + 0x10], 0x464
mov dword [esi + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x7f
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push esi
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
mov ecx, dword [esp + 0x8c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042825b
add esp, 0x84
ret

Function at 0x424050
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
lea eax, [esp + 0xc]
push eax
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x14], 1
mov dword [esp + 0x20], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x4240bb
mov edx, dword [esp + 0x24]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push 0x10
lea eax, [esp + 0x14]
push eax
push 0
push ecx
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x4240bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x514
je 0x4240bb
mov eax, 1
add esp, 0x1c
ret 8
xor eax, eax
add esp, 0x1c
ret 8

Function at 0x4243e0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x5c
push 0x44
lea eax, [esp + 0x14]
push 0
push eax
call fcn.0042aa60
mov eax, dword [esp + 0x74]
add esp, 0xc
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x6c]
push 0
push ecx
push 0
push 0
push 0
push edx
push eax
mov dword [esp + 0x38], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x424431
add esp, 0x5c
ret 0x10
mov ecx, dword [esp]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], ecx
mov eax, 1
add esp, 0x5c
ret 0x10
Function at 0x424490
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x24
push esi
push edi
mov esi, eax
lea eax, [esp + 0xc]
push eax
push 0x20
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x42451a
lea ecx, [esp + 0x10]
push ecx
push str.SeDebugPrivilege
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edi
push edi
push 0x10
lea ecx, [esp + 0x24]
neg esi
push ecx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
sbb esi, esi
push edi
and esi, 2
push edx
mov dword [esp + 0x30], 1
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov eax, dword [esp + 0xc]
neg esi
sbb esi, esi
push eax
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
add esp, 0x24
ret
mov eax, edi
pop edi
pop esi
add esp, 0x24
ret

Function at 0x424530
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
push 0x445a94
inc esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x42455a
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
push 0x445ab0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esp + 0x14], eax
test eax, eax
je 0x424551
mov eax, 1
call fcn.00424490
mov eax, dword [ebx + 4]
push 0x40
push 0x1000
lea edi, [esi + esi]
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
test esi, esi
je 0x424551
mov ecx, dword [ebx + 4]
push 0
push edi
push ebp
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x424551
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
push 0
push 0
push esi
push edx
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
xor eax, eax
call fcn.00424490
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4
Function at 0x4245e0
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x58
mov eax, dword [0x44c040]
xor eax, esp
mov dword [esp + 0x54], eax
push ebp
mov ebp, dword [esp + 0x68]
push esi
push edi
mov ecx, 0x10
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x6c]
lea edx, [ecx*4]
mov eax, 0x55555556
imul edx
mov eax, edx
shr eax, 0x1f
lea edx, [edx + eax + 1]
cmp dword [esp + 0x74], edx
movsb byte es:[edi], byte [esi]
jge 0x42463b
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.0042825b
add esp, 0x58
ret
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax + eax*2]
mov esi, edx
mov edx, ecx
sub edx, esi
xor esi, esi
push ebx
mov dword [esp + 0x18], edx
test eax, eax
jle 0x4246dc
mov edi, dword [esp + 0x6c]
lea esi, [ebp + 2]
add edi, 2
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
nop
mov al, byte [edi - 1]
mov cl, byte [edi - 2]
mov dl, al
and cl, 3
shl cl, 4
shr dl, 4
or cl, dl
mov dl, byte [edi]
and al, 0xf
add al, al
mov bl, dl
shr bl, 6
add al, al
or al, bl
movzx ebx, byte [edi - 2]
movzx ecx, cl
movzx ecx, byte [esp + ecx + 0x20]
and dl, 0x3f
movzx eax, al
movzx edx, dl
mov byte [esi - 1], cl
movzx ecx, byte [esp + eax + 0x20]
movzx eax, byte [esp + edx + 0x20]
shr ebx, 2
mov bl, byte [esp + ebx + 0x20]
mov byte [esi - 2], bl
mov byte [esi], cl
mov byte [esi + 1], al
add edi, 3
add esi, 4
sub dword [esp + 0x14], 1
jne 0x424670
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x70]
lea eax, [esi*4]
cmp edx, 1
jne 0x424719
mov edx, dword [esp + 0x6c]
mov cl, byte [ecx + edx - 1]
mov dl, cl
movzx ecx, cl
and dl, 3
shr ecx, 2
movzx ecx, byte [esp + ecx + 0x20]
shl dl, 4
mov byte [eax + ebp], cl
movzx edx, dl
movzx ecx, byte [esp + edx + 0x20]
inc eax
mov byte [eax + ebp], cl
inc eax
mov byte [eax + ebp], 0x3d
jmp 0x424769
cmp edx, 2
jne 0x42476f
mov esi, dword [esp + 0x6c]
mov dl, byte [ecx + esi - 2]
mov cl, byte [ecx + esi - 1]
mov byte [esp + 0x13], dl
movzx esi, byte [esp + 0x13]
and dl, 3
mov bl, cl
shl dl, 4
shr bl, 4
or dl, bl
and cl, 0xf
add cl, cl
movzx edx, dl
movzx edx, byte [esp + edx + 0x20]
shr esi, 2
mov bl, byte [esp + esi + 0x20]
add cl, cl
mov byte [eax + ebp], bl
inc eax
movzx ecx, cl
mov byte [eax + ebp], dl
movzx edx, byte [esp + ecx + 0x20]
inc eax
mov byte [eax + ebp], dl
inc eax
mov byte [eax + ebp], 0x3d
inc eax
mov ecx, dword [esp + 0x64]
pop ebx
pop edi
pop esi
mov byte [eax + ebp], 0
pop ebp
xor ecx, esp
call fcn.0042825b
add esp, 0x58
ret
Function at 0x424b20
Capabilities:
Get file version info

Disassembly:
mov eax, 0x4010
call fcn.00436b50
mov eax, dword [0x44c040]
xor eax, esp
mov dword [esp + 0x400c], eax
push esi
push edi
xor eax, eax
push 0x3ffe
mov esi, ecx
push eax
lea ecx, [esp + 0x1e]
push ecx
mov edi, edx
mov word [esp + 0x20], ax
call fcn.0042aa60
add esp, 0xc
lea edx, [esp + 0xc]
push edx
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x424bcd
cmp eax, 0x4000
jbe 0x424b73
mov eax, 0x3ffe
lea ecx, [esp + 0x14]
push ecx
push eax
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x424bcd
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0xc]
push eax
push 0x445b04
lea ecx, [esp + 0x20]
push ecx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x424bcd
mov esi, dword [esp + 8]
test esi, esi
je 0x424bcd
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x400c]
xor ecx, esp
call fcn.0042825b
add esp, 0x4010
ret
mov ecx, dword [esp + 0x4014]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.0042825b
add esp, 0x4010
ret

Function at 0x424f30
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x2c
mov eax, dword [0x44c040]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
xor eax, eax
add ecx, 4
push ecx
push 0x27
lea ecx, [esp + 0xc]
push ecx
push eax
push edx
push str.login
mov word [esp + 0x1c], ax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov dword [esp + 0x2a], eax
mov dword [esp + 0x2e], eax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov dword [esp + 0x3e], eax
mov word [esp + 0x42], ax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x445ce0
lea edx, [esp + 8]
push edx
call esi
test eax, eax
jne 0x424fb2
mov eax, 1
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0042825b
add esp, 0x2c
ret
push str.FALSE
lea eax, [esp + 8]
push eax
call esi
test eax, eax
jne 0x424fd2
pop esi
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0042825b
add esp, 0x2c
ret
lea ecx, [esp + 4]
push ecx
call fcn.004299af
mov ecx, dword [esp + 0x30]
add esp, 4
pop esi
xor ecx, esp
call fcn.0042825b
add esp, 0x2c
ret

Function at 0x42825b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44c040]
jne 0x428265
repz ret
jmp fcn.0042b276
Function at 0x435f3e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042b83d
and dword [ebp - 4], 0
cmp dword [0x44f564], 0
mov ebx, eax
jne 0x435fef
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4360a0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4360a0
push eax
call fcn.0042b7cb
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44f564], eax
call esi
push eax
call fcn.0042b7cb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44f568], eax
call esi
push eax
call fcn.0042b7cb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44f56c], eax
call esi
push eax
call fcn.0042b7cb
pop ecx
mov dword [0x44f574], eax
test eax, eax
je 0x435fef
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042b7cb
pop ecx
mov dword [0x44f570], eax
mov eax, dword [0x44f570]
cmp eax, ebx
je 0x436047
cmp dword [0x44f574], ebx
je 0x436047
push eax
call fcn.0042b846
push dword [0x44f574]
mov esi, eax
call fcn.0042b846
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x436047
test edi, edi
je 0x436047
call esi
test eax, eax
je 0x43603e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43603e
test byte [ebp - 0xc], 1
jne 0x436047
or dword [ebp + 0x10], 0x200000
jmp 0x436080
mov eax, dword [0x44f568]
cmp eax, ebx
je 0x436080
push eax
call fcn.0042b846
pop ecx
test eax, eax
je 0x436080
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x436080
mov eax, dword [0x44f56c]
cmp eax, ebx
je 0x436080
push eax
call fcn.0042b846
pop ecx
test eax, eax
je 0x436080
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44f564]
call fcn.0042b846
pop ecx
test eax, eax
je 0x4360a0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4360a2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x443dd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x27000]
push edi
jmp 0x443dea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x443df1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x443de0
mov eax, 1
add ebx, ebx
jne 0x443e03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x443df8
jne 0x443e14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x443df8
xor ecx, ecx
sub eax, 3
jb 0x443e28
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x443e9a
mov ebp, eax
add ebx, ebx
jne 0x443e33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x443e40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x443e64
inc ecx
add ebx, ebx
jne 0x443e50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x443e45
jne 0x443e61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x443e45
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x443e84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x443e75
jmp 0x443de6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x443e84
add edi, ecx
jmp 0x443de6
pop esi
mov edi, esi
mov ecx, 0xf6d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x443ea2
cmp byte [edi], 0x11
jne 0x443ea2
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 al, bl
loop 0x443ea7
lea edi, [esi + 0x40000]
mov eax, dword [edi]
or eax, eax
je 0x443f16
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x445a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x44620]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x443ed4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x44628]
or eax, eax
je 0x443f10
mov dword [ebx], eax
add ebx, 4
jmp 0x443ef1
call dword [esi + 0x44624]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x443f47
cmp al, 0xef
ja 0x443f3a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x443f1c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x443f29
mov ebp, dword [esi + 0x4462c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x443f7b
sub esp, 0xffffff80
jmp 0x410278
Function at 0x10252e90
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x1025307d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x196000]
push edi
or ebp, 0xffffffff
jmp 0x10252eba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10252ec1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10252eb0
mov eax, 1
add ebx, ebx
jne 0x10252ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10252ee4
jne 0x10252f03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10252f03
dec eax
add ebx, ebx
jne 0x10252ef0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x10252ec8
add ebx, ebx
jne 0x10252eff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x10252f55
xor ecx, ecx
sub eax, 3
jb 0x10252f1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x10252f8a
sar eax, 1
mov ebp, eax
jmp 0x10252f26
add ebx, ebx
jne 0x10252f26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10252ef4
inc ecx
add ebx, ebx
jne 0x10252f34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10252ef4
add ebx, ebx
jne 0x10252f41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10252f36
jne 0x10252f52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10252f36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x10252f74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x10252f66
jmp 0x10252eb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x10252f74
add edi, ecx
jmp 0x10252eb6
pop esi
mov edi, esi
mov ecx, 0x574d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x10252f92
cmp byte [edi], 0x1e
jne 0x10252f92
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 al, bl
loop 0x10252f97
lea edi, [esi + 0x248000]
mov eax, dword [edi]
or eax, eax
je 0x1025300f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x254500]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x25462c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x10252fc4
mov ecx, edi
jns 0x10252ff3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x254630]
or eax, eax
je 0x10253009
mov dword [ebx], eax
add ebx, 4
jmp 0x10252fe1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10253040
cmp al, 0xef
ja 0x10253033
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10253015
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10253022
mov ebp, dword [esi + 0x254634]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x10253074
sub esp, 0xffffff80
jmp 0x100b8dd3
Function at 0x43cbf0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ed28b
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.004ddf69
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x43cc72
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004db0bc
mov eax, dword [eax]
push 0x80f274
push eax
call fcn.004bafe4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004de1f4
test bl, bl
je 0x43cc72
push 0x80f274
lea ecx, [esp + 0xc]
call fcn.004de584
push 0x812e48
lea ecx, [esp + 0xc]
call fcn.004de584
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 0x43ccae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004de1f4
jmp 0x43cd79
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 0x43cd32
lea edx, [esp + 0x7c]
push 0x812e44
push edx
call fcn.004bafe4
add esp, 8
test eax, eax
je 0x43cd32
lea eax, [esp + 0x7c]
push 0x812e40
push eax
call fcn.004bafe4
add esp, 8
test eax, eax
je 0x43cd32
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 0x43ccc2
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.004de1f4
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 0x43d570
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 0x43d5d2
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 0x43d5e0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ed30b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x81f3ec]
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 0x43d718
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x43d646
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004de1f4
xor eax, eax
jmp 0x43d78f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004de331
push esi
lea ecx, [esp + 0xc]
call fcn.004de5c0
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x812e80
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43d76d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0043d570
test eax, eax
jne 0x43d76d
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 closesocket
mov ecx, edi
call fcn.0043d570
test eax, eax
jne 0x43d76d
lea eax, [esp + 0x14]
push 0x812e5c
push eax
call fcn.004bc030
mov esi, eax
add esp, 8
test esi, esi
jne 0x43d74c
lea ecx, [esp + 0x14]
push 0x812e58
push ecx
call fcn.004bbfb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43d74c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43d74f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004de2e1
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43d65e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004de1f4
xor eax, eax
jmp 0x43d78f
mov byte [esi], 0
push 0x812e54
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.004de1f4
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