joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404d2f
Capabilities:
Set file attributes

Disassembly:
test edx, 0xf0000000
je 0x404d3d
and edx, 0x3fff
jmp fcn.00404ca1

Function at 0x404d42
Capabilities:
Delete directory

Disassembly:
mov eax, 0x434194
call fcn.004336f0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.004074d1
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x404d71
push edi
call esi
test eax, eax
je 0x404d71
mov al, 1
jmp 0x404db5
test ebx, ebx
je 0x404db3
lea ecx, [ebp - 0x18]
call fcn.004028a5
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004075da
test al, al
push dword [ebp - 0x18]
je 0x404dad
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401a79
test esi, esi
pop ecx
setne al
jmp 0x404db5
call fcn.00401a79
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x404dc4
Capabilities:
Move file

Disassembly:
mov eax, 0x4341b0
call fcn.004336f0
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], ecx
call fcn.004074d1
mov ecx, dword [ebp - 0x10]
mov esi, eax
call fcn.004074d1
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileW]
mov dword [ebp - 0x14], eax
push 1
pop ebx
cmp esi, ebx
je 0x404e0d
cmp eax, ebx
je 0x404e0d
push dword [ebp - 0x10]
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x404e0d
mov al, bl
jmp 0x404e84
test esi, esi
jne 0x404e16
cmp dword [ebp - 0x14], esi
je 0x404e82
lea ecx, [ebp - 0x30]
call fcn.004028a5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.004028a5
cmp esi, ebx
mov byte [ebp - 4], bl
je 0x404e36
cmp dword [ebp - 0x14], ebx
jne 0x404e38
xor ebx, ebx
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x24]
push ebx
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00407b46
test al, al
push dword [ebp - 0x24]
je 0x404e73
push dword [ebp - 0x30]
call edi
mov esi, eax
push dword [ebp - 0x24]
call fcn.00401a79
push dword [ebp - 0x30]
call fcn.00401a79
pop ecx
test esi, esi
pop ecx
setne al
jmp 0x404e84
call fcn.00401a79
push dword [ebp - 0x30]
call fcn.00401a79
pop ecx
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x404f8f
Capabilities:
Create directory

Disassembly:
mov eax, 0x4341e0
call fcn.004336f0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.004074d1
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
cmp ebx, 1
je 0x404fcd
push 0
push edi
call esi
test eax, eax
je 0x404fc0
mov al, 1
jmp 0x405016
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x405014
test ebx, ebx
je 0x405014
lea ecx, [ebp - 0x18]
call fcn.004028a5
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004075da
test al, al
je 0x40500b
push 0
push dword [ebp - 0x18]
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401a79
test esi, esi
pop ecx
setne al
jmp 0x405016
push dword [ebp - 0x18]
call fcn.00401a79
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x405166
Capabilities:
Create directory

Disassembly:
mov eax, 0x434223
call fcn.004336f0
sub esp, 0x7c
push ebx
push esi
push edi
mov esi, ecx
call fcn.004074d1
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 1
je 0x4051ab
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x40519e
mov al, 1
jmp 0x40528e
call ebx
cmp eax, 0xb7
je 0x40523f
test edi, edi
je 0x40523f
lea ecx, [ebp - 0x18]
call fcn.004028a5
and dword [ebp - 4], 0
cmp edi, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, esi
call fcn.004075da
test al, al
je 0x405232
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4051e7
mov bl, 1
jmp 0x40522d
call ebx
cmp eax, 0xb7
je 0x4051f4
xor bl, bl
jmp 0x40522d
lea ecx, [ebp - 0x50]
call fcn.00405bfc
lea ecx, [ebp - 0x28]
call fcn.004028a5
push dword [ebp - 0x18]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.00405c9c
test al, al
jne 0x40521b
xor bl, bl
jmp 0x405224
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.00401a79
pop ecx
push dword [ebp - 0x18]
jmp 0x405286
push dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
call fcn.00401a79
pop ecx
call ebx
cmp eax, 0xb7
je 0x40524c
xor al, al
jmp 0x40528e
lea ecx, [ebp - 0x88]
call fcn.00405bfc
lea ecx, [ebp - 0x60]
call fcn.004028a5
push esi
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 2
call fcn.00405c9c
test al, al
jne 0x40527a
xor bl, bl
jmp 0x405283
mov ebx, dword [ebp - 0x68]
shr ebx, 4
and bl, 1
push dword [ebp - 0x60]
call fcn.00401a79
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4052a7
Capabilities:
Delete file

