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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0xa41d598]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0xa5577e3
cmp word [ebx], dx
jne 0xa5577e3
or byte [eax + edi + 0x28], 4
jmp 0xa5577e8
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0xa55794b
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0xa55792b
add eax, 2
cmp cx, word [ebp - 0x10]
je 0xa557829
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0xa55785f
cmp eax, edx
jae 0xa55786d
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0xa557804
jmp 0xa55794b
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xa557926
cmp dword [ebp - 0x18], 0
je 0xa557926
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0xa41d598]
test byte [eax + edi + 0x28], 0x48
je 0xa5578fc
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0xa5578c0
mov word [esi], cx
jmp 0xa5578f7
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0xa41d598]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0xa41d598]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0xa41d598]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0xa55794b
pop eax
cmp word [ebp - 4], ax
jne 0xa55790c
cmp esi, ebx
jne 0xa55790c
mov word [esi], ax
jmp 0xa557948
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0a567bc9
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0xa55794b
push 0xd
pop eax
jmp 0xa557907
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0xa41d598]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0xa557945
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0xa55794b
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0xa5680fe
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0xa49d404
push 0xa49d3fc
push 0xa49ac48
push 0x1f
call fcn.0a567f29
mov esi, eax
add esp, 0x10
test esi, esi
je 0xa568132
push dword [ebp + 8]
mov ecx, esi
call dword [0xa41e244]
call esi
jmp 0xa568138
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0xa56817c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0xa49d414
push 0xa49d40c
push 0xa49ac6c
push 0x21
call fcn.0a567f29
mov esi, eax
add esp, 0x10
test esi, esi
je 0xa5681b3
push dword [ebp + 8]
mov ecx, esi
call dword [0xa41e244]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0xa5681bb
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0xa49d41c
push 0xa49d414
push 0xa49ac80
push 0x22
call fcn.0a567f29
mov esi, eax
add esp, 0x10
test esi, esi
je 0xa5681f5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0xa41e244]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0xa56b3b8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0a551210
mov eax, dword [0xa414bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0a568763
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0xa56b3fa
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0xa56b556
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0a550de0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0xa41d598]
push dword [eax + edi + 0x24]
push dword [eax + edi + 0x20]
push ebx
call fcn.0a567bab
mov ecx, dword [esi*4 + 0xa41d598]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [ecx + edi + 0x20]
jne 0xa56b54f
cmp eax, dword [ecx + edi + 0x24]
jne 0xa56b54f
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [ecx + edi + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0xa56b54f
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0a567bab
add esp, 0x14
test edx, edx
jl 0xa56b54f
jg 0xa56b4c5
test eax, eax
jb 0xa56b54f
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0xa56b54f
jl 0xa56b4df
cmp dword [ebp - 0x1008], eax
ja 0xa56b54f
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0xa56b4fd
test ebx, ebx
je 0xa56b536
cmp ecx, edi
jae 0xa56b536
mov al, byte [ecx]
cmp al, 0xd
jne 0xa56b517
lea eax, [edi - 1]
cmp ecx, eax
jae 0xa56b523
cmp byte [ecx + 1], 0xa
jne 0xa56b523
inc ecx
jmp 0xa56b523
movzx eax, al
movsx eax, byte [eax + 0xa414c60]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0xa56b4fd
cmp edx, ebx
jne 0xa56b4fd
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0xa56b554
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0a550bf9
leave
ret
Function at 0xa56e12a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0xa56e1c7
push ebx
push esi
call fcn.0a56e0f3
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0a56ac83
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0xa56e174
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0xa56e1c6
push edi
push eax
call fcn.0a5678b3
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0xa56e194
call fcn.0a567879
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0xa56e1c5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0a56ac83
add esp, 0x20
test eax, eax
jne 0xa56e1b3
push edi
call fcn.0a567879
jmp 0xa56e1bb
push ebx
call fcn.0a567879
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0xa56e1ca
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0xa56e1db
pop esi
ret
push ebx
push edi
push esi
call fcn.0a56e0f3
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0a5678b3
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0xa56e203
push ebx
push esi
push edi
call fcn.0a553d90
add esp, 0xc
push 0
call fcn.0a567879
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0xa56e95d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0a56e478

Function at 0xa570b96
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0a566a60
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xa570c05
cmp esi, dword [ebp - 4]
je 0xa570c00
cmp dword [ebp + 0xc], 0
je 0xa570c00
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0xa570bdd
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0a5706e8
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0xa570c07
xor eax, eax
inc eax
jmp 0xa570c07
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0xa570c6c
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xa414bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0a566a60
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0a566a60
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0xa570ce3
cmp word [ecx], dx
je 0xa570ce3
mov eax, dword [0xa49d944]
push edi
dec eax
push eax
push 0xa49d830
call fcn.0a570c0b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0xa570d56
cmp word [eax], dx
je 0xa570d56
mov eax, dword [edi]
test eax, eax
je 0xa570d07
cmp word [eax], dx
je 0xa570d07
lea eax, [ebp - 0x10]
push eax
call fcn.0a5705ee
jmp 0xa570d10
lea eax, [ebp - 0x10]
push eax
call fcn.0a570689
cmp dword [ebp - 0x10], 0
pop ecx
jne 0xa570d80
mov eax, dword [0xa49d82c]
push dword [ebp - 0x14]
dec eax
push eax
push 0xa49d520
call fcn.0a570c0b
add esp, 0xc
test al, al
je 0xa570d80
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0xa570d4b
cmp word [eax], di
je 0xa570d4b
lea eax, [ebp - 0x10]
push eax
call fcn.0a5705ee
pop ecx
jmp 0xa570d82
lea eax, [ebp - 0x10]
push eax
call fcn.0a570689
jmp 0xa570d48
mov eax, dword [edi]
test eax, eax
je 0xa570d6d
cmp word [eax], dx
je 0xa570d6d
lea eax, [ebp - 0x10]
push eax
call fcn.0a5705a3
pop ecx
jmp 0xa570d80
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0xa570e4b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0a570a90
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0xa570e4b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0xa570e4b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0xa570e4b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0xa570dd8
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0a568397
test ebx, ebx
je 0xa570e46
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0a568397
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xa570e4b
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xa570e4b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0a574b37
add esp, 0x10
xor eax, eax
inc eax
jmp 0xa570e4d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0a550bf9
leave
ret
Function at 0xa574f05
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0a574e81
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0xa575074
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0xa575074
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0xa575029
jg 0xa574f61
test eax, eax
je 0xa57501f
push 1
push 0x1000
call fcn.0a567c27
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0xa574f84
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0xa575016
push 0x8000
push ebx
call fcn.0a564d53
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0xa574fad
jg 0xa574fa8
cmp ecx, 0x1000
jb 0xa574fad
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0a569074
add esp, 0x10
cmp eax, 0xffffffff
je 0xa574ff2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0xa574fa8
jl 0xa574fd9
test ecx, ecx
jne 0xa574f9a
push dword [ebp - 0xc]
push ebx
call fcn.0a564d53
push esi
call fcn.0a567879
add esp, 0xc
xor ebx, ebx
jmp 0xa575082
cmp byte [edi + 0x24], 0
je 0xa575009
cmp dword [edi + 0x20], 5
jne 0xa575009
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0xa575014
mov ebx, dword [edi + 0x18]
jmp 0xa575016
xor ebx, ebx
push esi
call fcn.0a567879
pop ecx
jmp 0xa575082
test ecx, ecx
jg 0xa574feb
jl 0xa575029
test eax, eax
jae 0xa574feb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0a567bc9
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0xa575049
cmp byte [edi + 0x1c], 0
je 0xa574feb
jmp 0xa57507a
push ebx
call fcn.0a5675c7
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0xa574feb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0xa575082
cmp byte [edi + 0x1c], 0
je 0xa57507f
mov ebx, dword [edi + 0x18]
jmp 0xa575082
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0a567bc9
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0xa57ce80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa57cead
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa57cead
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x420f3a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push esi
push edi
mov byte [ebp - 0x4c], 0x3c
mov byte [ebp - 0x4b], 0x6c
mov byte [ebp - 0x4a], 0x55

Function at 0x420f51
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x49], 0x47
mov byte [ebp - 0x48], 0x32
mov byte [ebp - 0x47], 0x6d
mov byte [ebp - 0x46], 0x30
mov byte [ebp - 0x45], 0x6e
mov byte [ebp - 0x44], 0x5e
mov byte [ebp - 0x43], 0x44
mov byte [ebp - 0x42], 0x41
mov byte [ebp - 0x41], 0x65
mov byte [ebp - 0x40], 0x76
mov byte [ebp - 0x3f], 0x43
mov byte [ebp - 0x3e], 0x4e
mov byte [ebp - 0x3d], 0x42
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0x66
mov byte [ebp - 0x3a], 0x68
mov byte [ebp - 0x39], 0x41
mov byte [ebp - 0x38], 0x6b
invalid
inc ebp

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x10], edx
mov eax, 8
imul ecx, eax, 0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
add eax, dword [edx + ecx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x20]
Function at 0x415d00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xcc
mov ecx, dword [0x4466c0]
test ecx, ecx
je 0x415d1e
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [ebp - 0x68], 0x41414141
mov eax, dword [0x43fb80]
lea esi, [ebp - 0x68]
mov dword [ebp - 0x64], 0x41414141
mov dword [ebp - 0x60], 0x41414141
mov dword [ebp - 0x48], eax
mov eax, dword [0x43fb84]
mov dword [ebp - 0x5c], 0x41414141
mov dword [ebp - 0x58], 0x41414141
mov dword [ebp - 0x44], eax
mov eax, dword [0x43fb88]
mov dword [ebp - 0x54], 0x41414141
mov dword [ebp - 0x50], 0x41414141
mov dword [ebp - 0x40], eax
mov eax, dword [0x43fb8c]
mov dword [ebp - 0x4c], 0x41414141
mov dword [ebp - 0x3c], eax
mov eax, dword [0x43fb90]
mov dword [ebp - 0x38], eax
mov eax, dword [0x43fb94]
mov dword [ebp - 0x34], eax
mov eax, dword [0x43fb98]
mov dword [ebp - 0x30], eax
mov eax, dword [0x43fb9c]
mov dword [ebp - 0x2c], eax
movzx eax, word [0x43fba0]
mov word [ebp - 0x28], ax
mov dword [esp], esi
call dword [0x44720c]
movzx eax, ax
sub esp, 4
test eax, eax
mov dword [ebp - 0xbc], eax
jne 0x415efc
mov dword [esp], 0x3c
call fcn.00419b30
test eax, eax
mov ebx, eax
je 0x415f30
cld
mov edi, eax
mov eax, dword [ebp - 0xbc]
mov ecx, 0xf
rep stosd dword es:[edi], eax
mov dword [ebx + 4], fcn.00410ad0
mov ecx, 1
mov dword [ebx + 8], 0x40cc50
mov eax, dword [0x446690]
mov dword [ebx], 0x3c
mov edx, dword [0x446694]
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x14], eax
mov eax, dword [0x43e190]
mov dword [ebx + 0x18], edx
mov edx, dword [0x43e194]
mov dword [ebx + 0x1c], eax
mov eax, dword [0x4466a0]
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x2c], eax
mov edx, dword [0x43e19c]
mov eax, dword [0x43e198]
mov dword [ebx + 0x38], edx
mov edx, 0x1f
mov dword [ebx + 0x34], eax
mov esi, esi
mov eax, ebx
and eax, ecx
cmp eax, 1
sbb eax, eax
and al, 0x20
add ecx, ecx
add al, 0x41
mov byte [edx + ebp - 0xb8], al
dec edx
jns 0x415e50
mov eax, dword [0x43fb80]
mov dword [ebp - 0x98], eax
mov eax, dword [0x43fb84]
mov dword [ebp - 0x94], eax
mov eax, dword [0x43fb88]
mov dword [ebp - 0x90], eax
mov eax, dword [0x43fb8c]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x43fb90]
mov dword [ebp - 0x88], eax
mov eax, dword [0x43fb94]
mov dword [ebp - 0x84], eax
mov eax, dword [0x43fb98]
mov dword [ebp - 0x80], eax
mov eax, dword [0x43fb9c]
mov dword [ebp - 0x7c], eax
movzx eax, word [0x43fba0]
mov word [ebp - 0x78], ax
lea eax, [ebp - 0xb8]
mov dword [esp], eax
call dword [0x4471fc]
movzx edi, ax
sub esp, 4
test edi, edi
jne 0x415f21
xor edx, edx
test edx, edx
jne 0x415f03
mov dword [esp], ebx
call fcn.00419b20
mov dword [esp], esi
call dword [0x44720c]
sub esp, 4
movzx eax, ax
call fcn.00415c60
mov ebx, eax
mov dword [0x4466c0], ebx
lea eax, [ebx + 4]
mov dword [0x4466b0], eax
lea eax, [ebx + 8]
mov dword [0x4466d0], eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
call fcn.00415c60
cmp eax, ebx
mov edx, edi
jne 0x415edf
jmp 0x415ee1
call fcn.00419ad0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
Function at 0x418200
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x8c
mov edx, dword [esp + 0xa4]
mov esi, dword [esp + 0xa0]
movzx ecx, word [edx]
mov word [esp + 0x40], cx
movzx eax, word [edx + 2]
lea edx, [esp + 0x44]
mov word [esp + 0x42], ax
mov eax, 6
lea esi, [esi]
lea edi, [edi]
mov word [edx], 0
add edx, 2
dec eax
jns 0x418240
mov ecx, dword [esp + 0xa4]
xor eax, eax
mov ebx, 6
add ecx, 4
mov dword [esp + 0x18], ecx
movzx edx, word [ecx]
test dl, 1
je 0x41826b
or eax, 1
shr edx, 1
test al, 2
je 0x418277
or edx, 0xffff8000
mov word [ecx], dx
add eax, eax
add ecx, 2
dec ebx
movzx eax, ax
jns 0x418260
movzx ebp, word [esi + 6]
add esi, 0x10
mov ebx, dword [esp + 0xa4]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0xa4]
mov edi, 2
mov dword [esp + 0x1c], ebp
add ebx, 6
add esi, 0x10
mov dword [esp + 8], edi
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], ebx
lea esi, [esi]
Function at 0x454674
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x150], ecx
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 8], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403f70
xor eax, eax
push ebp
push 0x4547ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x44a620]
call fcn.00402e00
mov ebx, eax
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403bd4
lea eax, [ebp - 0x14c]
push eax
mov ecx, 1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0044a674
mov eax, dword [ebp - 0x14c]
mov edx, 0x454804
call fcn.00403ecc
je 0x45471e
push dword [ebp - 4]
push 0x454804
push 0x454810
lea eax, [ebp - 4]
mov edx, 3
call fcn.00403e7c
lea eax, [ebp - 8]
mov ecx, 0x454804
mov edx, dword [ebp - 4]
call fcn.00403e08
jmp 0x45472b
lea eax, [ebp - 4]
mov edx, 0x454810
call fcn.00403dc4
lea eax, [ebp - 0x148]
push eax
mov eax, dword [ebp - 4]
call fcn.00403f80
push eax
call sub.KERNEL32.DLL_FindFirstFileA
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4547c3
mov eax, dword [ebp - 0x148]
add eax, 0xfffffff0
sub eax, 8
jb 0x45475d
add eax, 0xffffffe8
sub eax, 8
jae 0x4547ac
lea eax, [ebp - 0x11c]
cmp eax, 0x2e
je 0x4547ac
lea eax, [ebp - 0x11c]
cmp eax, 0x454814
je 0x4547ac
lea eax, [ebp - 0x154]
lea edx, [ebp - 0x11c]
mov ecx, 0x104
call fcn.00403d6c
mov ecx, dword [ebp - 0x154]
lea eax, [ebp - 0x150]
mov edx, dword [ebp - 8]
call fcn.00403e08
mov edx, dword [ebp - 0x150]
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea eax, [ebp - 0x148]
push eax
push ebx
call sub.KERNEL32.DLL_FindNextFileA
neg eax
sbb eax, eax
neg eax
test al, al
jne 0x454747
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4547f5
lea eax, [ebp - 0x154]
mov edx, 3
call fcn.00403b60
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403b60
ret

Function at 0x454818
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x45488e
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, 0x43
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00403ce4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4548a4
call fcn.00403e08
mov eax, dword [ebp - 4]
call fcn.00403f80
push eax
call sub.KERNEL32.DLL_GetDriveTypeA
cmp eax, 3
jne 0x45486d
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00454674
inc ebx
cmp ebx, 0x57
jne 0x454836
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454895
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403b60
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx