joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000f226
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
not esi
push edi
mov edi, ecx
test edx, edx
jne 0x1000f23a
xor eax, eax
jmp 0x1000f26d
xor ecx, ecx
test edx, edx
je 0x1000f269
movzx eax, byte [ecx + edi]
xor esi, eax
mov eax, esi
shr esi, 4
and eax, 0xf
xor esi, dword [eax*4 + 0x1001d990]
mov eax, esi
shr esi, 4
and eax, 0xf
xor esi, dword [eax*4 + 0x1001d990]
inc ecx
cmp ecx, edx
jb 0x1000f240
not esi
mov eax, esi
pop edi
pop esi
pop ebp
ret

Function at 0x1000f361
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push edi
push edi
push edi
push 3
push edi
push edi
push edi
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 8]
push eax
push 0x1001d8b8
push 1
push edi
push 0x1001d8a8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1000f3f5
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ecx, dword [ebp - 8]
lea esi, [ebp - 4]
push esi
push edi
push edi
mov edx, dword [ecx]
push edi
push edi
push edi
push edi
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
js 0x1000f3f5
push edi
push edi
push 3
push 3
push edi
push edi
push 0xa
push dword [ebp - 4]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x1000f3f5
push 8
call fcn.1000ac19
pop ecx
test eax, eax
je 0x1000f3f5
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
jmp 0x1000f411
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x1000f402
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x1000f40f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1000fe1c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
mov ebx, dword [edi + 0x3c]
mov eax, dword [ebx + edi + 0x78]
test eax, eax
je 0x1000fe90
lea ecx, [eax + edi]
mov eax, dword [ecx + 0x24]
mov edx, dword [ecx + 0x20]
add eax, edi
mov dword [ebp - 0x14], eax
add edx, edi
mov eax, dword [ecx + 0x1c]
mov ecx, dword [ecx + 0x18]
add eax, edi
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
test ecx, ecx
je 0x1000fe90
mov esi, dword [edx + eax*4]
add esi, edi
push 0
push esi
call fcn.1000b431
pop ecx
mov edx, eax
mov ecx, esi
call fcn.1000f226
xor eax, 0x218fe95b
cmp eax, dword [ebp - 8]
mov eax, dword [ebp - 4]
pop ecx
je 0x1000fe97
mov edx, dword [ebp - 0x10]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0xc]
jb 0x1000fe5f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
movzx eax, word [ecx + eax*2]
mov ecx, dword [ebx + edi + 0x78]
add ecx, edi
mov esi, dword [esi + eax*4]
add esi, edi
cmp esi, ecx
jb 0x1000ff04
mov eax, dword [ebx + edi + 0x7c]
add eax, ecx
cmp esi, eax
jae 0x1000ff04
xor eax, eax
mov cl, byte [esi + eax]
cmp cl, 0x2e
je 0x1000fed2
test cl, cl
je 0x1000fed2
mov byte [ebp + eax - 0x58], cl
inc eax
cmp eax, 0x40
jb 0x1000febc
cmp byte [eax + esi], 0
mov dword [ebp + eax - 0x58], 0x6c6c642e
mov byte [ebp + eax - 0x54], 0
je 0x1000fee8
inc esi
add esi, eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x1000fe90
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000fe90
jmp 0x1000fe92
mov eax, esi
jmp 0x1000fe92

