joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403123
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x417e7c]
sub esi, dword [0x40bde8]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x4291ec], eax
jle 0x40328d
push dword [0x41fe8c]
call fcn.004032d1
push ebx
push ebx
push dword [0x40bde8]
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x41fe88], esi
mov dword [0x417e78], ebx
mov ebp, 0x40be78
mov eax, dword [0x417e80]
mov edi, 0x4000
sub eax, dword [0x41fe8c]
cmp eax, edi
jg 0x403198
mov edi, eax
mov esi, 0x413e78
push edi
push esi
call fcn.0040329f
test eax, eax
je 0x40327f
add dword [0x41fe8c], edi
mov dword [0x40be08], esi
mov dword [0x40be0c], edi
cmp dword [0x4291f0], ebx
je 0x4031ef
cmp dword [0x429280], ebx
jne 0x4031ef
mov eax, dword [0x41fe88]
push ebx
sub eax, dword [0x417e7c]
sub eax, dword [esp + 0x1c]
add eax, dword [0x40bde8]
mov dword [0x417e78], eax
call fcn.00402cb0
pop ecx
mov ecx, 0x40bdf0
mov dword [0x40be10], ebp
mov dword [0x40be14], 0x8000
call fcn.00406348
test eax, eax
jl 0x403288
mov esi, dword [0x40be10]
sub esi, ebp
je 0x403249
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403284
cmp esi, dword [esp + 0x10]
jne 0x403284
add dword [0x40bde8], esi
cmp dword [0x40be0c], ebx
jne 0x4031be
jmp 0x403255
cmp dword [0x40be0c], ebx
jne 0x403288
cmp edi, ebx
je 0x403288
mov eax, dword [0x417e7c]
mov ecx, eax
sub ecx, dword [0x40bde8]
add ecx, dword [esp + 0x18]
test ecx, ecx
jg 0x403182
push ebx
push ebx
push eax
push dword [0x40901c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x40328d
or eax, 0xffffffff
jmp 0x403297
push 0xfffffffffffffffe
jmp 0x40328a
push 0xfffffffffffffffd
pop eax
jmp 0x403297
push 1
call fcn.00402cb0
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x405624
Capabilities:
Create process on windows

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

Function at 0x4056e9
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
push esi
call fcn.00405b06
mov edi, eax
cmp edi, 0xffffffff
je 0x40572a
test byte [esp + 0x10], 1
push esi
je 0x40570c
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x405712
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40571b
xor eax, eax
inc eax
jmp 0x40572c
test byte [esp + 0x10], 4
jne 0x40572a
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor eax, eax
pop edi
pop esi
ret 8
Function at 0x405731
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405a12
test bl, 8
mov dword [ebp - 0xc], eax
je 0x405770
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x429268], eax
jmp 0x405903
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
je 0x40578a
test eax, eax
je 0x4058b1
test bl, 2
je 0x4058b1
mov esi, 0x4246d8
push edi
push esi
call fcn.00405ea2
cmp dword [ebp + 8], 0
je 0x4057a9
push str..
push esi
call sub.KERNEL32.dll_lstrcatW
jmp 0x4057af
push edi
call fcn.00405956
cmp word [edi], 0
jne 0x4057bf
cmp word [0x4246d8], 0x5c
jne 0x4057ca
push 0x409014
push edi
call sub.KERNEL32.dll_lstrcatW
push edi
call sub.KERNEL32.dll_lstrlenW
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x25c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x4058a6
lea eax, [ebp - 0x230]
push 0x3f
push eax
lea esi, [ebp - 0x230]
call fcn.00405937
xor ecx, ecx
cmp word [eax], cx
je 0x405811
cmp word [ebp - 0x28], cx
je 0x405811
lea esi, [ebp - 0x28]
cmp word [esi], 0x2e
jne 0x40582c
mov ax, word [esi + 2]
cmp ax, cx
je 0x405885
cmp ax, 0x2e
jne 0x40582c
cmp word [esi + 4], cx
je 0x405885
push esi
push ebx
call fcn.00405ea2
test byte [ebp - 0x25c], 0x10
je 0x405851
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405885
push dword [ebp + 0xc]
push edi
call fcn.00405731
jmp 0x405885
push dword [ebp - 4]
push edi
call fcn.004056e9
test eax, eax
jne 0x40587d
cmp dword [ebp - 4], eax
je 0x405875
push edi
push 0xfffffffffffffff1
call fcn.00405156
push 0
push edi
call fcn.00405d3c
jmp 0x405885
inc dword [0x429268]
jmp 0x405885
push edi
push 0xfffffffffffffff2
call fcn.00405156
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4057ed
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x4058b1
and word [ebx - 2], 0
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405903
cmp dword [ebp - 0xc], esi
jne 0x4058c5
inc dword [0x429268]
jmp 0x405903
push edi
call fcn.004061e5
test eax, eax
je 0x405903
push edi
call fcn.0040590a
mov eax, dword [ebp - 4]
or al, 1
push eax
push edi
call fcn.004056e9
test eax, eax
jne 0x4058fb
cmp dword [ebp - 4], esi
je 0x4058bd
push edi
push 0xfffffffffffffff1
call fcn.00405156
push esi
push edi
call fcn.00405d3c
jmp 0x405903
push edi
push 0xffffffffffffffe5
call fcn.00405156
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x405a12
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x424ed8
push esi
call fcn.00405ea2
push esi
call fcn.004059b5
mov edi, eax
test edi, edi
jne 0x405a33
xor eax, eax
jmp 0x405a8b
push edi
call fcn.00406136
test byte [0x4291f8], 0x80
je 0x405a50
mov ax, word [edi]
test ax, ax
je 0x405a2f
cmp ax, 0x5c
je 0x405a2f
sub edi, esi
sar edi, 1
jmp 0x405a6a
call fcn.004061e5
test eax, eax
je 0x405a64
test byte [eax], 0x10
je 0x405a2f
push esi
call fcn.00405956
push esi
call sub.KERNEL32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405a56
call fcn.0040590a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405b06
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405b25
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4