Disassembly:
mov eax, 0x434238
call fcn.004336f0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.00405c1f
cmp eax, 0xffffffff
je 0x4052db
test al, 0x10
jne 0x4052db
test al, 1
je 0x4052db
mov edx, eax
mov ecx, edi
and edx, 0xfffffffe
call fcn.00404ca1
test al, al
je 0x40533c
mov ecx, edi
call fcn.004074d1
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
cmp ebx, 1
je 0x4052fa
push edi
call esi
test eax, eax
je 0x4052fa
mov al, 1
jmp 0x40533e
test ebx, ebx
je 0x40533c
lea ecx, [ebp - 0x18]
call fcn.004028a5
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004075da
test al, al
push dword [ebp - 0x18]
je 0x405336
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401a79
test esi, esi
pop ecx
setne al
jmp 0x40533e
call fcn.00401a79
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x405c1f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x4342f0
call fcn.004336f0
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
call fcn.004074d1
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 1
je 0x405c4b
push edi
call esi
cmp eax, 0xffffffff
jne 0x405c8d
test ebx, ebx
je 0x405c8a
lea ecx, [ebp - 0x18]
call fcn.004028a5
and dword [ebp - 4], 0
cmp ebx, 1
setne al
push eax
lea edx, [ebp - 0x18]
mov ecx, edi
call fcn.004075da
test al, al
push dword [ebp - 0x18]
je 0x405c84
call esi
mov esi, eax
push dword [ebp - 0x18]
call fcn.00401a79
pop ecx
mov eax, esi
jmp 0x405c8d
call fcn.00401a79
pop ecx
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406284
Capabilities:
Get disk information

