joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41da4c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x47f400]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41da97
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041dbeb
test al, al
jne 0x41da91
sub edx, 2
cmp edx, edi
jne 0x41da77
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41dab9
lea eax, [edi + 2]
cmp edx, eax
je 0x41dab9
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041d998
add esp, 0x10
jmp 0x41dbb3
push esi
lea ecx, [ebp - 0x255]
call fcn.0041dbeb
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41dafc
push dword [ebp - 0x25c]
jmp 0x41daa9
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41db39
cmp word [ebp - 0x226], 0
je 0x41db5a
cmp word [ebp - 0x226], ax
jne 0x41db39
cmp word [ebp - 0x224], 0
je 0x41db5a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041d998
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41dba6
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41db13
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41db8e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41dbb3
push 0x41d7c8
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004233c0
add esp, 0x10
jmp 0x41db83
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409962
leave
ret

Function at 0x424e90
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x424ebd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x424ebd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4265dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
sar eax, 2
push edi
mov edi, dword [ebp + 0x14]
test eax, eax
je 0x42665d
push esi
xor esi, esi
cmp dword [ebp + 0x18], esi
jbe 0x42665c
push ebx
mov ebx, 0x481088
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebx
mov byte [edi + esi], al
call fcn.004013cb
push eax
call fcn.00402409
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x427558
mov byte [edi + esi], al
call fcn.0040eeee
xor byte [edi + esi], al
add esp, 0x1c
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x4265ff
pop ebx
pop esi
lea ecx, [ebp + 8]
call fcn.00405157
pop edi
pop ebp
ret 0x14
Function at 0x403030
Capabilities:
Terminate process

Disassembly:
call fcn.00403675
jmp 0x40303a
push 0x58
push 0x403838
call fcn.00403728
xor ebx, ebx
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x4043b4
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x40308c
cmp eax, esi
jne 0x40307f
xor esi, esi
inc esi
mov edi, esi
jmp 0x40308f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x403063
xor esi, esi
inc esi
cmp dword [0x4043b8], esi
jne 0x4030a1
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4030db
cmp dword [0x4043b8], ebx
jne 0x4030d5
mov dword [0x4043b8], esi
push 0x4011ac
push 0x4011a0
call fcn.00403219
pop ecx
pop ecx
test eax, eax
je 0x4030db
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x403209
mov dword [0x404044], esi
cmp dword [0x4043b8], esi
jne 0x4030fe
push 0x40119c
push 0x401194
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4043b8], 2
test edi, edi
jne 0x40310b
xor eax, eax
mov ecx, 0x4043b4
xchg dword [ecx], eax
cmp dword [0x4043bc], 0
je 0x403137
push 0x4043bc
call fcn.00403580
pop ecx
test eax, eax
je 0x403137
push ebx
push 2
push ebx
mov esi, dword [0x4043bc]
mov ecx, esi
call dword [0x405130]
call esi
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x1c], esi
mov edi, dword [ebp - 0x20]
mov cl, byte [esi]
cmp cl, 0x20
ja 0x403195
test cl, cl
je 0x403164
test edi, edi
jne 0x403195
test cl, cl
je 0x403164
cmp cl, 0x20
ja 0x403164
inc esi
mov dword [ebp - 0x1c], esi
mov cl, byte [esi]
jmp 0x403153
test byte [ebp - 0x3c], 1
je 0x403170
movzx eax, word [ebp - 0x38]
jmp 0x403173
push 0xa
pop eax
push eax
push esi
push ebx
push 0x400000
call main
mov dword [0x404040], eax
cmp dword [0x404058], 0
jne 0x4031ee
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cl, 0x22
jne 0x4031a6
xor eax, eax
test edi, edi
sete al
mov edi, eax
mov dword [ebp - 0x20], edi
movzx eax, cl
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x4031b9
inc esi
mov dword [ebp - 0x1c], esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x403144
cmp dword [0x404044], 0
jne 0x403202
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x404040]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave

Function at 0x403464
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x403858
call fcn.00403728
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4034c4
cmp eax, 0xffffffff
je 0x4034c4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4034bd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4034bd
cmp edx, 0x10000000
jae 0x4034bd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4034ba
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403530
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40356e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x403566
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x403570
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403556
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp

Function at 0x403640
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x403671
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x403671
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x403671
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401090
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
je 0x4010db
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x4010ac
mov eax, edi
and dword [ebp + 0x10], 0
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [0x69b320]
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0xc], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x4010e1
test ecx, ecx
je 0x4010db
test edi, edi
jne 0x4010a1
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
pop esi
pop ebp
jmp dword [0x69b310]

Function at 0x4010ea
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [esi]
test edi, edi
je 0x401135
and dword [esi], 0
mov eax, 0x400000
cmp edi, eax
ja 0x401106
mov eax, edi
and dword [ebp + 0x10], 0
push 0
lea ecx, [ebp + 0x10]
push ecx
push eax
push dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [0x69b324]
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0xc], ecx
add dword [esi], ecx
sub edi, ecx
test eax, eax
je 0x40113b
test ecx, ecx
je 0x401135
test edi, edi
jne 0x4010fb
pop edi
xor eax, eax
pop esi
pop ebp
ret
pop edi
pop esi
pop ebp
jmp dword [0x69b310]

Function at 0x4011bc
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push dword [eax]
call dword [0x69b32c]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4011e1
call dword [0x69b310]
test eax, eax
jne 0x4011f6
mov edx, dword [ebp - 4]
xor eax, eax
xor ecx, ecx
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
xor eax, eax
pop esi
leave
ret
Function at 0x404e8f
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp dword [esi + 0x44], ebx
jne 0x404ea6
push 3
pop eax
jmp 0x404f2f
push edi
mov edi, dword [ebp + 0xc]
push 0x80
mov dword [esi + 0x40], ebx
push dword [edi]
mov dword [ebp + 8], ebx
call dword [0x69b35c]
mov eax, dword [edi]
mov ecx, dword [esi]
mov edx, dword [ecx]
push ebx
push 0x89011
push eax
call dword [edx + 0x24]
test eax, eax
jne 0x404ed6
push 5
pop eax
jmp 0x404f2e
cmp dword [esi + 0x1c], ebx
ja 0x404ee0
cmp dword [esi + 0x18], ebx
jbe 0x404eee
push esi
push dword [ebp + 0x10]
call fcn.00404c72
pop ecx
pop ecx
mov dword [ebp + 8], eax
mov eax, dword [esi + 0x40]
push 6
pop ecx
cmp eax, ebx
jbe 0x404f09
xor edx, edx
cmp eax, 0xd
setne dl
dec edx
and edx, 7
add edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [esi + 0x18]
or eax, dword [esi + 0x1c]
je 0x404f14
mov dword [ebp + 8], ecx
mov ecx, dword [esi]
not dword [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x50]
cmp dword [ebp + 8], ebx
jle 0x404f2b
push dword [edi]
call dword [0x69b358]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x404f33
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x677fb4
call fcn.005b8561
mov esi, dword [ebp + 8]
xor edi, edi
xor ebx, ebx
cmp dword [esi + 0x44], edi
je 0x404f5f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00404e8f
add esp, 0x10
jmp 0x404f86
cmp dword [ebp + 0x18], edi
jl 0x404f8c
cmp dword [ebp + 0x18], 1
jle 0x404f74
cmp dword [ebp + 0x18], 3
jg 0x404f8c
push 1
jmp 0x404f75
push edi
push edi
push edi
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push esi
call fcn.00403d1c
add esp, 0x18
mov ebx, eax
cmp ebx, edi
jne 0x404fe0
cmp dword [esi + 0x58], edi
jne 0x404f9e
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x28]
je 0x404f9e
push 7
pop ebx
jmp 0x404fe2
cmp dword [esi + 8], edi
je 0x404fed
mov ecx, dword [esi + 0x60]
mov dword [ebp - 4], edi
cmp ecx, edi
je 0x404fd2
call fcn.004098cb
mov ecx, edx
jmp 0x404fd6
xor eax, eax
xor ecx, ecx
mov edx, dword [ebp + 0x14]
mov dword [edx], eax
mov dword [edx + 4], ecx
cmp ebx, edi
jle 0x404fed
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [0x69b358]
mov eax, ebx
call fcn.005b8606
ret
Function at 0x406094
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push 0x124
mov eax, 0x6783a6
call fcn.005b8597
xor esi, esi
push 0x69c5b8
mov ecx, ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], esi
call fcn.00401b65
mov dword [ebp - 4], esi
inc esi
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x12c], esi
call fcn.004534e7
mov dword [ebp - 4], esi
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x11c]
call fcn.004015a6
push esi
lea eax, [ebp - 0x11c]
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
mov esi, str.NONE
push esi
mov byte [ebp - 4], 2
call fcn.00401b65
push ecx
mov ecx, esp
mov dword [ebp - 0x124], esp
push str.InstallerLocation
mov byte [ebp - 4], 3
call fcn.00401b65
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
push str.SoftwareMicrosoftWindowsCurrentVersionInstaller
mov byte [ebp - 4], 4
call fcn.00401b65
push 3
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 2
call fcn.00453f23
mov edi, 0x69cdcc
test eax, eax
je 0x4061df
push esi
lea ecx, [ebp - 0x11c]
call fcn.0040234b
test eax, eax
je 0x4061df
mov eax, dword [ebp - 0x11c]
cmp dword [eax - 0xc], 0
je 0x4061df
push edi
lea ecx, [ebp - 0x11c]
call fcn.00405af6
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
push eax
call fcn.0040149c
add eax, 0x10
mov dword [ebp - 0x118], eax
mov esi, str.msi.dll
push esi
mov byte [ebp - 4], 5
call fcn.005b80b0
pop ecx
pop ecx
push eax
push esi
lea ecx, [ebp - 0x118]
call fcn.00403c44
mov esi, dword [ebp - 0x118]
push esi
call dword [0x69b370]
cmp eax, 0xffffffff
je 0x4061d3
lea eax, [ebp - 0x11c]
push eax
mov ecx, ebx
call fcn.0040191c
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.0040124d
mov eax, dword [ebx]
mov eax, dword [eax - 0xc]
mov esi, 0x104
test eax, eax
jne 0x40629c
push 0x69d1c0
call dword [0x69b36c]
mov dword [ebp - 0x128], eax
test eax, eax
je 0x40629c
push esi
lea ecx, [ebp - 0x114]
push ecx
push eax
call dword [0x69b368]
test eax, eax
je 0x406290
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x118]
call fcn.00401b65
push 0x5c
lea ecx, [ebp - 0x118]
mov byte [ebp - 4], 6
call fcn.0040391b
cmp eax, 0xffffffff
je 0x40627e
push eax
lea eax, [ebp - 0x124]
push eax
lea ecx, [ebp - 0x118]
call fcn.00403bfd
push eax
mov ecx, ebx
mov byte [ebp - 4], 7
call fcn.0040191c
mov ecx, dword [ebp - 0x124]
add ecx, 0xfffffff0
mov byte [ebp - 4], 6
call fcn.0040124d
push edi
mov ecx, ebx
call fcn.00405af6
mov ecx, dword [ebp - 0x118]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.0040124d
push dword [ebp - 0x128]
call dword [0x69b360]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x4062c8
push esi
lea eax, [ebp - 0x114]
push eax
call dword [0x69b364]
lea eax, [ebp - 0x114]
push eax
mov ecx, ebx
call fcn.0040196c
push edi
mov ecx, ebx
call fcn.00405af6
mov ecx, dword [ebp - 0x11c]
add ecx, 0xfffffff0
call fcn.0040124d
lea ecx, [ebp - 0x120]
mov byte [ebp - 4], 0
call fcn.004534f0
mov eax, ebx
call fcn.005b861a
ret
Function at 0x406a54
Capabilities:
Get common file path

Disassembly:
push 0x230
mov eax, 0x678512
call fcn.005b8597
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
and dword [ebp - 0x228], 0
push 0x69c5b8
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x22c], ebx
call fcn.00401b65
lea eax, [ebp - 0x218]
xor edi, edi
push eax
inc edi
push 0x104
mov dword [ebp - 4], edi
call dword [0x69b4a0]
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x224]
call fcn.004015a6
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x224]
push 0x69d160
push eax
mov byte [ebp - 4], 2
call fcn.0040255b
add esp, 0xc
push 0x69cdcc
lea ecx, [ebp - 0x224]
call fcn.00405af6
push ebx
lea ecx, [ebp - 0x21c]
call fcn.00401b65
mov ebx, 0x69d2a8
push ebx
mov byte [ebp - 4], 3
call fcn.005b80b0
pop ecx
push eax
push ebx
lea ecx, [ebp - 0x21c]
call fcn.00403c44
mov ebx, dword [ebp - 0x224]
lea eax, [ebp - 0x114]
push eax
push 0
push str.sufun
push ebx
call dword [0x69b374]
test eax, eax
je 0x406b4c
lea eax, [ebp - 0x114]
push eax
call fcn.005b80b0
pop ecx
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004017d9
lea ecx, [ebp - 0x238]
call fcn.00448aab
push str.1203482829023872873728
push dword [ebp - 0x21c]
lea ecx, [ebp - 0x238]
push dword [ebp - 0x22c]
mov byte [ebp - 4], 4
call fcn.00449991
test eax, eax
je 0x406b92
mov eax, dword [ebp - 0x220]
add eax, 0xfffffff0
push eax
call fcn.0040149c
add eax, 0x10
pop ecx
mov dword [esi], eax
jmp 0x406ba7
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
push eax
call fcn.0040149c
add eax, 0x10
pop ecx
mov dword [esi], eax
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x228], edi
mov byte [ebp - 4], 3
call fcn.00448ad2
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040124d
lea ecx, [ebx - 0x10]
call fcn.0040124d
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0040124d
mov eax, esi
call fcn.005b861a
ret 8
Function at 0x409156
Capabilities:
Hash data with crc32

