joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4198a0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x3c], eax
cmp edi, 0xffffffff
jne 0x4198c6
mov edi, dword [esi + 0x40]
push edi
call fcn.00419ea0
test al, al
jne 0x4198e5
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 0x10
cmp dword [esi + 0x234], 0
jne 0x4198f7
call fcn.0041a980
test al, al
je 0x4198d0
push 0x30
lea eax, [ebp - 0x34]
push 0
push eax
call fcn.00435d50
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [edi + edi*8]
shl ecx, 3
add esp, 0xc
mov dword [ebp - 0x38], ecx
add ecx, dword [esi + 0x3c]
mov dword [ebp - 0x34], 0x30
mov eax, dword [ecx + 4]
mov dword [ebp - 0x2c], eax
cmp dword [ecx], 0x1c
jne 0x419967
push 0
push edi
push 0x419
mov dword [ebp - 0x30], 0x10
push dword [ecx + 4]
call ebx
cmp eax, 0xffffffff
je 0x4198d0
lea ecx, [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x38]
push eax
mov eax, dword [esi + 0x3c]
push 0x41d
push dword [ecx + eax + 4]
call ebx
test eax, eax
je 0x4198d0
mov dword [ebp - 0x28], edi
jmp 0x419974
mov dword [ebp - 0x30], 0x11
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
push dword [ebp + 0x14]
push 0
push 0x418
push dword [esi + 0x234]
call ebx
mov eax, dword [esi + 0x118]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x432
push dword [esi + 0x234]
call ebx
mov ecx, dword [ebp - 4]
cmp eax, 1
pop edi
sete al
xor ecx, ebp
pop esi
pop ebx
call fcn.004310db
mov esp, ebp
pop ebp
ret 0x10

