joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b2320
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x6981eb
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ecx + 8]
cmp eax, 0xffffffff
mov esi, dword [esp + 0x98]
je 0x4b23c9
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4b23c5
test esi, esi
je 0x4b23c5
lea ecx, [esp + 0x10]
call fcn.00485650
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0
call fcn.00489bf0
mov edi, dword [esi]
lea ecx, [esp + 0x10]
call fcn.00483ec0
push eax
mov eax, dword [edi + 0x14]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Failed_to_get_file_size__32_
mov ecx, esi
call eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], ebx
call fcn.00485710
mov eax, ebx
jmp 0x4b23e4
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x4b23e1
push ecx
call fcn.006323c8
push eax
call fcn.00632cd0
add esp, 8
jmp 0x4b23e4
or eax, 0xffffffff
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x84
ret 4

Function at 0x4b2410
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x684a9b
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x78], eax
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov esi, dword [esp + 0x98]
mov edi, ecx
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x4b2515
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4b2505
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4b2505
test esi, esi
je 0x4b24db
lea ecx, [esp + 0x10]
call fcn.00485650
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0
call fcn.00489bf0
mov edi, dword [esi]
lea ecx, [esp + 0x10]
call fcn.00483ec0
mov edx, dword [edi + 0x14]
push eax
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
push str.Failed_to_get_file_size__64_
mov ecx, esi
call edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x90], 0xffffffff
call fcn.00485710
or eax, 0xffffffff
or edx, eax
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x88
ret 4
mov eax, dword [esp + 0xc]
push eax
push edi
call fcn.004b2750
add esp, 8
jmp 0x4b24e0
mov eax, dword [edi + 4]
test eax, eax
je 0x4b24db
push eax
call fcn.0062f9a2
mov edi, dword [edi + 4]
push edi
call fcn.006323c8
push eax
call fcn.00632dcf
add esp, 0xc
jmp 0x4b24e0
Function at 0x4b70b0
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x6c
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
mov ebx, dword [esp + 0x7c]
push esi
mov esi, dword [esp + 0x78]
xor eax, eax
cmp esi, eax
push edi
je 0x4b7338
mov edi, dword [esp + 0x80]
cmp edi, eax
je 0x4b7338
cmp edi, 2
mov word [esp + 0xc], 0x24
mov word [esp + 0xe], 0x25
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
mov word [esp + 0x14], 0x26
mov word [esp + 0x16], 0x27
mov word [esp + 0x18], 0x28
mov word [esp + 0x1a], 0x29
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], 1
mov word [esp + 0x20], 2
mov word [esp + 0x22], 3
mov word [esp + 0x24], 4
mov word [esp + 0x26], 5
mov word [esp + 0x28], 6
mov word [esp + 0x2a], 7
mov word [esp + 0x2c], 8
mov word [esp + 0x2e], 9
mov word [esp + 0x30], ax
mov word [esp + 0x32], ax
mov word [esp + 0x34], ax
mov word [esp + 0x36], 0x2a
mov word [esp + 0x38], ax
mov word [esp + 0x3a], ax
mov word [esp + 0x3c], ax
mov word [esp + 0x3e], 0xa
mov word [esp + 0x40], 0xb
mov word [esp + 0x42], 0xc
mov word [esp + 0x44], 0xd
mov word [esp + 0x46], 0xe
mov word [esp + 0x48], 0xf
mov word [esp + 0x4a], 0x10
mov word [esp + 0x4c], 0x11
mov word [esp + 0x4e], 0x12
mov word [esp + 0x50], 0x13
mov word [esp + 0x52], 0x14
mov word [esp + 0x54], 0x15
mov word [esp + 0x56], 0x16
mov word [esp + 0x58], 0x17
mov word [esp + 0x5a], 0x18
mov word [esp + 0x5c], 0x19
mov word [esp + 0x5e], 0x1a
mov word [esp + 0x60], 0x1b
mov word [esp + 0x62], 0x1c
mov word [esp + 0x64], 0x1d
mov word [esp + 0x66], 0x1e
mov word [esp + 0x68], 0x1f
mov word [esp + 0x6a], 0x20
mov word [esp + 0x6c], 0x21
mov word [esp + 0x6e], 0x22
mov word [esp + 0x70], 0x23
jb 0x4b7338
mov edi, edi
cmp edi, 3
jb 0x4b72cf
movzx ax, byte [esi]
movzx eax, ax
cmp ax, 0x28
jb 0x4b725c
cmp ax, 0x5a
jbe 0x4b7261
mov eax, 0x28
movzx dx, byte [esi + 1]
add eax, 0xffffffd8
add esi, 1
movzx ecx, ax
movzx eax, word [esp + ecx*2 + 0xc]
movzx ecx, dx
cmp cx, 0x28
jb 0x4b7283
cmp cx, 0x5a
jbe 0x4b7288
mov ecx, 0x28
add ecx, 0xffffffd8
movzx ecx, cx
movzx edx, word [esp + ecx*2 + 0xc]
movzx cx, byte [esi + 1]
add esi, 1
movzx ecx, cx
cmp cx, 0x28
jb 0x4b72aa
cmp cx, 0x5a
jbe 0x4b72af
mov ecx, 0x28
imul eax, eax, 0x2b
add eax, edx
imul eax, eax, 0x2b
add ecx, 0xffffffd8
movzx ecx, cx
add ax, word [esp + ecx*2 + 0xc]
mov ecx, ebx
add esi, 1
push eax
call fcn.0046c7b0
jmp 0x4b7327
movzx dx, byte [esi]
movzx eax, dx
cmp ax, 0x28
jb 0x4b72e2
cmp ax, 0x5a
jbe 0x4b72e7
mov eax, 0x28
movzx cx, byte [esi + 1]
add esi, 1
add eax, 0xffffffd8
movzx ecx, cx
cmp cx, 0x28
movzx eax, ax
movzx eax, word [esp + eax*2 + 0xc]
jb 0x4b7309
cmp cx, 0x5a
jbe 0x4b730e
mov ecx, 0x28
add ecx, 0xffffffd8
movzx edx, cx
mov cl, 0x2b
imul cl
add al, byte [esp + edx*2 + 0xc]
mov ecx, ebx
add esi, 1
push eax
call fcn.00468d30
cmp edi, 3
jbe 0x4b7338
sub edi, 3
cmp edi, 2
jae 0x4b7240
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0062cbd3
add esp, 0x6c
ret
Function at 0x4b7350
Capabilities:
Encode data using base64

