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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 0x10]
xor eax, eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0xc], eax
push 1
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
sub edx, dword [edi + 0x1c]
sub esi, dword [edi + 0x18]
mov eax, dword [edi]
push edx
push esi
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], edx
call dword [eax + 0x74]
mov ebx, dword [edi + 0x144]
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x44f770
push ebx
call fcn.0040c9d9
mov esi, eax
pop ecx
test esi, esi
je 0x44f6fb
mov eax, dword [esi + 0x14]
mov ecx, edi
push 2
push 0
push esi
mov dword [ebp - 0xc], eax
call fcn.00459fb1
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
push 0x202
call fcn.0040a9ed
mov eax, dword [ebp - 0x10]
cmp dword [edi + 0x144], eax
jne 0x44f71d
mov eax, dword [esi + 0x44]
xor ecx, ecx
test eax, eax
je 0x44f710
cmp word [eax], cx
je 0x44f710
push 1
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 4]
mov ecx, eax
xor edx, edx
mov dword [edi + 0x144], edx
test eax, eax
je 0x44f74f
push 0x67
jmp 0x44f768
cmp dword [esi + 0x14], ecx
je 0x44f6fb
mov ecx, dword [ebp - 8]
xor eax, eax
inc eax
jmp 0x44f700
push 1
xor eax, eax
mov ecx, edi
push eax
push esi
call fcn.00459fb1
movzx ecx, word [ebp + 0x10]
movzx eax, word [ebp + 0xc]
shl ecx, 0x10
or ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, esi
push 0x2a3
call fcn.0040a9ed
mov eax, dword [ebp - 4]
xor ecx, ecx
inc ecx
jmp 0x44f700
test ecx, ecx
je 0x44f770
cmp dword [ebp - 0xc], edx
je 0x44f770
cmp ebx, dword [edi + 0x140]
jne 0x44f766
mov dword [edi + 0x140], edx
push 0x6a
push esi
mov ecx, edi
call fcn.00456271
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x452cfc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
lea ecx, [edi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov esi, eax
test esi, esi
jne 0x452d4b
push 1
push dword [ebp + 0x10]
lea ecx, [edi + 0x150]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov esi, eax
test esi, esi
jne 0x452d4b
push 1
push dword [ebp + 0x10]
lea ecx, [edi + 0x278]
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x30]
mov esi, eax
xor ebx, ebx
cmp dword [edi + 0x3bc], ebx
je 0x452dc3
cmp dword [edi + 0x3cc], ebx
je 0x452d69
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi + 0x3cc], ebx
cmp dword [edi + 0x3bc], esi
jne 0x452dbd
push esi
call fcn.0040c9d9
movzx edx, word [ebp + 0x10]
mov esi, eax
pop ecx
movzx ecx, word [ebp + 0xc]
shl edx, 0x10
or edx, ecx
mov ecx, esi
push edx
push dword [ebp + 8]
push 0x205
call fcn.0040a9ed
mov ecx, dword [edi + 4]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xd
mov dword [ebp - 0x14], ecx
mov eax, dword [esi + 0x14]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
push 0x4e
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x3bc], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x453881
Capabilities:
Print debug messages

Disassembly:
push 0x18
mov eax, 0x497edf
call fcn.0045da2b
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x24]
push eax
call fcn.00401616
and dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
movzx eax, word [ebp - 0x16]
push eax
movzx eax, word [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push str.__02d__02d__02d__03d__n
push eax
call fcn.00404db7
add esp, 0x18
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x24]
lea ecx, [ecx - 0x10]
call fcn.00401dbc
call fcn.0045d9d5
ret 4
Function at 0x45ad04
Capabilities:
Get common file path

Disassembly:
push 0x22c
mov eax, 0x49849d
call fcn.0045da2b
mov ebx, ecx
mov dword [ebp - 0x234], ebx
mov al, byte [ebp + 8]
xor edx, edx
mov byte [ebx], al
lea eax, [ebx + 4]
push 7
pop esi
mov dword [ebp - 0x238], ebx
mov dword [eax + 0x14], esi
mov dword [eax + 0x10], edx
cmp esi, 8
jb 0x45ad3b
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], edx
lea edi, [ebx + 0x1c]
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], edx
cmp esi, 8
jb 0x45ad55
mov eax, dword [edi]
jmp 0x45ad57
mov eax, edi
xor ecx, ecx
mov word [eax], cx
lea esi, [ebx + 0x34]
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edx
cmp dword [esi + 0x14], 8
jb 0x45ad73
mov eax, dword [esi]
jmp 0x45ad75
mov eax, esi
xor ecx, ecx
mov word [eax], cx
push 0x208
push edx
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 2
push eax
mov dword [ebx + 0x4c], edx
mov dword [ebp - 0x234], edx
call fcn.004754f0
lea eax, [ebp - 0x230]
push eax
call fcn.00436dc2
add esp, 0x10
lea ecx, [ebx + 4]
push eax
call fcn.004042fd
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00402f39
lea eax, [ebp - 0x234]
push eax
push 0x10
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [ebp - 0x234], 0
je 0x45ae59
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, 1
jne 0x45ae59
cmp word [ebp - 0x218], 0
jne 0x45ae00
xor eax, eax
jmp 0x45ae0d
lea eax, [ebp - 0x218]
push eax
call fcn.0047a550
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, edi
push eax
call fcn.0040304c
cmp dword [edi + 0x14], 8
mov ecx, dword [ebx + 0x2c]
jb 0x45ae29
mov eax, dword [edi]
jmp 0x45ae2b
mov eax, edi
push 0x5c
pop edx
cmp dx, word [eax + ecx*2 - 2]
je 0x45ae4d
push 0x49a8b4
call fcn.0047a550
pop ecx
push eax
push 0x49a8b4
mov ecx, edi
call fcn.00404680
push dword [ebp - 0x234]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 0x234]
push eax
push 0x19
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp dword [ebp - 0x234], 0
je 0x45aeef
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x234]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
cmp eax, 1
jne 0x45aeef
cmp word [ebp - 0x218], 0
jne 0x45ae99
xor eax, eax
jmp 0x45aea6
lea eax, [ebp - 0x218]
push eax
call fcn.0047a550
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.0040304c
cmp dword [esi + 0x14], 8
mov ecx, dword [ebx + 0x44]
jb 0x45aec2
mov eax, dword [esi]
jmp 0x45aec4
mov eax, esi
push 0x5c
pop edx
cmp dx, word [eax + ecx*2 - 2]
je 0x45aee3
mov edi, 0x49a8b4
push edi
call fcn.0047a550
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00404680
push dword [ebp - 0x234]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea esi, [ebx + 0x4c]
push esi
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jns 0x45af00
and dword [esi], 0
mov eax, ebx
call fcn.0045d9d5
ret 4
Function at 0x45afe6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x45aff8
mov eax, dword [edi]
jmp 0x45affa
mov eax, edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebx
test al, 0x10
je 0x45b100
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], 8
jb 0x45b019
mov ecx, dword [esi]
jmp 0x45b01b
mov ecx, esi
cmp dword [edi + 0x14], 8
jb 0x45b025
mov eax, dword [edi]
jmp 0x45b027
mov eax, edi
push dword [edi + 0x10]
push ecx
push eax
call fcn.00482e45
add esp, 0xc
test eax, eax
jne 0x45b0ff
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x45b047
mov edi, dword [edi]
push 0x5c
pop ecx
cmp cx, word [edi + eax*2 - 2]
je 0x45b052
inc eax
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jae 0x45b0ff
push 8
pop edi
cmp dword [esi + 0x14], edi
jb 0x45b069
mov edx, dword [esi]
jmp 0x45b06b
mov edx, esi
push 0x5c
pop ebx
cmp bx, word [edx + eax*2 - 2]
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
jne 0x45b0ff
cmp dword [esi + 0x14], edi
jb 0x45b088
mov edx, dword [esi]
jmp 0x45b08a
mov edx, esi
cmp word [edx + eax*2], 0
je 0x45b0bb
cmp dword [esi + 0x14], edi
jb 0x45b09a
mov edx, dword [esi]
jmp 0x45b09c
mov edx, esi
push 0x5c
pop ebx
cmp word [edx + eax*2], bx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
je 0x45b0ae
inc eax
jmp 0x45b07f
sub ecx, eax
dec ecx
inc eax
push ecx
push eax
mov ecx, esi
call fcn.00403114
mov ecx, dword [esi + 0x10]
cmp dword [esi + 0x14], edi
jb 0x45b0c7
mov eax, dword [esi]
jmp 0x45b0c9
mov eax, esi
push 0x5c
pop edx
cmp dx, word [eax + ecx*2 - 2]
je 0x45b0ff
cmp dword [esi + 0x14], edi
jb 0x45b0dc
mov eax, dword [esi]
jmp 0x45b0de
mov eax, esi
push eax
call ebx
cmp eax, 0xffffffff
je 0x45b0ff
test al, 0x10
je 0x45b0ff
mov edi, 0x49a8b4
push edi
call fcn.0047a550
pop ecx
push eax
push edi
mov ecx, esi
call fcn.00404680
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x45b106
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0x28
mov eax, 0x4984cd
call fcn.0045da2b
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
and dword [ebp - 0x2c], 0
xor edi, edi
push ebx
call fcn.00404115
and dword [ebp - 4], edi
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45b147
xor esi, esi
jmp 0x45b1e9
and eax, 0x10
push 0x5c
mov dword [ebp - 0x34], eax
pop edx
je 0x45b180
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp dx, word [ecx + eax*2 - 2]
je 0x45b180
push 0x49a8b4
call fcn.0047a550
pop ecx
push eax
push 0x49a8b4
lea ecx, [ebp - 0x28]
call fcn.00404680
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [esi + 0x1c]
cmovae ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x45b196
mov eax, dword [eax]
push dword [esi + 0x2c]
push ecx
push eax
call fcn.00482e45
add esp, 0xc
test eax, eax
jne 0x45b1ac
mov edi, dword [esi + 0x2c]
jmp 0x45b1d6
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [esi + 0x34]
cmovae ecx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x45b1c2
mov eax, dword [eax]
push dword [esi + 0x44]
push ecx
push eax
call fcn.00482e45
add esp, 0xc
test eax, eax
jne 0x45b1f0
mov edi, dword [esi + 0x44]
cmp edi, dword [ebp - 0x18]
jne 0x45b1f0
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0045b2b4
mov esi, dword [ebp - 0x2c]
xor edi, edi
jmp 0x45b29f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 0x28]
lea esi, [edi + 1]
cmovae eax, edx
push 0x5c
pop ecx
cmp word [eax + edi*2], cx
cmovne esi, edi
cmp dword [ebx + 0x14], 8
jb 0x45b212
mov ebx, dword [ebx]
mov ecx, dword [ebp - 0x14]
xor edi, edi
cmp word [ebx + esi*2], di
jne 0x45b232
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], edi
push eax
push edi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
lea esi, [eax + esi*2]
cmp word [esi], di
jne 0x45b247
mov eax, edi
jmp 0x45b24e
push esi
call fcn.0047a550
pop ecx
push eax
push esi
lea ecx, [ebp - 0x28]
call fcn.0040304c
cmp dword [ebp - 0x34], edi
je 0x45b28b
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
push 0x5c
pop edx
cmp dx, word [ecx + eax*2 - 2]
je 0x45b28b
mov ebx, 0x49a8b4
push ebx
call fcn.0047a550
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.00404680
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov esi, eax
push edi
push 1
lea ecx, [ebp - 0x28]
call fcn.00402f39
mov eax, esi
call fcn.0045d9d5
ret 4

