joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c9c2
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.0044c04b
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b9a8
push dword [ebp + 8]
mov dword [ebp - 4], eax
push eax
call fcn.0044c029
add esp, 0x10
call fcn.0042c45f
test al, al
je 0x42ca23
pop edx
push esi
pop edx
push esi
push ebp
push esp
pop edi
push eax
pop edi
push edx
pop esi
pop esi
push ecx
pop ebx
pop ebx
push ebp
pop esp
push esi
pop ebp
pop eax
pop ecx
push ecx
push eax
pop edi
push esi
pop ebp
push esi
pop ebx
pop ecx
push eax
pop ebp
push edi
call fcn.0042c4a4
test al, al
je 0x42ca3d
pop esi
push esp
push ecx
pop edx
push ebp
pop edx
push eax
pop eax
push esp
pop ebx
push ebp
push eax
pop esi
pop eax
pop ebx
push edi
push esp
call fcn.0042c79b
test al, al
je 0x42ca66
push edx
push esp
pop esp
pop esi
push ebx
pop eax
pop edi
push eax
push ecx
pop esp
pop edi
push edi
pop esp
pop ebp
pop ecx
pop ecx
push eax
push eax
push ecx
pop edi
pop ebp
pop ebp
push esp
pop ebx
push ebp
push eax
push ecx
push ebx
pop ebp
pop esp
pop eax
pop ecx
mov eax, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
mov dword [ebp - 0xc], ebx
test eax, eax
js 0x42cb23
mov esi, dword [ebp - 4]
cmp word [esi + ebx*2], 0x5c
jne 0x42cb14
call fcn.0042c4a4
test al, al
je 0x42caad
push eax
pop esi
pop edi
pop esp
push esi
pop edi
pop ecx
pop ebp
push ebx
pop ebp
push ecx
push ecx
push eax
push edi
push ebx
pop esi
pop eax
pop edx
push esi
push esp
push edi
pop ecx
pop ebx
push ecx
pop ebx
push edx
pop edx
pop esp
pop edx
call fcn.0042c0de
test al, al
je 0x42cacc
push ebp
pop ecx
push esp
pop edx
push ecx
push ebx
push edi
push esp
pop ebx
pop eax
pop edx
pop edx
push ebx
pop esi
pop ecx
push ebx
push esi
pop ecx
push ebx
push edx
push ebp
pop edi
call fcn.0042c2c1
test al, al
je 0x42cae6
push edi
pop esp
pop edx
push eax
push edx
pop ebp
push ebx
push esp
push esp
pop esi
pop esp
pop eax
push ebx
push ecx
push esp
push esp
pop ecx
mov esi, dword [ebp - 4]
xor eax, eax
mov ebx, dword [ebp - 0xc]
push esi
movzx edi, word [esi + ebx*2]
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42cb0d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42cb35
mov eax, dword [ebp - 8]
mov word [esi + ebx*2], di
inc ebx
mov dword [ebp - 0xc], ebx
cmp ebx, eax
jle 0x42ca7c
xor esi, esi
inc esi
push dword [ebp - 4]
call fcn.0041b970
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x42cb23
Function at 0x42cb39
Capabilities:
Get common file path
Get disk information

Disassembly:
push 0x22c
mov eax, 0x59a4af
call fcn.00591d11
mov eax, dword [ebp + 8]
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
push esi
push esi
mov dword [ebp - 0x238], eax
call ebx
mov edi, eax
test edi, edi
je 0x42cc5f
push 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0043c880
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor ecx, ecx
lea esi, [edi + 1]
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041b9a8
push esi
xor ecx, ecx
mov dword [ebp - 0x234], eax
push ecx
push eax
call fcn.0043c880
add esp, 0x10
push dword [ebp - 0x234]
push edi
call ebx
mov ebx, dword [ebp - 0x234]
xor eax, eax
mov esi, ebx
cmp word [ebx], ax
je 0x42cc58
mov bh, byte [ebp + 0xc]
mov bl, byte [ebp + 0x10]
mov edi, dword [ebp - 0x238]
test bh, bh
je 0x42cbf9
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0043e244
pop ecx
pop ecx
test eax, eax
jne 0x42cc3e
test bl, bl
je 0x42cc0b
movzx eax, byte [esi]
push eax
call fcn.0042d8d5
pop ecx
test al, al
jne 0x42cc3e
push esi
lea ecx, [ebp - 0x230]
call fcn.004026c0
xor ecx, ecx
lea eax, [ebp - 0x230]
mov dword [ebp - 4], ecx
mov ecx, edi
push eax
call fcn.00425286
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
xor eax, eax
push eax
push 1
call fcn.00402920
push esi
call fcn.0044c04b
pop ecx
lea esi, [esi + eax*2]
xor eax, eax
add esi, 2
cmp word [esi], ax
jne 0x42cbe2
mov ebx, dword [ebp - 0x234]
push ebx
call fcn.0041b970
pop ecx
call fcn.00591ccc
ret
Function at 0x42cc65
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6200b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
push esi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x214], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
call fcn.0042d7c1
lea eax, [ebp - 0x20c]
push eax
call fcn.0044c04b
add esp, 0x14
mov dword [ebp - 0x210], eax
call fcn.0042c1ad
test al, al
je 0x42ccd7
pop edi
pop edi
push esp
pop esp
pop edx
pop esi
pop ebx
pop ebx
push edi
push eax
pop esi
pop edx
pop ebx
pop ecx
push ebx
pop edi
pop ebx
pop esi
pop esi
push ebx
pop edx
pop ecx
push ecx
push esi
pop ebp
push eax
call fcn.0042c86a
test al, al
je 0x42ccf1
pop ebx
pop ebp
push esi
push eax
pop edi
push ecx
pop esi
pop edx
pop edx
push ebx
pop esi
push ebp
pop ebp
pop ebx
pop esi
pop ebx
pop edi
cmp dword [ebp - 0x210], 0
je 0x42cded
mov esi, 0x617b78
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044bfb8
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.0044bfb8
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0044bfb8
add esp, 0x18
call fcn.0042c390
test al, al
je 0x42cd57
pop eax
pop ebp
pop edi
push ebx
push esi
pop edx
pop esp
push edx
pop esi
pop edx
push esp
pop edx
push ebx
pop edi
push esp
push ebp
push edx
pop esp
push edx
push edi
push esp
pop esp
pop ecx
pop ecx
pop ebx
push edi
push ebp
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42cd75
lea eax, [ebp - 0x20c]
push eax
call fcn.0042c9c2
pop ecx
call fcn.0042c168
test al, al
je 0x42cd99
pop esi
pop eax
push edx
push edx
push esi
pop esp
pop eax
pop edi
pop esi
pop esp
push esi
pop eax
push esp
push eax
push ebp
push ebx
pop ebp
push edx
push esp
pop edx
push edx
pop edx
push edx
push eax
pop eax
pop ecx
push esp
call fcn.0042c6cc
test al, al
je 0x42cdbf
push edx
pop ebp
pop ebx
pop ecx
pop ebx
push ebx
pop ebx
push edi
pop esi
push edx
push ebx
pop ebp
push ecx
push ecx
pop esp
pop edi
pop edx
push eax
pop ebp
pop esi
pop edi
push edx
pop ebp
push ebp
pop eax
push ebx
push edx
push eax
pop eax
cmp word [ebp - 0x20c], 0
jne 0x42cdcd
xor eax, eax
jmp 0x42cdda
lea eax, [ebp - 0x20c]
push eax
call fcn.0044c04b
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004029e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b6a9
mov esp, ebp
pop ebp
ret
Function at 0x42cdfe
Capabilities:
Get disk information
Get disk size

