joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c310
Capabilities:
Terminate process

Disassembly:
test eax, eax
jne 0x44c319
mov eax, str.undefined
push eax
push str.libpng_error:__s
call fcn.00554d8a
add eax, 0x40
push eax
call fcn.00554f3f
add esp, 0xc
push 0x5e088c
call fcn.00554d8a
add eax, 0x40
push eax
call fcn.00554f3f
add esp, 8
test esi, esi
je 0x44c359
mov eax, dword [esi + 0x40]
test eax, eax
je 0x44c359
push 1
push esi
call eax
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x454290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], ax
call fcn.00557f00
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00404af0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.005521f1
mov esp, ebp
pop ebp
ret

Function at 0x454300
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x210], 0
mov word [ebp - 0x20c], ax
call fcn.00557f00
add esp, 0xc
push 0
push 0x1a
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.Avatder
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call fcn.00404af0
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, esi
call fcn.005521f1
mov esp, ebp
pop ebp
ret

Function at 0x454540
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00559730
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
lea edx, [ebp - 0x1008]
push edx
lea edx, [ebp - 0x804]
push edx
lea edx, [ebp - 0x100c]
push edx
push 0
push ecx
push eax
mov dword [ebp - 0x100c], 1
mov dword [ebp - 0x1008], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x45461e
mov eax, dword [ebp - 0x100c]
cmp eax, 1
je 0x45460e
cmp eax, 7
je 0x45460e
cmp eax, 2
jne 0x4545f8
push 0x400
lea ecx, [ebp - 0x1004]
push ecx
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1008], eax
test eax, eax
je 0x4545e2
cmp eax, 0x400
ja 0x4545e2
lea eax, [ebp - 0x1004]
push eax
jmp 0x454615
mov eax, 0xea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret 4
mov eax, 0x3f4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x804]
push ecx
mov ecx, edi
call fcn.004026c0
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005521f1
mov esp, ebp
pop ebp
ret 4