Function at 0x1000ff08
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + esi + 0x78]
test eax, eax
je 0x1000ff5d
mov edx, dword [eax + esi + 0x20]
xor edi, edi
mov ebx, dword [eax + esi + 0x24]
add edx, esi
mov ecx, dword [eax + esi + 0x1c]
add ebx, esi
mov eax, dword [eax + esi + 0x18]
add ecx, esi
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov dword [ebp + 8], eax
test eax, eax
je 0x1000ff5d
mov edx, dword [edx + edi*4]
mov ecx, dword [ebp + 0xc]
add edx, esi
call fcn.1000b097
test eax, eax
je 0x1000ff64
mov edx, dword [ebp - 4]
inc edi
cmp edi, dword [ebp + 8]
jb 0x1000ff43
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
movzx eax, word [ebx + edi*2]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax*4]
add eax, esi
jmp 0x1000ff5f
Function at 0x10010cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push str.shlwapi32.dll
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
call fcn.1000b431
pop ecx
push 0xf
pop esi
xor ebx, ebx
mov byte [ebp - 9], bl
cmp eax, esi
ja 0x10010cdc
mov esi, eax
test esi, esi
je 0x10010cea
mov ecx, ebx
lea eax, [ecx + 0x41]
mov byte [ebp + ecx - 0x18], al
inc ecx
cmp ecx, esi
jb 0x10010cde
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 4], 0
mov edi, dword [ebp + 8]
mov dh, byte [edi + 0x100]
mov al, byte [edi + 0x101]
jle 0x10010d3c
inc dh
movzx esi, dh
mov dl, byte [esi + edi]
add al, dl
movzx ecx, al
mov byte [ebp + 0xb], al
mov al, byte [ecx + edi]
mov byte [esi + edi], al
mov byte [ecx + edi], dl
mov al, byte [esi + edi]
mov ecx, dword [ebp - 8]
add al, dl
movzx eax, al
mov al, byte [eax + edi]
xor byte [ebx + ecx], al
inc ebx
mov al, byte [ebp + 0xb]
cmp ebx, dword [ebp - 4]
jl 0x10010d09
mov byte [edi + 0x100], dh
mov byte [edi + 0x101], al
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10010d7f
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x5c], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x60], eax
mov dword [ecx + 0x64], eax
ret
Function at 0x10010e3d
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
xor edi, edi
lea edx, [esi + 0x1d]
movzx ecx, byte [edx - 1]
movzx eax, byte [edx]
lea edx, [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [ebp + edi*4 - 0x154], ecx
inc edi
cmp edi, 0x10
jl 0x10010e53
push 0x40
lea ecx, [ebp - 0x14c]
pop edx
mov eax, dword [ecx + 0x2c]
xor eax, dword [ecx + 0x18]
xor eax, dword [ecx - 8]
xor eax, dword [ecx]
lea ecx, [ecx + 4]
rol eax, 1
mov dword [ecx + 0x34], eax
sub edx, 1
jne 0x10010e8a
mov eax, dword [esi]
mov ebx, dword [esi + 4]
mov edi, dword [esi + 8]
and dword [ebp - 0x10], edx
mov dword [ebp - 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x10]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
mov ecx, ebx
not ecx
rol edx, 5
and ecx, esi
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 0x10]
add edx, ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x5a827999
mov dword [ebp - 0xc], esi
mov esi, edi
mov edi, ebx
add edx, dword [ebp + eax*4 - 0x154]
mov ebx, dword [ebp - 8]
add edx, ecx
ror edi, 2
inc eax
push 0x14
pop ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], eax
cmp eax, ecx
jl 0x10010ebf
mov dword [ebp - 4], esi
mov eax, esi
xor eax, edi
rol edx, 5
xor eax, ebx
add edx, eax
mov eax, dword [ebp - 0xc]
add edx, dword [ebp + ecx*4 - 0x154]
add eax, 0x6ed9eba1
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
ror edi, 2
inc ecx
mov dword [ebp - 8], edx
cmp ecx, 0x28
jl 0x10010f08
push 0x28
pop esi
mov ecx, edi
rol edx, 5
or ecx, ebx
add edx, 0x8f1bbcdc
add edx, dword [ebp - 0xc]
and ecx, eax
mov eax, edi
and eax, ebx
or ecx, eax
mov eax, dword [ebp - 4]
add ecx, dword [ebp + esi*4 - 0x154]
mov dword [ebp - 0xc], eax
add edx, ecx
mov eax, edi
mov edi, ebx
mov ebx, dword [ebp - 8]
ror edi, 2
inc esi
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
cmp esi, 0x3c
jl 0x10010f41
mov esi, dword [ebp - 0x14]
push 0x3c
pop ecx
xor eax, edi
rol edx, 5
add edx, dword [ebp - 0xc]
xor eax, ebx
add eax, 0xca62c1d6
add eax, dword [ebp + ecx*4 - 0x154]
add edx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, edi
mov edi, ebx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 8]
ror edi, 2
inc ecx
mov dword [ebp - 8], edx
cmp ecx, 0x50
jl 0x10010f84
add dword [esi + 0xc], eax
add dword [esi + 8], edi
add dword [esi + 4], ebx
add dword [esi], edx
mov eax, dword [ebp - 0xc]
add dword [esi + 0x10], eax
and dword [esi + 0x5c], 0
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10010fd2
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
mov byte [eax + esi + 0x1c], 0x80
inc dword [esi + 0x5c]
cmp eax, 0x37
mov eax, dword [esi + 0x5c]
jle 0x1001101f
jmp 0x10010ff5
mov byte [eax + esi + 0x1c], 0
inc dword [esi + 0x5c]
mov eax, dword [esi + 0x5c]
cmp eax, 0x40
jl 0x10010fea
call fcn.10010e3d
jmp 0x1001100c
mov eax, dword [esi + 0x5c]
mov byte [esi + eax + 0x1c], 0
inc dword [esi + 0x5c]
cmp dword [esi + 0x5c], 0x38
jl 0x10011001
jmp 0x10011024
mov byte [eax + esi + 0x1c], 0
inc dword [esi + 0x5c]
mov eax, dword [esi + 0x5c]
cmp eax, 0x38
jl 0x10011014
mov al, byte [esi + 0x1b]
mov ecx, esi
mov byte [esi + 0x54], al
mov al, byte [esi + 0x1a]
mov byte [esi + 0x55], al
mov al, byte [esi + 0x19]
mov byte [esi + 0x56], al
mov al, byte [esi + 0x18]
mov byte [esi + 0x57], al
mov al, byte [esi + 0x17]
mov byte [esi + 0x58], al
mov al, byte [esi + 0x16]
mov byte [esi + 0x59], al
mov al, byte [esi + 0x15]
mov byte [esi + 0x5a], al
mov al, byte [esi + 0x14]
mov byte [esi + 0x5b], al
pop esi
jmp fcn.10010e3d

