joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459bb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x476738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 1
call fcn.0044e5b0
mov al, byte [esp + 0x38]
push 0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 2
mov byte [esp + 0x1c], al
call fcn.00413460
push ecx
lea edx, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov byte [esp + 0x38], 3
call fcn.0044e5c0
lea ecx, [esp + 0x18]
call fcn.0044e790
mov eax, dword [0x47814c]
lea ecx, [esp + 0x3c]
push eax
push 0
push ecx
lea ecx, [esp + 0x24]
call fcn.00413260
mov eax, dword [edi + 4]
mov esi, dword [eax]
cmp esi, eax
je 0x459c4f
lea edx, [esp + 0x38]
lea ecx, [esi + 8]
push edx
call fcn.0044e860
test al, al
jne 0x459c4f
mov esi, dword [esi]
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x459c35
mov eax, dword [edi + 4]
cmp esi, eax
je 0x459ce5
mov eax, dword [0x47814c]
lea edx, [esp + 0x3c]
push eax
push 0
lea ecx, [esi + 0xc]
push edx
call fcn.00413260
mov eax, dword [edi + 4]
push 0x1c
lea ebx, [esi + 8]
mov ebp, dword [eax]
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
call fcn.00468165
add esp, 4
mov ecx, ebp
test ebp, ebp
jne 0x459c90
mov ecx, eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jne 0x459c9c
mov ecx, eax
mov dword [eax + 4], ecx
mov dword [ebp + 4], eax
mov ecx, dword [eax + 4]
push ebx
mov dword [ecx], eax
add eax, 8
push eax
call fcn.0045b4f0
mov eax, dword [edi + 8]
add esp, 8
inc eax
mov dword [edi + 8], eax
mov eax, dword [esi + 4]
mov ecx, dword [esi]
push 0
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov ecx, ebx
mov dword [edx + 4], eax
call fcn.0045b670
push esi
call fcn.00467320
mov eax, dword [edi + 8]
add esp, 4
dec eax
mov dword [edi + 8], eax
jmp 0x459d12
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push eax
push edx
mov ecx, edi
call fcn.0045b450
cmp dword [edi + 8], 0x64
jbe 0x459d12
mov eax, dword [edi + 4]
mov ecx, edi
mov eax, dword [eax + 4]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0045b4b0
push 1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 4
call fcn.00413460
lea ecx, [esp + 0x14]
mov byte [esp + 0x30], 1
call fcn.0044e6f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 0
call fcn.0044e6f0
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x459d62
mov al, byte [ecx - 1]
test al, al
je 0x459d58
cmp al, 0xff
je 0x459d58
dec al
mov byte [ecx - 1], al
jmp 0x459d62
dec ecx
push ecx
call fcn.00467320
add esp, 4
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov al, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret 0x14
Function at 0x460ac0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x476cee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov al, byte [esp + 0x28]
mov dword [esi + 0xc], ebx
mov byte [esi + 8], al
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov cl, byte [esp + 0x28]
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x18], cl
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dl, byte [esp + 0x3c]
sub esp, 0x10
mov edi, esp
mov dword [esp + 0x20], esp
mov dword [esi], fcn.00460bd0
push ebx
mov ecx, edi
mov byte [esp + 0x34], 3
mov byte [edi], dl
call fcn.00413460
mov eax, dword [0x47814c]
lea ecx, [esp + 0x4c]
push eax
push ebx
push ecx
mov ecx, edi
call fcn.00413260
sub esp, 0x10
lea edx, [esp + 0x4c]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0x44], 4
call fcn.00412e80
mov eax, dword [esp + 0x48]
mov ecx, esi
push eax
mov byte [esp + 0x44], 3
call fcn.00460bd0
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
je 0x460b89
mov al, byte [ecx - 1]
cmp al, bl
je 0x460b7f
cmp al, 0xff
je 0x460b7f
dec al
mov byte [ecx - 1], al
jmp 0x460b89
dec ecx
push ecx
call fcn.00467320
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x30], ebx
cmp ecx, ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
je 0x460bb9
mov al, byte [ecx - 1]
cmp al, bl
je 0x460baf
cmp al, 0xff
je 0x460baf
dec al
mov byte [ecx - 1], al
jmp 0x460bb9
dec ecx
push ecx
call fcn.00467320
add esp, 4
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x18
ret 0x24
Function at 0x4616e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x40c
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [0x493bd0]
mov esi, dword [esp + 0x41c]
test ecx, ecx
push edi
mov byte [esp + 0x13], 0
je 0x461731
mov ebx, dword [esp + 0x424]
mov eax, dword [ecx]
push ebx
push esi
call dword [eax + 0x10]
mov eax, dword [0x493bd0]
test eax, eax
je 0x461738
cmp byte [eax + 0x90], 1
jne 0x461738
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x40c
ret 8
mov ebx, dword [esp + 0x424]
call fcn.0045d440
test al, al
je 0x461750
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x40c
ret 8
cmp dword [ebp], 0
je 0x4618e2
mov al, byte [ebp + 8]
mov dl, bl
inc al
lea edi, [esp + 0x23]
mov byte [ebp + 8], al
mov cl, al
mov eax, ebx
mov byte [esp + 0x22], cl
sar eax, 8
mov byte [esp + 0x1e], al
mov ecx, ebx
not al
mov byte [esp + 0x20], al
mov eax, ecx
not dl
shr ecx, 2
mov byte [esp + 0x1c], 0xcf
mov byte [esp + 0x1d], 0x33
mov byte [esp + 0x1f], bl
mov byte [esp + 0x21], dl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 7]
xor cl, cl
test esi, esi
jle 0x4617b7
mov dl, byte [esp + eax + 0x1c]
add cl, dl
inc eax
cmp eax, esi
jl 0x4617ac
mov byte [esp + ebx + 0x23], cl
add ebx, 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
push eax
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
xor bl, bl
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 4]
sub eax, edi
cmp eax, ecx
ja 0x4618d0
mov ecx, dword [ebp]
lea eax, [esp + 0x11]
push 1
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp eax, 1
jne 0x4617e8
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x13]
test bl, bl
mov byte [esp + 0x13], al
jne 0x46183f
cmp cl, 0xcf
jne 0x4617e8
cmp al, 0x33
jne 0x4617e8
mov byte [esp + 0x21c], cl
mov byte [esp + 0x21d], al
mov bl, 1
mov esi, 2
jmp 0x4617e8
mov byte [esp + esi + 0x21c], al
inc esi
cmp esi, 9
jne 0x4617e8
mov al, byte [esp + 0x21e]
mov cl, byte [esp + 0x21f]
xor dx, dx
xor bx, bx
mov dl, al
mov bl, cl
shl edx, 8
add edx, ebx
cmp dx, 1
je 0x461876
xor bl, bl
jmp 0x4617e8
mov dl, byte [esp + 0x220]
not dl
cmp al, dl
jne 0x46186f
mov al, byte [esp + 0x221]
not al
cmp cl, al
jne 0x46186f
mov al, byte [ebp + 8]
mov cl, byte [esp + 0x222]
cmp cl, al
jne 0x4618ab
mov cl, byte [esp + 0x223]
not cl
cmp al, cl
je 0x4618b4
xor bl, bl
xor esi, esi
jmp 0x4617e8
xor cl, cl
xor eax, eax
mov bl, byte [esp + eax + 0x21c]
add cl, bl
inc eax
cmp eax, 8
jl 0x4618b8
cmp cl, byte [esp + 0x224]
je 0x4618f1
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x4617ca
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40c
ret 8
mov eax, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 8
Function at 0x462330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x476e64
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x478454
mov dword [esp + 0x40], 3
call fcn.004628c0
mov eax, dword [esi + 0x74]
push eax
mov dword [esp + 0x18], eax
call fcn.00467320
xor ebx, ebx
add esp, 4
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
mov byte [esp + 0x40], 1
je 0x462448
mov edi, dword [esi + 0x4c]
add edi, 4
dec eax
cmp eax, ebx
mov dword [esi + 0x4c], edi
mov ecx, edi
mov dword [esi + 0x6c], eax
je 0x4623ac
cmp ecx, dword [esi + 0x48]
jne 0x46243d
mov eax, dword [esi + 0x50]
lea ecx, [eax + 4]
mov dword [esi + 0x50], ecx
mov eax, dword [eax]
push eax
call fcn.00467320
mov eax, dword [esi + 0x6c]
add esp, 4
cmp eax, ebx
jne 0x46240e
lea ecx, [esp + 0x18]
call fcn.00463b60
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 0x44]
mov edi, dword [esp + 0x24]
mov ebp, edx
mov edx, dword [esp + 0x20]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x64]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.00467320
add esp, 4
jmp 0x46243d
mov eax, dword [esi + 0x50]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x30]
call fcn.00463bd0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x44]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
jne 0x462390
mov eax, dword [esi + 0x34]
push eax
mov dword [esp + 0x18], eax
call fcn.00467320
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
add esi, 4
add esp, 4
mov dword [esp + 0x14], esi
mov ebp, dword [esi + 0x18]
mov edi, dword [esi + 0x14]
cmp edi, ebp
mov dword [esp + 0x40], 4
je 0x462488
mov ecx, edi
call fcn.0044e6f0
add edi, 4
cmp edi, ebp
jne 0x46247a
mov eax, dword [esi + 0x14]
push eax
call fcn.00467320
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebx
je 0x4624c1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4624b8
cmp al, 0xff
je 0x4624b8
dec al
mov byte [ecx], al
jmp 0x4624c1
push ecx
call fcn.00467320
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x465e30
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
test eax, eax
push edi
mov edi, ecx
jbe 0x465f75
fldln2
push ebx
push ebp
push esi
fld qword [0x478348]
fyl2x
fldln2
fld qword [0x478368]
fyl2x
fdivp st(1)
call fcn.00467cbc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov ecx, 0xfffffffc
sub ecx, eax
lea esi, [eax + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 8]
mov ecx, dword [esi]
add ecx, eax
mov eax, dword [esi + 8]
mov dword [esi], ecx
mov ecx, dword [edi + 0xc]
add eax, ecx
lea ebp, [edi + 0x14]
mov dword [esi + 8], eax
mov dword [esp + 0x14], 0x10
mov edx, dword [esp + 0x10]
mov ebx, dword [esi]
push edx
mov ecx, edi
call fcn.00466050
push eax
lea eax, [ebx + ebx + 1]
imul eax, ebx
push eax
mov ecx, edi
call fcn.00466080
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi + 8]
push ecx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.00466050
lea edx, [ebx + ebx + 1]
push eax
imul edx, ebx
push edx
mov ecx, edi
call fcn.00466080
mov ebx, eax
mov ecx, edi
push ebx
call fcn.00466050
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi - 4]
xor eax, ecx
mov ecx, edi
push eax
call fcn.00466080
mov ecx, dword [ebp - 4]
add eax, ecx
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, edi
mov dword [esi - 4], eax
call fcn.00466050
mov ecx, dword [esi + 4]
push eax
xor ebx, ecx
mov ecx, edi
push ebx
call fcn.00466080
mov edx, dword [ebp]
add ebp, 8
add eax, edx
mov edx, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [esi - 4]
mov ecx, dword [esi + 4]
mov dword [esi - 4], edx
mov edx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
dec eax
mov dword [esi + 4], edx
mov dword [esp + 0x14], eax
jne 0x465e95
mov eax, dword [edi + 0x90]
mov ebx, dword [esi - 4]
add ebx, eax
mov eax, dword [esp + 0x24]
mov dword [esi - 4], ebx
mov ecx, dword [edi + 0x94]
add edx, ecx
mov dword [esi + 4], edx
mov edx, dword [esp + 0x18]
add esi, 0x10
add edx, esi
cmp edx, eax
jb 0x465e76
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret 8
Function at 0x465f80
Capabilities:
Encrypt data using rc6

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, eax
mov ecx, eax
mov edx, eax
and ebx, 0x1000
and eax, 1
shr ecx, 0x10
shl edx, 0x10
or ebx, ecx
or edx, eax
shr ebx, 8
shl edx, 8
push edi
or ebx, edx
mov dword [esi + 8], 0xb7e15163
lea eax, [esi + 0xc]
mov ecx, 0x23
mov edx, dword [eax - 4]
add eax, 4
sub edx, 0x61c88647
dec ecx
mov dword [eax - 4], edx
jne 0x465fbb
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], 0x6c
push 3
mov ecx, esi
call fcn.00466050
push eax
mov eax, dword [esp + 0x1c]
add eax, ebp
mov ebp, dword [esi + edi*4 + 8]
add eax, ebp
mov ecx, esi
push eax
call fcn.00466080
mov ecx, dword [esp + 0x18]
mov ebp, eax
mov dword [esi + edi*4 + 8], eax
lea eax, [ecx + ebp]
mov ecx, esi
push eax
mov dword [esp + 0x1c], eax
call fcn.00466050
mov edx, dword [esp + 0x18]
push eax
add edx, ebx
mov ecx, esi
push edx
call fcn.00466080
mov ebx, eax
lea eax, [edi + 1]
xor edx, edx
mov ecx, 0x24
div ecx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], ebx
dec eax
mov dword [esp + 0x10], eax
mov edi, edx
jne 0x465fdd
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x466180
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x60
mov ecx, 8
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x74]
push edi
lea edi, [esp + 0x10]
push 0x30
push 0x489698
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004660a0
mov esi, dword [esp + 0x80]
lea ecx, [esp + 0x1c]
add esp, 0xc
xor eax, eax
sub esi, ecx
mov bl, byte [esp + eax + 0x10]
lea ecx, [esp + eax + 0x10]
mov dl, byte [esi + ecx]
xor dl, bl
mov byte [esp + eax + 0x40], dl
inc eax
cmp eax, 0x30
jl 0x4661b9
mov ebp, dword [esp + 0x7c]
xor ebx, ebx
lea ecx, [esp + 0x45]
lea esi, [ebp + 2]
movsx eax, byte [ecx - 5]
movsx edx, byte [ecx]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 4]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 3]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 2]
lea eax, [edx + eax*2]
movsx edx, byte [ecx - 1]
lea eax, [edx + eax*2]
lea edi, [ebx + eax]
mov eax, dword [edi*4 + 0x4897d8]
cdq
and edx, 7
add eax, edx
sar eax, 3
movsx eax, al
and eax, 0x80000001
jns 0x466225
dec eax
or eax, 0xfffffffe
inc eax
mov byte [esi - 2], al
mov eax, dword [edi*4 + 0x4897d8]
cdq
and edx, 3
add eax, edx
sar eax, 2
movsx edx, al
and edx, 0x80000001
jns 0x466248
dec edx
or edx, 0xfffffffe
inc edx
mov byte [esi - 1], dl
mov eax, dword [edi*4 + 0x4897d8]
cdq
sub eax, edx
sar eax, 1
movsx eax, al
and eax, 0x80000001
jns 0x466266
dec eax
or eax, 0xfffffffe
inc eax
mov byte [esi], al
movsx edx, byte [edi*4 + 0x4897d8]
and edx, 0x80000001
jns 0x46627d
dec edx
or edx, 0xfffffffe
inc edx
mov byte [esi + 1], dl
add ebx, 0x40
add ecx, 6
add esi, 4
cmp ebx, 0x200
jl 0x4661dd
push 0x20
push 0x489758
push ebp
call fcn.004660a0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x4662b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x50c
mov ecx, dword [esp + 0x514]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x520]
sub ecx, edi
lea ebp, [esp + 0x5c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], 8
jmp 0x4662e0
mov ecx, dword [esp + 0x18]
mov cl, byte [ecx + edi]
mov dl, byte [edi]
mov byte [esp + 0x13], cl
mov esi, ebp
lea ecx, [esp + 0x5c]
xor eax, eax
mov byte [esp + 0x12], dl
mov edx, 7
sub esi, ecx
mov bl, byte [esp + 0x13]
mov cl, dl
sar bl, cl
lea ecx, [esi + eax]
and bl, 1
mov byte [esp + ecx + 0x5c], bl
mov bl, byte [esp + 0x12]
mov cl, dl
sar bl, cl
lea ecx, [esi + eax]
and bl, 1
inc eax
dec edx
cmp eax, 8
mov byte [esp + ecx + 0x1c], bl
jl 0x4662fc
mov eax, dword [esp + 0x14]
inc edi
add ebp, 8
dec eax
mov dword [esp + 0x14], eax
jne 0x4662dc
push 0x40
lea edx, [esp + 0x20]
push 0x4892b8
push edx
call fcn.004660a0
push 0x38
lea eax, [esp + 0x6c]
push str.91__
push eax
call fcn.004660a0
add esp, 0x18
lea ebp, [esp + 0x11c]
mov ebx, 0x489598
mov ecx, dword [ebx]
lea edx, [esp + 0x5c]
push ecx
push edx
call fcn.00466120
mov edi, ebp
add ebx, 4
add esp, 8
mov ecx, 0x10
lea esi, [esp + 0x5c]
add ebp, 0x40
cmp ebx, 0x4895d8
rep movsd dword es:[edi], dword [esi]
jl 0x466367
push 0x30
lea eax, [esp + 0x4e0]
push 0x4895d8
push eax
call fcn.004660a0
mov ecx, 8
lea esi, [esp + 0x28]
lea edi, [esp + 0xe8]
lea edx, [esp + 0x28]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [esp + 0x48]
lea edi, [esp + 0x28]
lea eax, [esp + 0x4e8]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xa8]
push ecx
push edx
push eax
call fcn.00466180
add esp, 0x18
xor eax, eax
mov cl, byte [esp + eax + 0x9c]
mov bl, byte [esp + eax + 0xdc]
xor cl, bl
mov byte [esp + eax + 0x1c], cl
inc eax
cmp eax, 0x20
jl 0x4663e6
lea ebx, [esp + 0x49c]
mov ebp, 0xf
Function at 0x438ca2
Capabilities:
Encode data using xor