Disassembly:
cmp byte [ecx + 0x1004b], 0
jne 0x409199
mov byte [ecx + 0x1004b], 1
xor edx, edx
lea eax, [ecx + 0x1004c]
push esi
push 8
mov ecx, edx
pop esi
test cl, 1
je 0x409183
shr ecx, 1
xor ecx, 0xedb88320
jmp 0x409185
shr ecx, 1
dec esi
test esi, esi
jg 0x409174
mov dword [eax], ecx
inc edx
add eax, 4
cmp edx, 0xff
jle 0x40916f
pop esi
ret

Function at 0x40919a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x4091d4
cmp dword [ebp + 0xc], 0
je 0x4091d4
push esi
movzx edx, byte [eax]
xor edx, dword [ebp + 0x10]
mov esi, dword [ebp + 0x10]
dec dword [ebp + 0xc]
and edx, 0xff
mov edx, dword [ecx + edx*4 + 0x1004c]
shr esi, 8
xor esi, edx
inc eax
cmp dword [ebp + 0xc], 0
mov dword [ebp + 0x10], esi
jne 0x4091ab
pop esi
mov eax, dword [ebp + 0x10]
pop ebp
ret 0xc

Function at 0x40ff2a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 8
mov eax, 0x682d15
call fcn.005b852e
mov edi, ecx
call fcn.004b8afa
push eax
lea ecx, [ebp - 0x10]
call fcn.004015a6
mov eax, dword [0x7534c4]
and dword [ebp - 4], 0
cmp byte [eax + 0x400], 0
je 0x40ffa5
add eax, 0x404
push eax
lea ecx, [ebp - 0x10]
call fcn.0040191c
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov esi, esp
push eax
call fcn.0040149c
add eax, 0x10
mov dword [esi], eax
pop ecx
lea eax, [ebp - 0x14]
push eax
call fcn.004426d5
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040191c
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.0040124d
mov esi, dword [ebp - 0x10]
push esi
call dword [0x69b370]
cmp eax, 0xffffffff
je 0x40ffd5
call fcn.004c66d7
mov eax, dword [eax + 8]
push 0
push esi
push eax
call dword [0x69b680]
mov dword [edi + 0x110], eax
test eax, eax
je 0x40ffd5
cmp eax, 1
jne 0x40ffec
call fcn.004c66d7
mov eax, dword [eax + 8]
push 0x73
push eax
call dword [0x69ba3c]
mov dword [edi + 0x110], eax
lea ecx, [esi - 0x10]
call fcn.0040124d
call fcn.005b8606
ret
Function at 0x412888
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push edi
xor edi, edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
cmp dword [ebp + 0x10], edi
jne 0x4128b7
mov eax, ecx
cdq
and edx, 3
add eax, edx
sar eax, 2
inc eax
imul eax, eax, 3
jmp 0x41293a
push ebx
xor eax, eax
push esi
mov dword [ebp + 8], edi
cmp ecx, edi
jle 0x412938
xor esi, esi
xor edx, edx
mov ecx, dword [ebp - 4]
cmp dword [ebp + 8], ecx
jge 0x412925
mov ebx, dword [ebp + 8]
mov ecx, dword [ebp - 8]
movsx ecx, byte [ebx + ecx]
inc dword [ebp + 8]
cmp ecx, 0xd
je 0x412920
cmp ecx, 0xa
je 0x412920
shl edx, 6
cmp ecx, 0x60
jle 0x4128f2
add ecx, 0xffffffb9
jmp 0x41290c
cmp ecx, 0x40
jle 0x4128fc
add ecx, 0xffffffbf
jmp 0x41290c
cmp ecx, 0x3d
jne 0x412904
inc edi
jmp 0x41291f
cmp ecx, 0x2f
jle 0x412910
add ecx, 4
or edx, ecx
jmp 0x41291f
jne 0x412917
or edx, 0x3f
jmp 0x41291f
cmp ecx, 0x2b
jne 0x41291f
or edx, 0x3e
inc esi
cmp esi, 4
jne 0x4128c6
cmp esi, 4
jne 0x412961
lea ecx, [eax + 3]
mov esi, ecx
sub esi, edi
cmp esi, dword [ebp + 0x10]
jle 0x412956
xor eax, eax
pop esi
pop ebx
pop edi
leave
ret
dec ecx
test edi, edi
je 0x41294d
mov esi, eax
sub esi, edi
add esi, 3
cmp ecx, esi
jge 0x412953
mov esi, dword [ebp + 0xc]
mov byte [ecx + esi], dl
shr edx, 8
cmp ecx, eax
jne 0x41293d
push 3
pop ecx
sub ecx, edi
add eax, ecx
mov ecx, dword [ebp - 4]
cmp dword [ebp + 8], ecx
jl 0x4128c2
jmp 0x412938
Function at 0x41706b
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret
Function at 0x41f05d
Capabilities:
Get common file path