Function at 0x454630
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, edx
push esi
lea esi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x454640
mov ecx, dword [ebp + 0xc]
sub eax, esi
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push edx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebp
ret 8
Function at 0x4553d0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 8]
push eax
push 0x5e206c
push 1
push 0
push 0x5e205c
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x455411
push esi
push str.CoCreateInstance_failed:_0x_08lxn
jmp 0x455446
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jns 0x45542e
push esi
push str.get_LocalPolicy_failed:_0x_08lxn
jmp 0x455446
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
test esi, esi
jns 0x45544e
push esi
push str.get_CurrentProfile_failed:_0x_08lxn
call fcn.0055504b
add esp, 8
mov eax, dword [ebp - 4]
test eax, eax
je 0x45545d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 8]
test eax, eax
je 0x45546c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4562b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ecx + 0x10]
mov dword [ebp - 0x70], 0
call fcn.00414150
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, esi
mov dword [ebp - 0x5c], 0x67452301
mov dword [ebp - 0x58], 0xefcdab89
mov dword [ebp - 0x54], 0x98badcfe
mov dword [ebp - 0x50], 0x10325476
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.00455fd0
lea ecx, [ebp - 0x6c]
push ecx
lea esi, [ebp - 0x5c]
call fcn.004560e0
lea edx, [ebp - 0x6c]
push edx
push edi
call fcn.004561f0
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov eax, edi
pop esi
call fcn.005521f1
mov esp, ebp
pop ebp
ret
Function at 0x459d20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ccd3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x600f84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esi + 0xc], ebx
mov dword [esi], vtable.TiXmlNode.0
call fcn.0040a860
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x44]
mov dword [esi], vtable.TiXmlElement.0
or eax, 0xffffffff
mov dword [edi + 8], eax
mov dword [edi + 4], eax
lea ecx, [edi + 0x14]
mov dword [edi + 0xc], ebx
mov dword [edi], vtable.TiXmlAttribute.0
call fcn.0040a860
lea ecx, [edi + 0x30]
call fcn.0040a860
mov dword [edi + 0x10], ebx
mov dword [edi + 0x50], edi
mov dword [edi + 0x4c], edi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
call fcn.00416370
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45a320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x45a359
cmp byte [esi + 0x44], bl
jne 0x45a352
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 2
mov eax, dword [str.Failed_to_open_file]
push eax
lea ecx, [esi + 0x4c]
call fcn.00416370
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
xor al, al
pop ebx
pop ebp
ret 4
push edi
mov edi, dword [esi + 0x18]
test edi, edi
je 0x45a372
mov ecx, edi
mov edx, dword [ecx]
mov eax, dword [edx]
mov edi, dword [edi + 0x40]
push 1
call eax
test edi, edi
jne 0x45a361
xor eax, eax
push 2
push eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
or edi, 0xffffffff
push ebx
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call fcn.005567fe
push ebx
call fcn.0055670f
mov ecx, dword [ebp + 8]
push 0
push 0
push ecx
mov ebx, eax
call fcn.005567fe
add esp, 0x1c
test ebx, ebx
jg 0x45a3d6
cmp byte [esi + 0x44], 0
jne 0x45a3ce
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 0xc
mov edx, dword [str.Error_document_empty.]
push edx
lea ecx, [esi + 0x4c]
call fcn.00416370
mov dword [esi + 0x70], edi
mov dword [esi + 0x6c], edi
pop edi
xor al, al
pop ebx
pop ebp
ret 4
lea eax, [ebx + 1]
push eax
call fcn.00551776
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edi, eax
push ebx
push edi
mov byte [edi], 0
call fcn.005562c2
add esp, 0x14
cmp eax, 1
je 0x45a433
push edi
call fcn.00552be1
add esp, 4
cmp byte [esi + 0x44], 0
jne 0x45a42b
mov byte [esi + 0x44], 1
mov dword [esi + 0x48], 2
mov edx, dword [str.Failed_to_open_file]
push edx
lea ecx, [esi + 0x4c]
call fcn.00416370
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x6c], eax
pop edi
xor al, al
pop ebx
pop ebp
ret 4
mov byte [edi + ebx], 0
cmp byte [edi], 0
mov eax, edi
mov ecx, edi
je 0x45a45c
mov dl, byte [eax]
cmp dl, 0xd
jne 0x45a453
mov byte [ecx], 0xa
inc eax
inc ecx
cmp byte [eax], 0xa
jne 0x45a457
jmp 0x45a456
mov byte [ecx], dl
inc ecx
inc eax
cmp byte [eax], 0
jne 0x45a440
push 0
mov byte [ecx], 0
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0
push edi
mov ecx, esi
call edx
push edi
call fcn.00552be1
add esp, 4
xor eax, eax
cmp byte [esi + 0x44], al
pop edi
sete al
pop ebx
pop ebp
ret 4
Function at 0x45b150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57ae18
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x600f84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0xd]
mov dword [ebp - 4], ebx
call fcn.00411670
push 8
call fcn.00552482
add esp, 4
cmp eax, ebx
je 0x45b266
push eax
push 8
mov dword [esi], eax
xor edi, edi
call fcn.00403830
add esp, 8
cmp eax, ebx
je 0x45b1ba
xor ecx, ecx
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [esi]
mov dword [ecx], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
lea edi, [esi + 0x18]
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], edi
mov dword [edi], ebx
lea edx, [edi + 0x14]
push edx
lea ecx, [ebp - 0xd]
mov byte [ebp - 4], 2
call fcn.00411670
push 8
call fcn.00552482
add esp, 4
cmp eax, ebx
je 0x45b24f
push eax
push 8
mov dword [edi], eax
call fcn.00403830
add esp, 8
cmp eax, ebx
je 0x45b20f
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov eax, dword [edi]
mov dword [eax], edi
lea ecx, [esi + 0x30]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
call fcn.0040a860
lea ecx, [esi + 0x60]
call fcn.0040a860
mov ecx, dword [ebp + 0xc]
mov dx, word [ecx]
mov word [esi + 0x7c], dx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push ebx
lea ecx, [ebp - 0x20]
call fcn.00404580
push 0x5ee16c
lea eax, [ebp - 0x20]
push eax
call fcn.0055bc30
push ebx
lea ecx, [ebp - 0x20]
call fcn.00404580
push 0x5ee16c
lea ecx, [ebp - 0x20]
push ecx
call fcn.0055bc30
int3
Function at 0x4607f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b378
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x600f84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push 4
mov dword [edi + 0x30], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0x201
mov dword [edi + 0x18], 6
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov dword [edi + 0xc], ebx
call fcn.00552482
add esp, 4
cmp eax, ebx
je 0x460857
mov ecx, eax
call fcn.00416f70
jmp 0x460859
xor eax, eax
mov dword [edi + 0x30], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x38], eax
lea esi, [ebp + 8]
mov eax, edi
mov dword [edi + 0x3c], ebx
call fcn.00456670
push eax
mov dword [ebp - 4], ebx
call fcn.004598a0
add esp, 4
lea ecx, [ebp + 8]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.00417030
mov edx, dword [esi]
mov eax, dword [edx + 0x18]
push 0x20
mov ecx, esi
call eax
mov byte [edi + 0x40], al
cmp dword [edi + 0x38], ebx
jne 0x4608b8
mov eax, dword [edi + 0xc]
or eax, 4
and eax, 0x17
mov dword [edi + 0xc], eax
test dword [edi + 0x10], eax
je 0x4608b8
push ebx
mov ecx, edi
call fcn.004565b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4608d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a20b
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x600f84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00551fee
push 4
mov dword [ebp - 4], 0
call fcn.00552482
add esp, 4
test eax, eax
je 0x460922
mov ecx, eax
call fcn.00416f70
jmp 0x460924
xor eax, eax
mov dword [esi + 0x38], eax
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x460a00
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebx + 0x28]
push edi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x108], 0
call fcn.00557f00
push edi
lea ecx, [ebp - 0x108]
push 0x104
push ecx
call fcn.00556990
push 0x5e2a90
lea edx, [ebp - 0x108]
push 0x104
push edx
call fcn.005569ef
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.005569ef
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x30e]
push edx
mov word [ebp - 0x310], cx
call fcn.00557f00
add esp, 0x3c
push 0x104
lea eax, [ebp - 0x310]
push eax
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [ebp - 0x310]
push edx
xor edi, edi
call esi
test eax, eax
je 0x460b15
lea ebx, [ebx]
movzx eax, word [ebp + edi*2 - 0x310]
cmp eax, 0x5c
je 0x460ae2
cmp eax, 0x2f
jne 0x460b07
xor eax, eax
push eax
lea ecx, [ebp - 0x310]
push ecx
mov word [ebp + edi*2 - 0x310], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov edx, 0x5c
mov word [ebp + edi*2 - 0x310], dx
lea eax, [ebp - 0x310]
push eax
inc edi
call esi
cmp edi, eax
jne 0x460ad0
mov edi, dword [ebx + 0x38]
lea ecx, [ebp - 0x318]
push ecx
mov esi, ebx
mov dword [ebp - 0x314], 0x23
mov dword [ebp - 0x318], 0
call fcn.00462910
test eax, eax
jne 0x460ba5
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x460b77
pop edi
pop esi
lea eax, [ebx + 0x23]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x318]
push ebx
lea eax, [ebp - 0x31c]
push eax
push edi
push ecx
push esi
mov dword [ebp - 0x31c], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x460b9e
mov dword [ebp - 0x314], ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x314]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005521f1
mov esp, ebp
pop ebp
ret

