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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
and eax, 0xffff
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor eax, ecx
rol eax, 1
mov ecx, eax
push ebx
xor ecx, edx
and ecx, 0xaaaaaaaa
push esi
xor eax, ecx
push edi
xor ecx, edx
rol ecx, 1
push 0x3f
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 8
pop edi
mov ecx, dword [ebp + 0xc]
mov esi, eax
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x193c5e8]
or edx, dword [ebx*4 + 0x193c7e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x193c9e8]
and esi, edi
or edx, dword [esi*4 + 0x193cbe8]
mov esi, dword [ecx]
add ecx, 4
mov dword [ebp + 0xc], ecx
xor esi, eax
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x193c6e8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x193c8e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x193cae8]
and esi, edi
or ecx, dword [esi*4 + 0x193cce8]
or ecx, edx
xor dword [ebp - 4], ecx
mov esi, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
ror esi, 4
xor esi, dword [ecx]
add ecx, 4
mov edx, esi
shr edx, 0x18
mov ebx, esi
shr ebx, 0x10
and ebx, edi
and edx, edi
mov edx, dword [edx*4 + 0x193c5e8]
or edx, dword [ebx*4 + 0x193c7e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or edx, dword [ebx*4 + 0x193c9e8]
and esi, edi
or edx, dword [esi*4 + 0x193cbe8]
mov esi, dword [ecx]
xor esi, dword [ebp - 4]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov ecx, esi
shr ecx, 0x18
and ecx, edi
mov ecx, dword [ecx*4 + 0x193c6e8]
mov ebx, esi
shr ebx, 0x10
and ebx, edi
or ecx, dword [ebx*4 + 0x193c8e8]
mov ebx, esi
shr ebx, 8
and ebx, edi
or ecx, dword [ebx*4 + 0x193cae8]
and esi, edi
or ecx, dword [esi*4 + 0x193cce8]
or ecx, edx
xor eax, ecx
dec dword [ebp - 8]
jne 0x192d3e6
ror eax, 1
mov edx, eax
xor edx, dword [ebp - 4]
pop edi
and edx, 0xaaaaaaaa
xor eax, edx
xor edx, dword [ebp - 4]
ror edx, 1
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov esi, ecx
shl esi, 4
xor esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret
Function at 0x192d7b3
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push ebx
push esi
xor ebx, ebx
push edi
xor ecx, ecx
movzx eax, byte [ecx + 0x193c570]
mov esi, dword [ebp + 0xc]
mov edx, eax
sar edx, 3
mov dl, byte [edx + esi]
and eax, 7
test byte [eax*2 + 0x193c500], dl
setne al
mov byte [ebp + ecx - 0x74], al
inc ecx
cmp ecx, 0x38
jl 0x192d7c3
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 4]
lea eax, [edi + edi]
lea ecx, [ebp + eax*4 - 0xf0]
lea esi, [ebp + eax*4 - 0xf4]
movzx eax, byte [edi + 0x193c5a8]
mov dword [ecx], ebx
mov dword [esi], ebx
xor edx, edx
mov edi, eax
cmp edi, 0x1c
jge 0x192d81d
mov bl, byte [ebp + edi - 0x74]
jmp 0x192d824
mov bl, byte [ebp + edi - 0x90]
mov byte [ebp + edx - 0x3c], bl
inc edx
inc edi
cmp edx, 0x1c
jl 0x192d812
push 0x1c
pop edi
add eax, edi
cmp eax, 0x38
jge 0x192d83f
mov dl, byte [ebp + eax - 0x74]
jmp 0x192d846
mov dl, byte [ebp + eax - 0x90]
mov byte [ebp + edi - 0x3c], dl
inc edi
inc eax
cmp edi, 0x38
jl 0x192d834
xor ebx, ebx
xor eax, eax
lea edx, [eax + 0x193c5d0]
movzx edi, byte [edx - 0x18]
cmp byte [ebp + edi - 0x3c], bl
je 0x192d86e
mov edi, dword [eax*4 + 0x193c510]
or dword [esi], edi
movzx edx, byte [edx]
cmp byte [ebp + edx - 0x3c], bl
je 0x192d880
mov edx, dword [eax*4 + 0x193c510]
or dword [ecx], edx
inc eax
cmp eax, 0x18
jl 0x192d855
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x10
jl 0x192d7ef
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xf4]
call fcn.0192d2c0
push 0x38
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.0193217f
push 0x38
lea eax, [ebp - 0x3c]
push ebx
push eax
call fcn.0193217f
push 0x80
lea eax, [ebp - 0xf4]
push ebx
push eax
call fcn.0193217f
add esp, 0x28
pop edi
pop esi
pop ebx
leave
ret