Disassembly:
push 0x214
mov eax, 0x67a6bb
call fcn.005b8597
mov esi, 0x104
push esi
lea eax, [ebp - 0x114]
push eax
call dword [0x69b364]
lea eax, [ebp - 0x114]
push eax
call dword [0x69b354]
cmp byte [ebp + eax - 0x115], 0x5c
mov edi, dword [0x69b5c8]
je 0x41f0aa
push 0x69cdcc
lea eax, [ebp - 0x114]
push eax
call edi
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005b8ac0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [0x69b5c4]
push 0x69f7a4
lea eax, [ebp - 0x218]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
call dword [0x69b36c]
test eax, eax
jne 0x41f15a
push str.System_Error
lea ecx, [ebp - 0x21c]
call fcn.00401b65
and dword [ebp - 4], 0
push str.The_program_cant_start_because_oledlg.dll_is_missing_from_your_computer._Try_reinstalling_the_program_to_fix_this_problem.
lea ecx, [ebp - 0x220]
call fcn.00401b65
mov esi, dword [ebp - 0x21c]
mov edi, dword [ebp - 0x220]
mov byte [ebp - 4], 1
call fcn.004037b3
test eax, eax
je 0x41f12f
mov eax, dword [eax + 0x20]
push 0x10
push esi
push edi
push eax
call dword [0x69b9f8]
mov ecx, dword [ebp - 0x220]
add ecx, 0xfffffff0
call fcn.0040124d
mov ecx, dword [ebp - 0x21c]
add ecx, 0xfffffff0
call fcn.0040124d
xor eax, eax
jmp 0x41f164
push eax
call dword [0x69b360]
xor eax, eax
inc eax
call fcn.005b861a
ret
Function at 0x424b9d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0x9c
xor ebx, ebx
lea eax, [ebp - 0xa0]
push ebx
push eax
call fcn.005b8ac0
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [0x69b5d4]
test eax, eax
je 0x424c0a
mov eax, dword [ebp - 0x90]
dec eax
dec eax
jne 0x424c0a
cmp dword [ebp - 0x9c], 6
jne 0x424bff
cmp dword [ebp - 0x98], 2
jae 0x424c08
cmp dword [ebp - 0x9c], 0xa
jne 0x424c0a
mov bl, 1
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.005b851f
leave
ret