Function at 0x405b2b
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
push 0
inc ecx
neg ecx
sbb ecx, ecx
and ecx, eax
push ecx
push dword [esp + 0x14]
push 0
push 1
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
ret 0xc

Function at 0x405b5a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x64
pop edi
mov eax, dword [0x40953c]
dec edi
mov dword [ebp - 8], eax
mov eax, dword [0x409540]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x1a
xor edx, edx
pop ecx
div ecx
push esi
lea eax, [ebp - 8]
push 0
push eax
push dword [ebp + 0xc]
add word [ebp - 4], dx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x405baa
test edi, edi
jne 0x405b67
and word [esi], di
pop edi
pop esi
leave
ret 8
mov eax, esi
jmp 0x405ba4
Function at 0x405bae
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, 0x425d70
push 0x409560
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
test esi, esi
mov edi, 0x400
je 0x405bfd
push 1
push 0
push esi
call fcn.00405b2b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebx
push esi
call ebp
test eax, eax
je 0x405d36
cmp eax, edi
jg 0x405d36
mov esi, 0x426570
push edi
push esi
push dword [esp + 0x20]
call ebp
test eax, eax
je 0x405d36
cmp eax, edi
jg 0x405d36
push esi
push ebx
push str._ls_ls_r_n
push 0x425970
call dword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
mov eax, dword [0x4291f0]
add esp, 0x10
push dword [eax + 0x128]
push esi
call fcn.00405ec4
push 4
push 0xc0000000
push esi
call fcn.00405b2b
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
je 0x405d36
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405d2f
lea eax, [esp + 0x10]
push 0
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405d2f
cmp edi, dword [esp + 0x10]
jne 0x405d2f
push str._Rename__r_n
push esi
call fcn.00405a90
test eax, eax
jne 0x405cc5
lea eax, [esi + edi]
push str._Rename__r_n
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
add edi, 0xa
jmp 0x405cfa
add eax, 0xa
push 0x409544
push eax
call fcn.00405a90
mov ebp, eax
test ebp, ebp
je 0x405cf6
lea ecx, [esi + edi]
lea eax, [ecx + ebx]
jmp 0x405ce7
mov dl, byte [ecx]
mov byte [eax], dl
dec eax
dec ecx
cmp ecx, ebp
ja 0x405ce1
sub ebp, esi
inc ebp
mov eax, ebp
mov ebp, dword [esp + 0x1c]
jmp 0x405cfc
mov ebp, dword [esp + 0x1c]
mov eax, edi
push ebx
add eax, esi
push 0x425970
push eax
call fcn.00405ae6
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x10]
push 0
add edi, ebx
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x405d6f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 0x18]
push edi
push eax
mov eax, dword [ebp + 0x18]
xor edi, edi
neg eax
sbb eax, eax
mov esi, dword [ebp + 0x14]
and eax, 0x100
or eax, 0x20019
mov word [esi], di
push eax
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x405de3
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], 0x800
push eax
lea eax, [ebp + 0x14]
push esi
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x405dd0
cmp dword [ebp + 0x14], 1
je 0x405dd3
cmp dword [ebp + 0x14], 2
je 0x405dd3
mov word [esi], di
push dword [ebp + 0x18]
mov word [esi + 0x7fe], di
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
ret 0x14
Function at 0x4062ba
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x426d74], 0
push esi
jne 0x4062f1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4062cb
mov dword [ecx*4 + 0x426d70], eax
inc ecx
cmp ecx, 0x100
jl 0x4062c6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406322
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x426d70]
xor eax, esi
inc ecx
dec edx
jne 0x406304
pop edi
not eax
pop esi
ret 0xc
Function at 0xf58630
Capabilities:
Encode data using xor