Function at 0x461460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push eax
push esi
push 1
push ecx
call fcn.005562c2
sub esi, eax
add esp, 0x10
neg esi
sbb eax, eax
and eax, str._read_write_error
pop esi
pop ebp
ret 8
Function at 0x4667f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x60a480], ecx
inc edx
cmp edx, 0x100
jb 0x4667f2
ret

Function at 0x4668a0
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xffffffff
test ecx, ecx
je 0x4668ca
push esi
jmp 0x4668b0
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x60a480]
inc edx
dec ecx
jne 0x4668b0
pop esi
ret
Function at 0x4673a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ecx]
and esi, 7
mov dword [ebp - 4], 0
cmp eax, 5
jae 0x4673c2
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
lea edx, [edx + eax - 4]
push ebx
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], edx
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 8]
add edi, eax
cmp edi, edx
jae 0x4673f0
mov cl, byte [edi]
and cl, 0xfe
cmp cl, 0xe8
je 0x4673f0
inc edi
cmp edi, edx
jb 0x4673e1
mov ebx, edi
sub ebx, eax
mov eax, ebx
sub eax, dword [ebp - 8]
mov dword [ebp - 4], ebx
cmp edi, edx
jae 0x4674f7
cmp eax, 3
jbe 0x467427
xor esi, esi
mov al, byte [edi + 4]
mov dword [ebp - 8], ebx
test al, al
je 0x467464
cmp al, 0xff
je 0x467464
and esi, 3
add esi, esi
or esi, 1
inc ebx
mov dword [ebp - 4], ebx
jmp 0x4673d5
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x46740b
movzx eax, byte [esi + 0x5d0994]
mov ecx, edi
sub ecx, eax
cmp byte [esi + 0x5d098c], 0
mov al, byte [ecx + 4]
je 0x467450
test al, al
je 0x467450
cmp al, 0xff
jne 0x46740b
and esi, 3
add esi, esi
mov dword [ebp - 8], ebx
or esi, 1
inc ebx
mov dword [ebp - 4], ebx
jmp 0x4673d5
movzx ecx, byte [edi + 2]
movzx edx, al
movzx eax, byte [edi + 3]
shl edx, 8
or edx, eax
movzx eax, byte [edi + 1]
shl edx, 8
or edx, ecx
shl edx, 8
or edx, eax
sub edx, ebx
lea eax, [edx - 5]
test esi, esi
je 0x4674c7
movzx edx, byte [esi + 0x5d0994]
add edx, edx
add edx, edx
add edx, edx
mov ecx, 0x18
sub ecx, edx
mov ebx, eax
shr ebx, cl
mov cl, bl
test cl, cl
je 0x4674ae
cmp cl, 0xff
jne 0x4674c4
mov ebx, dword [ebp - 4]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x467482
mov ebx, dword [ebp - 4]
mov ecx, eax
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov edx, eax
shr edx, 0x10
mov ecx, eax
shr ecx, 8
add ebx, 5
mov byte [edi + 3], dl
mov edx, dword [ebp - 0xc]
mov byte [edi + 2], cl
mov byte [edi + 1], al
mov dword [ebp - 4], ebx
jmp 0x4673d5
cmp eax, 3
jbe 0x46750c
mov edx, dword [ebp + 0xc]
pop edi
xor esi, esi
mov eax, ebx
pop ebx
mov dword [edx], esi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0xc]
lea ecx, [eax - 1]
shl esi, cl
pop edi
mov eax, ebx
pop ebx
and esi, 7
mov dword [edx], esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x468ea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580368
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x48]
push eax
call fcn.00469940
add esp, 4
xor ebx, ebx
lea ecx, [ebp - 0x48]
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call fcn.00468e20
mov ecx, esi
call fcn.004027a0
mov ecx, esi
mov dword [ebp - 0x50], eax
call fcn.00416420
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
mov ecx, edi
mov dword [ebp - 0x4c], eax
call fcn.0041c150
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x468f3f
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x4c]
push ebx
lea ecx, [ebp - 0x54]
push ecx
push edx
push eax
push esi
mov dword [ebp - 0x54], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.0040a980
lea ecx, [ebp - 0x48]
call fcn.0040a980
mov eax, ebx
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.005521f1
mov esp, ebp
pop ebp
ret