Function at 0x192db92
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.01934cfd
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
pop esi
ret
Function at 0x192dc60
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 8]
push ebx
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x10]
push esi
mov esi, dword [eax + 4]
push edi
mov edi, dword [eax + 0xc]
mov dword [ebp - 0x18], ecx
xor cl, cl
mov dword [ebp - 0x10], edi
mov byte [ebp + 0xb], cl
jmp 0x192dc93
mov cl, byte [ebp + 0xb]
test cl, cl
je 0x192dcc1
cmp cl, 0x14
je 0x192dcb8
cmp cl, 0x28
je 0x192dcaf
cmp cl, 0x3c
jne 0x192dcc8
mov dword [ebp - 0xc], 0xca62c1d6
jmp 0x192dcc8
mov dword [ebp - 0xc], 0x8f1bbcdc
jmp 0x192dcc8
mov dword [ebp - 0xc], 0x6ed9eba1
jmp 0x192dcc8
mov dword [ebp - 0xc], 0x5a827999
mov bl, cl
and bl, 0xf
mov byte [ebp - 1], bl
cmp cl, 0xf
jbe 0x192dd0b
movzx ecx, bl
lea edi, [edx + ecx*4]
mov dword [ebp - 0x1c], edi
lea edi, [ecx - 8]
and edi, 0xf
mov edi, dword [edx + edi*4]
lea ebx, [ecx - 3]
and ebx, 0xf
xor edi, dword [edx + ebx*4]
mov bl, byte [ebp - 1]
add ecx, 2
and ecx, 0xf
xor edi, dword [edx + ecx*4]
mov ecx, dword [ebp - 0x1c]
xor edi, dword [ecx]
rol edi, 1
mov dword [ecx], edi
mov edi, dword [ebp - 0x10]
mov cl, byte [ebp + 0xb]
cmp cl, 0x14
jae 0x192dd16
mov ecx, esi
not ecx
jmp 0x192dd25
cmp cl, 0x28
jb 0x192dd30
cmp cl, 0x3c
jae 0x192dd30
mov ecx, dword [ebp - 8]
or ecx, esi
and ecx, edi
mov edi, dword [ebp - 8]
and edi, esi
or ecx, edi
jmp 0x192dd37
mov ecx, edi
xor ecx, dword [ebp - 8]
xor ecx, esi
mov edi, dword [ebp - 0x14]
rol edi, 5
movzx ebx, bl
add edi, dword [edx + ebx*4]
add edi, dword [ebp - 0xc]
add edi, dword [ebp - 0x18]
add ecx, edi
mov edi, dword [ebp - 0x10]
inc byte [ebp + 0xb]
ror esi, 2
cmp byte [ebp + 0xb], 0x50
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], ecx
jb 0x192dc90
add dword [eax], ecx
mov ecx, dword [ebp - 8]
add dword [eax + 0xc], edi
add dword [eax + 4], esi
add dword [eax + 8], ecx
mov ecx, dword [ebp - 0x18]
add dword [eax + 0x10], ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x192e2f4
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x3f
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.01934cfd
mov esi, dword [ebp + 8]
push esi
call fcn.0192db92
lea eax, [esi + 0x5c]
push eax
mov dword [ebp + 8], eax
call fcn.0192db92
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.01934cfd
add esp, 0x20
cmp word [ebp + 0x10], di
jbe 0x192e35b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0192dd89
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.0192de2e
push esi
call fcn.0192db92
add esp, 0x18
jmp 0x192e36f
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.01934cd8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x36
inc eax
dec ecx
jne 0x192e374
push edi
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.0192dd89
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x6c
inc eax
dec ecx
jne 0x192e38e
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.0192dd89
add esp, 0xc
pop edi
pop esi
leave
ret