Disassembly:
mov eax, 0x434394
call fcn.004336f0
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], ecx
call fcn.0041c7b3
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push 0
push 0
call edi
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x14], ebx
je 0x406352
mov eax, SysReAllocString
cmp ebx, eax
ja 0x4062c0
mov eax, ebx
add eax, eax
push eax
call fcn.00401a52
mov esi, eax
pop ecx
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
push esi
push ebx
call edi
mov ebx, eax
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x10], ebx
je 0x40634b
cmp ebx, dword [ebp - 0x14]
ja 0x40634b
lea ecx, [ebp - 0x2c]
call fcn.004028a5
test ebx, ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x14], edi
jbe 0x406333
push 2
xor eax, eax
pop ebx
cmp word [esi + ebx - 2], 0
jne 0x406328
add eax, esi
lea ecx, [ebp - 0x2c]
push eax
call fcn.004029e4
mov ecx, dword [ebp - 0x18]
lea eax, [edi + 1]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x1c], ebx
call fcn.0040150c
mov eax, ebx
inc edi
inc ebx
inc ebx
cmp edi, dword [ebp - 0x10]
jb 0x4062fe
mov ebx, dword [ebp - 0x10]
push dword [ebp - 0x2c]
call fcn.00401a79
push esi
call fcn.00401a79
cmp dword [ebp - 0x14], ebx
pop ecx
pop ecx
sete al
jmp 0x406354
push esi
call fcn.00401a79
pop ecx
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x406435
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [ecx + 4], 0
push esi
je 0x406456
cmp byte [ecx + 5], 0
je 0x406456
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov dword [eax], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 4], ecx
jmp 0x406495
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x406477
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x406477
xor al, al
jmp 0x406497
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.00433a20
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x41954f
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x43578a
call fcn.004336f0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.004028a5
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.004195a9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4195fb
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4357d5
call fcn.004336f0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.00421f9d
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00419651
push dword [esi + 0x24]
call fcn.00401a79
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00430d45
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00419b8e
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41b19b
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateDecoder
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 8], edi
mov ebx, dword [ecx + eax*4 - 4]
push dword [ebx]
call esi
push str.CreateEncoder
mov dword [ebx + 0x18], eax
push dword [ebx]
call esi
push str.GetMethodProperty
mov dword [ebx + 0x1c], eax
push dword [ebx]
call esi
test eax, eax
mov dword [ebx + 0x14], eax
je 0x41b2a7
push str.GetNumberOfMethods
mov dword [ebp - 0xc], 1
push dword [ebx]
call esi
test eax, eax
je 0x41b207
lea ecx, [ebp - 0xc]
push ecx
call eax
test eax, eax
jne 0x41b300
and dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0
jbe 0x41b2a7
jmp 0x41b21a
mov edi, dword [ebp - 8]
mov eax, dword [edi + 0x10]
mov edx, dword [ebp - 4]
dec eax
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 3
mov dword [ebp - 0x34], edx
call fcn.0041b305
test eax, eax
jne 0x41b300
mov edx, dword [ebp - 4]
mov ecx, dword [ebx + 0x14]
lea eax, [ebp - 0x2f]
push eax
lea eax, [ebp - 0x1c]
push eax
push 2
call fcn.0041b305
test eax, eax
jne 0x41b300
mov eax, dword [ebp - 8]
push 0xb
pop ecx
lea esi, [ebp - 0x38]
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
lea esi, [eax + 0x34]
mov ecx, esi
call fcn.0041cb66
mov edi, dword [esi + 4]
mov eax, dword [ebp - 8]
imul edi, edi, 0x2c
add edi, dword [esi]
push 0xb
pop ecx
lea esi, [ebp - 0x64]
add eax, 0x34
rep movsd dword es:[edi], dword [esi]
inc dword [eax + 4]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jb 0x41b217
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp - 8]
push str.GetHashers
push dword [ebx]
call esi
test eax, eax
je 0x41b2fe
add ebx, 0x24
push ebx
call eax
test eax, eax
jne 0x41b300
mov ebx, dword [ebx]
test ebx, ebx
je 0x41b2fe
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
and dword [ebp - 0xc], 0
mov dword [ebp - 8], eax
test eax, eax
jbe 0x41b2fe
lea esi, [edi + 0x40]
mov ebx, dword [edi + 0x10]
mov ecx, esi
dec ebx
call fcn.00427cc7
mov ecx, dword [esi + 4]
mov edx, dword [esi]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx*8], ebx
mov dword [edx + ecx*8 + 4], eax
inc dword [esi + 4]
inc eax
cmp eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
jb 0x41b2d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41b99e
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x435b0a
call fcn.004336f0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 1
call fcn.00430d45
and byte [ebp - 4], 0
lea ecx, [esi + 0x18]
call fcn.0041c726
push dword [esi + 0xc]
call fcn.00401a79
pop ecx
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret
Function at 0x41c940
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x435d12
call fcn.004336f0
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 0x10], ebx
mov eax, dword [esi]
lea ecx, [ebx + 0xc]
mov dword [ebx], eax
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
lea eax, [esi + 0xc]
push eax
call fcn.00402978
and dword [ebp - 4], 0
lea eax, [esi + 0x18]
push eax
lea ecx, [ebx + 0x18]
call fcn.0041ca15
mov eax, dword [esi + 0x24]
lea ecx, [ebx + 0x30]
mov dword [ebx + 0x24], eax
mov al, byte [esi + 0x28]
mov byte [ebx + 0x28], al
mov al, byte [esi + 0x29]
mov byte [ebx + 0x29], al
mov eax, dword [esi + 0x2c]
mov dword [ebx + 0x2c], eax
lea eax, [esi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.0041cace
mov eax, dword [esi + 0x3c]
add esi, 0x44
mov dword [ebx + 0x3c], eax
mov eax, dword [esi - 4]
lea edi, [ebx + 0x44]
mov dword [ebx + 0x40], eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
mov eax, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x423221
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x436455
call fcn.004336f0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x10]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
lea eax, [edi + 0x10]
push eax
call fcn.00402978
and dword [ebp - 4], 0
lea eax, [edi + 0x1c]
push eax
lea ecx, [esi + 0x1c]
call fcn.00402978
mov eax, dword [edi + 0x28]
lea ecx, [esi + 0x30]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
lea eax, [edi + 0x30]
push eax
mov byte [ebp - 4], 1
call fcn.00402978
lea eax, [edi + 0x3c]
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00402978
mov al, byte [edi + 0x48]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x48], al
mov al, byte [edi + 0x49]
mov byte [esi + 0x49], al
mov al, byte [edi + 0x4a]
mov byte [esi + 0x4a], al
mov al, byte [edi + 0x4b]
mov byte [esi + 0x4b], al
mov al, byte [edi + 0x4c]
mov byte [esi + 0x4c], al
mov al, byte [edi + 0x4d]
mov byte [esi + 0x4d], al
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov al, byte [edi + 0x6c]
mov byte [esi + 0x6c], al
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x427d47
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x436a43
call fcn.004336f0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43a888
mov dword [esi + 4], 0x43a874
mov dword [esi + 8], 0x438e48
mov dword [esi + 0xc], 0x43a858
mov dword [esi + 0x10], 0x43a844
mov dword [esi + 0x14], 0x43a834
mov dword [esi + 0x18], 0x438e38
mov dword [esi + 0x1c], 0x438e28
mov dword [esi + 0x20], 0x43a82c
mov dword [esi + 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
or dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
call fcn.004028a5
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 5
call fcn.004028a5
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
or dword [esi + 0x9c], 0xffffffff
mov byte [ebp - 4], 7
mov dword [esi + 0x90], ebx
mov dword [esi + 0x94], ebx
mov dword [esi + 0x98], ebx
mov dword [esi + 0xa0], ebx
mov byte [esi + 0xa4], bl
mov byte [esi + 0xa5], bl
mov byte [esi + 0xa6], bl
mov byte [esi + 0xa7], bl
mov byte [esi + 0xa8], bl
mov byte [esi + 0xa9], bl
mov byte [esi + 0xaa], bl
mov dword [esi + 0xac], ebx
mov dword [esi], 0x43a800
mov dword [esi + 4], 0x43a7ec
mov dword [esi + 8], 0x43a7d4
mov dword [esi + 0xc], 0x43a7b8
mov dword [esi + 0x10], 0x43a7a4
mov dword [esi + 0x14], 0x43a794
mov dword [esi + 0x18], 0x43a784
mov dword [esi + 0x1c], 0x43a774
mov dword [esi + 0x20], 0x43a76c
call fcn.0040d4aa
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x28], al
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42f89f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x4371da
call fcn.004336f0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x43c6f0
mov dword [esi + 4], 0x43c6d8
mov dword [esi + 8], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 1
call fcn.004028a5
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x24], 1
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x4c], bl
mov byte [esi + 0x4d], bl
mov dword [esi], 0x43c6bc
mov dword [esi + 4], 0x43c6a4
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x433480
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x4334a8
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4334b7
mov eax, 1
ret 4