Disassembly:
sub esp, 0x11c
mov eax, dword [0x78f694]
xor eax, esp
mov dword [esp + 0x118], eax
mov ecx, dword [esp + 0x12c]
push ebx
mov ebx, dword [esp + 0x12c]
push ebp
mov ebp, dword [esp + 0x128]
push edi
mov edi, dword [esp + 0x130]
test edi, edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0xc], ecx
je 0x4b75a9
test ebp, ebp
je 0x4b75a9
lea edx, [edi*4 + 8]
mov eax, 0xaaaaaaab
mul edx
push esi
mov esi, edx
shr esi, 1
lea eax, [esi + esi]
xor edx, edx
div edi
lea esi, [esi + eax + 3]
push esi
call fcn.00485140
test al, al
je 0x4b75a5
mov eax, 0xaaaaaaab
mul edi
xor ecx, ecx
mov edi, edx
xor esi, esi
shr edi, 1
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
je 0x4b74ba
jmp 0x4b73f4
mov ebp, dword [esp + 0x14]
movzx eax, byte [esi + ebp]
movzx edi, byte [esi + ebp + 1]
mov edx, eax
shr edx, 2
and edx, 0x3f
movzx edx, byte [edx + ebx]
mov byte [esp + ecx + 0x20], dl
add esi, 1
movzx ebp, byte [esi + ebp + 1]
mov edx, edi
shr edx, 4
and edx, 0xf
and eax, 3
add esi, 1
shl eax, 4
or edx, eax
movzx eax, byte [edx + ebx]
and edi, 0xf
mov edx, ebp
shr edx, 6
add ecx, 1
add edi, edi
mov byte [esp + ecx + 0x20], al
and edx, 3
add edi, edi
or edx, edi
movzx eax, byte [edx + ebx]
add ecx, 1
and ebp, 0x3f
movzx edx, byte [ebx + ebp]
mov byte [esp + ecx + 0x20], al
add ecx, 1
mov byte [esp + ecx + 0x20], dl
add ecx, 1
add esi, 1
cmp ecx, 0x100
jl 0x4b7484
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24]
push eax
call fcn.004854b0
test al, al
je 0x4b75a5
xor ecx, ecx
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
add eax, 1
cmp eax, edi
mov dword [esp + 0x18], eax
jb 0x4b73f0
test ecx, ecx
je 0x4b74b6
push ecx
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.004854b0
test al, al
je 0x4b75a5
mov ebp, dword [esp + 0x14]
mov ecx, dword [esp + 0x134]
lea edx, [edi + edi*2]
sub ecx, edx
sub ecx, 1
mov al, 1
je 0x4b753a
sub ecx, 1
jne 0x4b758c
movzx edi, byte [esi + ebp]
movzx esi, byte [esi + ebp + 1]
mov ebp, dword [esp + 0x10]
mov eax, edi
sar eax, 2
and eax, 0x3f
movzx ecx, byte [eax + ebx]
push ecx
mov ecx, ebp
call fcn.00487e40
test al, al
je 0x4b75a5
mov edx, esi
sar edx, 4
and edi, 3
and edx, 0xf
shl edi, 4
or edx, edi
movzx eax, byte [edx + ebx]
push eax
mov ecx, ebp
call fcn.00487e40
test al, al
je 0x4b75a5
and esi, 0xf
movzx ecx, byte [ebx + esi*4]
push ecx
mov ecx, ebp
call fcn.00487e40
test al, al
je 0x4b75a5
mov ecx, ebp
jmp 0x4b757f
movzx esi, byte [esi + ebp]
mov edi, dword [esp + 0x10]
mov edx, esi
sar edx, 2
and edx, 0x3f
movzx eax, byte [edx + ebx]
push eax
mov ecx, edi
call fcn.00487e40
test al, al
je 0x4b75a5
and esi, 3
shl esi, 4
movzx ecx, byte [esi + ebx]
push ecx
mov ecx, edi
call fcn.00487e40
test al, al
je 0x4b75a5
push 0x3d
mov ecx, edi
call fcn.00487e40
test al, al
je 0x4b75a5
mov ecx, edi
push 0x3d
call fcn.00487e40
test al, al
je 0x4b75a5
mov al, 1
pop esi
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0062cbd3
add esp, 0x11c
ret
xor al, al
jmp 0x4b758c
mov ecx, dword [esp + 0x124]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov al, 1
call fcn.0062cbd3
add esp, 0x11c
ret
Function at 0x4b8240
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 0xc]
sub esp, 8
test ecx, ecx
jne 0x4b8253
xor eax, eax
add esp, 8
ret 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
test ebp, ebp
mov dword [ecx], 0
je 0x4b83f8
mov ebx, dword [esp + 0x14]
test ebx, ebx
je 0x4b83f8
lea edx, [ebp + ebp*4]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
lea eax, [edx + 4]
push esi
push eax
mov dword [ecx], eax
call fcn.0047e520
mov esi, eax
add esp, 4
test esi, esi
jne 0x4b829e
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov eax, 0xaaaaaaab
mul ebp
push edi
xor edi, edi
xor ecx, ecx
shr edx, 1
mov dword [esp + 0x14], edx
je 0x4b834d
mov dword [esp + 0x10], edx
lea ebx, [ebx]
movzx eax, byte [edi + ebx]
movzx ebp, byte [edi + ebx + 1]
add edi, 1
movzx edx, byte [edi + ebx + 1]
mov ebx, eax
add edi, 1
sar ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x6d89d8]
mov byte [ecx + esi], bl
and eax, 3
mov ebx, ebp
shl eax, 4
sar ebx, 4
and ebx, 0xf
or ebx, eax
movzx eax, byte [ebx + 0x6d89d8]
mov ebx, dword [esp + 0x1c]
mov byte [ecx + esi + 1], al
add ecx, 1
mov eax, edx
and ebp, 0xf
sar eax, 6
add ebp, ebp
and eax, 3
add ebp, ebp
or eax, ebp
movzx eax, byte [eax + 0x6d89d8]
add ecx, 1
mov byte [ecx + esi], al
and edx, 0x3f
mov dl, byte [edx + 0x6d89d8]
add ecx, 1
mov byte [ecx + esi], dl
add edi, 1
add ecx, 1
sub dword [esp + 0x10], 1
jne 0x4b82c0
mov ebp, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
lea eax, [edx + edx*2]
sub ebp, eax
sub ebp, 1
je 0x4b83aa
sub ebp, 1
jne 0x4b83e2
movzx eax, byte [edi + ebx]
movzx edi, byte [edi + ebx + 1]
mov edx, eax
sar edx, 2
and edx, 0x3f
movzx edx, byte [edx + 0x6d89d8]
mov byte [ecx + esi], dl
mov edx, edi
sar edx, 4
and eax, 3
and edx, 0xf
shl eax, 4
or edx, eax
mov al, byte [edx + 0x6d89d8]
add ecx, 1
mov byte [ecx + esi], al
add ecx, 1
and edi, 0xf
movzx edx, byte [edi*4 + 0x6d89d8]
mov byte [ecx + esi], dl
jmp 0x4b83d8
movzx eax, byte [edi + ebx]
mov edx, eax
sar edx, 2
and edx, 0x3f
mov dl, byte [edx + 0x6d89d8]
and eax, 3
mov byte [ecx + esi], dl
shl eax, 4
mov al, byte [eax + 0x6d89d8]
add ecx, 1
mov byte [ecx + esi], al
add ecx, 1
mov byte [ecx + esi], 0x3d
add ecx, 1
mov byte [ecx + esi], 0x3d
add ecx, 1
mov edx, dword [esp + 0x24]
pop edi
mov byte [ecx + esi], 0
mov eax, esi
pop esi
pop ebp
mov dword [edx], ecx
pop ebx
add esp, 8
ret 0xc
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret 0xc
Function at 0x4c3060
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [esp + 8]
cmp dword [ecx + 0x10], 1
je 0x4c308d
mov eax, dword [ecx + 8]
test eax, eax
je 0x4c308d
jle 0x4c3084
mov eax, dword [ecx + 4]
test byte [eax], 1
je 0x4c3084
mov dword [esp + 8], ecx
jmp fcn.004c1300
mov dword [esp + 8], ecx
jmp fcn.004c26c0
mov eax, 0xfffffffd
ret