Function at 0x419bf0
Capabilities:
Capture webcam image

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 0xffffffff
jne 0x419c02
mov esi, dword [edi + 0x40]
push esi
call fcn.00419ea0
test al, al
jne 0x419c12
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [edi + 0x3c]
push ebx
lea ebx, [esi + esi*8]
cmp dword [eax + ebx*8], 0x1c
jne 0x419c56
push 0
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x419
push dword [eax + ebx*8 + 4]
call esi
cmp eax, 0xffffffff
je 0x419c79
push dword [ebp + 0xc]
push eax
mov eax, dword [edi + 0x3c]
push 0x433
push dword [eax + ebx*8 + 4]
call esi
pop ebx
test eax, eax
pop edi
setne al
pop esi
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
push esi
push dword [eax + ebx*8 + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
test eax, eax
je 0x419c79
mov eax, dword [edi + 0x3c]
push dword [eax + ebx*8 + 4]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
jne 0x419c82
pop ebx
pop edi
xor al, al
pop esi
pop ebp
ret 8
push 2
push esi
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esi]
sub dword [esi + 8], eax
mov eax, dword [esi + 4]
sub dword [esi + 0xc], eax
mov al, 1
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x41b010
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
push 0
push 0
push 2
push 0
push 1
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41b064
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
push dword [ebp - 8]
push ebx
push edi
call fcn.0041ade0
test eax, eax
je 0x41b09a
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x41b09a
push 0
lea edx, [ebp - 8]
mov dword [ebp - 8], 0
push edx
push ecx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004310db
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41c210
Capabilities:
Create thread
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x54
mov edi, edx
mov esi, ecx
call fcn.004310ec
add esp, 4
mov dword [ebp - 8], eax
mov ecx, eax
call fcn.0041c070
push 0x54
mov ebx, eax
push 0
push ebx
call fcn.00435d50
add esp, 0xc
lea ecx, [ebx + 0x34]
push esi
call fcn.0040aa50
push edi
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x1c], 3
call fcn.0040aa50
push str.http:__www.carifred.com
lea ecx, [ebx + 0x3c]
mov dword [ebx + 0x20], 0
call fcn.0040aa50
lea ecx, [ebx + 0x44]
push str.Mozilla_5.0__Windows_NT_10.0__WOW64__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_47.0.2526.106_Safari_537.36
call fcn.0040aa50
push 0
lea ecx, [ebx + 0x2c]
call fcn.0040aac0
movzx eax, word [eax]
cmp eax, 0x22
je 0x41c2c6
cmp eax, 0x5c
je 0x41c2c6
push 2
push 2
push 1
push 1
push 0x470548
lea ecx, [ebx + 0x2c]
call fcn.0040b580
test eax, eax
je 0x41c2c6
sub esp, 0x28
lea ecx, [ebx + 0x2c]
push 0
push 0x470534
call fcn.0040bb40
push 0
push 0
push ebx
push 0x41c380
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x4c], eax
test eax, eax
jne 0x41c329
lea ecx, [ebx + 0x44]
call fcn.0040aad0
lea ecx, [ebx + 0x3c]
call fcn.0040aad0
lea ecx, [ebx + 0x34]
call fcn.0040aad0
lea ecx, [ebx + 0x2c]
call fcn.0040aad0
lea ecx, [ebx + 0x24]
call fcn.0040aad0
push 0x54
push ebx
call fcn.0043111f
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea ecx, [ebp - 8]
push ecx
push eax
call esi
test eax, eax
je 0x41c35f
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 8], 0x103
jne 0x41c35f
call fcn.0040c6b0
push 5
call edi
lea eax, [ebp - 8]
push eax
push dword [ebx + 0x4c]
call esi
test eax, eax
jne 0x41c340
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004310db
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41c910
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450588
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x48100c]
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 esi, edx
mov edi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x3c
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x54]
push 0
push eax
call fcn.00435d50
add esp, 0xc
mov ecx, esi
push 0
push 0x400
call fcn.0040ae60
push 0
push 0x400
mov ecx, ebx
call fcn.0040ae60
xorps xmm0, xmm0
lea ecx, [ebp - 0x18]
movq qword [ebp - 0x18], xmm0
call fcn.0040a9a0
push 0
push 0x400
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
call fcn.0040ae60
mov ecx, esi
mov dword [ebp - 0x54], 0x3c
call fcn.0040abf0
mov ecx, ebx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], 0x400
call fcn.0040abf0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 0x400
call fcn.0040abf0
mov dword [ebp - 0x20], eax
mov ecx, edi
lea eax, [ebp - 0x54]
mov dword [ebp - 0x1c], 0x400
push eax
push 0
call fcn.0040c740
push eax
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov byte [ebp - 0x55], al
test al, al
je 0x41ca16
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x18]
call fcn.0040abf0
push eax
mov ecx, ebx
call fcn.0040b830
mov ecx, dword [ebp - 0x5c]
mov ax, word [ebp - 0x3c]
mov word [ecx], ax
lea ecx, [ebp - 0x18]
call fcn.0040aad0
mov al, byte [ebp - 0x55]
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.004310db
mov esp, ebp
pop ebp
ret 8
Function at 0x41d030
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
movsx eax, dl
mov esi, dword [edi]
xor eax, esi
mov ecx, dword [edi + 8]
movzx eax, al
shr esi, 8
mov eax, dword [eax*4 + 0x46dfc8]
xor eax, esi
mov dword [edi], eax
movzx eax, al
add eax, dword [edi + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edi + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46dfc8]
mov dword [edi + 8], ecx
pop edi
pop esi
ret

Function at 0x41d0e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 0xc]
cmp byte [esi + 0x2d], 0
je 0x41d16c
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x41d11d
cmp dword [esi + 0x40], edi
jae 0x41d11d
push eax
call fcn.0043112d
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x41d135
lea eax, [edi + edi]
push eax
call fcn.00431132
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
push edi
push ebx
push dword [esi + 0x3c]
call fcn.00435ef0
add esp, 0xc
xor ebx, ebx
test edi, edi
je 0x41d169
lea ecx, [esi + 0x30]
nop dword [eax + eax]
mov eax, dword [esi + 0x3c]
mov dl, byte [ebx + eax]
call fcn.0041d0a0
mov ecx, dword [esi + 0x3c]
mov byte [ebx + ecx], al
inc ebx
lea ecx, [esi + 0x30]
cmp ebx, edi
jb 0x41d150
mov ebx, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41d1ac
mov edx, dword [esi + 0x24]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x28]
jb 0x41d187
mov dword [esi + 0x14], 0x30000
jmp 0x41d1df
push edi
add ecx, edx
push ebx
push ecx
call fcn.00435ef0
add esp, 0xc
mov eax, edi
add dword [esi + 0x24], edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x41d1d8
push 0
lea ecx, [ebp - 8]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 8
mov dword [esi + 0x14], 0x1000000
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004310db
mov esp, ebp
pop ebp
ret 8
Function at 0x41ed90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x41ed9b
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
not ecx
cmp esi, 8
jb 0x41ee57
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46dfc8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46dfc8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46dfc8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46dfc8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46dfc8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46dfc8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46dfc8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46dfc8]
sub edi, 1
jne 0x41edb0
pop edi
test esi, esi
je 0x41ee7a
nop dword [eax + eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x46dfc8]
sub esi, 1
jne 0x41ee60
not ecx
mov eax, ecx
pop esi
pop ebp
ret

Function at 0x41f6c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 8], eax
cmp byte [edi], 0
je 0x41f706
push 0
lea ecx, [ebp - 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41f701
mov byte [edi + 8], 1
mov eax, dword [ebp - 8]
jmp 0x41f72e
mov edx, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, ecx
jbe 0x41f717
mov esi, ecx
sub esi, edx
mov ecx, dword [edi + 0x14]
push esi
add ecx, edx
push ecx
push dword [ebp - 8]
call fcn.00435ef0
add esp, 0xc
mov eax, esi
add dword [edi + 0x1c], esi
mov ecx, dword [ebp - 4]
xor edx, edx
pop edi
div ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.004310db
mov esp, ebp
pop ebp
ret
Function at 0x4206e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x420784
cmp dword [esi + 4], 0xffffffff
jne 0x420784
lea edi, [esi + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x420712
sub ecx, edx
sar ecx, 1
movzx eax, word [esi + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x420746
cmp eax, 0x2f
je 0x420746
push 0x46fd20
push 0x104
push edi
call fcn.0043de64
add esp, 0xc
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.0041f510
add esp, 8
test eax, eax
jne 0x420765
mov eax, dword [ebp - 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, eax
call fcn.0041fa70
xor ecx, ecx
mov dword [esi], eax
test eax, eax
mov edx, 0x200
cmove ecx, edx
mov eax, ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop edi
mov eax, 0x1000000
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x420e20
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
mov ebx, edx
test edi, edi
je 0x420e52
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x420e52
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x420f13
push esi
mov esi, ebx
mov ecx, ebx
cmp ax, 0x2f
je 0x420e6f
cmp ax, 0x5c
jne 0x420e71
mov esi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
test ax, ax
jne 0x420e63
cmp esi, ebx
je 0x420eba
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.00435ef0
add esp, 0xc
cmp esi, 0x208
jae 0x420f23
xor eax, eax
lea edx, [ebp - 0x414]
mov ecx, edi
mov word [ebp + esi - 0x414], ax
call fcn.00420e20
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x420edd
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0043df33
add esp, 0xc
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0043de64
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x420f13
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004310db
mov esp, ebp
pop ebp
ret
call fcn.00431818
int3
Function at 0x4229d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450728
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x48100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.0040c740
mov esi, eax
test esi, esi
jne 0x422a10
xor edx, edx
jmp 0x422b96
mov eax, 0xff
mov dword [ebp - 0x244], 0x64
cmp esi, 0x100
mov dword [ebp - 0x240], 0xc
xorps xmm0, xmm0
cmovge esi, eax
movlpd qword [ebp - 0x23c], xmm0
lea eax, [esi + 1]
push eax
push ecx
lea eax, [ebp - 0x234]
push 0x100
push eax
call fcn.00438127
xor eax, eax
mov dword [ebp - 0x20], 0
add esp, 0x10
mov word [ebp + esi*2 - 0x234], ax
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x244]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x24c], eax
xorps xmm0, xmm0
push 0xffffffffffffffff
lea eax, [ebp - 0x30]
movq qword [ebp - 0x30], xmm0
push str.HKLM64SoftwareMicrosoftWindows_NTCurrentVersionSystemRestore
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x18], 0
call fcn.0040d3d0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
push str.SystemRestorePointCreationFrequency
lea ecx, [ebp - 0x18]
call fcn.0040d6c0
push 0
mov byte [ebp - 0x24d], al
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
push 4
push str.SystemRestorePointCreationFrequency
call fcn.0040d920
push 0
push 0
lea eax, [ebp - 0x24c]
push eax
push 0x422bc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x422b73
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
lea eax, [ebp - 0x1c]
push eax
push esi
mov dword [ebp - 0x1c], 0
call edi
test eax, eax
je 0x422b34
mov ebx, dword [sym.imp.KERNEL32.dll_SleepEx]
cmp dword [ebp - 0x1c], 0x103
jne 0x422b34
call fcn.0040c6b0
push 1
push 0x14
call ebx
lea eax, [ebp - 0x1c]
push eax
push esi
call edi
test eax, eax
jne 0x422b15
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [ebp - 0x24d], 0
lea ecx, [ebp - 0x18]
je 0x422b5b
push 0
lea eax, [ebp - 0x20]
push eax
push 4
push str.SystemRestorePointCreationFrequency
call fcn.0040d920
jmp 0x422b65
push str.SystemRestorePointCreationFrequency
call fcn.0040daa0
cmp dword [ebp - 0x1c], 0
je 0x422b73
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x28]
jmp 0x422b8a
xorps xmm0, xmm0
movlpd qword [ebp - 0x25c], xmm0
mov edi, dword [ebp - 0x258]
mov esi, dword [ebp - 0x25c]
lea ecx, [ebp - 0x18]
call fcn.0040d450
mov eax, esi
mov edx, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004310db
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42b970
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x42b9a1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x42b990
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x42f870
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cd71b
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.004c17f5
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x42f8f2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004bf37d
mov eax, dword [eax]
push 0x4f6cfc
push eax
call fcn.004b08a4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c1a80
test bl, bl
je 0x42f8f2
push 0x4f6cfc
lea ecx, [esp + 0xc]
call fcn.004c1e10
push 0x4f6d08
lea ecx, [esp + 0xc]
call fcn.004c1e10
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 0x42f92e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c1a80
jmp 0x42f9f9
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 0x42f9b2
lea edx, [esp + 0x7c]
push 0x4f6d04
push edx
call fcn.004b08a4
add esp, 8
test eax, eax
je 0x42f9b2
lea eax, [esp + 0x7c]
push 0x4f6d00
push eax
call fcn.004b08a4
add esp, 8
test eax, eax
je 0x42f9b2
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 0x42f942
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.004c1a80
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 0x430220
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 0x430282
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 0x430290
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4cd79b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x50bd10]
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 0x4303c8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4302f6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c1a80
xor eax, eax
jmp 0x43043f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004c1bbd
push esi
lea ecx, [esp + 0xc]
call fcn.004c1e4c
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4f6d3c
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x43041d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00430220
test eax, eax
jne 0x43041d
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 accept
mov ecx, edi
call fcn.00430220
test eax, eax
jne 0x43041d
lea eax, [esp + 0x14]
push 0x4f6d18
push eax
call fcn.004b1a10
mov esi, eax
add esp, 8
test esi, esi
jne 0x4303fc
lea ecx, [esp + 0x14]
push 0x4f6d14
push ecx
call fcn.004b1990
mov esi, eax
add esp, 8
test esi, esi
jne 0x4303fc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4303ff
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004c1b6d
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x43030e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004c1a80
xor eax, eax
jmp 0x43043f
mov byte [esi], 0
push 0x4f6d10
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.004c1a80
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