Function at 0x192e3d6
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push esi
push edi
push 0x3f
lea eax, [ebp - 0x3f]
push 0
push eax
mov byte [ebp - 0x40], 0
call fcn.01934cfd
mov esi, dword [ebp + 8]
push esi
call fcn.0192db92
lea eax, [esi + 0x5c]
push eax
mov dword [ebp + 8], eax
call fcn.0192db92
push 0x40
pop edi
push edi
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.01934cfd
add esp, 0x20
cmp word [ebp + 0x10], di
jbe 0x192e43d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0192e1d8
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.0192e271
push esi
call fcn.0192db92
add esp, 0x18
jmp 0x192e451
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push eax
call fcn.01934cd8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x36
inc eax
dec ecx
jne 0x192e456
push edi
lea eax, [ebp - 0x40]
push eax
push esi
call fcn.0192e1d8
add esp, 0xc
lea eax, [ebp - 0x40]
mov ecx, edi
xor byte [eax], 0x6c
inc eax
dec ecx
jne 0x192e470
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebp + 8]
call fcn.0192e1d8
add esp, 0xc
pop edi
pop esi
leave
ret
Function at 0x192e4f5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, dword [ebp + 8]
push edi
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, ebx
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x10]
push 0x10
sub esi, ebx
mov ecx, ebx
sub edx, ebx
pop edi
mov al, byte [esi + ecx]
xor al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
dec edi
jne 0x192e51f
xor edx, edx
xor esi, esi
mov al, byte [edx + 0x193cef8]
lea ecx, [ebp + esi - 0x30]
xor byte [ecx], al
movzx edx, byte [ecx]
inc esi
cmp esi, 0x30
jb 0x192e52f
add edx, edi
and edx, 0xff
inc edi
cmp edi, 0x12
jb 0x192e52d
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ecx, byte [eax + 0xf]
mov edx, ebx
push 0x10
sub edx, eax
pop esi
movzx edi, byte [edx + eax]
xor edi, ecx
mov cl, byte [edi + 0x193cef8]
xor byte [eax], cl
movzx ecx, byte [eax]
inc eax
dec esi
jne 0x192e56a
pop edi
pop esi
leave
ret

Function at 0x192e652
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x193380f
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x1933e86
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 0x10
xor edi, edi
lea eax, [esi + 4]
push edi
push eax
call fcn.0193217f
add esp, 0xc
mov dword [esi + 0x14], edi
mov dword [esi], 0x200
push edi
call fcn.01934f73
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.01934f7f
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
call fcn.01934f91
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
cmp eax, edi
mov ecx, eax
jge 0x1933eda
neg eax
xor ecx, ecx
mov dword [0x19457f0], eax
inc ecx
mov eax, dword [0x19457f0]
mov dword [ebp - 8], eax
xor edx, edx
mov eax, dword [edx + 0x193d0d8]
xor eax, ecx
mov dword [ebp - 0x10], ecx
movzx ecx, ax
shr eax, 0x10
mov edi, eax
imul edi, eax
mov ebx, ecx
imul ebx, ecx
imul ecx, eax
mov eax, dword [ebp - 0x10]
not edi
add edi, ebx
ror edi, 0x10
xor edi, dword [edx + 0x193d0e8]
add edx, 4
add edi, ecx
xor edi, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, edi
cmp edx, 0x10
jb 0x1933ee4
push 4
lea eax, [ebp - 0x10]
push eax
push esi
mov dword [ebp - 0x10], ecx
call fcn.01932036
push 0x24
push dword [ebp - 0xc]
push esi
call fcn.01932036
push 4
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.01932036
xor edi, edi
add esp, 0x24
cmp dword [esi], edi
jne 0x1933ea8
push 0x24
push edi
push dword [ebp - 0xc]
call fcn.0193217f
add esp, 0xc
pop edi
pop ebx
leave
ret