Disassembly:
jmp 0xf5863a
pushal
call 0xf58640
pop ebp
sub ebp, 0x10
sub ebp, 0xb58630
jmp 0xf58656
mov eax, 0xb58630
add eax, ebp
add eax, 0x4c
mov ecx, 0x5dc
mov edx, 0xf56a3ca6
xor byte [eax], dl
inc eax
dec ecx
jne 0xf5866d
jmp 0xf58680
sub eax, 0x9a2f2d6b
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
daa
pop esi
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
movsd dword es:[edi], dword [esi]
imul ebx, dword [esi], 0xffffffa3
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
sbb al, 0x8e
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
push ecx
inc esp
movsd dword es:[edi], dword [esi]
outsb dx, byte [esi]
sub eax, 0xa6a6aa27
cmpsb byte [esi], byte es:[edi]
movsd dword es:[edi], dword [esi]
arpl si, si
test dh, 0x26
adc al, byte [edi + 0x7716cea6]
xor eax, 0x828aa7a6
into
cmp edx, dword [ecx - 0x5cb1b95e]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
dec edi
xchg esi, eax
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
sub eax, edx
sbb byte [edx + 0x2f], 0x8a
sub byte [ebx], 0xca
and byte [esi - 0x5951dcd3], 0xa6
cmpsb byte [esi], byte es:[edi]
sub eax, 0xa6a6aa33
cmpsb byte [esi], byte es:[edi]
sub eax, 0xa6a6b62b
cmpsb byte [esi], byte es:[edi]
dec edi
movsb byte es:[edi], byte [esi]
xchg edi, eax
movsb byte es:[edi], byte [esi]
and eax, 0xa9efa264
and edx, dword [edx + 0x59]
pop ecx
pop ecx
sti
stosb byte es:[edi], al
cmpsb byte [esi], byte es:[edi]
sub eax, 0xa6a2822a
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
into
adc al, byte es:[edi + 0x7716cea6]
xor eax, 0x828aa7a6
sub eax, edx
sbb byte [edx + 0x2f], 0xaa
or byte [esi - 0x5d], 0xa6
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
dec edi
mul dword [esi - 0x7d3dd45a]
pop edx
das
mov al, byte [edx - 0x2ca6b5d3]
stosb byte es:[edi], al
pop ecx
shr dword [esi - 0x595927b2], cl
cmpsb byte [esi], byte es:[edi]
sub eax, 0xa6a6ae1b
cmpsb byte [esi], byte es:[edi]
daa
push edi
int 0x1f
lodsd eax, dword [esi]
int 0x27
push edi
int 0x1f
lodsd eax, dword [esi]
int 0x95
outsd dx, dword [esi]
daa
push esp
aaa
fldenv [esi + ecx*2 + 0x27]
push esp
aaa
fldenv [esi + ecx*2 - 0x6b]
je 0xf58775
dec esi
mov dword [0xe822a9ee], eax
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
cmpsb byte [esi], byte es:[edi]
test eax, 0xa6a6ee2e
cmpsb byte [esi], byte es:[edi]
shr byte [0x5d269fba], 0x4e
test eax, 0xa6a6bc22
cmpsb byte [esi], byte es:[edi]
pop ebp
dec edi
test eax, 0xa6a6b722
cmpsb byte [esi], byte es:[edi]
shl byte [edi], 0x5d
pop ecx
sub dword [ecx - 0x59594cde], 0xffffffa6
out 0x4f, eax
push 0x59
pop ecx
pop ecx
invalid
Function at 0x406128
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40614d
mov dword [0x40a0f4], eax
add esp, 0xfffffff8
push 0x4060ec
push eax
call fcn.00407c20
jmp 0x406152
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x406168
mov dword [0x409054], 0x40624c
jmp 0x406172
mov dword [0x409054], 0x406200
leave
ret