Disassembly:
push 0x4c
mov eax, 0x59a500
call fcn.00591d11
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
xor eax, eax
inc eax
push eax
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0042cb39
mov dword [edi + 0x14], 7
add esp, 0xc
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], ebx
jb 0x42ce46
mov eax, dword [edi]
jmp 0x42ce48
mov eax, edi
xor ecx, ecx
mov word [eax], cx
mov esi, dword [ebp - 0x40]
xorps xmm0, xmm0
mov dword [ebp - 0x44], 1
movlpd qword [ebp - 0x30], xmm0
cmp esi, dword [ebp - 0x3c]
je 0x42cf09
mov eax, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
push esi
lea ecx, [ebp - 0x28]
call fcn.00402720
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
je 0x42ceed
cmp eax, 5
je 0x42ceed
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x50]
push ecx
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x30]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42ceed
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
jb 0x42ceed
mov eax, dword [ebp - 0x30]
ja 0x42cecd
cmp eax, dword [ebp - 0x34]
jbe 0x42ceed
lea edx, [ebp - 0x28]
cmp edi, edx
je 0x42cee8
push 0xffffffffffffffff
push 0
mov eax, edx
mov ecx, edi
push eax
call fcn.00402ae0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov ebx, ecx
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00402920
add esi, 0x18
cmp esi, dword [ebp - 0x3c]
jne 0x42ce71
lea ecx, [ebp - 0x40]
call fcn.00407690
mov eax, edi
call fcn.00591ccc
ret
Function at 0x42d1ab
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6200b8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x625528], 0
push ebx
push esi
push edi
je 0x42d21d
call fcn.0042c168
test al, al
je 0x42d1ee
pop esi
pop eax
push edx
push edx
push esi
pop esp
pop eax
pop edi
pop esi
pop esp
push esi
pop eax
push esp
push eax
push ebp
push ebx
pop ebp
push edx
push esp
pop edx
push edx
pop edx
push edx
push eax
pop eax
pop ecx
push esp
call fcn.0042c6cc
test al, al
je 0x42d313
push edx
pop ebp
pop ebx
pop ecx
pop ebx
push ebx
pop ebx
push edi
pop esi
push edx
push ebx
pop ebp
push ecx
push ecx
pop esp
pop edi
pop edx
push eax
pop ebp
pop esi
pop edi
push edx
pop ebp
push ebp
pop eax
push ebx
push edx
push eax
pop eax
jmp 0x42d313
call fcn.0042c168
test al, al
je 0x42d238
pop edi
pop esi
push ebp
push esi
pop edi
push eax
pop eax
push esi
pop edx
pop edi
push ecx
pop eax
push edx
pop ecx
push ebp
pop ecx
push ebx
pop edx
call fcn.0042c711
test al, al
je 0x42d25f
pop esp
push eax
pop esi
pop esi
push eax
push eax
push edi
push ecx
pop ebx
push eax
push edi
push ebp
pop esp
push eax
push esi
push ebp
push ecx
pop esi
push eax
pop edx
pop edi
push ecx
pop eax
push esp
push esi
pop edx
pop esp
pop ebx
push eax
push esi
call fcn.0042c27c
test al, al
je 0x42d27a
push eax
pop edi
pop ecx
push ebp
pop edi
pop ecx
push ecx
push ecx
push edi
pop ebp
pop ebx
pop ecx
push eax
push edi
push ebx
push edi
push ebx
push esp
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0043c880
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42d2ea
lea eax, [ebp - 0x20c]
push eax
call fcn.0044c3a9
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.0043e244
pop ecx
pop ecx
test eax, eax
jne 0x42d2e3
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.0043e244
pop ecx
pop ecx
test eax, eax
je 0x42d2ea
mov byte [0x625528], 1
call fcn.0042c3d5
test al, al
je 0x42d313
pop esp
push edi
pop esi
pop esp
pop edx
push ebp
push ebp
pop edx
pop edx
pop ebp
pop edi
push edi
pop edx
pop eax
pop ecx
push esp
push ebp
push ebp
push ebp
push edx
pop esi
pop edi
push eax
pop ebp
pop edi
pop ebx
push ebx
pop edx
push eax
pop esi
pop edx
pop esi
mov ecx, dword [ebp - 4]
mov al, byte [0x625528]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041b6a9
mov esp, ebp
pop ebp
ret
Function at 0x42e06d
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x6200b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.0043c880
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0042c52e
test al, al
je 0x42e0d6
push eax
push eax
pop edx
push esp
pop ebp
push esp
push edx
push edi
pop esp
pop ecx
pop esi
push ebx
pop ebp
push esi
pop esi
push eax
pop esi
pop edx
pop edx
call fcn.0042c34b
test al, al
je 0x42e0fa
push edx
push esi
pop ebx
push esi
push eax
pop edi
push esi
pop ecx
push ecx
pop edi
pop ebx
pop edx
push edx
pop ebx
push edi
push ebx
pop ebp
pop edi
pop esp
push edx
push esp
push esi
pop ecx
push esp
pop ebx
push esi
pop ebp
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x128], eax
call fcn.0042c52e
test al, al
je 0x42e138
push esp
pop edi
pop ebp
push ebp
pop edx
pop edx
pop ecx
push esi
push eax
push ebx
pop ecx
pop ebp
pop ecx
push edx
push ebp
push ebp
pop ebx
push edi
push esp
push ebp
pop esi
pop esi
pop ebp
pop edx
push eax
pop edi
pop ebp
pop edi
push esi
call fcn.0042c1f2
test al, al
je 0x42e15a
push ecx
push esp
pop eax
push ecx
pop ebx
pop ecx
pop esi
pop esp
pop esp
push eax
pop ecx
pop ebx
pop edx
push esp
push ecx
pop ecx
pop edx
pop edi
pop ebp
pop edx
pop esi
push esi
pop ebp
push ecx
pop edi
cmp dword [ebp - 0x124], 5
jg 0x42e171
cmp dword [ebp - 0x128], 2
jg 0x42e171
xor eax, eax
inc eax
jmp 0x42e173
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b6a9
mov esp, ebp
pop ebp
ret
Function at 0x42e54e
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6a4
mov eax, dword [0x6200b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, dword [ebp + 8]
mov word [ebp - 0x18], ax
lea edi, [ebp - 0x16]
stosd dword es:[edi], eax
and dword [ebp - 0x6a4], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x284]
mov edi, 0x208
push edi
push 0
push eax
call fcn.0043c880
add esp, 0xc
lea eax, [ebp - 0x284]
mov ebx, 0x104
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x59cf60
call fcn.0044c04b
push eax
lea eax, [ebp - 0x284]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0044d29d
push edi
lea eax, [ebp - 0x694]
push 0
push eax
call fcn.0043c880
push edi
xor edi, edi
lea eax, [ebp - 0x48c]
push edi
push eax
call fcn.0043c880
push 0x64
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x698], edi
push edi
push eax
mov dword [ebp - 0x6a0], edi
mov dword [ebp - 0x69c], edi
call fcn.0043c880
add esp, 0x34
lea eax, [ebp - 0x48c]
push ebx
push eax
lea eax, [ebp - 0x69c]
push eax
lea eax, [ebp - 0x6a0]
push eax
lea eax, [ebp - 0x698]
push eax
push ebx
lea eax, [ebp - 0x694]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x42e64c
push dword [ebp - 0x698]
lea eax, [ebp - 0x7c]
push str._08X
push eax
call fcn.00409820
add esp, 0xc
lea eax, [ebp - 0x7c]
mov ecx, esi
push eax
call fcn.004027d0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041b6a9
mov esp, ebp
pop ebp
ret 4
Function at 0x42eaf8
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x42eb0c
xor eax, eax
jmp 0x42ec4a
mov eax, ebx
shl eax, 3
push 6
pop ecx
cdq
idiv ecx
mov edx, ebx
imul ecx, eax, 6
shl edx, 3
push 3
sub edx, ecx
dec edx
pop ecx
sub edx, 1
je 0x42eb35
dec edx
sub edx, 1
jne 0x42eb37
add eax, 2
jmp 0x42eb37
add eax, ecx
push esi
mov esi, dword [ebp + 0x14]
inc eax
cmp dword [esi], eax
jge 0x42eb4a
push 0xfffffffffffffff0
mov dword [esi], eax
pop eax
jmp 0x42ec49
mov eax, ebx
cdq
idiv ecx
xor ecx, ecx
imul eax, eax, 3
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x42ebe0
dec eax
mov ebx, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
div ecx
inc eax
imul ecx, eax, 3
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 1]
mov eax, ecx
movzx esi, byte [ebx + 2]
add ebx, 3
shr eax, 2
shl ecx, 4
mov al, byte [eax + 0x59faa8]
mov byte [edi], al
mov eax, edx
shr eax, 4
add eax, ecx
and eax, 0x3f
mov al, byte [eax + 0x59faa8]
mov byte [edi + 1], al
mov eax, esi
shr eax, 6
and esi, 0x3f
lea eax, [eax + edx*4]
and eax, 0x3f
mov al, byte [eax + 0x59faa8]
mov byte [edi + 2], al
mov al, byte [esi + 0x59faa8]
mov byte [edi + 3], al
add edi, 4
sub dword [ebp - 4], 1
jne 0x42eb75
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
jmp 0x42ebe3
mov eax, dword [ebp + 8]
cmp ecx, ebx
jge 0x42ec3c
movzx edx, byte [eax]
inc ecx
mov dword [ebp + 0xc], ecx
cmp ecx, ebx
jge 0x42ebf8
movzx ecx, byte [eax + 1]
jmp 0x42ebfa
xor ecx, ecx
mov eax, edx
shl edx, 4
shr eax, 2
mov al, byte [eax + 0x59faa8]
mov byte [edi], al
mov eax, ecx
shr eax, 4
add eax, edx
and eax, 0x3f
mov al, byte [eax + 0x59faa8]
mov byte [edi + 1], al
cmp dword [ebp + 0xc], ebx
jge 0x42ec31
and ecx, 0xf
mov al, byte [ecx*4 + 0x59faa8]
mov byte [edi + 2], al
jmp 0x42ec35
mov byte [edi + 2], 0x3d
mov byte [edi + 3], 0x3d
add edi, 4
mov eax, edi
sub eax, dword [ebp + 0x10]
mov dword [esi], eax
xor eax, eax
mov byte [edi], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4335f0
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov byte [ecx + 0x89], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret
Function at 0x433ed2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 0x59ce38
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi], eax
call fcn.0042c0de
test al, al
je 0x433f13
pop ecx
push ebx
pop eax
push esp
push edx
push esp
pop eax
pop esp
pop ebp
push esi
pop edi
push eax
pop edi
push eax
pop esi
push ebp
push ebx
push eax
pop esi
push edx
pop ebx
pop ecx
push ebx
push esi
pop ebx
pop edx
push edx
push ebp
push eax
push ebx
push esp
call fcn.0042c099
test al, al
je 0x433f3a
pop eax
push edi
pop ebx
push esp
pop edi
push esp
pop ebp
push ecx
pop ecx
push edi
push ecx
pop edi
push eax
pop esp
push edx
push ecx
pop esi
push eax
pop ecx
push ebx
pop edi
push ebp
push ecx
push ecx
push eax
pop esp
pop esp
pop esp
push eax
push ebx
call fcn.0042c642
test al, al
je 0x433f5e
push ebp
pop ebx
push esi
pop edx
pop eax
push esp
push edx
pop edx
push ebp
push eax
pop ecx
push edi
pop esp
pop edx
pop esp
pop edi
push ebx
pop edi
pop edx
pop ebx
push ebx
pop eax
push ebx
push edx
push edi
push esp
push edx
mov esi, dword [ebp - 4]
cmp dword [esi], 0
jne 0x433f6d
xor eax, eax
jmp 0x434052
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x59f90c
push dword [esi]
call edi
push str.IsWow64Process
push dword [esi]
mov dword [esi + 8], eax
call edi
push str.Wow64DisableWow64FsRedirection
push dword [esi]
mov dword [esi + 0xc], eax
call edi
push str.Wow64RevertWow64FsRedirection
push dword [esi]
mov dword [esi + 0x18], eax
call edi
push str.GetSystemWow64DirectoryW
push dword [esi]
mov dword [esi + 0x14], eax
call edi
push str.advapi32.dll
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
call fcn.0042c6cc
test al, al
je 0x433fdb
push eax
pop ebp
pop edx
push edx
push esp
push ecx
pop ebx
pop esp
pop ecx
pop ecx
pop ebx
push edi
push ebp
pop ecx
push edx
pop ebp
pop eax
push edx
push ebx
pop eax
push edi
call fcn.0042c34b
test al, al
je 0x43400a
push eax
push esi
pop esp
push ecx
push ebx
pop ebp
pop ebx
pop esi
pop eax
pop ebp
pop ebp
push ebx
pop esp
pop edx
pop esi
push eax
pop edi
pop esp
pop esp
push edi
push ebp
pop edx
pop ecx
push esp
push ebx
push edi
pop esp
push esi
push eax
mov esi, dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
call fcn.0042c45f
test al, al
je 0x43402e
pop ebx
push ebp
push edx
push eax
pop esp
pop edx
pop edx
push eax
pop esp
push eax
push ebx
pop eax
pop edx
pop eax
push esi
push eax
push ebx
push esp
push ebp
pop ebp
push esi
pop ecx
push ebx
push esp
push ecx
pop ebp
pop ebp
cmp dword [esi + 4], 0
je 0x433f66
mov ebx, str.Wow64RevertWow64FsRedirection
push ebx
push dword [esi + 4]
call edi
push ebx
push dword [esi + 4]
mov dword [esi + 0x20], eax
call edi
mov dword [esi + 0x1c], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43435b
Capabilities:
Enumerate processes

Disassembly:
push 0x284
mov eax, 0x59aeb2
call fcn.00591d11
mov eax, dword [ebp + 8]
and dword [ebp - 0x290], 0
test eax, eax
je 0x434552
push eax
lea ecx, [ebp - 0x40]
call fcn.004026c0
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.00436089
mov dword [esp], 0x22c
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.0043c880
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x28c], esi
cmp esi, 0xffffffff
je 0x434542
call fcn.0042c825
test al, al
je 0x4343e7
push edi
pop esi
push eax
pop esi
push esp
push ebp
push ebp
push esp
push eax
pop edi
pop ebx
push ebp
push eax
push esi
push esp
push edi
push edx
push ebx
push edx
pop edx
mov esi, dword [ebp - 0x28c]
call fcn.0042c5fd
test al, al
je 0x434400
pop ebp
push ebx
pop edi
push ecx
push ebx
pop ebp
push ebx
pop edi
push ecx
push ebp
pop edi
push esp
pop ebx
pop esp
push esp
push eax
lea eax, [ebp - 0x284]
mov dword [ebp - 0x284], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4344ed
mov ebx, dword [ebp - 0x290]
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x260], ax
je 0x43444c
lea eax, [ebp - 0x260]
push eax
call fcn.0044c04b
pop ecx
push eax
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x28]
call fcn.004029e0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00436089
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00404db0
test eax, eax
je 0x4344a0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00435cf6
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x40]
or ebx, 1
call fcn.00404db0
mov byte [ebp - 0x285], 0
test eax, eax
jne 0x4344a7
mov byte [ebp - 0x285], 1
test bl, 1
je 0x4344bb
push 0
push 1
lea ecx, [ebp - 0x58]
and ebx, 0xfffffffe
call fcn.00402920
cmp byte [ebp - 0x285], 0
jne 0x434558
push 0
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00402920
lea eax, [ebp - 0x284]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x434425
call fcn.0042c237
test al, al
je 0x43450e
pop ecx
push eax
push esi
push edx
push esi
push ebx
push edi
pop ebp
push ecx
push edi
push esp
push edx
push ebp
pop ebp
push ecx
pop ecx
pop esi
push edx
pop edi
pop ebp
pop esi
pop esi
pop ebp
pop eax
call fcn.0042c099
test al, al
je 0x434536
pop eax
push esi
push eax
pop ebp
push ebx
pop esi
push ecx
push eax
push esi
push ebx
pop esi
pop esp
pop ebp
pop esi
push edi
pop esi
push eax
pop eax
push esp
push edx
pop esp
pop edx
push esp
pop edi
push eax
pop ebp
pop ebx
pop ebx
push eax
pop ebx
pop eax
push dword [ebp - 0x28c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00402920
mov eax, esi
call fcn.00591ccc
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x27c]
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00402920
jmp 0x434544