Function at 0x4c3390
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x685438
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.00468060
mov esi, dword [esp + 0x34]
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.00483ec0
push eax
call fcn.004c3290
add esp, 8
push 0
lea ecx, [esp + 0xc]
call fcn.00468d30
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004870e0
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00468860
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret

Function at 0x4c3a00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x685438
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.00468060
mov esi, dword [esp + 0x34]
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call fcn.0046c660
push esi
lea ecx, [esp + 0xc]
call fcn.00544a30
push eax
lea ecx, [esp + 0x10]
call fcn.00467d80
push eax
call fcn.004c3570
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00468860
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret
Function at 0x4c9010
Capabilities:
Hash data using crc32b

Disassembly:
cmp byte [0x7954b0], 0
push edi
jne 0x4c91af
mov al, byte [0x7954b1]
test al, al
push esi
jne 0x4c9185
cmp dword [0x7954b4], 0
jne 0x4c91ae
push 0x100
mov byte [0x7954b1], 1
call fcn.0047e5b0
mov edi, eax
add esp, 4
test edi, edi
je 0x4c91ae
xor esi, esi
push ebx
lea ebx, [ebx]
push 8
push esi
call fcn.004c8bb0
shl eax, 0x18
mov ecx, eax
and ecx, 0x80000000
add esp, 8
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
add eax, eax
xor ecx, eax
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
and ecx, 0x4c11db7
lea edx, [eax + eax]
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
lea edx, [eax + eax]
and ecx, 0x4c11db7
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
mov ecx, eax
and ecx, 0x80000000
neg ecx
sbb ecx, ecx
lea edx, [eax + eax]
and ecx, 0x4c11db7
xor ecx, edx
mov eax, ecx
and eax, 0x80000000
neg eax
sbb eax, eax
add ecx, ecx
and eax, 0x4c11db7
xor eax, ecx
xor edx, edx
mov dword [edi + esi*4], eax
lea ecx, [edx + 0x1f]
test al, 1
je 0x4c912e
mov ebx, 1
shl ebx, cl
or edx, ebx
sub ecx, 1
shr eax, 1
cmp ecx, 0xffffffff
jg 0x4c9121
mov dword [edi + esi*4], edx
add esi, 1
cmp esi, 0xff
jbe 0x4c9060
cmp dword [0x7954b4], 0
pop ebx
jne 0x4c916b
pop esi
mov dword [0x7954b4], edi
mov byte [0x7954b0], 1
mov byte [0x7954b1], 0
pop edi
ret
push edi
call fcn.006092e0
add esp, 4
pop esi
mov byte [0x7954b0], 1
mov byte [0x7954b1], 0
pop edi
ret
xor esi, esi
test al, al
je 0x4c91ae
jmp 0x4c9190
push 2
call fcn.004ab8b0
add esi, 1
add esp, 4
cmp esi, 0xc8
ja 0x4c91ae
cmp byte [0x7954b1], 0
jne 0x4c9190
pop esi
pop edi
ret
Function at 0x4cebe0
Capabilities:
Hash data with md5

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