Function at 0x4abdd0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x36000]
push edi
or ebp, 0xffffffff
jmp 0x4abdf2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4abdf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4abde8
mov eax, 1
add ebx, ebx
jne 0x4abe0b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4abe1c
jne 0x4abe3b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4abe3b
dec eax
add ebx, ebx
jne 0x4abe28
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4abe00
add ebx, ebx
jne 0x4abe37
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4abe8d
xor ecx, ecx
sub eax, 3
jb 0x4abe53
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4abec2
sar eax, 1
mov ebp, eax
jmp 0x4abe5e
add ebx, ebx
jne 0x4abe5e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4abe2c
inc ecx
add ebx, ebx
jne 0x4abe6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4abe2c
add ebx, ebx
jne 0x4abe79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4abe6e
jne 0x4abe8a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4abe6e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4abeac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4abe9e
jmp 0x4abdee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4abeac
add edi, ecx
jmp 0x4abdee
pop esi
mov edi, esi
mov ecx, 0x743
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4abeca
cmp byte [edi], 1
jne 0x4abeca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4abecf
lea edi, [esi + 0xa9000]
mov eax, dword [edi]
or eax, eax
je 0x4abf3e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xabb08]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xabbd0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4abefc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xabbd4]
or eax, eax
je 0x4abf38
mov dword [ebx], eax
add ebx, 4
jmp 0x4abf19
call dword [esi + 0xabbe4]
mov ebp, dword [esi + 0xabbd8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4abf72
sub esp, 0xffffff80
jmp 0x40bbf4
Function at 0x407241
Capabilities:
Resolve function by parsing pe exports

Disassembly:
inc ecx
push ebp
inc ecx
push esp
push ebp
push edi
push esi
push ebx
dec eax
sub esp, 0x88
dec eax
mov esi, dword [0x821a]
fld xword [ecx]
mov ecx, 8
mov edi, edx
dec eax
mov eax, dword [esi]
dec eax
mov dword [esp + 0x78], eax
xor eax, eax
fstp xword [esp + 0x20]
call fcn.0040c421
dec eax
test eax, eax
dec eax
mov ebx, eax
je 0x40737d
dec eax
lea ecx, [esp + 0x60]
dec eax
lea edx, [esp + 0x50]
dec esp
lea eax, [esp + 0x74]
fld xword [esp + 0x20]
fstp xword [esp + 0x50]
call fcn.0040b2b1
fldz
fld xword [esp + 0x60]
fucomi st(1)
fstp st(1)
jb 0x4073c8
fld1
fucomi st(1)
jbe 0x4073cc
fnstcw word [esp + 0x3e]
movzx eax, word [esp + 0x3e]
inc ecx
mov ecx, 2
inc ecx
mov eax, 2
or ah, 0xc
mov word [esp + 0x3c], ax
fld dword [0x7e7d]
fmul st(2), st(0)
fxch st(2)
fld st(0)
fldcw word [esp + 0x3c]
fistp dword [esp + 0x38]
fldcw word [esp + 0x3e]
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x20], eax
dec eax
mov edx, eax
fild qword [esp + 0x20]
fsubp st(1)
fldz
fxch st(1)
fucomi st(1)
jb 0x4073d2
fxch st(2)
fucomi st(2)
jbe 0x4073dc
fxch st(2)
fmulp st(3)
fxch st(2)
fld st(0)
fldcw word [esp + 0x3c]
fistp dword [esp + 0x38]
fldcw word [esp + 0x3e]
mov eax, dword [esp + 0x38]
dec eax
mov dword [esp + 0x20], eax
fild qword [esp + 0x20]
fsubp st(1)
fucomi st(2)
fstp st(2)
jb 0x4073e6
fucomi st(1)
jbe 0x4073ec
shl edx, 0x10
or edx, eax
inc ecx
cmp ecx, 1
inc edx
mov dword [ebx + eax*4 - 4], edx
inc ecx
mov eax, 1
jne 0x4073b4
fstp st(0)
fstp st(0)
mov edx, dword [ebx + 4]
test edx, edx
jne 0x4073c1
mov eax, dword [ebx]
xor ebp, ebp
test eax, eax
inc eax
setne ch
mov eax, dword [esp + 0x74]
dec ecx
mov ebp, ebx
inc esp
lea esp, [eax - 0x40]
dec eax
lea edx, [esp + 0x40]
inc ecx
mov ecx, edi
dec ecx
mov eax, ebx
inc esp
mov ecx, esp
dec eax
mov dword [esp + 0x40], ebp
dec esp
mov dword [esp + 0x48], ebp
call fcn.00406bd1
dec eax
mov edi, dword [esp + 0x78]
dec eax
xor edi, dword [esi]
jne 0x4073f5
dec eax
add esp, 0x88
pop ebx
pop esi
pop edi
pop ebp
inc ecx
pop esp
inc ecx
pop ebp
ret
inc ecx
mov ecx, 1
jmp 0x4072d2
mov ebp, 2
jmp 0x407372
fstp st(0)
jmp 0x4073f0
fstp st(0)
fstp st(0)
jmp 0x4073f0
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x4073f0
fstp st(0)
fstp st(0)
fstp st(0)
fstp st(0)
jmp 0x4073f0
fstp st(0)
fstp st(0)
jmp 0x4073f0
fstp st(0)
fstp st(0)
call fcn.0040c2d1
call fcn.0040c2a1
nop
nop word [eax + eax]
Function at 0x429986
Capabilities:
Encode data using xor

