joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ecc10
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
sub esp, 0x4c
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x5ecd1c
test eax, eax
je 0x5ecd1c
push esi
push edi
mov ecx, 0x10
mov esi, 0x607fe8
lea edi, [ebp - 0x4c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x14]
mov esi, dword [esi]
add esi, eax
mov dword [ebp - 8], esi
xor esi, esi
mov dword [ebp - 4], 0
mov ecx, eax
test edx, edx
jbe 0x5ecd03
lea edi, [eax + 4]
jmp 0x5ecc67
mov ebx, dword [ebp + 8]
movzx eax, byte [esi + ebx]
inc esi
shl eax, 0x10
cmp esi, edx
jne 0x5ecc7c
mov dword [ebp - 4], 2
jmp 0x5ecc9d
movzx ebx, byte [esi + ebx]
shl ebx, 8
inc esi
or eax, ebx
cmp esi, edx
jne 0x5ecc93
mov dword [ebp - 4], 1
jmp 0x5ecc9d
mov edx, dword [ebp + 8]
movzx edx, byte [esi + edx]
or eax, edx
inc esi
mov edx, eax
and edx, 0x3f
cmp edi, dword [ebp - 8]
ja 0x5ecd13
mov ebx, eax
shr ebx, 0x12
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
mov byte [ecx], bl
mov ebx, eax
shr ebx, 0xc
and ebx, 0x3f
movzx ebx, byte [ebp + ebx - 0x4c]
inc ecx
inc edi
mov byte [ecx], bl
mov ebx, dword [ebp - 4]
inc ecx
inc edi
cmp ebx, 1
jbe 0x5eccd6
mov byte [ecx], 0x3d
jmp 0x5ecce2
shr eax, 6
and eax, 0x3f
mov al, byte [ebp + eax - 0x4c]
mov byte [ecx], al
inc ecx
inc edi
test ebx, ebx
jbe 0x5ecced
mov byte [ecx], 0x3d
jmp 0x5eccf3
mov dl, byte [ebp + edx - 0x4c]
mov byte [ecx], dl
mov edx, dword [ebp + 0xc]
inc ecx
inc edi
cmp esi, edx
jb 0x5ecc64
mov eax, dword [ebp + 0x10]
sub ecx, eax
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov dword [eax], ecx
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x66f115
Capabilities:
Packed with generic packer

Disassembly:
call fcn.006c6ec5
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
movzx ax, ah
push 0x40
movzx eax, cx
mov eax, esp
push 0x1000
xchg al, ah
bswap ax
mov eax, ebx
push 0x64
movsx eax, cx
cwde
setb ah
push 0
not ah
mov eax, 0x3c
jmp 0x41a3e0
push ebp
mov ebp, esp
cmp esi, 0x3675b1a
sub esp, 0x1c
jmp 0x985188
push dword [ebp - 0x18]
jmp 0x6f6cf3
push 0
jmp 0x6b386d
call fcn.00464c97
pop ecx
movsx ebx, dx
pop esi
mov edi, eax
setns bl
rep movsb byte es:[edi], byte [esi]
sal bh, 0x81
rcr bh, cl
movsx ebx, di
push eax
ror bh, cl
or bx, 0x4a46
bt bx, 0xc2
mov ebx, dword [ebp - 4]
test ebx, ebx
jmp 0x7089a0
push dword [ebp + 0xc]
jmp 0x654c45
je 0x90fdf8
push ebx
jmp 0x90fde9
push eax
jmp 0x805340
push eax
jmp 0x6dd495
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x8c92a2
je 0x6dd4ae
push eax
stc
jmp 0x86414c
call fcn.0040aa28
mov dword [ebp - 0xc], eax
jmp 0xa48bb8
mov eax, dword [eax + 4]
cmp esp, 0x452255ee
cmc
add eax, 8
jmp 0x7f70ee
pushal
sal eax, 0x4f
inc eax
mov eax, 1
shl bx, 0xac
test si, di
adc bp, si
mov eax, 2
sbb eax, 0x621e24ab
btr ebx, 0x7b
not ebx
mov eax, 4
add di, dx
bt edx, eax
mov eax, 2
ror dx, 0x84
cwde
mov eax, 5
sal eax, 0xc7
xor bp, 0x6da7
bsf esi, edi
mov eax, 4
mov eax, 2
xor al, 0x31
mov eax, 5
sar dx, cl
mov eax, 6
cmp bp, ax
or bp, bx
popal
test esp, eax
push edx
stc
mov edx, 1
rcr eax, 0xab
sub ah, 0xcd
test si, 0x726d
mov edx, 2
mov edx, 4
bts ax, dx
mov edx, 2
bts dx, dx
bsr ebx, eax
shl edx, cl
mov edx, 5
sbb al, 0x5a
mov edx, 4
mov edx, 2
and al, dl
lahf
mov edx, 5
cwde
mov edx, 5
cmovno ax, bx
pop edx
mov ebx, dword [ebp + 8]
sbb ax, bp
bsr eax, edi
btc ax, 0x9c
mov eax, dword [ebx]
cmp bp, sp
test eax, eax
jmp 0x80295e
mov dword [ebp - 0xc], 0
jmp 0x7fcb77
call fcn.00464c9d
add esp, 4
movsx eax, dx
btr ax, di
pop eax
test esi, 0x605355a0
mov dword [ebp - 4], eax
rol ah, cl
push reloc.WS2_32.dll_getpeername
push 0
add ax, di
and eax, esp
cmc
mov eax, dword [ebp - 4]
stc
test eax, eax
jmp 0x944833
mov dword [ebp - 8], 0
jmp 0x8d2db4
jne 0x94483e
mov eax, 0x52fe24
push eax
movsx ebx, bp
seto bl
cmovs ebx, ebp
push 1
movzx ebx, bp
mov bx, bp
bswap bx
mov ebx, 0x465200
call fcn.00464ca3
add esp, 0x10
jmp 0xa56814
mov dword [ebp - 4], 0
jmp 0x928c75
mov dword [ebp - 0x18], 0
jmp 0x6c9a6c
mov dword [ebp - 8], eax
movzx ax, cl
not al
lea eax, [ebp - 4]
jmp 0x778cb2
Function at 0x6b6b27
Capabilities:
Packed with generic packer

Disassembly:
call fcn.00464ca3
lea esp, [esp + 0x10]
stc
mov dword [ebp - 0x10], eax
test edi, edx
cmp dword [ebp - 0x10], 0
jmp 0x421c4f
push ebp
shr bp, 0x10
bt bp, di
mov ebp, esp
test esp, ebx
sub esp, 0x20
mov dword [ebp - 4], 0
jmp 0x8f1ae7
jmp 0xa2d729
cmp dword [ebp + 0x14], 0
jne 0x977951
mov ebx, dword [ebp + 8]
adc eax, ebp
bt ax, 0x25
mov eax, dword [ebx]
test eax, eax
jmp 0x803009
pushal
mov eax, 1
bt ebx, 0x51
mov eax, 2
ror bh, 0xcc
mov eax, 4
bts ecx, edx
ror cx, 0xcb
cwde
mov eax, 2
bt eax, esi
test esp, edi
add si, si
mov eax, 5
cmp sp, 0x46c0
btr eax, 0xe1
mov eax, 4
dec esi
mov eax, 2
mov bx, 0xb95
mov eax, 5
shr ebx, 0xdc
mov eax, 6
popal
test bx, bx
push edx
mov edx, 1
shl dx, cl
mov dh, 0xe5
movzx edx, cx
mov edx, 2
or dl, dh
and dx, si
rol dx, cl
mov edx, 4
rcr dl, 0x8f
inc dx
mov edx, 2
sbb dh, 0x52
mov edx, 5
mov edx, 4
sar dh, cl
mov edx, edi
jmp 0x910121
je 0x93fae4
push ebx
jmp 0x93fad7
je 0x6f531a
push eax
mov eax, dword [eax + 4]
add eax, 8
jmp 0x9cbcfb
call fcn.00464c97
pop ecx
movsx edi, cx
pop esi
mov di, 0x4a87
bswap edi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x6f531a
je 0x9a69aa
push ebx
jmp 0x9a6997
mov dword [ebp - 8], 0
jmp 0x7084cb
mov edx, 2
mov edx, 5
shr dx, 0x4a
mov dl, 0x60
mov edx, 5
pop edx
jmp 0x706a4b
call fcn.00464c9d
add esp, 4
cbw
mov ax, bp
pop eax
mov esp, ebp
movzx ebp, ax
not ebp
xchg bp, bp
pop ebp
ret 0x14
push reloc.WS2_32.dll_getpeername
shr al, cl
cmp sp, cx
push 0
ror bh, cl
sar ax, cl
lahf
mov ebx, dword [ebp + 0xc]
sar al, 0xd2
mov eax, dword [ebx]
test ecx, esi
test eax, eax
jne 0x97797d
mov eax, 0x52fe24
mov bx, bp
push eax
bswap ebx
push 1
bswap bx
xchg bx, bx
movsx ebx, sp
mov ebx, 0x465200
jmp 0x656ad5
call fcn.00464c9d
add esp, 4
rcr bx, cl
btc bx, ax
bts bx, cx
mov ebx, dword [ebp - 8]
test ebx, ebx
jmp 0x719349
push eax
jmp 0x86fbaa
push eax
test ebp, edx
mov ebx, dword [ebp - 4]
cmc
clc
test ebx, ebx
jmp 0x872eb2
Function at 0x40e530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431afa
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x434070]
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 dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.004149b6
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x40e5f0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], 0x401084
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x40d020
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00416dfd
add esp, 8
mov dword [ebp - 0x24], 0x401090
lea eax, [ebp - 0x24]
push 0x4335fc
push eax
call fcn.004181cd
push edi
push esi
call fcn.00414dbe
add esp, 8
mov eax, esi
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.00415d8e
mov esp, ebp
pop ebp
ret 4

Function at 0x40f3a0
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
mov eax, dword [0x434070]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x44
lea eax, [ebp - 0x354]
push 0
push eax
call fcn.00418ba0
add esp, 0xc
lea eax, [ebp - 0x108]
xorps xmm0, xmm0
movups xmmword [ebp - 0x364], xmm0
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x108]
push eax
push 0x40d0b0
lea eax, [ebp - 0x310]
push 0x208
push eax
call fcn.0040f2f0
add esp, 0x10
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x360]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x364]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415d8e
mov esp, ebp
pop ebp
ret
Function at 0x40f640
Capabilities:
Allocate or change rwx memory
Create process on windows
Execute shellcode via indirect call
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x434070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x460], 0
push 0x400
lea eax, [ebp - 0x404]
mov dword [ebp - 0x44c], 0
push eax
mov esi, dword [edi + 0x3c]
push 0
add esi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp dword [esi], 0x4550
jne 0x40f842
push 0x44
lea eax, [ebp - 0x448]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x45c], xmm0
call fcn.00418ba0
add esp, 0xc
lea eax, [ebp - 0x45c]
push eax
lea eax, [ebp - 0x448]
push eax
push 0
push 0
push 0xc
push 0
push 0
push 0
push 0x40d110
push 0x40d110
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x40f842
push ebx
push 4
push 0x1000
push 4
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
push ebx
mov dword [ebp - 0x468], ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x40f841
push 0
push 4
lea eax, [ebp - 0x460]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x40
push 0x3000
push dword [esi + 0x50]
push 0
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x44c], eax
test eax, eax
jne 0x40f76b
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0
push dword [esi + 0x54]
push edi
push eax
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
mov dword [ebp - 0x464], 0
cmp ax, word [esi + 6]
jae 0x40f7e0
xor ebx, ebx
lea ecx, [ebx + edi]
add ecx, dword [edi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, edi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [ebp - 0x44c]
push eax
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 0x464]
lea ebx, [ebx + 0x28]
movzx eax, word [esi + 6]
inc ecx
mov dword [ebp - 0x464], ecx
cmp ecx, eax
jl 0x40f792
mov ebx, dword [ebp - 0x468]
push 0
push 4
lea eax, [ebp - 0x44c]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x45c]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov eax, dword [esi + 0x28]
add eax, dword [ebp - 0x44c]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x458]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push dword [ebp - 0x458]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x45c]
call esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00415d8e
mov esp, ebp
pop ebp
ret
Function at 0x4124c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431fb8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x434070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x41262b
cmp byte [ebx + 0x3d], 0
je 0x41262b
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x412519
xor al, al
jmp 0x41262d
push 0
push 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
call fcn.00411d20
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x28]
cmp edx, 0x10
lea esi, [ebp - 0x28]
cmovae esi, eax
cmovae edi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x18]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x412583
sub eax, 1
je 0x412587
mov edx, dword [ebp - 0x14]
sub eax, 2
mov eax, dword [ebp - 0x28]
je 0x4125dd
xor bl, bl
jmp 0x4125df
mov byte [ebx + 0x3d], 0
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x28]
cmp edx, 0x10
mov esi, dword [ebp - 0x2c]
cmovae ecx, eax
sub esi, ecx
je 0x4125bf
push dword [ebx + 0x4c]
cmp edx, 0x10
lea ecx, [ebp - 0x28]
push esi
cmovae ecx, eax
push 1
push ecx
call fcn.0041d113
mov edx, dword [ebp - 0x14]
add esp, 0x10
cmp esi, eax
mov eax, dword [ebp - 0x28]
jne 0x41257f
cmp byte [ebx + 0x3d], 0
je 0x4125dd
test esi, esi
jne 0x412544
push esi
push 8
lea ecx, [ebp - 0x28]
call fcn.00412030
jmp 0x41253e
mov bl, 1
cmp edx, 0x10
jb 0x412627
lea ecx, [edx + 1]
cmp ecx, 0x1000
jb 0x41261e
test byte [ebp - 0x28], 0x1f
je 0x4125fa
call fcn.0041cccf
mov ecx, dword [eax - 4]
cmp ecx, eax
jb 0x412606
call fcn.0041cccf
sub eax, ecx
cmp eax, 4
jae 0x412612
call fcn.0041cccf
cmp eax, 0x23
jbe 0x41261c
call fcn.0041cccf
mov eax, ecx
push eax
call fcn.00415d89
add esp, 4
mov al, bl
jmp 0x41262d
mov al, 1
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.00415d8e
mov esp, ebp
pop ebp
ret
Function at 0x4138c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x431c26
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x434070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], 0x40114c
call fcn.00415fe0
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00414cbb
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4245f3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00424472

Function at 0x4299fc
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004296bc
Function at 0x401440
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x68]
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x6c]
push ecx
push eax
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00402ff0
lea eax, [esp + 0xc]
push eax
push esi
call fcn.00403090
mov ecx, dword [esp + 0x70]
add esp, 0x14
xor ecx, esp
call fcn.00449c1a
add esp, 0x64
ret

Function at 0x401da0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x64], eax
lea eax, [esp]
push eax
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call 0x4061a0
add esp, 8
test eax, eax
jne 0x401e06
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00449c1a
add esp, 0x68
ret
mov eax, dword [esp + 0x6c]
test eax, eax
jbe 0x401e1d
push eax
lea eax, [esp + 0xc]
push edi
push eax
call fcn.00402ff0
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push ebx
call fcn.00403090
add esp, 8
test esi, esi
je 0x401e3d
mov eax, dword [esp + 4]
xor edx, edx
cmp eax, dword [esp]
sete dl
mov dword [esi], edx
mov ecx, dword [esp + 0x64]
xor ecx, esp
mov eax, 1
call fcn.00449c1a
add esp, 0x68
ret

Function at 0x401ed0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x49a010]
xor eax, esp
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call 0x4063a0
add esp, 4
test eax, eax
jne 0x401f2c
pop edi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00449c1a
add esp, 0x68
ret
lea ecx, [esp + 8]
push ecx
push esi
call fcn.00403090
mov ecx, dword [esp + 0x6c]
add esp, 8
pop edi
xor ecx, esp
mov eax, 1
call fcn.00449c1a
add esp, 0x68
ret

Function at 0x402fc3
Capabilities:
Hash data with md5

Disassembly:
add al, 0x33
leave
mov dword [eax + 0x14], ecx
adc al, 0x89
dec eax
adc bh, al
add byte [ecx], al
and eax, dword [ebp + 0x67]
Function at 0x401460
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 0
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x40156a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x401563
push ebx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x401563
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40155c
lea ecx, [esp + 0x10]
push 0
push ecx
push ebx
push eax
push edi
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x401555
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x401555
mov eax, dword [esp + 0x18]
test eax, eax
je 0x401555
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
push ecx
push 0x67c630
push 0
push ebx
push eax
call dword [sym.imp.OLEPRO32.DLL_OleLoadPicture]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
jl 0x40156a
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40156a
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 8
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 8
ret 4
Function at 0x404930
Capabilities:
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64dc6b
push eax
mov dword fs:[0], esp
sub esp, 0x218
lea eax, [esp + 0x114]
push ebx
push ebp
push esi
push edi
push eax
mov esi, ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
xor ebp, ebp
cmp eax, ebp
jne 0x40497d
lea ecx, [esp + 0x124]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, eax
call fcn.004a1e80
mov eax, dword [esp + 0x10]
mov dword [esp + 0x230], ebp
cmp eax, ebp
mov dword [esp + 0x14], ebp
je 0x4049a9
add eax, 0xc
jmp 0x4049ae
mov eax, 0x73d670
lea ecx, [esp + 0x14]
lea edx, [esp + 0x20]
push ecx
push edx
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
cmp eax, ebp
jne 0x4049dd
mov ebx, dword [esp + 0x238]
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.00498be0
jmp 0x4049ff
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x238]
lea edx, [esp + 0x124]
push ecx
push edx
push str._s_s
push ebx
call fcn.00499700
add esp, 0x10
mov edi, 0x6e049c
mov eax, edi
mov dword [esp + 0x18], edi
test eax, eax
je 0x404a1e
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x1c], ecx
jmp 0x404a22
mov dword [esp + 0x1c], ebp
lea ecx, [esp + 0x18]
push ebp
push ecx
mov ecx, ebx
call fcn.004999d0
cmp eax, ebp
jle 0x404a3c
push ebp
push eax
mov ecx, ebx
call fcn.00499c10
mov eax, dword [ebx]
cmp eax, ebp
lea edi, [eax + 0xc]
jne 0x404a4a
mov edi, 0x73d670
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x20]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x6e0494
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00498b70
lea ecx, [esp + 0x10]
mov dword [esp + 0x230], 0xffffffff
call fcn.00498970
mov ecx, dword [esp + 0x228]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x224
ret 4
Function at 0x404ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x64dc9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [0x6e3700]
push ebp
push esi
xor esi, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0x30]
mov edi, 1
mov dword [esp + 0x24], edi
mov ecx, dword [ebp]
mov eax, dword [ecx - 8]
cmp eax, esi
mov dword [esp + 0x10], eax
jle 0x404c2a
push ebx
mov ebx, 2
mov edx, dword [ebp]
cmp byte [edx + esi], 0x25
je 0x404b57
mov eax, esi
inc esi
inc edi
lea ecx, [esp + 0x10]
mov dl, byte [edx + eax]
inc ebx
mov byte [esp + 0x18], dl
mov eax, dword [esp + 0x18]
push eax
call fcn.00623dd6
jmp 0x404c1f
xor al, al
xor cl, cl
cmp edi, dword [esp + 0x14]
jge 0x404b65
mov al, byte [edx + esi + 1]
cmp ebx, dword [esp + 0x14]
jge 0x404b6f
mov cl, byte [edx + esi + 2]
cmp al, 0x61
jl 0x404b79
cmp al, 0x7a
jg 0x404b79
add al, 0xe0
cmp cl, 0x61
jl 0x404b86
cmp cl, 0x7a
jg 0x404b86
add cl, 0xe0
cmp al, 0x30
jl 0x404b8e
cmp al, 0x39
jle 0x404b96
cmp al, 0x41
jl 0x404c11
cmp al, 0x5a
jg 0x404c11
cmp al, 0x30
jl 0x404ba2
cmp al, 0x39
jg 0x404ba2
sub al, 0x30
jmp 0x404ba4
sub al, 0x37
cmp cl, 0x30
mov byte [esp + 0x34], al
jl 0x404bb2
cmp cl, 0x39
jle 0x404bbc
cmp cl, 0x41
jl 0x404bf8
cmp cl, 0x5a
jg 0x404bf8
shl al, 4
cmp cl, 0x30
mov dl, al
jl 0x404bd3
cmp cl, 0x39
jg 0x404bd3
movsx eax, cl
sub eax, 0x30
jmp 0x404bd9
movsx eax, cl
sub eax, 0x37
add dl, al
mov byte [esp + 0x34], dl
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x14]
call fcn.00623dd6
add esi, 3
add edi, 3
add ebx, 3
jmp 0x404c1f
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push edx
call fcn.00623dd6
add esi, 2
add edi, 2
add ebx, 2
jmp 0x404c1f
push 0x25
lea ecx, [esp + 0x14]
call fcn.00623dd6
inc esi
inc edi
inc ebx
cmp esi, dword [esp + 0x14]
jl 0x404b2f
pop ebx
mov esi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00623748
mov dword [esp + 0x18], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.006239d3
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret 8