Function at 0x4cedc0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov ecx, edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.005d5d40
push eax
mov ecx, edi
call fcn.00483ec0
push eax
mov ecx, esi
call fcn.004cec20
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.004cecf0
pop edi
pop esi
ret 8

Function at 0x4cee20
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
xor eax, eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov eax, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.004cec20
mov edx, dword [esp + 0x10]
push edx
mov ecx, esi
call fcn.004cecf0
pop esi
ret 0xc

Function at 0x4cee70
Capabilities:
Hash data with md5

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
cmp dword [ebp + 0x804], ebx
jbe 0x4ceed0
push edi
lea edi, [ebp + 4]
lea esp, [esp]
mov eax, dword [edi + 0x400]
mov ecx, dword [edi]
push eax
push ecx
mov ecx, esi
call fcn.004cec20
add ebx, 1
add edi, 4
cmp ebx, dword [ebp + 0x804]
jb 0x4ceeb0
pop edi
mov edx, dword [esp + 0x14]
push edx
mov ecx, esi
call fcn.004cecf0
pop esi
pop ebp
pop ebx
ret 8

Function at 0x4ceef0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0xc]
xor eax, eax
mov ecx, edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
call fcn.00544a30
push eax
mov ecx, edi
call fcn.00467d80
push eax
mov ecx, esi
call fcn.004cec20
mov eax, dword [esp + 0x10]
push eax
mov ecx, esi
call fcn.004cecf0
pop edi
pop esi
ret 8
Function at 0x4cef50
Capabilities:
Hash data with md5

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
xor esi, esi
push 0x4e28
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x14], esi
mov dword [ebx + 4], 0x67452301
mov dword [ebx + 8], 0xefcdab89
mov dword [ebx + 0xc], 0x98badcfe
mov dword [ebx + 0x10], 0x10325476
call fcn.0047e520
mov edi, eax
add esp, 4
cmp edi, esi
jne 0x4cef9a
pop edi
pop esi
xor al, al
pop ebx
add esp, 8
ret 0x14
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], esi
mov byte [esp + 0xf], 1
call fcn.00542670
test al, al
jne 0x4cf03e
push ebp
mov ebp, dword [esp + 0x20]
lea esp, [esp]
mov eax, dword [esp + 0x24]
push eax
push ebp
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
push 0x4e20
push edi
call fcn.005431e0
test al, al
je 0x4cf03d
mov esi, dword [esp + 0x14]
test esi, esi
je 0x4cf019
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4ceff9
push esi
push edi
call fcn.00469150
mov esi, dword [esp + 0x14]
push esi
push edi
mov ecx, ebx
call fcn.004cec20
test ebp, ebp
je 0x4cf019
mov edx, dword [esp + 0x24]
push edx
push 0
push esi
mov ecx, ebp
call fcn.004d0ed0
test al, al
jne 0x4cf028
mov ecx, dword [esp + 0x1c]
call fcn.00542670
test al, al
je 0x4cefc0
jmp 0x4cf03d
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
mov edx, dword [eax + 0x14]
push str.Digest_MD5_aborted_by_application
call edx
mov byte [esp + 0x13], 0
pop ebp
push edi
call fcn.006092e0
mov eax, dword [esp + 0x28]
add esp, 4
push eax
mov ecx, ebx
call fcn.004cecf0
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
add esp, 8
ret 0x14