Disassembly:
mov edi, 0x438a14
and ecx, ecx
dec eax
call fcn.00438cd6
sub eax, 1
xor dword [ebx], edi
add eax, ecx
and eax, eax
sub ecx, ecx
inc ebx
or ecx, ecx
inc eax
or ecx, ecx
cmp ebx, esi
jne fcn.00438ca2
mov ecx, 0xe5a83820
or eax, eax
ret
Function at 0x403d24
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x409c08
call fcn.00403fe8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x403d84
cmp eax, 0xffffffff
je 0x403d84
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x403d7d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x403d7d
cmp edx, 0x10000000
jae 0x403d7d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x403d7a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x403df0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x403e2e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x403e26
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x403e30
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403e16
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x403f00
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x403f31
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x403f31
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x403f31
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4093c8
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x40a084]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 0
push eax
mov esi, ecx
xor bl, bl
call dword [0x40b088]
push eax
call dword [0x40b038]
cmp dword [ebp - 0x210], 0
je 0x409484
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0x401ed0
call dword [0x40b034]
dec eax
cmp eax, 0x103
ja 0x40952b
xor edx, edx
mov ecx, 0x401f20
call fcn.00409b5e
test eax, eax
jne 0x409448
mov ecx, 0x401f20
call fcn.004086b3
nop
push ecx
lea eax, [ebp - 0x20c]
push 0x401f20
push eax
mov ecx, eax
call fcn.004095e3
test eax, eax
js 0x40952b
lea eax, [ebp - 0x20c]
mov edx, 0x104
push eax
mov ecx, esi
call fcn.0040913c
test eax, eax
js 0x40952b
jmp 0x409529
lea eax, [ebp - 0x234]
push eax
call dword [0x40b0e8]
push 0
push 0x26
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40952b
xor edx, edx
mov ecx, 0x401f40
call fcn.00409b5e
test eax, eax
jne 0x4094c8
mov ecx, 0x401f40
call fcn.004086b3
mov edi, edi
push ecx
lea eax, [ebp - 0x20c]
push 0x401f40
push eax
mov ecx, eax
call fcn.004095e3
test eax, eax
js 0x40952b
xor edx, edx
mov ecx, 0x401f20
call fcn.00409b5e
test eax, eax
jne 0x4094fa
mov ecx, 0x401f20
call fcn.004086b3
push ecx
lea eax, [ebp - 0x20c]
push 0x401f20
push eax
mov ecx, eax
call fcn.004095e3
test eax, eax
js 0x40952b
lea eax, [ebp - 0x20c]
mov edx, 0x104
push eax
mov ecx, esi
call fcn.0040913c
test eax, eax
js 0x40952b
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.00403a90
mov esp, ebp
pop ebp
ret 8
Function at 0x415b10
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4842bb
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.00478ca6
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x415b92
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00476bbd
mov eax, dword [eax]
push 0x4a9220
push eax
call fcn.004696c4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00478f31
test bl, bl
je 0x415b92
push 0x4a9220
lea ecx, [esp + 0xc]
call fcn.004792c1
push 0x4acd94
lea ecx, [esp + 0xc]
call fcn.004792c1
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 0x415bce
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00478f31
jmp 0x415c99
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 0x415c52
lea edx, [esp + 0x7c]
push 0x4acd90
push edx
call fcn.004696c4
add esp, 8
test eax, eax
je 0x415c52
lea eax, [esp + 0x7c]
push 0x4acd8c
push eax
call fcn.004696c4
add esp, 8
test eax, eax
je 0x415c52
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 0x415be2
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.00478f31
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 0x416490
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 0x4164f2
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