Function at 0x100117c6
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0x14
call fcn.100130ea
mov esi, eax
pop ecx
test esi, esi
jne 0x100117f5
push 4
lea eax, [ebp - 0xc]
push eax
push 0x200
push 0x100
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
xor eax, eax
jmp 0x10011822
and dword [esi + 0xc], 0
xor eax, eax
inc eax
mov dword [esi + 8], 8
mov dword [esi], eax
push 0x20
mov dword [esi + 4], eax
call fcn.100130ea
mov dword [esi + 0x10], eax
pop ecx
test eax, eax
jne 0x10011820
push esi
call fcn.100130d8
pop ecx
jmp 0x100117f1
mov eax, esi
pop esi
leave
ret
Function at 0x10013289
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xdeadbeef
add edi, ecx
push 0xc
pop eax
mov edx, edi
mov esi, edi
mov dword [ebp + 0x10], edx
cmp ecx, eax
jbe switch.0x10013383
lea eax, [ecx - 0xd]
xor edx, edx
push 0xc
pop ecx
div ecx
inc eax
mov dword [ebp + 8], eax
movzx edx, byte [ebx + 7]
movzx ecx, byte [ebx + 6]
movzx eax, byte [ebx + 5]
shl edx, 8
add edx, ecx
movzx ecx, byte [ebx + 0xb]
shl ecx, 8
shl edx, 8
add edx, eax
movzx eax, byte [ebx + 4]
add esi, eax
shl edx, 8
movzx eax, byte [ebx + 0xa]
add esi, edx
add ecx, eax
movzx edx, byte [ebx + 8]
movzx eax, byte [ebx + 9]
add edx, edi
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
add edx, ecx
movzx ecx, byte [ebx + 3]
shl ecx, 8
mov edi, edx
add ecx, eax
rol edi, 4
movzx eax, byte [ebx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx]
shl ecx, 8
add ecx, eax
sub ecx, edx
add edx, esi
add ecx, dword [ebp + 0x10]
xor edi, ecx
sub esi, edi
mov eax, edi
add edi, edx
rol eax, 6
xor eax, esi
sub edx, eax
mov ecx, eax
rol ecx, 8
add eax, edi
xor ecx, edx
sub edi, ecx
mov edx, ecx
rol edx, 0x10
add ecx, eax
xor edx, edi
mov esi, edx
sub eax, edx
ror esi, 0xd
add edx, ecx
xor esi, eax
mov dword [ebp + 0x10], edx
sub ecx, esi
mov edi, esi
rol edi, 4
add esi, edx
xor edi, ecx
mov ecx, dword [ebp + 0xc]
push 0xc
pop eax
sub ecx, eax
add ebx, eax
sub dword [ebp + 8], 1
mov dword [ebp + 0xc], ecx
jne 0x100132c0
cmp ecx, eax
ja 0x100133ef
jmp dword [ecx*4 + 0x1001343d]
movzx eax, byte [ebx + 0xb]
shl eax, 0x18
add edi, eax
movzx eax, byte [ebx + 0xa]
shl eax, 0x10
add edi, eax
movzx eax, byte [ebx + 9]
shl eax, 8
add edi, eax
movzx eax, byte [ebx + 8]
add edi, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
add esi, eax
movzx eax, byte [ebx + 6]
shl eax, 0x10
add esi, eax
movzx eax, byte [ebx + 5]
shl eax, 8
add esi, eax
movzx eax, byte [ebx + 4]
add esi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
add edx, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
add edx, eax
movzx eax, byte [ebx + 1]
shl eax, 8
add edx, eax
movzx eax, byte [ebx]
add edx, eax
mov dword [ebp + 0x10], edx
xor edi, esi
mov eax, esi
rol eax, 0xe
sub edi, eax
mov eax, edi
mov edx, edi
xor edx, dword [ebp + 0x10]
rol eax, 0xb
sub edx, eax
xor esi, edx
mov eax, edx
ror eax, 7
sub esi, eax
mov eax, esi
xor edi, esi
rol eax, 0x10
sub edi, eax
mov eax, edi
mov ecx, edi
rol eax, 4
xor ecx, edx
sub ecx, eax
mov eax, ecx
xor esi, ecx
rol eax, 0xe
sub esi, eax
mov eax, esi
xor edi, esi
ror eax, 8
sub edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10013e49
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 0x9c0], 1
mov ecx, dword [edx + 0x9c0]
mov eax, dword [edx + ecx*4 - 4]
shr eax, 0x1e
xor eax, dword [edx + ecx*4 - 4]
imul eax, eax, 0x6c078965
add eax, ecx
mov dword [edx + ecx*4], eax
inc dword [edx + 0x9c0]
cmp dword [edx + 0x9c0], 0x270
jl 0x10013e5e
pop ebp
ret
Function at 0x10013e8e
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push edi
mov edi, dword [edx + 0x9c0]
cmp edi, 0x270
jl 0x10013f40
push ebx
xor edi, edi
mov ebx, 0x7fffffff
push esi
mov esi, edi
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebx
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x1001f02c]
xor ecx, dword [edx + esi*4 + 0x634]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, 0xe3
jl 0x10013eb2
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebx
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x1001f02c]
xor ecx, dword [edx + esi*4 - 0x38c]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, 0x26f
jl 0x10013edf
mov ecx, dword [edx + 0x9bc]
xor ecx, dword [edx]
and ecx, ebx
xor ecx, dword [edx + 0x9bc]
mov eax, ecx
shr ecx, 1
and eax, 1
pop esi
pop ebx
mov eax, dword [eax*4 + 0x1001f02c]
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
mov dword [edx + 0x9c0], edi
mov ecx, dword [edx + edi*4]
lea eax, [edi + 1]
mov dword [edx + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop edi
pop ebp
ret
Function at 0x100169c0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.100169d0

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10016f00

Function at 0x10019060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x10019085
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x1001909d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [esi + ebp]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x100190cb
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [edi + eax - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x1001910a
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x100191de
sub edx, 0x10000
js 0x100191de
movzx eax, word [esi + ecx - 1]
cmp eax, ebx
jne 0x100190f0
mov eax, dword [esp + 4]
movzx eax, word [eax + ecx]
cmp eax, dword [esp + 0x10]
jne 0x100190f0
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [edi + eax + 0x108]
lea esi, [esi + eax + 0x108]
mov eax, dword [esi + edx]
xor eax, dword [edi + edx]
jne 0x10019161
mov eax, dword [esi + edx + 4]
xor eax, dword [edi + edx + 4]
jne 0x1001915e
add edx, 8
jne 0x10019145
jmp 0x100191cf
add edx, 4
test eax, 0xffff
jne 0x1001916e
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edi + edx]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x100191cf
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x100191a2
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x100190f0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x100191de
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi + eax - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x100190f0
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x100191ef
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x41f251
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 0x41f289
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x41f277
mov al, 1
jmp 0x41f2d3
cmp dword [ebx + 0x54], ecx
jne 0x41f280
mov al, 2
jmp 0x41f2d3
cmp dword [ebx + 0x7c], ecx
jne 0x41f2d3
mov al, 3
jmp 0x41f2d3
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x41f29e
mov al, 4
jmp 0x41f2d3
cmp ecx, 5
jne 0x41f2be
cmp ebx, 0
jne 0x41f2ac
mov al, 5
jmp 0x41f2d3
cmp ebx, 1
jne 0x41f2b5
mov al, 6
jmp 0x41f2d3
cmp ebx, 2
jne 0x41f2be
mov al, 7
jmp 0x41f2d3
cmp ecx, 6
jne 0x41f2ca
cmp ebx, 0
jne 0x41f2cc
mov al, 8
jmp 0x41f2d3
cmp ebx, 1
jne 0x41f2d3
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x440b80
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e4d4b
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.004d8eb2
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x440c02
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004d6aca
mov eax, dword [eax]
push 0x58be90
push eax
call fcn.004c7ee4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004d913d
test bl, bl
je 0x440c02
push 0x58be90
lea ecx, [esp + 0xc]
call fcn.004d94cd
push 0x58be9c
lea ecx, [esp + 0xc]
call fcn.004d94cd
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 0x440c3e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004d913d
jmp 0x440d09
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 0x440cc2
lea edx, [esp + 0x7c]
push 0x58be98
push edx
call fcn.004c7ee4
add esp, 8
test eax, eax
je 0x440cc2
lea eax, [esp + 0x7c]
push 0x58be94
push eax
call fcn.004c7ee4
add esp, 8
test eax, eax
je 0x440cc2
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 0x440c52
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.004d913d
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 0x441510
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 0x441572
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 0x441580
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x4e4dcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x59fd28]
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 0x4416b8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x4415e6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d913d
xor eax, eax
jmp 0x44172f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004d927a
push esi
lea ecx, [esp + 0xc]
call fcn.004d9509
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x58bed0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x44170d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00441510
test eax, eax
jne 0x44170d
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.00441510
test eax, eax
jne 0x44170d
lea eax, [esp + 0x14]
push 0x58beac
push eax
call fcn.004c9030
mov esi, eax
add esp, 8
test esi, esi
jne 0x4416ec
lea ecx, [esp + 0x14]
push 0x58bea8
push ecx
call fcn.004c8fb0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4416ec
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x4416ef
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004d922a
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4415fe
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.004d913d
xor eax, eax
jmp 0x44172f
mov byte [esi], 0
push 0x58bea4
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.004d913d
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

Function at 0x44b796
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
push esi
mov esi, ecx
mov eax, dword [esi + 0x3a0]
test eax, eax
jne 0x44b7be
lea eax, [esp + 4]
push eax
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x3a0], eax
pop esi
add esp, 0x190
ret