Function at 0x1936ffe
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push esi
push 0x1944ca8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x193701e
or eax, 0xffffffff
jmp 0x1937098
push 0x1944c9c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x1937019
push edi
push 0x1944b58
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1937051
push 0x1944b74
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
jne 0x1937056
or eax, 0xffffffff
jmp 0x1937097
push ebx
call eax
push 0
push 2
mov ebx, eax
call edi
push 0x1944b28
push esi
mov edi, eax
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x1937093
lea ecx, [ebp - 0x128]
push ecx
push edi
call eax
test eax, eax
je 0x1937093
push 0x1944b18
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x19370a3
or eax, 0xffffffff
pop ebx
pop edi
pop esi
leave
ret
cmp dword [ebp - 0x120], ebx
je 0x19370b3
lea eax, [ebp - 0x128]
push eax
push edi
call esi
test eax, eax
jne 0x193709b
jmp 0x1937093
mov eax, dword [ebp - 0x110]
jmp 0x1937096
Function at 0x19371f1
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
test eax, eax
je 0x193720a
xor eax, eax
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1937279
push ebx
push 0x19449b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
je 0x1937278
push esi
push 0x1944ab4
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1937277
call fcn.01936ffe
cmp eax, 0xffffffff
je 0x1937277
push eax
push 1
push 1
call esi
mov esi, eax
test esi, esi
jne 0x1937262
push 0x1944ad4
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x1937277
push esi
call eax
push 0x1944aa0
push ebx
call dword [sym.imp.Kernel32.dll_GetProcAddress]
test eax, eax
je 0x1937277
push 0
push esi
call eax
pop esi
pop ebx
leave
ret

Function at 0x1938b7a
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push ebp
mov ebp, esp
push ebx
push ebx
push ecx
push 0x1938bb6
push dword fs:[0]
mov dword fs:[0], esp
mov ebx, 0
mov eax, 1
invalid

Function at 0x1938c03
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
and dword [ebp - 0xc], 0
push 0x19449b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1938c24
jmp 0x1938c99
push 0x1944ad4
push dword [ebp - 4]
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1938c3d
jmp 0x1938c99
push ebx
push ecx
push edx
push 0x1938c81
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
pop dword fs:[0]
add esp, 4
cmp ebx, 0x564d5868
sete byte [ebp - 0xc]
pop edx
pop ecx
pop ebx
jmp 0x1938c8e
cmp dword [ebp - 0xc], 1
jne 0x1938c99
push 0
call dword [ebp - 8]
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
xor ecx, ecx
push 8
mov eax, ecx
pop edx
test al, 1
je 0x193905d
shr eax, 1
xor eax, 0xedb88320
jmp 0x193905f
shr eax, 1
dec edx
test edx, edx
jg 0x1939050
mov dword [ebp + ecx*4 - 0x400], eax
inc ecx
cmp ecx, 0x100
jl 0x193904b
or eax, 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x193909f
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
dec dword [ebp + 0xc]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [ebp + edx*4 - 0x400]
inc ecx
cmp dword [ebp + 0xc], 0
jne 0x1939080
not eax
leave
ret
Function at 0x1939277
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
push edi
push 0x19449b8
call dword [sym.imp.Kernel32.dll_LoadLibraryA]
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x19393df
push 0x1944a48
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp eax, edi
je 0x19393df
push ebx
push 0x1945180
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov ebx, eax
cmp ebx, edi
je 0x19393de
push 0x1945174
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x18], eax
cmp eax, edi
je 0x19393de
push 0x1945168
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x19393de
push 0x1944b0c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x10], eax
cmp eax, edi
je 0x19393de
push 0x1944ad4
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
cmp eax, edi
je 0x19393de
push 0x194515c
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x19393de
push 0x1945150
push esi
call dword [sym.imp.Kernel32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x19393de
call fcn.01938ff1
push 0x104
lea ecx, [ebp - 0x124]
push ecx
push eax
call dword [ebp - 4]
test eax, eax
je 0x19393de
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
lea eax, [ebp - 0x124]
push eax
call ebx
mov ebx, eax
cmp ebx, 0xffffffff
je 0x19393de
push edi
push ebx
call dword [ebp - 0x18]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x19393de
push eax
push edi
call dword [ebp - 0x1c]
mov esi, eax
cmp esi, edi
je 0x19393de
push edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
push esi
push ebx
call dword [ebp - 0xc]
push ebx
call dword [ebp - 0x10]
mov eax, dword [ebp + 8]
push dword [ebp - 4]
add eax, esi
mov ebx, dword [eax]
mov dword [eax], edi
mov eax, dword [ebp + 0xc]
push esi
mov dword [esi + eax], edi
call fcn.01939040
pop ecx
pop ecx
push esi
cmp eax, ebx
jne 0x19393d7
call dword [ebp - 8]
jmp 0x19393de
call dword [ebp - 8]
push edi
call dword [ebp - 0x14]
pop ebx
pop edi
pop esi
leave
ret
Function at 0x402ee3
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x449390]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x402f5e
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
jne 0x402f65
cmp dword [ebp + 0x10], ebx
jne 0x402f52
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00402ee3
test eax, eax
jne 0x402f65
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
jmp 0x402f25
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.00406551
cmp eax, ebx
je 0x402f8a
push ebx
push dword [0x449390]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402f5e
cmp dword [0x449390], ebx
jne 0x402f5b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x402f5b
jmp 0x402f5e
Function at 0x403310
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x40332d
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x40333c
mov ebx, 0x419474
mov eax, dword [ebp + 8]
test eax, eax
jl 0x403351
mov ecx, dword [0x449338]
add ecx, eax
push ecx
call fcn.00403534
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.00403502
test eax, eax
je 0x4034f0
test byte [ebp + 0x17], 0x80
je 0x403496
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x4153e8
mov dword [ebp - 0xc], eax
call fcn.0040663d
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x4034f8
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x4033a1
mov esi, dword [ebp + 0x14]
mov edi, 0x415474
push esi
push edi
call fcn.00403502
test eax, eax
je 0x4034f0
sub dword [ebp + 0x14], esi
mov dword [0x415400], edi
mov dword [0x415404], esi
mov eax, dword [ebp - 8]
mov ecx, 0x4153e8
mov dword [0x415408], ebx
mov dword [0x41540c], eax
call fcn.0040665f
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x40348e
mov esi, dword [0x415408]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x449394], 1
mov edi, eax
je 0x403443
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x403410
cmp dword [ebp + 0x14], 0
jne 0x403443
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x54]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.00405333
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x403483
cmp dword [ebp + 0x10], eax
jne 0x40346c
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403492
cmp dword [ebp - 0x10], esi
jne 0x403492
add dword [ebp - 4], esi
jmp 0x403478
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x415408]
cmp dword [ebp - 0x14], 1
je 0x4034f8
jmp 0x4033c4
cmp dword [ebp + 0x14], eax
jg 0x403394
jmp 0x4034f8
push 0xfffffffffffffffc
jmp 0x4034f2
push 0xfffffffffffffffe
jmp 0x4034f2
test edi, edi
jne 0x4034dd
cmp dword [ebp + 0x14], 0
jle 0x4034f8
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x4034ab
mov esi, dword [ebp + 0x14]
mov edi, 0x415474
push esi
push edi
call fcn.00403502
test eax, eax
je 0x4034f0
lea eax, [ebp + 0x10]
push 0
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403492
cmp esi, dword [ebp + 0x10]
jne 0x403492
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
jmp 0x40349a
cmp dword [ebp + 0x14], esi
jge 0x4034e5
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.00403502
test eax, eax
jne 0x4034f5
push 0xfffffffffffffffd
pop eax
jmp 0x4034fb
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x405836
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 0x10]
mov dword [0x43fcc0], 0x44
push eax
xor eax, eax
push 0x43fcc0
push eax
push eax
push eax
push eax
push eax
push eax
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x405871
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
leave
ret 4