joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416680
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8b86
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x58be1c]
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 esi, dword [ebp + 8]
lea eax, [ebp - 0x240]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 0x118
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.0040e0b0
push 0x118
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.0040e0b0
push esi
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 1
call fcn.0040e880
push edi
lea ecx, [ebp - 0x128]
call fcn.0040e880
push 0x5c
push 0x2f
lea ecx, [ebp - 0x240]
call fcn.00410d30
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.00410d30
push 0xb
lea ecx, [ebp - 0x128]
call fcn.004108b0
push eax
lea ecx, [ebp - 0x240]
call fcn.004108b0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne byte [ebp - 0x241]
test eax, eax
jne 0x416772
test ebx, ebx
je 0x416772
mov ecx, ebx
call fcn.00438790
lea ecx, [ebp - 0x128]
call fcn.0040e140
lea ecx, [ebp - 0x240]
call fcn.0040e140
mov al, byte [ebp - 0x241]
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.004a4dea
mov esp, ebp
pop ebp
ret
Function at 0x4168a0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9e1c
mov eax, dword fs:[0]
push eax
sub esp, 0x468
mov eax, dword [0x58be1c]
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 eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x118
mov dword [ebp - 0x474], eax
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.0040e0b0
push 0x118
lea eax, [ebp - 0x128]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.0040e0b0
push esi
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 1
call fcn.0040e880
push edi
lea ecx, [ebp - 0x128]
call fcn.0040e880
push 0x5c
push 0x2f
lea ecx, [ebp - 0x240]
call fcn.00410d30
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.00410d30
lea ecx, [ebp - 0x240]
call fcn.004109b0
test al, al
je 0x4169a6
lea ecx, [ebp - 0x128]
call fcn.004109b0
test al, al
je 0x4169a6
lea ecx, [ebp - 0x128]
call fcn.004108b0
push eax
lea ecx, [ebp - 0x240]
call fcn.004108b0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
jmp 0x416a5a
push 0x118
lea eax, [ebp - 0x470]
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x470]
call fcn.0040e0b0
push 0x118
lea eax, [ebp - 0x358]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x358]
call fcn.0040e0b0
push 0
lea eax, [ebp - 0x470]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00415260
push 0
lea eax, [ebp - 0x358]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00415260
add esp, 0x18
lea ecx, [ebp - 0x358]
call fcn.004108b0
push eax
lea ecx, [ebp - 0x470]
call fcn.004108b0
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
lea ecx, [ebp - 0x358]
setne bl
call fcn.0040e140
lea ecx, [ebp - 0x470]
mov byte [ebp - 4], 1
call fcn.0040e140
test bl, bl
jne 0x416a6f
mov eax, dword [ebp - 0x474]
test eax, eax
je 0x416a6f
mov ecx, eax
call fcn.00438790
lea ecx, [ebp - 0x128]
call fcn.0040e140
lea ecx, [ebp - 0x240]
call fcn.0040e140
mov al, bl
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.004a4dea
mov esp, ebp
pop ebp
ret

Function at 0x416ab0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004168a0
Function at 0x4170f0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9f46
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.0040e0b0
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.0040e880
push 0x5c
push 0x2f
lea ecx, [ebp - 0x128]
call fcn.00410d30
push 0
lea eax, [ebp - 0x128]
push 1
push eax
call fcn.004153c0
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.004109b0
test al, al
jne 0x4171e5
push 0x118
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x240]
call fcn.0040e0b0
push 0
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.00415260
add esp, 0xc
lea ecx, [ebp - 0x240]
push dword [ebp + 0xc]
call fcn.004108b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x240]
mov esi, eax
call fcn.0040e140
jmp 0x4171fc
push dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
call fcn.004108b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
lea ecx, [ebp - 0x128]
call fcn.0040e140
test esi, esi
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret

Function at 0x4172c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.0040e0b0
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00411120
lea ecx, [ebp - 0x128]
call fcn.004108b0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x128]
mov esi, eax
call fcn.0040e140
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret
Function at 0x417360
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9f7b
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x128]
call fcn.0040e0b0
push esi
lea ecx, [ebp - 0x128]
mov dword [ebp - 4], 0
call fcn.00411120
push dword [ebp + 0xc]
lea ecx, [ebp - 0x128]
call fcn.004108b0
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
lea ecx, [ebp - 0x128]
setne bl
call fcn.0040e140
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret

Function at 0x419ac0
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x58deb0], 0
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 8], 0x190
jne 0x419b04
lea eax, [ebp - 8]
push eax
push 0x58deb8
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
neg eax
mov byte [0x58deb0], 1
sbb al, al
and byte [0x58deb8], al
push 0x58deb8
mov ecx, esi
call fcn.00407d70
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004a4dea
mov esp, ebp
pop ebp
ret
Function at 0x438c40
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8ebb
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x58be1c]
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 eax, dword [ecx + 8]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x438ce8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x438ce4
test edi, edi
je 0x438ce4
push 0x74
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x84]
call fcn.00407a10
lea ecx, [ebp - 0x84]
mov dword [ebp - 4], 0
call fcn.004082d0
mov esi, dword [edi]
lea ecx, [ebp - 0x84]
call fcn.00409410
push eax
mov ecx, edi
call dword [esi + 0x14]
mov eax, dword [edi]
mov ecx, edi
push str.Failed_to_get_file_size__32_
call dword [eax + 0x14]
lea ecx, [ebp - 0x84]
call fcn.00407a60
mov eax, ebx
jmp 0x438d03
mov eax, dword [ecx + 4]
test eax, eax
je 0x438d00
push eax
call fcn.004b2651
push eax
call fcn.004b22af
add esp, 8
jmp 0x438d03
or eax, 0xffffffff
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.004a4dea
mov esp, ebp
pop ebp
ret 4

Function at 0x438d30
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb81b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
mov edi, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x438e24
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x438e16
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x438e16
test edi, edi
je 0x438df4
push 0x74
lea eax, [ebp - 0x88]
push 0
push eax
call fcn.004a8410
add esp, 0xc
lea ecx, [ebp - 0x88]
call fcn.00407a10
lea ecx, [ebp - 0x88]
mov dword [ebp - 4], 0
call fcn.004082d0
mov esi, dword [edi]
lea ecx, [ebp - 0x88]
call fcn.00409410
push eax
mov ecx, edi
call dword [esi + 0x14]
mov eax, dword [edi]
mov ecx, edi
push str.Failed_to_get_file_size__64_
call dword [eax + 0x14]
lea ecx, [ebp - 0x88]
call fcn.00407a60
or eax, 0xffffffff
or edx, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret 4
push dword [ebp - 0x14]
push esi
call fcn.00437800
add esp, 8
jmp 0x438df9
mov eax, dword [esi + 4]
test eax, eax
je 0x438df4
push eax
call fcn.004b25fc
push dword [esi + 4]
call fcn.004b2651
push eax
call fcn.004b22ba
add esp, 0xc
jmp 0x438df9
Function at 0x439120
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], edx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
push edi
mov byte [ebx], 0
mov dword [edx], 0
test ecx, ecx
jne 0x43917c
test esi, esi
je 0x439167
mov eax, dword [esi]
mov ecx, esi
push str.NULL_buf_pointer.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret 0x14
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x439298
mov dword [ebp - 0x14], 0x10000
nop
cmp edx, 0x10000
mov byte [ebx], 0
mov edi, edx
mov dword [ebp - 8], 0
cmova edi, dword [ebp - 0x14]
test edi, edi
je 0x439258
test ecx, ecx
je 0x439258
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x439207
push 0
lea edx, [ebp - 8]
push edx
push edi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4391f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x26
jne 0x4391e9
mov byte [ebx], 1
mov edx, dword [ebp + 0xc]
mov al, 1
jmp 0x43926d
test esi, esi
je 0x439268
push eax
mov ecx, esi
call fcn.00438880
jmp 0x439268
cmp dword [ebp - 8], 0
jne 0x4391df
mov edx, dword [ebp + 0xc]
mov al, 1
mov byte [ebx], 1
jmp 0x43926d
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x43924d
push eax
push edi
push 1
push ecx
call fcn.004b285e
mov ecx, eax
add esp, 0x10
mov dword [ebp - 8], ecx
cmp ecx, edi
jne 0x43922e
mov edx, dword [ebp + 0xc]
mov al, 1
jmp 0x43926d
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call fcn.004b22dd
add esp, 4
test eax, eax
je 0x4391dc
test esi, esi
je 0x439268
mov ecx, esi
call fcn.00438790
jmp 0x439268
test esi, esi
je 0x43926b
push str.No_file_is_open.
jmp 0x439261
test esi, esi
je 0x43926b
push str.NULL_buf_or_bufSize
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov edx, dword [ebp + 0xc]
xor al, al
mov edi, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
sub edx, ecx
add dword [ebp - 0xc], ecx
mov dword [ebp + 0xc], edx
add dword [edi], ecx
test al, al
je 0x439167
cmp byte [ebx], 0
jne 0x439298
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
test edx, edx
jne 0x439190
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a4dea
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4396a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, ecx
mov ecx, dword [ebp + 0x18]
push ebx
push esi
cmp dword [eax + 8], 0xffffffff
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], ecx
jne 0x4396fa
cmp dword [eax + 4], 0
jne 0x4396fa
test ecx, ecx
je 0x43980e
mov eax, dword [ecx]
push str.Failed_to_write_because_file_is_not_open.
call dword [eax + 0x14]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret 0x14
test edi, edi
je 0x43970b
mov dword [edi], 0
mov dword [edi + 4], 0
mov ebx, dword [ebp + 0xc]
mov eax, ebx
mov esi, dword [ebp + 0x10]
or eax, esi
mov dword [ebp - 0x14], esi
je 0x4397e8
mov ecx, dword [ebp - 8]
test esi, esi
jl 0x439736
jg 0x43972f
cmp ebx, 0x989680
jbe 0x439736
mov esi, 0x989680
jmp 0x439738
mov esi, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x4397a0
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x439764
mov ecx, dword [ebp - 8]
cmp ecx, esi
je 0x4397c1
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x43980e
mov eax, dword [ebx]
mov ecx, ebx
push 1
push str.WriteFileError
call dword [eax + 0x24]
mov ecx, ebx
call fcn.00438790
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 4]
test eax, eax
je 0x4397c4
push eax
push 1
push esi
push edx
call fcn.004b34c0
add esp, 0x10
cmp eax, 1
jne 0x4397fd
mov ecx, esi
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0xc]
add edx, esi
sub ebx, esi
mov esi, dword [ebp - 0x14]
sbb esi, 0
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], esi
test edi, edi
je 0x4397de
add dword [edi], ecx
adc dword [edi + 4], 0
mov eax, ebx
or eax, esi
jne 0x439721
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43980e
mov eax, dword [ecx]
push str.fwrite_failed.
call dword [eax + 0x14]
mov ecx, dword [ebp - 4]
xor al, al
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a4dea
mov esp, ebp
pop ebp
ret 0x14

Function at 0x43aa00
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 8], 0x6119a407
je 0x43aa20
push 0
call fcn.00408660
add esp, 4
xor eax, eax
pop edi
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push esi
call fcn.00409410
mov edx, eax
mov eax, 0x1505
movsx esi, byte [edx]
test esi, esi
je 0x43aa4a
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, esi
movsx esi, byte [edx]
add eax, ecx
test esi, esi
jne 0x43aa37
xor edx, edx
div dword [edi + 0xc]
pop esi
mov eax, edx
pop edi
pop ebp
ret 4
Function at 0x43b0b0
Capabilities:
Hash data with md5

Disassembly:
mov dword [ecx], vtable._ckMd5.0
mov eax, ecx
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
ret

Function at 0x43b870
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
mov edi, ecx
xor ebx, ebx
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
cmp dword [eax + 0x804], ebx
jbe 0x43b8d1
push esi
lea esi, [eax + 4]
push dword [esi + 0x400]
mov ecx, edi
push dword [esi]
call fcn.0043ba70
mov eax, dword [ebp + 8]
lea esi, [esi + 4]
inc ebx
cmp ebx, dword [eax + 0x804]
jb 0x43b8b2
pop esi
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0043b9a0
pop edi
pop ebx
pop ebp
ret 8

Function at 0x43b8f0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.0043ba70
push dword [ebp + 0x10]
mov ecx, esi
call fcn.0043b9a0
pop esi
pop ebp
ret 0xc

Function at 0x43b940
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov dword [edi + 0x18], 0
mov dword [edi + 0x14], 0
mov dword [edi + 4], 0x67452301
mov dword [edi + 8], 0xefcdab89
mov dword [edi + 0xc], 0x98badcfe
mov dword [edi + 0x10], 0x10325476
call fcn.00409400
mov ecx, dword [ebp + 8]
push eax
call fcn.00409410
push eax
mov ecx, edi
call fcn.0043ba70
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0043b9a0
pop edi
pop ebp
ret 8
Function at 0x43bba0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x10]
push esi
test ebx, ebx
je 0x43bd3f
mov esi, dword [ebp + 0xc]
mov dword [ebx], 0
test esi, esi
je 0x43bd3f
cmp dword [ebp + 8], 0
je 0x43bd3f
lea ecx, [esi + esi*4]
mov eax, 0xaaaaaaab
mul ecx
shr edx, 1
add edx, 4
push edx
mov dword [ebx], edx
call fcn.0042ad00
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x43bd3f
mov eax, 0xaaaaaaab
xor ecx, ecx
mul esi
push edi
xor edi, edi
mov eax, edx
shr eax, 1
mov dword [ebp - 4], edi
mov dword [ebp - 0xc], eax
je 0x43bc89
mov dword [ebp - 8], eax
nop dword [eax]
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 8]
movzx edx, byte [eax + edi]
movzx esi, byte [eax + edi + 1]
movzx edi, byte [eax + edi + 2]
add eax, 3
mov dword [ebp - 4], eax
mov eax, edx
shr eax, 2
and edx, 3
shl edx, 4
movzx eax, byte [eax + 0x50a618]
mov byte [ecx + ebx], al
mov eax, esi
shr eax, 4
and esi, 0xf
or edx, eax
shl esi, 2
movzx eax, byte [edx + 0x50a618]
mov byte [ecx + ebx + 1], al
mov eax, edi
shr eax, 6
and edi, 0x3f
or eax, esi
movzx eax, byte [eax + 0x50a618]
mov byte [ecx + ebx + 2], al
movzx eax, byte [edi + 0x50a618]
mov byte [ecx + ebx + 3], al
add ecx, 4
sub dword [ebp - 8], 1
jne 0x43bc10
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*2]
sub esi, eax
sub esi, 1
je 0x43bcfa
sub esi, 1
jne 0x43bd2b
mov eax, dword [ebp + 8]
movzx edx, byte [edi + eax]
movzx esi, byte [edi + eax + 1]
mov eax, edx
shr eax, 2
and edx, 3
shl edx, 4
pop edi
movzx eax, byte [eax + 0x50a618]
mov byte [ecx + ebx], al
mov eax, esi
shr eax, 4
and esi, 0xf
or edx, eax
movzx eax, byte [edx + 0x50a618]
mov byte [ecx + ebx + 1], al
movzx eax, byte [esi*4 + 0x50a618]
mov byte [ecx + ebx + 2], al
mov eax, dword [ebp + 0x10]
mov byte [ecx + ebx + 3], 0x3d
add ecx, 4
pop esi
mov byte [ecx + ebx], 0
mov dword [eax], ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 8]
movzx edx, byte [edi + eax]
mov eax, edx
and edx, 3
shr eax, 2
shl edx, 4
movzx eax, byte [eax + 0x50a618]
mov byte [ecx + ebx], al
movzx eax, byte [edx + 0x50a618]
mov byte [ecx + ebx + 1], al
mov word [ecx + ebx + 2], 0x3d3d
add ecx, 4
mov eax, dword [ebp + 0x10]
pop edi
mov byte [ecx + ebx], 0
pop esi
mov dword [eax], ecx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43d5e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x43d7a4
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x43d79c
xor eax, eax
mov dword [ebp - 0x68], 0x250024
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
mov eax, 0x23
mov dword [ebp - 0x60], 0x270026
mov dword [ebp - 0x5c], 0x290028
mov dword [ebp - 0x58], 0x10000
mov dword [ebp - 0x54], 0x30002
mov dword [ebp - 0x50], 0x50004
mov dword [ebp - 0x4c], 0x70006
mov dword [ebp - 0x48], 0x90008
mov dword [ebp - 0x40], 0x2a0000
mov dword [ebp - 0x38], 0xa0000
mov dword [ebp - 0x34], 0xc000b
mov dword [ebp - 0x30], 0xe000d
mov dword [ebp - 0x2c], 0x10000f
mov dword [ebp - 0x28], 0x120011
mov dword [ebp - 0x24], 0x140013
mov dword [ebp - 0x20], 0x160015
mov dword [ebp - 0x1c], 0x180017
mov dword [ebp - 0x18], 0x1a0019
mov dword [ebp - 0x14], 0x1c001b
mov dword [ebp - 0x10], 0x1e001d
mov dword [ebp - 0xc], 0x20001f
mov dword [ebp - 8], 0x220021
mov word [ebp - 4], ax
cmp edi, 2
jb 0x43d79c
push ebx
mov ebx, dword [ebp + 0x10]
nop dword [eax]
movzx eax, byte [esi]
cmp edi, 3
jb 0x43d739
cmp eax, 0x28
jb 0x43d6d2
cmp eax, 0x5a
jbe 0x43d6d7
mov eax, 0x28
add eax, 0xffffffd8
movzx eax, ax
movzx eax, word [ebp + eax*2 - 0x68]
mov dword [ebp + 8], eax
movzx eax, byte [esi + 1]
cmp eax, 0x28
jb 0x43d6f3
cmp eax, 0x5a
jbe 0x43d6f8
mov eax, 0x28
add eax, 0xffffffd8
add esi, 2
movzx eax, ax
movzx edx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi]
cmp eax, 0x28
jb 0x43d713
cmp eax, 0x5a
jbe 0x43d718
mov eax, 0x28
add eax, 0xffffffd8
movzx ecx, ax
imul eax, dword [ebp + 8], 0x2b
add eax, edx
imul eax, eax, 0x2b
add ax, word [ebp + ecx*2 - 0x68]
mov ecx, ebx
movzx eax, ax
push eax
call fcn.0040c5f0
jmp 0x43d781
cmp eax, 0x28
jb 0x43d743
cmp eax, 0x5a
jbe 0x43d748
mov eax, 0x28
add eax, 0xffffffd8
inc esi
movzx eax, ax
movzx edx, word [ebp + eax*2 - 0x68]
movzx eax, byte [esi]
cmp eax, 0x28
jb 0x43d761
cmp eax, 0x5a
jbe 0x43d766
mov eax, 0x28
add eax, 0xffffffd8
movzx ecx, ax
movzx eax, dl
imul eax, eax, 0x2b
add al, byte [ebp + ecx*2 - 0x68]
mov ecx, ebx
movzx eax, al
push eax
call fcn.0040b7e0
cmp edi, 3
jbe 0x43d793
sub edi, 3
inc esi
cmp edi, 2
jae 0x43d6c0
pop ebx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x448d30
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc1b8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x58be1c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
mov esi, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
jl 0x448dd7
test esi, esi
je 0x448dd7
push str.getEntropy
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push eax
lea ecx, [ebp - 0x1c]
movq qword [ebp - 0x1c], xmm0
call fcn.00437c30
mov dword [ebp - 4], 0
xor bl, bl
call fcn.004193f0
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x448da8
lea ecx, [ebp - 0x1c]
call fcn.00437d30
mov al, bl
jmp 0x448dd9
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [ebp - 0x20]
test eax, eax
movzx ebx, bl
mov ecx, 1
cmovne ebx, ecx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea ecx, [ebp - 0x1c]
call fcn.00437d30
mov al, bl
jmp 0x448dd9
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a4dea
mov esp, ebp
pop ebp
ret