Disassembly:
add byte [ecx + ebp*4], dl
add dword [eax], eax
pushal
rol byte [eax], 1
add byte [ecx - 0x29], ch
add byte [eax], al
sub byte [ecx - 0x288fffff], ch
add byte [eax], al
wait
fadd dword [eax]
add byte [eax - 0x57], al
add dword [eax], eax
mov al, byte [0xea0000d8]
fadd dword [eax]
add byte [eax - 0x57], dl
add dword [eax], eax
invalid
pop eax
test eax, 0xd9100001
add byte [eax], al
mov ebp, 0x5c0000d9
test eax, 0xd9c00001
add byte [eax], al
xor ebx, edx
fiadd dword [eax]
add byte [ecx + ebp*4 + 1], ch
add byte [eax - 0x26], al
add byte [eax], al
ja 0x429985
add byte [eax], al
jl 0x429954
add dword [eax], eax
sbb dh, 0
add byte [ecx - 0x21], bl
fild word [eax]
add byte [ecx + ebp*4 - 0x209fffff], dl
Function at 0x40348a
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432e7a
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x490270]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
and dword [ebp - 0xa0], 0
lea eax, [ebp - 0x60]
push 0x4e
push 0
push eax
mov dword [ebp - 0x9c], 0x10
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.00405bc7
push 0x18
pop ecx
call fcn.00409911
mov esi, eax
test esi, esi
je 0x4034f9
push 6
pop ecx
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
jmp 0x4034fb
xor esi, esi
mov eax, dword [ebp - 0x9c]
xor ecx, ecx
push 2
pop edi
mul edi
seto cl
neg ecx
or ecx, eax
call fcn.00409911
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0xa8], eax
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x403544
and dword [ebx], 0
test esi, esi
je 0x403675
push esi
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_456]
pop ecx
jmp 0x403675
xor ecx, ecx
mov eax, 0x104
mul edi
seto cl
neg ecx
or ecx, eax
call fcn.00409911
mov edi, eax
mov dword [ebp - 0xac], edi
test edi, edi
je 0x40352c
call fcn.00418191
lea ecx, [ebp - 0x98]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x64]
cmp byte [ebp - 0x98], 0
jne 0x403591
and dword [ebx], 0
lea ecx, [ebp - 0x98]
call fcn.004049d8
jmp 0x40352f
cmp dword [ebp - 0x80], 8
lea eax, [ebp - 0x94]
cmovae eax, dword [ebp - 0x94]
push eax
push 0x437f3c
lea eax, [ebp - 0x60]
push 0x27
push eax
call fcn.00401d34
add esp, 0x10
cmp dword [ebp - 0x6c], 0
je 0x4035c9
cmp dword [ebp - 0x68], 8
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
jmp 0x4035ce
mov eax, 0x437f44
push eax
push 0x437f3c
push 0x104
push edi
call fcn.00401d34
and dword [ebp - 0xa4], 0
lea eax, [ebp - 0x60]
add esp, 0x10
push 0x4e
push eax
push 0
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_252]
push 4
mov dword [ebp - 0xa4], eax
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_653]
xor ecx, ecx
mov dword [ebp - 0xa0], eax
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
call fcn.00409911
mov edi, eax
lea eax, [ebp - 0xa0]
push eax
push edi
lea eax, [ebp - 0xa4]
push 4
push eax
call dword [sym.imp.Mso20Win32Client.dll_Ordinal_749]
add esp, 0x10
cmp byte [ebp - 0x64], 0
je 0x403646
push 0x2d
pop eax
mov word [edi], ax
mov eax, dword [ebp - 0xa8]
lea ecx, [ebp - 0x98]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xac]
mov dword [esi + 8], eax
mov dword [esi], edi
mov dword [esi + 0x10], 1
mov dword [esi + 0x14], 0x10
mov dword [ebx], esi
call fcn.004049d8
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00430c8a
mov esp, ebp
pop ebp
ret