joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469a28
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x49b4e8]
je 0x469a43
inc edi
cmp edi, 0x17
jb 0x469a34
cmp edi, 0x17
jae 0x469bc3
push ebp
push 3
call fcn.00474c32
cmp eax, 1
pop ecx
je 0x469b8f
push 3
call fcn.00474c32
test eax, eax
pop ecx
jne 0x469a77
cmp dword [0x49b360], 1
je 0x469b8f
cmp ebx, 0xfc
je 0x469bc2
push 0x483c70
mov ebx, 0x314
push ebx
mov ebp, 0x4a5b98
push ebp
call fcn.00468c68
add esp, 0xc
test eax, eax
je 0x469aad
push esi
push esi
push esi
push esi
push esi
call fcn.0045d1b5
add esp, 0x14
push 0x104
mov esi, 0x4a5bb1
push esi
push 0
mov byte [0x4a5cb5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x469af1
push 0x483c58
push 0x2fb
push esi
call fcn.00468c68
add esp, 0xc
test eax, eax
je 0x469af1
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0045d1b5
add esp, 0x14
push esi
call fcn.0045ce10
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x469b36
push esi
call fcn.0045ce10
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x4a5eac
push 0x483c54
sub ecx, eax
push ecx
push eax
call fcn.00470fe9
add esp, 0x14
test eax, eax
je 0x469b36
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0045d1b5
add esp, 0x14
jmp 0x469b38
xor esi, esi
push 0x483c50
push ebx
push ebp
call fcn.00473630
add esp, 0xc
test eax, eax
je 0x469b58
push esi
push esi
push esi
push esi
push esi
call fcn.0045d1b5
add esp, 0x14
push dword [edi*8 + 0x49b4ec]
push ebx
push ebp
call fcn.00473630
add esp, 0xc
test eax, eax
je 0x469b7a
push esi
push esi
push esi
push esi
push esi
call fcn.0045d1b5
add esp, 0x14
push 0x12010
push 0x483c28
push ebp
call fcn.00474a75
add esp, 0xc
jmp 0x469bc2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x469bc2
cmp ebp, 0xffffffff
je 0x469bc2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x49b4ec]
push dword [esi]
call fcn.0045ce10
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x470a32
Capabilities:
Encode data using xor

Disassembly:
insb byte es:[edi], dx
jg 0x470a5d
xchg esi, eax
mov ch, 0x99
invalid
mov dh, byte [edx - 0x769a466c]
or ch, byte [0x246a616c]
mov dword [edx], ecx
sub eax, 0x246a616c
jne 0x470a62
mov eax, 0xfd229d4e
inc esi
invalid
Function at 0x403e45
Capabilities:
Delete directory
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
cmp dword [0x4e2900], 0x594
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], eax
jne 0x403e81
push 0x4036ac
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push 0x4036bc
call dword [sym.imp.KERNEL32.dll_GlobalAddAtomA]
mov eax, dword [0x432428]
mov dword [ebp - 0x20], eax
mov eax, dword [0x43242c]
xor esi, esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
call fcn.00403e3e
mov eax, dword [0x432430]
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x28], eax
mov eax, dword [0x432434]
add ebx, 0x23f
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x18], 0x20
jmp 0x403ec3
mov edi, dword [ebp - 0x10]
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, edi
shl eax, 4
cmp dword [0x4e2900], 0xc
mov dword [ebp - 4], eax
jne 0x403f16
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x444]
push eax
push esi
push 0x4036dc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SearchPathA]
push esi
call dword [sym.imp.KERNEL32.dll_DebugActiveProcess]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
lea eax, [ebp - 0x30]
push eax
push esi
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov eax, dword [0x4e2900]
cmp eax, 0xfa9
jne 0x403f32
mov dword [0x4e1e9c], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403f3f
mov dword [0x4e184c], esi
mov ecx, dword [ebp - 8]
mov edx, edi
shr edx, cl
lea eax, [ebx + edi]
mov dword [ebp - 0x14], eax
mov dword [0x4e1e98], 0xf4ea3dee
add edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
xor dword [ebp - 4], eax
xor edx, dword [ebp - 4]
cmp dword [0x4e2900], 0x213
mov dword [ebp - 0x14], edx
jne 0x403f7c
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x64
sub dword [ebp - 0xc], eax
sub dword [ebp - 0xc], 0x64
cmp dword [0x4e2900], 0xc
jne 0x403fb9
push esi
lea eax, [ebp - 0x444]
push eax
push 0x403700
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointA]
push esi
lea eax, [ebp - 0x844]
push eax
push 0x40375c
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov eax, dword [ebp - 0xc]
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov eax, edx
shr eax, cl
lea edi, [ebx + edx]
add ebx, 0x61c88647
add eax, dword [ebp - 0x1c]
xor eax, edi
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x10], eax
dec dword [ebp - 0x18]
jne 0x403ec0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
pop edi
pop esi
mov dword [eax], ecx
mov dword [eax + 4], edx
pop ebx
leave
ret 4
Function at 0x404004
Capabilities:
Create pipe
Get common file path
Get system information on windows
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4e2900]
mov ecx, dword [0x4e1850]
sub esp, 0x44c
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4040ec
mov edi, ecx
mov ebx, eax
cmp dword [0x4e2900], 0x959
jne 0x4040dc
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403780
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x4036e4
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleWindowInfo]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x4037d0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerW]
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403808
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
lea eax, [ebp - 0x448]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea eax, [ebp - 8]
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_InitializeSListHead]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push edi
call fcn.00403e45
add edi, 8
dec ebx
jne 0x40402c
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4041c0
Capabilities:
Get common file path
Get hostname

Disassembly:
mov eax, 0x42f484
call fcn.0042f388
mov eax, 0x1c30
call fcn.00410360
push ebx
push esi
xor esi, esi
cmp dword [0x4e2900], 0x5b1
push edi
jne 0x404243
push esi
call dword [sym.imp.KERNEL32.dll_SetLocalTime]
lea eax, [ebp - 0x3c]
call fcn.004044e9
push esi
mov dword [ebp - 4], esi
call fcn.00405bba
pop ecx
call fcn.0040501c
push 0x403880
lea ecx, [ebp - 0x20]
call fcn.00403cd0
lea ecx, [ebp - 0x20]
call fcn.00403cec
push esi
push esi
call fcn.00405730
push esi
call fcn.00405701
add esp, 0xc
call fcn.00405021
push esi
call fcn.00405c36
mov dword [esp], esi
call fcn.00403e1f
fstp st(0)
push esi
call fcn.00405ee6
add dword [0x4e2900], 0x1134b
push dword [0x4e2900]
push esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x4e1850], eax
call fcn.0040410b
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp edi, 0x206d47
jg 0x40428c
inc edi
cmp edi, 0x4f6a4
jl 0x40426c
xor edi, edi
cmp dword [0x4e2900], esi
jbe 0x4042c7
cmp dword [0x4e2900], 0xa8
mov eax, dword [0x4e2904]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x4e1850]
mov byte [ecx + edi], al
jne 0x4042be
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc edi
cmp edi, dword [0x4e2900]
jb 0x404296
xor edi, edi
mov eax, dword [0x4e2900]
add eax, edi
cmp eax, 0xe
jne 0x40430d
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
lea eax, [ebp - 0x103c]
push eax
push esi
push 0x403890
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push esi
push esi
lea eax, [ebp - 0x43c]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
inc edi
cmp edi, 0x39621
jl 0x4042c9
call fcn.00404004
xor edi, edi
call ebx
cmp edi, 0x26
jne 0x404329
call fcn.004040f1
inc edi
cmp edi, 0x6753f
jl 0x40431d
push 0x7b
pop edi
cmp dword [0x4e2900], 0x86
jne 0x404376
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EndUpdateResourceA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x143c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push esi
lea eax, [ebp - 0x83c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryA]
push esi
lea eax, [ebp - 0x1c3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [0x4e2900], 0xf
jne 0x404387
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleProcessList]
dec edi
jne 0x404335
push 0x4038b0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4043a4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
push ebx
push esi
push edi
mov edi, 0x5d744c
xor esi, esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_CharToOemBuffA]
call dword [sym.imp.USER32.dll_GetMessageExtraInfo]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
lea eax, [esp + 0xc]
push eax
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharABCWidthsFloatW]
dec edi
jne 0x4043ba
xor ebx, ebx
mov edi, 0x2b259d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNamedPipeInfo]
cmp ebx, edi
jle 0x40440a
cmp dword [esp + 0x10], 0x785074d5
jne 0x404413
inc ebx
cmp ebx, 0x1c1b
jl 0x4043eb
cmp dword [0x4e2900], 0x400
jne 0x404461
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesLengthA]
push esi
push esi
call fcn.004056a7
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403dd9
fstp st(0)
push ecx
push ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00403dfc
fstp st(0)
push esi
call fcn.00405b33
pop ecx
push esi
call fcn.00405983
pop ecx
push esi
push esi
call fcn.0040559b
pop ecx
pop ecx
mov eax, dword [0x4327fc]
mov dword [0x4e2900], eax
mov eax, dword [0x4327d0]
mov dword [0x4e2904], eax
call fcn.004041c0
xor ebx, ebx
push 0x4038d0
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp ebx, edi
jle 0x404495
cmp dword [esp + 0x10], 0x785074d5
jne 0x40449e
inc ebx
cmp ebx, 0x11915
jl 0x40447c
mov edi, 0x3078f
cmp dword [0x4e2900], 0x51f
jne 0x4044cf
push 0x4038d8
push esi
lea eax, [esp + 0x20]
push eax
push 0x403910
push 0x403928
push 0x403968
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
dec edi
jne 0x4044a3
mov eax, dword [0x4e1850]
mov dword [0x4e1e94], eax
call eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x40667b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431178]
jne 0x406685
repz ret
jmp fcn.0040bbac
Function at 0x40bead
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.0040a317
and dword [ebp - 4], 0
cmp dword [0x4333f0], 0
mov ebx, eax
jne 0x40bf5e
push 0x4024f0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40c00f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4024e4
push edi
call esi
test eax, eax
je 0x40c00f
push eax
call fcn.0040a2a5
mov dword [esp], 0x4024d4
push edi
mov dword [0x4333f0], eax
call esi
push eax
call fcn.0040a2a5
mov dword [esp], 0x4024c0
push edi
mov dword [0x4333f4], eax
call esi
push eax
call fcn.0040a2a5
mov dword [esp], 0x4024a4
push edi
mov dword [0x4333f8], eax
call esi
push eax
call fcn.0040a2a5
pop ecx
mov dword [0x433400], eax
test eax, eax
je 0x40bf5e
push 0x40248c
push edi
call esi
push eax
call fcn.0040a2a5
pop ecx
mov dword [0x4333fc], eax
mov eax, dword [0x4333fc]
cmp eax, ebx
je 0x40bfb6
cmp dword [0x433400], ebx
je 0x40bfb6
push eax
call fcn.0040a320
push dword [0x433400]
mov esi, eax
call fcn.0040a320
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40bfb6
test edi, edi
je 0x40bfb6
call esi
test eax, eax
je 0x40bfad
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40bfad
test byte [ebp - 0xc], 1
jne 0x40bfb6
or dword [ebp + 0x10], 0x200000
jmp 0x40bfef
mov eax, dword [0x4333f4]
cmp eax, ebx
je 0x40bfef
push eax
call fcn.0040a320
pop ecx
test eax, eax
je 0x40bfef
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40bfef
mov eax, dword [0x4333f8]
cmp eax, ebx
je 0x40bfef
push eax
call fcn.0040a320
pop ecx
test eax, eax
je 0x40bfef
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4333f0]
call fcn.0040a320
pop ecx
test eax, eax
je 0x40c00f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40c011
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407bc4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
cmp dword [0x42480c], 0
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
push ebx
jne 0x407c05
xor ebx, ebx
mov edx, ebx
xor ecx, ecx
mov eax, edx
inc ecx
and eax, 1
neg eax
and eax, 0xedb88320
shr edx, 1
xor edx, eax
cmp ecx, 8
jne 0x407bdf
mov dword [ebx*4 + 0x424808], edx
inc ebx
cmp ebx, 0x100
jne 0x407bdb
mov edx, dword [ebp + 8]
not edx
jmp 0x407c1f
mov al, byte [edi]
dec esi
inc edi
xor eax, edx
movzx eax, al
shr edx, 8
xor edx, dword [eax*4 + 0x424808]
test esi, esi
jne 0x407c0c
not edx
mov eax, edx
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x402bd3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x40a674], 0
push esi
jne 0x402c0a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x402be4
mov dword [ecx*4 + 0x40a670], eax
inc ecx
cmp ecx, 0x100
jl 0x402bdf
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x402c3b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x40a670]
xor eax, esi
inc ecx
dec edx
jne 0x402c1d
pop edi
not eax
pop esi
ret 0xc

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x416e10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a3d1b
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.004985bc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x416e92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00496113
mov eax, dword [eax]
push 0x4cf230
push eax
call fcn.004880a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00498847
test bl, bl
je 0x416e92
push 0x4cf230
lea ecx, [esp + 0xc]
call fcn.00498bd7
push 0x4d2da4
lea ecx, [esp + 0xc]
call fcn.00498bd7
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 0x416ece
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00498847
jmp 0x416f99
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 0x416f52
lea edx, [esp + 0x7c]
push 0x4d2da0
push edx
call fcn.004880a4
add esp, 8
test eax, eax
je 0x416f52
lea eax, [esp + 0x7c]
push 0x4d2d9c
push eax
call fcn.004880a4
add esp, 8
test eax, eax
je 0x416f52
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 0x416ee2
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.00498847
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 0x417790
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 0x4177f2
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 0x417800
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a3d9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4e50e8]
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 0x417938
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x417866
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00498847
xor eax, eax
jmp 0x4179af
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00498984
push esi
lea ecx, [esp + 0xc]
call fcn.00498c13
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4d2ddc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41798d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4d2dd4
push closesocket
call fcn.00417790
test eax, eax
jne 0x41798d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push 0x4d2dc0
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.00417790
test eax, eax
jne 0x41798d
lea eax, [esp + 0x14]
push 0x4d2db8
push eax
call fcn.004890e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41796c
lea ecx, [esp + 0x14]
push 0x4d2db4
push ecx
call fcn.00489060
mov esi, eax
add esp, 8
test esi, esi
jne 0x41796c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41796f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00498934
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41787e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00498847
xor eax, eax
jmp 0x4179af
mov byte [esi], 0
push 0x4d2db0
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.00498847
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