Function at 0x469090
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x580088
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
mov esi, ecx
push 0x5dfa53
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00416370
mov ecx, esi
call fcn.0041c150
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x469108
lea eax, [ebp - 0x5c]
push eax
mov ecx, esi
call fcn.00469940
add esp, 4
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], 0
lea ecx, [ebp - 0x5c]
jne 0x469128
call fcn.0040a980
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret 4
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00469680
lea eax, [ebp - 0x78]
push eax
lea edi, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004697e0
push eax
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.00407f50
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.0040a980
mov ecx, edi
test ecx, ecx
je 0x46919f
lea ecx, [ebp - 0x3e]
mov edx, edi
call fcn.004691e0
test eax, eax
je 0x46919f
mov esi, dword [ebp - 0x3a]
lea ecx, [ebp - 0x5c]
call fcn.004027a0
cmp esi, eax
jne 0x46919f
cmp dword [ebp - 0x4c], 0
je 0x46919f
lea edx, [ebp - 0x33]
test edx, edx
je 0x46919f
mov eax, edx
push eax
mov ecx, ebx
call fcn.00469260
test eax, eax
je 0x46919f
mov esi, 1
jmp 0x4691a1
xor esi, esi
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4691bf
push eax
call fcn.00552be1
add esp, 4
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x5c]
call fcn.0040a980
mov eax, esi
jmp 0x46910a