joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402499
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push eax
call sub.MSVCR71.dll_memset
push 0x10
mov dword [ebp - 0x44], edi
push esi
mov edi, 0x4072e8
push edi
call sub.MSVCR71.dll_memset
add esp, 0x18
push edi
lea eax, [ebp - 0x44]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push str.ATMINSTHARPINSSETUP.EXE
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
pop esi
je 0x4024f8
push 0x1388
push dword [0x4072e8]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
xor eax, eax
inc eax
leave
ret
xor eax, eax
inc eax
mov dword [0x4072e4], eax
mov dword [0x408058], eax
mov dword [0x407040], 0x405894
xor eax, eax
leave
ret

Function at 0x402513
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push eax
call sub.MSVCR71.dll_memset
push 0x10
push esi
push 0x4072e8
mov dword [ebp - 0x44], edi
call sub.MSVCR71.dll_memset
add esp, 0x18
push 0x408060
mov ebx, 0x407290
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edi, str.ATMINSTHARMONYATMCOPY.EXE
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x407594
lea eax, [ebp - 0x44]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
pop esi
pop ebx
je 0x402580
xor eax, eax
inc eax
leave
ret
mov dword [0x407040], 0x4058c4
mov dword [0x4072e4], 1
xor eax, eax
leave
ret

Function at 0x402598
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
xor ebx, ebx
xor eax, eax
cmp byte [0x4075f8], bl
je 0x40261d
mov ecx, 0x4075f8
cmp eax, dword [0x40702c]
jge 0x40261d
movsx edx, byte [ecx]
cmp edx, dword [ebp + 8]
je 0x4025ca
add ecx, 0x40
inc eax
cmp byte [ecx], bl
jne 0x4025b0
jmp 0x40261d
shl eax, 6
add eax, 0x4075f9
push edi
mov edi, eax
je 0x40261c
cmp byte [edi], bl
je 0x40261c
push 0x44
lea eax, [ebp - 0x54]
push ebx
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push edi
push ebx
mov dword [ebp - 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40261c
push 0x1388
push dword [0x4070e0]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
pop edi
pop ebx
leave
ret
Function at 0x402620
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1a4
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x408060
lea eax, [ebp - 0x2c]
push eax
call edi
push str.ATMSYSREV.DT2
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
lea eax, [ebp - 0x2c]
push 0x80000000
push eax
call fcn.004016ab
add esp, 0x1c
cmp eax, 0xffffffff
mov dword [ebp + 0x74], eax
je 0x402736
push ebx
lea ecx, [ebp + 0x70]
push ecx
push 0x64
lea ecx, [ebp - 0xac]
push ecx
push eax
mov byte [ebp - 0x48], bl
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 0xb
lea eax, [ebp - 0x9e]
push eax
lea eax, [ebp + 0x54]
push eax
call esi
push dword [ebp + 0x74]
call dword [sym.imp.KERNEL32.dll__lclose]
push 0xb
lea eax, [ebp + 0x54]
push eax
push 0x407e48
call esi
push 0x407b08
lea eax, [ebp + 0x14]
push eax
call edi
push str.ATMSYSREV.DT2
lea eax, [ebp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
push ebx
push 3
push ebx
push ebx
lea eax, [ebp + 0x14]
push 0x80000000
push eax
call fcn.004016ab
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x402731
push ebx
lea eax, [ebp + 0x6c]
push eax
push 0x64
lea eax, [ebp - 0x12c]
push eax
push edi
mov byte [ebp - 0xc8], bl
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0xb
lea eax, [ebp - 0x11e]
push eax
lea eax, [ebp + 0x60]
push eax
call esi
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
push 0xb
lea eax, [ebp + 0x60]
push eax
push 0x407570
call esi
xor eax, eax
inc eax
jmp 0x40274c
push 3
pop eax
jmp 0x40274c
mov dword [0x407040], 0x4058f8
mov dword [0x4072e4], 1
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret

Function at 0x402754
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xec
push ebx
push edi
push 0x408060
lea eax, [ebp + 0x2c]
push eax
mov dword [ebp + 0x74], 0x323030
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.ATMSYSREV.DT2
lea eax, [ebp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
lea eax, [ebp + 0x2c]
push 0x80000000
push eax
call fcn.004016ab
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x402804
push esi
push ebx
lea eax, [ebp + 0x6c]
push eax
push 0x99
lea eax, [ebp - 0x74]
push eax
push edi
mov byte [ebp + 0x2b], bl
mov byte [0x407147], bl
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
push 4
lea eax, [ebp - 0x66]
push eax
lea eax, [ebp + 0x70]
push eax
call esi
push 0x3c
lea eax, [ebp - 0x1c]
push eax
push 0x407108
call esi
push edi
call dword [sym.imp.KERNEL32.dll__lclose]
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
mov dword [0x407afc], eax
xor eax, eax
inc eax
pop esi
jmp 0x40281a
mov dword [0x407040], 0x4058f8
mov dword [0x4072e4], 1
xor eax, eax
pop edi
pop ebx
add ebp, 0x78
leave
ret
Function at 0x402821
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
and word [ebp - 4], 0
push edi
xor eax, eax
lea edi, [ebp - 2]
push 2
stosw word es:[edi], ax
lea eax, [ebp - 4]
push 0x407530
push eax
call sub.MSVCR71.dll_memcpy
add esp, 0xc
push 0x405920
lea eax, [ebp - 2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
pop edi
je 0x40286d
cmp eax, 1
je 0x40286d
xor eax, eax
inc eax
leave
ret
xor eax, eax
leave
ret

Function at 0x402871
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x408250]
push esi
mov esi, eax
neg esi
sbb esi, esi
not esi
and esi, dword [0x408260]
neg eax
sbb eax, eax
not eax
and eax, dword [0x408264]
push edi
mov edi, eax
mov eax, dword [esp + 0xc]
push 5
push dword [0x4075a8]
inc eax
mov dword [0x408258], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
push 0
push edi
push esi
push 0xfffffffffffffffe
push dword [0x4075a8]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push dword [0x4075a8]
call dword [sym.imp.USER32.dll_InvalidateRect]
push dword [0x4075a8]
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
jmp dword [sym.imp.GDI32.dll_GdiFlush]

Function at 0x40293c
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push str.A:__ASD.EXE
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x402956
xor eax, eax
leave
ret
push ebx
push esi
push edi
push 0x10
xor esi, esi
lea eax, [ebp - 0x10]
push esi
push eax
call sub.MSVCR71.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push str.C:PREVTMTRUN.EXE_A:__VGAERR2.PCD
push esi
mov dword [ebp - 0x28], 1
mov word [ebp - 0x24], si
call ebx
test eax, eax
jne 0x4029af
push 0x10
push str.ATMSHELL
push 0x40594c
jmp 0x402a11
mov eax, dword [ebp - 0x10]
push dword [ebp - 0xc]
mov dword [0x407528], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
push 0x7530
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetTimer]
push 0x10
mov dword [0x407100], eax
lea eax, [ebp - 0x10]
push esi
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
call edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push str.PROGMAN.EXE
push esi
call ebx
test eax, eax
jne 0x402a1a
push 0x10
push str.ATMSHELL
push str.Programe_Manager_
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x402a2a
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
Function at 0x402b6d
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xb0
push esi
push 0x5a
xor esi, esi
lea eax, [ebp - 0x38]
push esi
push eax
call sub.MSVCR71.dll_memset
push 0x10
lea eax, [ebp + 0x68]
push esi
push eax
call sub.MSVCR71.dll_memset
push 0x40
lea eax, [ebp - 0x38]
push 0x408060
push eax
call sub.MSVCR71.dll_memcpy
lea eax, [ebp - 0x38]
push str.ATMHARMONYTRACEMON.EXE
push eax
call sub.MSVCR71.dll_strcat
push 0x44
lea eax, [ebp + 0x24]
push esi
push eax
call sub.MSVCR71.dll_memset
add esp, 0x38
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp + 0x24]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x38]
push eax
push esi
mov dword [ebp + 0x24], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop esi
add ebp, 0x78
leave
ret

Function at 0x402be6
Capabilities:
Access the windows event log
Create process on windows
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x1ac
push ebx
push esi
push edi
mov esi, str.ATMSHELL
lea edi, [ebp + 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x34]
mov dword [ebp + 0x68], eax
lea eax, [ebp - 0x14]
mov dword [ebp + 0x6c], eax
push str.ATM.INI
movsb byte es:[edi], byte [esi]
xor eax, eax
push 0x100
lea edi, [ebp + 0x70]
stosd dword es:[edi], eax
lea eax, [ebp - 0x134]
push eax
push 0x4055ab
push str.APName
push str.Exec_AP
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor ebx, ebx
cmp byte [ebp - 0x134], bl
jne 0x402c49
xor eax, eax
inc eax
jmp 0x402d27
push 0x44
pop esi
push esi
lea eax, [ebp + 0x18]
push ebx
push eax
call sub.MSVCR71.dll_memset
push 0x10
mov dword [ebp + 0x18], esi
xor edi, edi
push ebx
mov esi, 0x407584
inc edi
push esi
mov dword [ebp + 0x44], edi
mov word [ebp + 0x48], bx
call sub.MSVCR71.dll_memset
lea eax, [ebp - 0x34]
push 0x405a08
push eax
call sub.MSVCR71.dll_strcpy
add esp, 0x20
push esi
lea eax, [ebp + 0x18]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x134]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
lea eax, [ebp - 0x14]
jne 0x402cec
push 0x4059e4
push eax
call sub.MSVCR71.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp + 0x5c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
cmp esi, ebx
je 0x402ce8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x74], eax
lea eax, [ebp + 0x74]
push eax
lea eax, [ebp + 0x68]
push eax
push 4
push 2
push ebx
push ebx
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov eax, edi
jmp 0x402d27
push 0x4059bc
push eax
call sub.MSVCR71.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp + 0x5c]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
cmp esi, ebx
je 0x402d25
push ebx
lea eax, [ebp + 0x68]
push eax
push ebx
push 3
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x78
leave
ret
Function at 0x404918
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x405c38
call fcn.004047e8
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x404958
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404958
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x404970
cmp eax, 0x20b
je 0x40495d
mov dword [ebp - 0x1c], ebx
jmp 0x404984
cmp dword [ecx + 0x84], 0xe
jbe 0x404958
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x40497e
cmp dword [ecx + 0x74], 0xe
jbe 0x404958
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x408348], 0xffffffff
or dword [0x40834c], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x408304]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x408300]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x408344], eax
call fcn.00404c5e
call fcn.00404cfe
cmp dword [0x40709c], ebx
jne 0x4049e4
push fcn.00404cfe
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00404cec
push 0x407014
push 0x407010
call sub.MSVCR71.dll__initterm
push 0x404ca2
call fcn.00404c3a
mov eax, dword [0x4082fc]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x4082f8]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x404a38
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x40700c
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x404ab6
cmp al, bl
je 0x404a62
cmp dword [ebp - 0x20], ebx
jne 0x404ab6
mov al, byte [esi]
cmp al, bl
je 0x404a72
cmp al, 0x20
ja 0x404a72
inc esi
mov dword [ebp - 0x24], esi
jmp 0x404a62
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x404a8e
movzx eax, word [ebp - 0x54]
jmp 0x404a91
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00404351
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x404aae
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x404b0b
cmp al, 0x22
jne 0x404ac5
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x404ad8
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x404a50
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00404823
ret
Function at 0x4293e0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ecx, eax
mov ebp, esp
push ebx
lea ebx, [eax + edx]
mov edx, 0x1505
jmp 0x4293fd
mov eax, edx
shl eax, 5
add edx, eax
movsx eax, byte [ecx]
inc ecx
xor edx, eax
cmp ecx, ebx
jb 0x4293f0
pop ebx
mov eax, edx
pop ebp
ret
Function at 0x465a30
Capabilities:
Hash data with md5

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

Function at 0x46e9b0
Capabilities:
Encode data using xor

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
xor esi, esi
test edx, edx
je 0x46e9c7
mov al, byte [edx]
test al, al
mov ebx, 0x100
jne 0x46e9d0
pop ebx
xor eax, eax
pop esi
ret
movsx eax, al
or eax, ebx
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
imul eax, eax
rol esi, cl
inc edx
xor esi, eax
mov al, byte [edx]
add ebx, 0x100
test al, al
jne 0x46e9d0
mov eax, esi
shr eax, 0x10
pop ebx
xor eax, esi
pop esi
ret
Function at 0x47e700
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x9c
mov edi, dword [esp + 0xbc]
xor eax, eax
test edi, edi
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xb8]
je 0x47e8bf
mov edx, dword [esp + 0xb4]
test edx, edx
mov al, 1
mov dword [ebx], edi
je 0x47e8d0
mov esi, dword [edi + 0x40]
cmp esi, 0x80
jg 0x47e88b
cmp esi, ebp
jl 0x47e83e
cmp ebp, 0x80
ja 0x47e8a5
push edx
push ebp
mov edx, dword [esp + 0xbc]
push edx
lea eax, [ebx + 0x38]
push eax
call fcn.004f3910
add esp, 0x10
lea ecx, [ebx + 4]
mov edx, ebp
mov dword [ebx + 0x34], ebp
mov dword [esp + 0xc], ecx
cmp edx, 0x80
je 0x47e7a1
mov esi, pe_nt_image_headers32
sub esi, edx
push ecx
push esi
push 0
lea ebp, [edx + ebx + 0x38]
push ebp
call fcn.004f3870
add esp, 0x10
xor edx, edx
lea esi, [esi]
lea edi, [edi]
mov al, byte [ebx + edx + 0x38]
xor eax, 0x36
mov byte [esp + edx + 0x10], al
inc edx
cmp edx, 0x7f
jle 0x47e7b0
push eax
mov ebp, dword [esp + 0xc4]
push ebp
push edi
lea esi, [ebx + 0x14]
push esi
call fcn.00478c70
add esp, 0xc
mov edx, dword [edi + 0x40]
push edx
lea ebp, [esp + 0x18]
push ebp
push esi
call fcn.00478e10
xor edx, edx
add esp, 0x10
nop
lea esi, [esi]
mov cl, byte [ebx + edx + 0x38]
xor ecx, 0x5c
mov byte [esp + edx + 0x10], cl
inc edx
cmp edx, 0x7f
jle 0x47e7f0
push eax
mov edx, dword [esp + 0xc4]
push edx
push edi
add ebx, 0x24
push ebx
call fcn.00478c70
add esp, 0xc
mov eax, dword [edi + 0x40]
push eax
push ebp
push ebx
call fcn.00478e10
add esp, 0x10
sub esp, 8
push esi
mov ebx, dword [esp + 0x18]
push ebx
call fcn.00479210
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
push eax
mov eax, dword [esp + 0xc4]
push eax
push edi
lea esi, [ebx + 4]
mov dword [esp + 0x18], esi
push esi
call fcn.00478c70
add esp, 0xc
push ebp
mov edx, dword [esp + 0xbc]
push edx
mov ebp, dword [esp + 0x18]
push ebp
call fcn.00478e10
add esp, 0xc
lea ecx, [ebx + 0x34]
push ecx
lea eax, [ebx + 0x38]
push eax
mov esi, dword [esp + 0x18]
push esi
call fcn.00478e30
add esp, 0x10
mov edx, dword [ebx + 0x34]
jmp 0x47e781
push eax
push 0x5209e0
push 0x52
push 0x5209fb
call fcn.0046faf0
add esp, 0x10
jmp 0x47e74b
push ecx
push 0x520a10
push 0x5c
push 0x5209fb
call fcn.0046faf0
add esp, 0x10
jmp 0x47e75f
mov edx, dword [esp + 0xb4]
test edx, edx
mov edi, dword [ebx]
jne 0x47e73c
lea ecx, [ebx + 4]
test eax, eax
mov dword [esp + 0xc], ecx
lea esi, [ebx + 0x14]
jne 0x47e7a1
sub esp, 8
push esi
mov ebx, dword [esp + 0x18]
push ebx
call fcn.00479210
add esp, 0xac
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x434b30
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49adab
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.0048f50a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x434bb2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048d1e0
mov eax, dword [eax]
push 0x4e81f0
push eax
call fcn.0047fd84
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048f795
test bl, bl
je 0x434bb2
push 0x4e81f0
lea ecx, [esp + 0xc]
call fcn.0048fb25
push 0x4ebd7c
lea ecx, [esp + 0xc]
call fcn.0048fb25
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 0x434bee
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048f795
jmp 0x434cb9
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 0x434c72
lea edx, [esp + 0x7c]
push 0x4ebd78
push edx
call fcn.0047fd84
add esp, 8
test eax, eax
je 0x434c72
lea eax, [esp + 0x7c]
push 0x4ebd74
push eax
call fcn.0047fd84
add esp, 8
test eax, eax
je 0x434c72
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 0x434c02
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.0048f795
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 0x4354b0
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 0x435512
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 0x435520
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49ae2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4f2760]
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 0x435658
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x435586
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048f795
xor eax, eax
jmp 0x4356cf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0048f8d2
push esi
lea ecx, [esp + 0xc]
call fcn.0048fb61
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4ebdb4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x4356ad
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.004354b0
test eax, eax
jne 0x4356ad
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.004354b0
test eax, eax
jne 0x4356ad
lea eax, [esp + 0x14]
push 0x4ebd90
push eax
call fcn.00480dc0
mov esi, eax
add esp, 8
test esi, esi
jne 0x43568c
lea ecx, [esp + 0x14]
push 0x4ebd8c
push ecx
call fcn.00480d40
mov esi, eax
add esp, 8
test esi, esi
jne 0x43568c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x43568f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0048f882
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43559e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048f795
xor eax, eax
jmp 0x4356cf
mov byte [esi], 0
push 0x4ebd88
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.0048f795
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