Function at 0x46070f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x404de5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x408688
cmp edx, dword [eax]
je 0x404e07
add eax, 8
inc ecx
cmp eax, 0x408718
jl 0x404df8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x408688]
jne 0x404f35
mov eax, dword [0x408a48]
cmp eax, 1
je 0x404f0f
test eax, eax
jne 0x404e38
cmp dword [0x4085d4], 1
je 0x404f0f
cmp edx, 0xfc
je 0x404f35
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x404e6f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004032f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004033f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x404eb2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004033f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4065d0
push edi
call fcn.00405720
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004032f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00403300
lea eax, [ebp - 0xa0]
push 0x4065b0
push eax
call fcn.00403300
push dword [esi + 0x40868c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00403300
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00405697
add esp, 0x2c
pop edi
jmp 0x404f35
lea eax, [ebp + 8]
lea esi, [esi + 0x40868c]
push 0
push eax
push dword [esi]
call fcn.004033f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x40e9f3
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0040ea72
jae 0x40e9ff
xor ecx, ecx
call fcn.0040ea72
jae 0x40ea29
xor eax, eax
call fcn.0040ea72
jae 0x40ea3a
mov al, 0x10
call fcn.0040ea72
adc al, al
jae 0x40ea1b
jne 0x40ea67
stosb byte es:[edi], al
jmp 0x40ea00
call fcn.0040ea7e
dec ecx
loop 0x40ea46
mov eax, ebp
call fcn.0040ea7c
jmp 0x40ea68
lodsb al, byte [esi]
shr eax, 1
je 0x40ea8e
adc ecx, 2
mov ebp, eax
jmp 0x40ea68
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0040ea7c
cmp eax, 0x7d00
jae 0x40ea66
cmp eax, 0x500
jae 0x40ea67
cmp eax, 0x7f
ja 0x40ea68
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x40ea00
pop ebp
ret 8
Function at 0x6d3985
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.006d3b35
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x6d3a83
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x6d3a26
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x6d3a69
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x6d3a3d
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x6d3a58
test al, 0x40
je 0x6d3a4f
mov ecx, dword [edi + 0x20]
jmp 0x6d3a56
test al, 0x80
je 0x6d3a69
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x6d3a69
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x6d39f5
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x6d9e9d
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x6d9ebe
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x6d9eb5
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x6d9ead
mov eax, ebx
leave
ret

Function at 0x6d9ee4
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 0xc]
xor edx, edx
xchg edx, eax
mov esi, 0x3c
add esi, dword [ebp + 8]
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov esi, dword [eax + 0x78]
add esi, 0x18
add esi, dword [ebp + 8]
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
add esi, 4
lea edi, [ebp - 8]
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
stosd dword es:[edi], eax
mov dword [ebp - 8], eax
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
push eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
pop esi
mov dword [ebp - 4], 0
push esi
mov eax, dword [esi]
add eax, dword [ebp + 8]
xchg edi, eax
mov ebx, edi
push edi
xor al, al
scasb al, byte es:[edi]
jne 0x6d9f43
pop esi
sub edi, ebx
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x6d9f70
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x6d9f5f
xor ecx, eax
xor edx, ebx
dec edi
jne 0x6d9f50
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop edx
cmp edx, eax
je 0x6d9f96
pop esi
add esi, 4
add dword [ebp - 4], 1
jmp 0x6d9f37
pop esi
mov eax, dword [ebp - 4]
shl eax, 1
add eax, dword [ebp - 0x10]
xor esi, esi
xchg esi, eax
mov ax, word [esi]
shl ax, 2
add eax, dword [ebp - 8]
xchg esi, eax
mov eax, dword [esi]
add eax, dword [ebp + 8]
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 8
Function at 0x6da615
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x6da625
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 8], 0
jle 0x6da733
mov eax, dword [ebp + 8]
mov eax, dword [eax]
cwde
call fcn.006da743
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x5a4d
jne 0x6da733
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call fcn.006da743
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4550
jne 0x6da733
pop eax
push eax
mov eax, dword [eax + 0x7c]
call fcn.006da743
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x6da733
pop eax
mov eax, dword [eax + 0x78]
add eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
push eax
mov eax, dword [eax + 0x20]
add eax, dword [ebp + 8]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
pop eax
mov eax, dword [eax + 0x18]
dec eax
mov dword [ebp - 4], eax
push dword [ebp - 4]
lea eax, [ebp - 4]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x6da730
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.006da756
test eax, eax
je 0x6da71f
push ecx
mov eax, dword [ebp - 0x10]
lea eax, [eax + 0x1c]
mov eax, dword [eax]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
mov eax, dword [eax]
add eax, dword [ebp + 8]
pop ecx
leave
ret 8
push dword [ebp - 8]
call fcn.006da78a
add dword [ebp - 0xc], eax
pop ebx
pop ecx
pop edx
inc ecx
jmp 0x6da6da
add esp, 0xc
mov eax, 0
jmp 0x6da73d
mov esp, ebp
pop ebp
ret 8

Function at 0x6f6283
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x6f62e7
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x6f62d0
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x6f62bf
xor ecx, eax
xor edx, ebx
dec edi
jne 0x6f62b0
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x401130
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
push 0x44
push 0
lea eax, [ebp - 0x44]
push eax
call fcn.0043b730
add esp, 0xc
mov dword [ebp - 0x44], 0x44
push 0x10
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.0043b730
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x40119c
push 0
push 0
push str.CreateProcess_failed.
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x4011b5
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4011c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push str.open
mov ecx, dword [0x4c6cfc]
call fcn.004014d0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jg 0x40126c
push 1
push 0
mov eax, dword [ebp + 8]
push eax
push str.explorer.exe
push str.open
mov ecx, dword [0x4c6cfc]
call fcn.004014d0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x20
jg 0x40126c
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push str.explore
mov ecx, dword [0x4c6cfc]
call fcn.004014d0
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp dword [ebp - 4], 0x20
jg 0x401268
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x4c6cfc]
add ecx, 0x19c
call fcn.0042b4c9
jmp 0x40126c
xor eax, eax
jmp 0x401271
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401410
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
je 0x401459
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x401448
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
jmp 0x401459
push 2
push 4
lea eax, [ebp - 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret