joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a81f
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x380
push esi
push edi
mov edi, ecx
call fcn.004021e9
call fcn.00414472
push 0
push 2
mov byte [0x467a2c], al
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
test esi, esi
je 0x40a9fd
lea eax, [ebp - 0x380]
mov dword [ebp - 0x380], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x40a9e0
lea eax, [ebp - 0x35c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403529
mov ecx, dword [ebp - 0x378]
push 0x459eec
call fcn.004144a0
movzx edx, al
lea ecx, [ebp - 0x150]
call fcn.00414175
mov edx, dword [ebp - 0x378]
lea ecx, [ebp - 0x138]
push eax
push 0x459ef0
call fcn.00414175
mov edx, dword [ebp - 0x378]
lea ecx, [ebp - 0x120]
push eax
push 0x459ef0
call fcn.004146b9
mov edx, eax
lea ecx, [ebp - 0x108]
call fcn.00414307
push eax
push 0x459ef0
lea edx, [ebp - 0x18]
lea ecx, [ebp - 0xf0]
call fcn.00414307
push eax
mov edx, edi
lea ecx, [ebp - 0xd8]
call fcn.004047bd
pop ecx
mov edx, eax
lea ecx, [ebp - 0xc0]
call fcn.00404824
pop ecx
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.00406b08
pop ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.00404824
pop ecx
mov edx, eax
lea ecx, [ebp - 0x78]
call fcn.00406b08
pop ecx
mov edx, eax
lea ecx, [ebp - 0x60]
call fcn.00404824
pop ecx
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00406b08
pop ecx
mov edx, eax
lea ecx, [ebp - 0x30]
call fcn.00404824
pop ecx
push eax
mov ecx, edi
call fcn.004020bb
lea ecx, [ebp - 0x30]
call fcn.004020b1
lea ecx, [ebp - 0x48]
call fcn.004020b1
lea ecx, [ebp - 0x60]
call fcn.004020b1
lea ecx, [ebp - 0x78]
call fcn.004020b1
lea ecx, [ebp - 0x90]
call fcn.004020b1
lea ecx, [ebp - 0xa8]
call fcn.004020b1
lea ecx, [ebp - 0xc0]
call fcn.004020b1
lea ecx, [ebp - 0xd8]
call fcn.004020b1
lea ecx, [ebp - 0xf0]
call fcn.004020b1
lea ecx, [ebp - 0x108]
call fcn.004020b1
lea ecx, [ebp - 0x120]
call fcn.0040351f
lea ecx, [ebp - 0x138]
call fcn.004020b1
lea ecx, [ebp - 0x150]
call fcn.004020b1
lea ecx, [ebp - 0x18]
call fcn.0040351f
lea eax, [ebp - 0x380]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x40a86c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40b7a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x38], ebx
je 0x40b8d6
cmp byte [edi + 0x3d], bl
je 0x40b8d6
call fcn.00402a89
mov esi, eax
mov ecx, edi
mov eax, dword [edi]
push esi
call dword [eax + 0xc]
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], esi
push eax
call fcn.004096ad
pop ecx
pop ecx
test al, al
je 0x40b7f5
xor al, al
jmp 0x40b8d8
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.0040216e
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.00402334
mov ecx, eax
call fcn.00402cda
lea ecx, [esp + 0x24]
mov esi, eax
call fcn.00402040
add esi, eax
lea ecx, [esp + 0x24]
push esi
lea eax, [esp + 0x14]
push eax
call fcn.00402334
mov ecx, eax
call fcn.00402cda
mov ecx, dword [edi + 0x38]
push eax
lea eax, [edi + 0x40]
push eax
call fcn.00409a5f
sub eax, ebx
je 0x40b85d
sub eax, 1
je 0x40b860
dec eax
sub eax, 1
jne 0x40b8c9
inc eax
jmp 0x40b8c7
mov byte [edi + 0x3d], bl
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.00402334
mov ecx, eax
call fcn.00402cda
mov esi, dword [esp + 0x14]
sub esi, eax
je 0x40b8a5
push dword [edi + 0x4c]
lea eax, [esp + 0x20]
push esi
push 1
push eax
lea ecx, [esp + 0x30]
call fcn.00402334
mov ecx, eax
call fcn.00402cda
push eax
call fcn.00434195
add esp, 0x10
cmp esi, eax
jne 0x40b8c5
cmp byte [edi + 0x3d], bl
je 0x40b8c3
test esi, esi
jne 0x40b801
push ebx
push 8
lea ecx, [esp + 0x28]
call fcn.00406a9e
jmp 0x40b801
mov bl, 1
mov al, bl
mov bl, al
lea ecx, [esp + 0x20]
call fcn.004020b1
mov al, bl
jmp 0x40b8d8
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40cfac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
xor esi, esi
push eax
push 0x20019
push esi
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40cfef
push esi
push esi
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
jmp 0x40cff1
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40cff6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d04d
push esi
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0x40d04f
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40d053
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push esi
push edi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x400
push eax
push 0x20019
xor esi, esi
mov edi, ecx
push esi
push dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d0b4
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x408]
push eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, edi
test esi, esi
jne 0x40d0b6
lea eax, [ebp - 0x408]
push eax
jmp 0x40d0bb
mov ecx, edi
push 0x459594
call fcn.00402198
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40d0c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push esi
lea eax, [ebp - 4]
mov dword [ebp - 8], 0x400
push eax
push 0x20019
push 0
push dword [ebp + 8]
mov esi, ecx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40d127
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x808]
push eax
push 0
push 0
push 0x459eb4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x808]
push eax
jmp 0x40d12c
push 0x45962c
mov ecx, esi
call fcn.00403529
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40d13a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
lea eax, [ebp - 4]
mov edi, ecx
push eax
xor ecx, ecx
lea eax, [ebp - 8]
push ecx
push eax
push ecx
push dword [ebp + 8]
mov ebx, edx
mov dword [ebp - 4], ecx
push ebx
mov esi, 0x459594
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40d19a
cmp dword [ebp - 4], eax
jbe 0x40d19a
push dword [ebp - 4]
call fcn.00432326
push dword [ebp - 4]
mov esi, eax
push 0
push esi
call fcn.0042ec60
add esp, 0x10
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
mov ecx, edi
call fcn.00403529
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d1ab
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
lea eax, [ebp - 8]
push esi
push eax
push 0x20019
xor esi, esi
push esi
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40d21b
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push esi
push esi
push dword [ebp + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40d21b
push dword [ebp + 0x18]
lea ecx, [ebp - 0x40c]
push dword [ebp + 0x14]
call fcn.0040485c
push dword [ebp + 0x10]
lea ecx, [ebp - 0x40c]
push dword [ebp + 0xc]
call fcn.004048e3
mov al, 1
jmp 0x40d21d
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40d222
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40d272
push esi
lea ecx, [ebp + 0xc]
call fcn.00402040
push eax
lea ecx, [ebp + 0xc]
call fcn.00402048
push eax
push dword [ebp + 0x24]
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete bl
jmp 0x40d274
xor bl, bl
lea ecx, [ebp + 0xc]
call fcn.004020b1
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d283
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40d2c1
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0x40d2c3
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x40d2c7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40d31f
push esi
lea ecx, [ebp + 0xc]
call fcn.00402040
lea ecx, [ebp + 0xc]
lea eax, [eax*2 + 2]
push eax
call fcn.00404c62
push eax
push 1
push 0
push str.pth_unenc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete bl
jmp 0x40d321
xor bl, bl
lea ecx, [ebp + 0xc]
call fcn.0040351f
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40d330
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push connect
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x40d372
push esi
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0x40d374
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40d378
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40d3b6
push esi
push 4
lea eax, [ebp + 0xc]
push eax
push 4
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0x40d3b8
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40d3bc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x40d3fa
push esi
push 8
lea eax, [ebp + 0xc]
push eax
push 0xb
push 0
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
sete al
jmp 0x40d3fc
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x40d464
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 2
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40d480
xor al, al
jmp 0x40d492
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
neg eax
sbb al, al
inc al
mov esp, ebp
pop ebp
ret
Function at 0x40d496
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xabb4
call fcn.0044ab80
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x4a0]
push esi
push eax
mov ebx, ecx
call fcn.0042ec60
add esp, 0xc
mov dword [ebp - 0x14], 0x104
lea eax, [ebp - 0x50]
mov dword [ebp - 4], esi
mov dword [ebp - 8], 0x3fff
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x4a0]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov eax, dword [ebp - 4]
test eax, eax
je 0x40d574
test eax, eax
je 0x40d574
lea eax, [ebp - 0x50]
mov dword [ebp - 0x18], 0xff
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x298]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x40d56e
push 0x459bd0
lea ecx, [ebp - 0x34]
call fcn.00403529
push eax
lea edx, [ebp - 0x298]
lea ecx, [ebp - 0x68]
call fcn.00409470
pop ecx
push eax
mov ecx, 0x468068
call fcn.004064e2
lea ecx, [ebp - 0x68]
call fcn.0040351f
lea ecx, [ebp - 0x34]
call fcn.0040351f
inc esi
cmp esi, dword [ebp - 4]
jb 0x40d50e
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40d6b6
xor esi, esi
test eax, eax
je 0x40d6b6
xor eax, eax
mov byte [ebp - 0x5c], 0
lea edi, [ebp - 0x5b]
mov dword [ebp - 0xc], 0x2710
stosd dword es:[edi], eax
mov dword [ebp - 8], 0x3fff
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov word [ebp - 0xabb0], ax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x2bb0]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xabb0]
push eax
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x40d6ac
push 0xa
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x1c]
call fcn.00437a58
add esp, 0xc
lea ecx, [ebp - 0x80]
push 0x459bd0
call fcn.00403529
push eax
lea edx, [ebp - 0xabb0]
lea ecx, [ebp - 0x34]
call fcn.00409470
pop ecx
push eax
mov ecx, 0x468080
call fcn.004064e2
lea ecx, [ebp - 0x34]
call fcn.0040351f
lea ecx, [ebp - 0x80]
call fcn.0040351f
push 0x4595b0
lea ecx, [ebp - 0x34]
call fcn.00402198
push eax
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x80]
call fcn.00402a8d
pop ecx
push eax
mov ecx, 0x468098
call fcn.0040208e
lea ecx, [ebp - 0x80]
call fcn.004020b1
lea ecx, [ebp - 0x34]
call fcn.004020b1
push str._regsplt_
lea ecx, [ebp - 0x98]
call fcn.00402198
push eax
push dword [ebp - 0xc]
lea eax, [ebp - 0x2bb0]
push eax
lea ecx, [ebp - 0x34]
call fcn.004021bf
mov edx, eax
lea ecx, [ebp - 0x80]
call fcn.00406b08
pop ecx
push eax
mov ecx, 0x468130
call fcn.0040208e
lea ecx, [ebp - 0x80]
call fcn.004020b1
lea ecx, [ebp - 0x34]
call fcn.004020b1
lea ecx, [ebp - 0x98]
call fcn.004020b1
inc esi
cmp esi, dword [ebp - 0x10]
jb 0x40d589
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40e10d
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
and dword [eax], 0
push edi
push ecx
mov dword [ebp - 4], edx
mov byte [ebx], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x40e18d
cmp word [esi + 8], 2
jne 0x40e16f
push 4
pop eax
cmp word [esi + 0xa], ax
jne 0x40e16f
mov edi, dword [esi + 0xc]
jmp 0x40e169
push dword [eax]
mov edx, dword [ebp + 8]
push dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0040e0a4
mov ecx, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
test ecx, ecx
je 0x40e188
lea eax, [ecx + 0x1c]
add edi, 4
mov dword [ebp + 0x14], eax
mov eax, dword [edi]
test eax, eax
jne 0x40e145
push 0x400
push dword [esi]
push 0x401
push ebx
call fcn.004356c3
add esp, 0x10
xor eax, eax
jmp 0x40e1ab
push 8
pop eax
jmp 0x40e1ab
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x40e1a9
sub eax, 1
je 0x40e1bb
sub eax, 1
je 0x40e1b4
sub eax, 1
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, 0x2afb
jmp 0x40e1ab
mov eax, 0x2afa
jmp 0x40e1ab
Function at 0x40e7a3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
cmp dword [0x4696dc], 0
mov dword [ebp - 0x18], str.getaddrinfo
mov dword [ebp - 0x14], 0x40e35b
mov dword [ebp - 0x10], str.getnameinfo
mov dword [ebp - 0xc], 0x40e5db
mov dword [ebp - 8], str.freeaddrinfo
mov dword [ebp - 4], fcn.0040e31d
jne 0x40e905
push 0x104
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x40e8fb
push ebx
push esi
push edi
lea eax, [ebp - 0x22c]
mov ebx, 0x10c
push eax
lea eax, [ebp - 0x124]
push ebx
push eax
call fcn.00437624
push str.ws2_32
lea eax, [ebp - 0x124]
push ebx
push eax
call fcn.0043767e
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, eax
xor edi, edi
test esi, esi
je 0x40e862
push str.getaddrinfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40e85e
push esi
call ebx
mov esi, edi
test esi, esi
jne 0x40e8bc
lea eax, [ebp - 0x22c]
mov esi, 0x10c
push eax
lea eax, [ebp - 0x124]
push esi
push eax
call fcn.00437624
push str.wship6
lea eax, [ebp - 0x124]
push esi
push eax
call fcn.0043767e
add esp, 0x18
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x40e8f8
push str.getaddrinfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40e8b8
push esi
call ebx
mov esi, edi
test esi, esi
je 0x40e8f8
mov ebx, edi
push dword [ebp + ebx*8 - 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + ebx*8 - 0x14], eax
test eax, eax
je 0x40e8d9
inc ebx
cmp ebx, 3
jl 0x40e8be
jmp 0x40e8e2
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, edi
test esi, esi
je 0x40e8f8
mov eax, dword [ebp + edi - 0x14]
mov dword [edi + 0x4649d8], eax
add edi, 8
cmp edi, 0x18
jl 0x40e8e6
pop edi
pop esi
pop ebx
mov dword [0x4696dc], 1
mov eax, dword [0x4649d8]
mov esp, ebp
pop ebp
ret
Function at 0x410890
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
push str._sysinfo.txt
push str.temp
call fcn.004325b2
pop ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00403529
mov edx, eax
lea ecx, [ebp - 0x48]
call fcn.00407d3f
pop ecx
lea ecx, [ebp - 0x30]
call fcn.0040351f
xor ebx, ebx
lea eax, [ebp - 0x48]
push ebx
push ebx
push eax
mov edx, 0x45f0c8
lea ecx, [ebp - 0x30]
call fcn.00409494
pop ecx
mov ecx, eax
call fcn.00404c62
push eax
push str.dxdiag
push 0x4595bc
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x30]
call fcn.0040351f
lea ecx, [ebp - 0x18]
call fcn.004021e9
mov esi, ebx
lea ecx, [ebp - 0x48]
call fcn.00404c62
lea edx, [ebp - 0x18]
mov ecx, eax
call fcn.00414a00
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x18]
inc esi
call fcn.00406694
test al, al
je 0x410937
cmp esi, 0x4b0
jl 0x410908
lea ecx, [ebp - 0x18]
call fcn.00406694
test al, al
jne 0x4109bf
lea ecx, [ebp - 0x48]
call fcn.00404c62
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
lea ecx, [ebp - 0xc8]
call fcn.0040155a
push ecx
lea ecx, [ebp - 0xc8]
call fcn.0040172e
test al, al
je 0x4109b4
sub esp, 0x18
lea eax, [ebp - 0x18]
mov esi, esp
lea edx, [ebp + 8]
push eax
push ecx
lea ecx, [ebp - 0x30]
call fcn.004047e1
pop ecx
mov edx, eax
mov ecx, esi
call fcn.00404799
pop ecx
push 0x97
lea ecx, [ebp - 0xc8]
call fcn.00401907
lea ecx, [ebp - 0x30]
call fcn.004020b1
lea ecx, [ebp - 0xc8]
call fcn.00401c6f
mov bl, 1
lea ecx, [ebp - 0xc8]
call fcn.00401d2d
lea ecx, [ebp - 0x18]
call fcn.004020b1
lea ecx, [ebp - 0x48]
call fcn.0040351f
lea ecx, [ebp + 8]
call fcn.004020b1
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41110e
Capabilities:
Create process on windows
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
lea eax, [ebp + 8]
lea ecx, [ebp - 0x84]
push ebx
push esi
push edi
push eax
push str._nF2
call fcn.00402198
push eax
push str.Temp
call fcn.004325bd
pop ecx
mov edx, eax
lea ecx, [ebp - 0x6c]
call fcn.00402a8d
pop ecx
mov edx, eax
lea ecx, [ebp - 0x18]
call fcn.00404799
pop ecx
lea ecx, [ebp - 0x6c]
call fcn.004020b1
lea ecx, [ebp - 0x84]
call fcn.004020b1
push ecx
push ecx
push 0x10
lea ecx, [ebp - 0x18]
call fcn.00402048
push eax
lea ecx, [ebp - 0x138]
call fcn.0040aaab
lea ecx, [ebp - 0x138]
call fcn.0041134b
test al, al
je 0x41123f
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x138]
call fcn.0041135b
lea ecx, [ebp - 0x138]
call fcn.0040aa5c
and dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x18]
and dword [ebp - 0x48], 0
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x50], 0x40
call fcn.00402048
movaps xmm0, xmmword [0x45fa30]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x54]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
mov esi, 0x459594
mov edi, 0x4681e8
setne bl
cmp dword [ebp - 0x1c], 0
je 0x411229
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402198
push 0x70
mov ecx, edi
call fcn.00401907
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x18]
call fcn.00402048
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp bl, 1
jne 0x41125a
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00402198
push 0x6e
mov ecx, edi
jmp 0x411255
sub esp, 0x18
mov ecx, esp
push 0x459594
call fcn.00402198
push 0x6f
mov ecx, 0x4681e8
call fcn.00401907
lea ecx, [ebp - 0x138]
call fcn.0040a619
lea ecx, [ebp - 0x18]
call fcn.004020b1
lea ecx, [ebp + 8]
call fcn.004020b1
lea ecx, [ebp + 0x20]
call fcn.004020b1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret