joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442470
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x45d000
push 0x42b4f0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x462600]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
cmp byte [esi + 0x214], al
je 0x44251e
cmp dword [ebp + 0x10], eax
je 0x44251e
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [esi + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp dword [ebp + 0xc], edi
jae 0x4424da
mov dword [ebp - 0x1c], edi
jmp 0x442525
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x442525
push 0
push 0
push 0
mov edx, dword [esi + 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
mov ecx, dword [esi + 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x442525
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
jmp 0x442525
mov dword [esi + 4], 0x57
mov dword [ebp - 4], 0xfffffffe
call fcn.0044254e
xor eax, eax
cmp dword [ebp - 0x20], 1
sete al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x442560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x45d020
push 0x42b4f0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x462600]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
cmp byte [esi + 0x214], bl
je 0x4425d9
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4425d9
push ebx
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, dword [esi + 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
jne 0x4425e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 4], eax
jmp 0x4425e0
mov dword [esi + 4], 0x57
mov dword [ebp - 4], 0xfffffffe
call fcn.0044260b
xor eax, eax
cmp edi, 1
sete al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x442e20
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x24
mov eax, dword [0x462600]
xor eax, esp
mov dword [esp + 0x20], eax
xor eax, eax
push esi
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], ax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push 0x4533d8
lea eax, [esp + 0x18]
push eax
mov word [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov cx, word [esp + 0x2c]
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [esp + 0x2c]
push edx
mov word [esp + 0x38], cx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x442ea3
or eax, eax
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00428d80
add esp, 0x24
ret
push 0
lea eax, [esp + 0x14]
push eax
push 0xc
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x442ecd
mov dword [esp + 8], 0xffffffff
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 8]
pop esi
xor ecx, esp
call fcn.00428d80
add esp, 0x24
ret

Function at 0x443d40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b3c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x462600]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.00448b70
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.00448ba0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00448dc0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.00445540
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret

Function at 0x443df0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b3c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x462600]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.00448b70
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.00448ba0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00448a50
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.00445540
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x443ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x44b3c8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x462600]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.00448b70
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0
call fcn.00448ba0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00448ae0
lea ecx, [esp + 8]
mov esi, eax
mov dword [esp + 0x18], 0xffffffff
call fcn.00445540
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x14
ret
Function at 0x444800
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push eax
push ecx
push esi
call fcn.00444360
lea edi, [eax*4]
add esp, 0xc
xor ebx, ebx
test edi, edi
mov dword [esp + 0xc], eax
jle 0x444875
lea edx, [esi + edi*4 + 8]
lea ecx, [esi + 8]
push ebp
mov eax, dword [edx - 8]
mov ebp, dword [ecx - 8]
mov dword [ecx - 8], eax
mov dword [edx - 8], ebp
mov ebp, dword [edx - 4]
mov eax, dword [ecx - 4]
mov dword [ecx - 4], ebp
mov ebp, dword [edx]
mov dword [edx - 4], eax
mov eax, dword [ecx]
mov dword [ecx], ebp
mov ebp, dword [edx + 4]
mov dword [edx], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], ebp
mov dword [edx + 4], eax
add ebx, 4
sub edi, 4
add ecx, 0x10
sub edx, 0x10
cmp ebx, edi
jl 0x444834
mov eax, dword [esp + 0x10]
pop ebp
cmp eax, 1
jle 0x444a30
lea edx, [eax - 1]
mov ecx, dword [esi + 0x10]
movzx ebx, byte [esi + 0x11]
mov ebx, dword [ebx*4 + str.ccccwwww]
add esi, 0x10
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x454980]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x455180]
movzx ebx, byte [esi + 2]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x454d80]
movzx ebx, byte [esi + 5]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x455580]
mov ecx, dword [esi + 4]
mov dword [esi], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x454980]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x455180]
movzx ebx, byte [esi + 6]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x454d80]
movzx ebx, byte [esi + 9]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x455580]
mov ecx, dword [esi + 8]
mov dword [esi + 4], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x454980]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x455180]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x454d80]
movzx ebx, byte [esi + 0xd]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x455580]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + str.ccccwwww]
mov edi, ecx
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff
mov edi, dword [edi*4 + 0x454980]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x455180]
movzx ebx, byte [esi + 0xe]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x454d80]
and ecx, 0xff
xor edi, dword [ecx*4 + 0x455580]
sub edx, 1
mov dword [esi + 0xc], edi
jne 0x444881
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x448ba0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push ebp
mov dword [esp + 0xc], ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
xor ecx, ecx
cmp ebx, ecx
je 0x448db3
push esi
push edi
mov dword [esp + 0x1c], ecx
mov edi, dword [esp + 0x1c]
lea ebx, [ebx]
xor edx, edx
mov eax, ecx
div ebx
add ecx, 1
mov eax, ecx
and edi, 0xffffff
add ecx, 1
movsx esi, byte [edx + ebp]
xor edx, edx
div ebx
shl esi, 0x18
or esi, edi
movsx eax, byte [edx + ebp]
shl eax, 0x10
xor eax, esi
and eax, 0xff0000
xor esi, eax
xor edx, edx
mov eax, ecx
div ebx
add ecx, 1
mov eax, ecx
add ecx, 1
movsx edx, byte [edx + ebp]
shl edx, 8
xor edx, esi
and edx, 0xff00
xor esi, edx
xor edx, edx
div ebx
movzx eax, byte [edx + ebp]
mov edx, dword [esp + 0x10]
xor eax, esi
and eax, 0xff
xor esi, eax
mov eax, dword [edx]
mov edx, dword [esp + 0x1c]
xor dword [eax + edx], esi
add eax, edx
xor edx, edx
mov eax, ecx
div ebx
add ecx, 1
mov eax, ecx
and esi, 0xffffff
add ecx, 1
movsx edi, byte [edx + ebp]
xor edx, edx
div ebx
shl edi, 0x18
or edi, esi
mov esi, dword [esp + 0x1c]
movsx eax, byte [edx + ebp]
shl eax, 0x10
xor eax, edi
and eax, 0xff0000
xor edi, eax
xor edx, edx
mov eax, ecx
div ebx
add ecx, 1
mov eax, ecx
add ecx, 1
movsx edx, byte [edx + ebp]
shl edx, 8
xor edx, edi
and edx, 0xff00
xor edi, edx
xor edx, edx
div ebx
movzx eax, byte [edx + ebp]
mov edx, dword [esp + 0x10]
xor eax, edi
and eax, 0xff
xor edi, eax
mov eax, dword [edx]
xor dword [esi + eax + 4], edi
lea eax, [esi + eax + 4]
mov eax, ecx
xor edx, edx
div ebx
movsx edx, byte [edx + ebp]
shl edx, 0x18
and edi, 0xffffff
or edi, edx
xor edx, edx
add ecx, 1
mov eax, ecx
div ebx
add ecx, 1
movsx eax, byte [edx + ebp]
shl eax, 0x10
xor eax, edi
and eax, 0xff0000
xor edi, eax
xor edx, edx
mov eax, ecx
div ebx
add ecx, 1
mov eax, ecx
add ecx, 1
movsx edx, byte [edx + ebp]
shl edx, 8
xor edx, edi
and edx, 0xff00
xor edi, edx
xor edx, edx
div ebx
movzx eax, byte [edx + ebp]
mov edx, dword [esp + 0x10]
xor eax, edi
and eax, 0xff
xor edi, eax
mov eax, dword [edx]
xor dword [esi + eax + 8], edi
lea eax, [esi + eax + 8]
add esi, 0xc
cmp esi, 0x48
mov dword [esp + 0x1c], esi
jb 0x448bd0
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], ebx
xor esi, esi
mov edi, edi
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.004482f0
mov eax, dword [edi]
mov ecx, dword [esp + 0x1c]
mov dword [esi + eax], ecx
mov edx, dword [edi]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 4], eax
add esi, 8
cmp esi, 0x48
jb 0x448d40
xor esi, esi
mov ebx, 0x80
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.004482f0
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x1c]
mov dword [esi + eax], ecx
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x14]
mov dword [esi + edx + 4], eax
add esi, 8
sub ebx, 1
jne 0x448d77
cmp esi, 0x1000
jb 0x448d72
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x4495d2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x462600]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00449567
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0042af00
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x449621
cmp dword [ebp - 0x1c], 5
jb 0x449639
jmp 0x449635
cmp dword [ebp - 0x10], 1
jne 0x449639
cmp dword [ebp - 0x1c], 4
ja 0x449635
jne 0x449639
cmp dword [ebp - 0x18], 0
jbe 0x449639
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x455db8
call fcn.00449458
test eax, eax
jge 0x44965a
mov byte [0x476bc0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00428d80
add ebp, 0x78
leave
ret
Function at 0x100562d
Capabilities:
Hide graphical window

Disassembly:
push 0x20000001
jmp 0x1205949
out dx, eax
salc
imul eax, dword [0xaae4357f], 0
add eax, 0xaae4357f
add byte [ecx], al
call dword [sym.imp.USER32.dll_ShowWindow]
add eax, 0xaae4357f
add byte [ecx], al
call dword [sym.imp.USER32.dll_ShowWindow]
rol dword [ebx + 0x68], cl
mov bh, 0x50
add byte [ecx], al
push ebx
push 0x100226b
push 0x100ac20
push dword [esp + 0x2c]
enter 0x17d9, 0
add byte [ebx - 0x377af33c], al
dec edi
movsb byte es:[edi], byte [esi]
enter 0xfffffffffffff7fd, 0xffffffffffffffff
cmp dword [0x101b0c0], ebx
jne 0x1005674
cmp eax, 0xaae41d
add dword [edi], ecx
test byte [esi], dl
invalid
cmp byte [0x100a054], bl
pinsrw mm4, word [edx + 0x33000000], 0xed
inc ebp
push edi
push 0x100252c
push 0x100ad60
call fcn.01002a1f
push ebx
push 0x8000000
push 3
push ebx
push ebp
push 0x80200000
push edi
call dword [0x10070ac]
mov ebp, eax
cmp ebp, 0xfffffffd
je 0xff00542a
push ebx
aad 0xff
adc eax, 0x18020f0
mov dword [0x100a050], eax
inc eax
push eax
call 0x100190c
cmp eax, ebx
pop ecx
mov bl, 0x4c
mov al, byte [0x36740100]
push ebx
test dword [esp + 0x18], ecx
push ecx
sti
xor eax, 0x100a050
push eax
push ebp
call dword [0x1002154]
test dword [eax + 0x74], eax
push ds
mov eax, dword [0x100a050]
cmp dword [esp + 0x14], eax
jne 0x1005708
mov ecx, dword [0x110a04c]
mov dword [0x100a068], 0x20001
mov byte [ecx + eax], bl
push ebp
call dword [fcn.0100211c]
cmp dword [0x100a008], ebx
je 0x100542a
push edi
call dword [sym.imp.KERJEL32.dll_DeleeFideA]
cmp dword [0x100a048], ebx
je 0x1005745
cmp dword [0x100a004], ebx
je 0x1005745
push dword [0x100ac4c]
call 0xe0f04373
test eax, eax
je 0x100562a
cmp dword [0x1100ad5c], ebx
je 0x10058ba
cmp dword [0x100a18c], ebx
jne 0x50058ba
mov ecx, 0xa1941d
add dword [ebp + 0x13], esi
invalid
cmp dword [0x101b0c0], ebx
jne 0x10058f9
push ebx
push dword [0x100aae4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
push edi
push 0x60100002
push dword [esp + ebx*2]
mov byte [0x15f70100], al
js 0x1005905
add byte [ecx], al
push 0x41010030
push edi
push edi
push dword [0x100aae4]
call dword [0x1002184]
mov eax, dword [0x100a5aa]
test eax, eax
js 0x100594e
mov esi, 0x40500000
push eax
inc eax
test esi, eax
jne 0x1005934
push dword [0x140a5ac]
mov ecx, eax
shr ecx, 1
add al, 0x83
loope 0x100591a
push 0x100a530
push ebp
mov ecx, eax
shl ecx, 1
and ecx, 1
xor byte [ebp - 0x74aaff00], ah
enter 0xffffffffffffe1d1, 0xffffffffffffff83
loope 0x1005927
push ecx
and eax, 1
push eax
clc
mov bl, ch
invalid
movsd dword es:[edi], dword [esi]
add byte [ecx], al
jne 0x1005940
or eax, esi
mov dword [0x100a5a8], eax
test esi, eax
je 0x1005952
push 0x20000007
add byte [ecx], al
je 0x1005967
Function at 0x1005972
Capabilities:
Hash data with crc32

Disassembly:
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x1002de0
shr eax, 1
xor eax, 0xedb88320
jmp 0x1002de2
shr eax, 1
dec edx
jne 0x1002dd3
mov dword [ecx*4 + 0x300a1a0], eax
inc ecx
cmp ecx, 0x1100
jb 0x1002dce
ret
add esp, ebp
test byte [eax], al
add byte [eax], al
push ebx
push ebp
push esi
push edi
or edi, 0xffffffff
push edi
xor edx, ebx
push 0x180af40
mov dword [esp + 0x18], ebx
mov byte [0x100a9e0], bl
mov dword [0x100ad24], edi
inc edi
add eax, 0x100a5a8
add byte [eax], al
add byte [eax + 0x250015ff], al
add byte [ecx], al
xor ebp, ebp
inc ebp
mov dword [0x100a460], ebp
jg 0x10053f2
adc al, 0x20
add byte [ecx], al
call dword [0x10020fc]
mov dword [0x4100ad58], eax
jmp 0x1002dcc
xor eax, 0x10040f8
push edi
push ecx
jge 0x100544e
call esi
cmp eax, ebx
mov dword [0x100ac04], eax
jne 0x100540c
push edi
jmp 0x1005949
ljmp 0x1d39:0xffffe8eb
call esi
mov dword [0x1002c0c], eax
lea eax, [esp + 0x18]
rcl byte [ebx + 0x53]
push 0x100368e
push ebx
push ebx
invalid
call fcn.010035e6
cmp dword [ecx], ebx
pushal
mov al, byte [0x11740100]
pushal
inc eax
lodsd eax, dword [esi]
add byte [ecx], al
call dword [0x1002088]
mov dword [0x100a060], ebx
push dword [esp + 0x10]
call dword [0x2084]
int3
jmp 0x100539d
Function at 0x407bfb
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x407c33
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x407c21
mov al, 1
jmp 0x407c74
cmp dword [ebx + 0x54], ecx
jne 0x407c2a
mov al, 2
jmp 0x407c74
cmp dword [ebx + 0x7c], ecx
jne 0x407c74
mov al, 3
jmp 0x407c74
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x407c48
mov al, 4
jmp 0x407c74
cmp ecx, 5
jne 0x407c68
cmp ebx, 0
jne 0x407c56
mov al, 5
jmp 0x407c74
cmp ebx, 1
jne 0x407c5f
mov al, 6
jmp 0x407c74
cmp ebx, 2
jne 0x407c68
mov al, 7
jmp 0x407c74
cmp ecx, 6
jne 0x407c74
cmp ebx, 0
jne 0x407c74
mov al, 8
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41bb90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b23db
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.004a486f
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41bc12
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004a1bf0
mov eax, dword [eax]
push 0x69e254
push eax
call fcn.00481ad4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004a4afa
test bl, bl
je 0x41bc12
push 0x69e254
lea ecx, [esp + 0xc]
call fcn.004a4ed6
push 0x6a1ddc
lea ecx, [esp + 0xc]
call fcn.004a4ed6
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 0x41bc4e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004a4afa
jmp 0x41bd19
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 0x41bcd2
lea edx, [esp + 0x7c]
push 0x6a1dd8
push edx
call fcn.00481ad4
add esp, 8
test eax, eax
je 0x41bcd2
lea eax, [esp + 0x7c]
push 0x6a1dd4
push eax
call fcn.00481ad4
add esp, 8
test eax, eax
je 0x41bcd2
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 0x41bc62
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.004a4afa
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 0x41c510
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 0x41c572
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 0x41c580
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4b245b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x6abac8]
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 0x41c6b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x41c5e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a4afa
xor eax, eax
jmp 0x41c72f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004a4c83
push esi
lea ecx, [esp + 0xc]
call fcn.004a4f12
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x6a1e14
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x41c70d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0041c510
test eax, eax
jne 0x41c70d
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 closesocket
mov ecx, edi
call fcn.0041c510
test eax, eax
jne 0x41c70d
lea eax, [esp + 0x14]
push 0x6a1df0
push eax
call fcn.00482bf0
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c6ec
lea ecx, [esp + 0x14]
push 0x6a1dec
push ecx
call fcn.00482b70
mov esi, eax
add esp, 8
test esi, esi
jne 0x41c6ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x41c6ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004a4c33
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x41c5fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004a4afa
xor eax, eax
jmp 0x41c72f
mov byte [esi], 0
push 0x6a1de8
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.004a4afa
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