Function at 0x4cf080
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0x6119a407
je 0x4cf09c
push 0
call fcn.0047ab30
add esp, 4
xor eax, eax
pop esi
ret 4
mov ecx, dword [esp + 8]
call fcn.00483ec0
mov edx, eax
movsx ecx, byte [edx]
test ecx, ecx
mov eax, 0x1505
je 0x4cf0c8
push edi
mov edi, eax
shl edi, 5
add edx, 1
add edi, ecx
movsx ecx, byte [edx]
add eax, edi
test ecx, ecx
jne 0x4cf0b4
pop edi
xor edx, edx
div dword [esi + 0xc]
pop esi
mov eax, edx
ret 4
Function at 0x4d08a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6860b3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.004afb20
lea edi, [esi + 8]
xor ebx, ebx
mov ecx, edi
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.ProgressMonitor.0
call fcn.005323b0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x88], eax
mov eax, dword [esp + 0x38]
cmp eax, ebx
mov byte [esp + 0x20], 1
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebp
mov byte [esi + 0x68], bl
mov byte [esi + 0x69], bl
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x8c], ecx
mov dword [esi + 0x90], ebx
mov byte [esi + 0x94], bl
mov byte [esi + 0x95], bl
mov byte [esi + 0x96], bl
jg 0x4d094b
jl 0x4d0945
mov ecx, dword [esp + 0x34]
cmp ecx, ebx
jae 0x4d094f
xor ecx, ecx
xor eax, eax
jmp 0x4d094f
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x70], ecx
mov dword [esi + 0x74], eax
call sub.KERNEL32.dll_GetTickCount
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x8c]
cmp eax, 0xa
jae 0x4d097a
mov dword [esi + 0x8c], 0x64
jmp 0x4d098b
cmp eax, 0x186a0
jbe 0x4d098b
mov dword [esi + 0x8c], 0x186a0
cmp ebp, ebx
jne 0x4d0992
mov dword [esi + 0x64], edi
mov ecx, dword [esi + 0x64]
cmp ecx, ebx
je 0x4d09a1
call fcn.00531f30
mov byte [esi + 0x68], al
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0x14
Function at 0x4d22f0
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6863e0
mov eax, dword fs:[0]
push eax
sub esp, 0x78
push ebx
push ebp
push esi
push edi
mov eax, dword [0x78f694]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xb0]
mov ecx, eax
shr ecx, 0x18
mov byte [esp + 0x14], cl
mov ecx, eax
shr ecx, 8
mov edx, eax
shr edx, 0x10
mov byte [esp + 0x16], cl
lea ecx, [esp + 0x70]
mov byte [esp + 0x15], dl
mov byte [esp + 0x17], al
call fcn.00468060
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
push edx
push eax
lea ecx, [esp + 0x78]
mov dword [esp + 0x9c], 0
call fcn.00469150
push 4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x78]
call fcn.00469150
lea ecx, [esp + 0x54]
call fcn.00468060
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 1
call fcn.00468060
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 2
call fcn.00468060
mov ebx, dword [esp + 0xb4]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
lea edx, [esp + 0x1c]
push edx
push ebx
push eax
push ecx
lea ecx, [esp + 0x80]
mov byte [esp + 0xa4], 3
call fcn.00544a30
push eax
lea ecx, [esp + 0x84]
call fcn.00467d80
push eax
call fcn.004fa9f0
add esp, 0x18
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x3c]
call fcn.0046ad20
lea ecx, [esp + 0x1c]
call fcn.00544a30
mov edi, eax
mov eax, dword [esp + 0xb8]
cmp edi, eax
jbe 0x4d2415
mov edi, eax
lea ecx, [esp + 0x1c]
call fcn.00467d80
mov ebp, eax
test ebp, ebp
je 0x4d24dd
mov eax, 1
cmp dword [esp + 0xac], eax
mov dword [esp + 0x18], eax
jbe 0x4d24cc
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0x9c]
lea eax, [esp + 0x54]
push eax
push ebx
push ecx
push edx
lea ecx, [esp + 0x48]
call fcn.00544a30
push eax
lea ecx, [esp + 0x4c]
call fcn.00467d80
push eax
call fcn.004fa9f0
add esp, 0x18
lea ecx, [esp + 0x54]
call fcn.00467d80
test eax, eax
je 0x4d24dd
test edi, edi
jbe 0x4d2494
mov ecx, ebp
sub eax, ebp
mov esi, edi
mov dl, byte [eax + ecx]
xor byte [ecx], dl
add ecx, 1
sub esi, 1
jne 0x4d2487
lea ecx, [esp + 0x38]
call fcn.00467d60
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x3c]
call fcn.0046ad20
lea ecx, [esp + 0x54]
call fcn.00467d60
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [esp + 0xac]
mov dword [esp + 0x18], eax
jb 0x4d243e
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0xc0]
call fcn.0046ad20
lea ecx, [esp + 0x1c]
mov byte [esp + 0x94], 2
call fcn.00468860
lea ecx, [esp + 0x38]
mov byte [esp + 0x94], 1
call fcn.00468860
lea ecx, [esp + 0x54]
mov byte [esp + 0x94], 0
call fcn.00468860
lea ecx, [esp + 0x70]
mov dword [esp + 0x94], 0xffffffff
call fcn.00468860
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x84
ret