Function at 0x433adc
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cdc0
push 0x433ad6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
and dword [ebp - 4], 0
push 1
call dword [sym.imp.MSVCRT.dll___set_app_type]
pop ecx
or dword [0x446748], 0xffffffff
or dword [0x44674c], 0xffffffff
call dword [sym.imp.MSVCRT.dll___p__fmode]
mov ecx, dword [0x444730]
mov dword [eax], ecx
call dword [sym.imp.MSVCRT.dll___p__commode]
mov ecx, dword [0x44472c]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCRT.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x446744], eax
call fcn.00433c1f
cmp dword [0x444420], 0
jne 0x433b5f
push 0x433c1c
call dword [sym.imp.MSVCRT.dll___setusermatherr]
pop ecx
call fcn.00433c0a
push 0x444034
push 0x444030
call sub.MSVCRT.dll__initterm
mov eax, dword [0x444728]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x444724]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.MSVCRT.dll___getmainargs]
push 0x44402c
push section..data
call sub.MSVCRT.dll__initterm
call dword [sym.imp.MSVCRT.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x2c]
push dword [ebp - 0x1c]
call fcn.00431004
add esp, 0x30
mov dword [ebp - 0x24], eax
push eax
call dword [sym.imp.MSVCRT.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x30], ecx
push eax
push ecx
call sub.MSVCRT.dll__XcptFilter
pop ecx
pop ecx
ret
Function at 0x408930
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
mov esi, 0x4085d8
add edx, ecx
inc ecx
call fcn.00408959
dec ecx
xor dword [edi], esi
or ecx, ecx
inc edi
mov edx, 0x6bbd09c3
sub edx, 1
cmp edi, eax
jne fcn.00408930
sub edx, 0x4577ed90
ret
Function at 0x5328a3
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push esi
mov esi, dword [0x53114c]
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0xc]
xor ebx, ebx
push ebx
push dword [eax + 0x18]
call esi
push dword [edi + 0x10]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [edi + 0x14]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [edi + 0x18]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [edi + 0x20]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
push dword [edi + 0x1c]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push ebx
push dword [eax + 0x18]
call esi
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push ebx
push dword [eax + 0x18]
call esi
pop edi
pop esi
pop ebx
pop ebp
ret 4
Function at 0x53317d
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x533188
sub eax, edx
push esi
sar eax, 1
lea esi, [eax + eax + 2]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call dword [0x531150]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
test eax, eax
jne 0x5331be
push 0xe
pop eax
jmp 0x5331cd
push esi
push dword [ebp + 0xc]
push eax
call fcn.005337b8
add esp, 0xc
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x53a4fb
Capabilities:
Encode data using xor

Disassembly:
call 0x53a474
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x53a4a4
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x53a4c0
xor edx, 0
jmp 0x53a4cb
xor edx, edx
jmp 0x53a4e2
jmp 0x53a4ee
xor eax, eax
push 0x8427d7c0
call 0x53a4fb
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x53a537
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x53a510
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x53a54e
add eax, 0
jno 0x53a553
add esi, 0
ret 0x10