joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433f20
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4921d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x208
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.0044f3f0
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0xc
push str.C:iResearchYJTYJT.exe
call esi
cmp eax, 0xffffffff
je 0x433f7c
test al, 0x10
jne 0x433f7c
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b96b
mov esp, ebp
pop ebp
ret
push edi
push 0x482680
lea ecx, [ebp - 0x214]
call fcn.00401c60
push 0x104
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.0044f3f0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 0
push 2
lea eax, [ebp - 0x210]
push eax
push 0
call edi
mov ecx, dword [ebp - 0x214]
push ecx
lea edx, [ebp - 0x210]
push 0x105
push edx
call fcn.0044ccfc
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
call esi
cmp eax, 0xffffffff
je 0x433fe5
test al, 0x10
je 0x434037
push 0x104
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.0044f3f0
add esp, 0xc
push 0
push 0x17
lea edx, [ebp - 0x210]
push edx
push 0
call edi
mov eax, dword [ebp - 0x214]
push eax
lea ecx, [ebp - 0x210]
push 0x105
push ecx
call fcn.0044ccfc
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
call esi
cmp eax, 0xffffffff
je 0x43406e
test al, 0x10
jne 0x43406e
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434059
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b96b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434090
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0044b96b
mov esp, ebp
pop ebp
ret
Function at 0x4361a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46d801
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4921d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], 1
call fcn.0040ad30
mov esi, dword [ebp - 0x14]
push 0x4830a8
push esi
call fcn.0044c94c
add esp, 0xc
cmp eax, edi
jne 0x436217
mov edi, 1
jmp 0x4362bf
push str.funshionupgrade.exe
push esi
call fcn.0044c94c
add esp, 8
cmp eax, edi
jne 0x436233
mov edi, 2
jmp 0x4362bf
cmp dword [esi - 0xc], edi
jl 0x43625a
push str.FunshionInstall
push esi
call fcn.0044ca64
add esp, 8
cmp eax, edi
je 0x43625a
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x43625a
mov edi, 3
jmp 0x4362bf
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x10]
call fcn.00401c60
mov eax, dword [0x498d80]
cmp eax, edi
je 0x43629b
mov ecx, dword [ebp - 0x10]
cmp dword [ecx - 0xc], edi
jl 0x43629e
push eax
push ecx
call fcn.0044ca64
add esp, 8
cmp eax, edi
je 0x43629b
mov ecx, dword [ebp - 0x10]
sub eax, ecx
sar eax, 1
cmp eax, 0xffffffff
je 0x43629e
mov edi, 4
jmp 0x4362a3
mov ecx, dword [ebp - 0x10]
mov edi, 5
lea eax, [ecx - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4362bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [section..data]
mov eax, dword [edx + 0xc]
mov ecx, section..data
call eax
add eax, 0x10
mov dword [ebx], eax
push edi
push 0x47eda0
push ebx
mov dword [ebp - 0x18], 1
call fcn.0040b970
lea eax, [esi - 0x10]
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43630a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4366a0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4921d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [esi]
mov eax, dword [ebp + 8]
mov eax, dword [eax*4 + 0x47b480]
lea edx, [ebp - 0x418]
push edx
push 0x20019
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x436735
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.0044f3f0
mov ecx, dword [ebp - 0x418]
add esp, 0xc
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x420]
push edx
lea eax, [ebp - 0x414]
push eax
push 0
push ecx
mov dword [ebp - 0x420], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x436745
mov edx, dword [ebp - 0x418]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b96b
mov esp, ebp
pop ebp
ret
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jl 0x436774
push str.BaiduToolbar
push eax
call fcn.0044ca64
add esp, 8
test eax, eax
je 0x436774
sub eax, dword [esi]
sar eax, 1
cmp eax, 0xffffffff
je 0x436774
mov eax, dword [ebp - 0x418]
push eax
jmp 0x436835
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.0044f3f0
mov eax, dword [edi]
add esp, 0xc
lea ecx, [ebp - 0x41c]
push ecx
lea edx, [ebp - 0x20c]
push edx
push 0
push 0
push eax
mov eax, dword [ebp - 0x418]
push eax
mov dword [ebp - 0x41c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4367df
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b96b
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsFileSpecW]
test eax, eax
jne 0x436800
mov eax, dword [ebx]
push eax
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43682e
mov eax, dword [ebp - 0x418]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b96b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x418]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov al, 1
call fcn.0044b96b
mov esp, ebp
pop ebp
ret
Function at 0x437800
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x4921d0]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x38]
xor ebx, ebx
mov eax, ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
lea esi, [eax + 1]
jmp 0x437850
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x437850
push ecx
sub eax, esi
lea ecx, [esp + 0x14]
call fcn.004378c0
add esp, 4
lea esi, [esp + 0x10]
lea ebx, [edi + 5]
call fcn.00437980
xor esi, esi
xor ebx, ebx
jmp 0x437880
movzx eax, byte [edi + ebx + 5]
push eax
mov ecx, 0x21
push str._02x
sub ecx, esi
mov edx, edi
push ecx
lea eax, [edx + esi + 0x15]
push eax
call fcn.0044ef0b
inc ebx
add esp, 0x10
add esi, 2
cmp ebx, 0x10
jl 0x437880
mov ecx, dword [esp + 0x6c]
pop edi
pop esi
pop ebx
xor ecx, esp
mov al, 1
call fcn.0044b96b
mov esp, ebp
pop ebp
ret

Function at 0x438140
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46bf02
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x4921d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x21c], 0
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ebx, ecx
mov ecx, section..data
mov dword [ebp - 0x220], ebx
call edx
add eax, 0x10
mov dword [ebx], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x216]
mov dword [ebp - 4], 0
push ecx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], ax
call fcn.0044f3f0
add esp, 0xc
lea edx, [ebp - 0x218]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x438205
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4381e7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
mov ecx, ebx
call fcn.00401b60
push 5
push str.tools
call fcn.0040b850
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b96b
mov esp, ebp
pop ebp
ret
Function at 0x439460
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46a5c3
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x4921d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
xor eax, eax
or ecx, 0xffffffff
mov dword [ebx + 8], ecx
mov dword [ebx + 4], ecx
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x20], 0x4989d0
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov dword [ebp - 4], eax
lea edi, [ebx + 0x34]
mov dword [ebx], vtable.TiXmlDocument.0
mov dword [edi], 0x4989d0
mov byte [ebp - 4], 1
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x3c], ecx
push 0x483228
xor esi, esi
mov dword [ebx + 0x38], 4
mov byte [ebx + 0x44], al
mov byte [ebx + 0x2c], al
mov dword [ebx + 0x30], eax
call fcn.0043a270
xor eax, eax
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x439630
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x439687
cmp byte [ebx + 0x2c], 0
jne 0x43967d
mov byte [ebx + 0x2c], 1
mov dword [ebx + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439660
sub eax, esi
push edx
lea edi, [ebx + 0x34]
mov esi, eax
call fcn.0043a270
or eax, 0xffffffff
mov dword [ebx + 0x40], eax
mov dword [ebx + 0x3c], eax
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov esi, dword [ebx + 0x18]
test esi, esi
je 0x4396a1
mov edi, edi
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x28]
push 1
call edx
test esi, esi
jne 0x439690
xor ecx, ecx
push 2
or eax, 0xffffffff
push ecx
mov dword [ebx + 0x18], ecx
mov dword [ebx + 0x1c], ecx
push edi
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.0044ea34
push edi
call fcn.0044ec44
push 0
mov esi, eax
push 0
push edi
mov dword [ebp - 4], esi
call fcn.0044ea34
add esp, 0x1c
test esi, esi
jg 0x4396ff
cmp byte [ebx + 0x2c], 0
jne 0x43967d
mov byte [ebx + 0x2c], 1
mov dword [ebx + 0x30], 0xc
mov edx, dword [str.Error_document_empty.]
mov eax, edx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4396f3
jmp 0x439667
lea eax, [esi + 1]
push eax
call fcn.0044bc66
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edi, eax
push esi
push edi
mov byte [edi], 0
call fcn.00468318
add esp, 0x14
cmp eax, 1
je 0x43975c
push edi
call fcn.0044b960
add esp, 4
cmp byte [ebx + 0x2c], 0
jne 0x43967d
mov byte [ebx + 0x2c], 1
mov dword [ebx + 0x30], 2
mov edx, dword [str.Failed_to_open_file]
mov eax, edx
lea esi, [eax + 1]
jmp 0x439750
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439750
jmp 0x439667
mov edx, dword [ebp - 4]
mov byte [edi + edx], 0
cmp byte [edi], 0
mov eax, edi
mov esi, edi
je 0x43978c
lea esp, [esp]
mov cl, byte [eax]
cmp cl, 0xd
jne 0x439783
mov byte [esi], 0xa
inc eax
inc esi
cmp byte [eax], 0xa
jne 0x439787
jmp 0x439786
mov byte [esi], cl
inc esi
inc eax
cmp byte [eax], 0
jne 0x439770
push 0
mov byte [esi], 0
mov eax, dword [ebx]
mov edx, dword [eax + 8]
push 0
push edi
mov ecx, ebx
call edx
push edi
call fcn.0044b960
add esp, 4
xor eax, eax
cmp byte [ebx + 0x2c], al
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x43c400
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x31c
mov eax, dword [0x4921d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x107]
mov ebx, ecx
mov esi, dword [ebx + 0x28]
push 0
push eax
mov edi, edx
mov byte [ebp - 0x108], 0
call fcn.0044f3f0
push edi
lea ecx, [ebp - 0x108]
push 0x104
push ecx
call fcn.00455f48
push 0x48375c
lea edx, [ebp - 0x108]
push 0x104
push edx
call fcn.0045cb96
push esi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.0045cb96
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x30e]
push edx
mov word [ebp - 0x310], cx
call fcn.0044f3f0
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 0x43c515
lea esp, [esp]
movzx eax, word [ebp + edi*2 - 0x310]
cmp eax, 0x5c
je 0x43c4e2
cmp eax, 0x2f
jne 0x43c507
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 0x43c4d0
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.0043e2e0
test eax, eax
jne 0x43c5a5
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 0x43c577
pop edi
pop esi
lea eax, [ebx + 0x23]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044b96b
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 0x43c59e
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.0044b96b
mov esp, ebp
pop ebp
ret

Function at 0x43cec0
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.00468318
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 0x43f390
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x4952ac]
test eax, eax
je 0x43f570
push ebx
xor edx, edx
mov dword [0x4952ac], 0
xor eax, eax
push edi
lea ecx, [ecx]
movzx edi, byte [eax + 0x47aeb9]
movzx ebx, byte [eax + 0x47aeb8]
mov ecx, 0x1f
sub ecx, edi
mov edi, 1
shl edi, cl
mov ecx, 0x1f
sub ecx, ebx
mov ebx, 1
shl ebx, cl
add eax, 2
or edi, ebx
or edx, edi
cmp eax, 0xe
jb 0x43f3b0
xor ecx, ecx
mov eax, ecx
shr eax, 1
test cl, 1
je 0x43f3f3
xor eax, edx
test al, 1
je 0x43f3fd
shr eax, 1
xor eax, edx
jmp 0x43f3ff
shr eax, 1
test al, 1
je 0x43f409
shr eax, 1
xor eax, edx
jmp 0x43f40b
shr eax, 1
test al, 1
je 0x43f415
shr eax, 1
xor eax, edx
jmp 0x43f417
shr eax, 1
test al, 1
je 0x43f421
shr eax, 1
xor eax, edx
jmp 0x43f423
shr eax, 1
test al, 1
je 0x43f42d
shr eax, 1
xor eax, edx
jmp 0x43f42f
shr eax, 1
test al, 1
je 0x43f439
shr eax, 1
xor eax, edx
jmp 0x43f43b
shr eax, 1
test al, 1
je 0x43f445
shr eax, 1
xor eax, edx
jmp 0x43f447
shr eax, 1
mov dword [ecx*4 + 0x496968], eax
inc ecx
cmp ecx, 0x100
jl 0x43f3e8
mov ecx, 0x497d68
lea esp, [esp]
mov eax, dword [ecx - 0x1400]
mov edi, eax
and edi, 0xff00
mov ebx, eax
shl ebx, 0x10
add edi, ebx
shl edi, 8
mov edx, eax
shr edx, 8
mov ebx, edx
and ebx, 0xff00
add edi, ebx
mov ebx, eax
shr ebx, 0x18
add edi, ebx
mov dword [ecx - 0x400], edi
and eax, 0xff
mov eax, dword [eax*4 + 0x496968]
xor eax, edx
mov edi, eax
and edi, 0xff00
mov ebx, eax
shl ebx, 0x10
add edi, ebx
mov edx, eax
shr edx, 8
shl edi, 8
mov ebx, edx
and ebx, 0xff00
add edi, ebx
mov ebx, eax
shr ebx, 0x18
add edi, ebx
mov dword [ecx], edi
mov dword [ecx - 0x1000], eax
and eax, 0xff
mov eax, dword [eax*4 + 0x496968]
xor eax, edx
mov edi, eax
and edi, 0xff00
mov ebx, eax
mov edx, eax
shr edx, 8
shl ebx, 0x10
add edi, ebx
mov ebx, edx
shl edi, 8
and ebx, 0xff00
add edi, ebx
mov ebx, eax
mov dword [ecx - 0xc00], eax
shr ebx, 0x18
add edi, ebx
mov dword [ecx + 0x400], edi
and eax, 0xff
mov eax, dword [eax*4 + 0x496968]
xor eax, edx
mov edx, eax
and edx, 0xff00
mov edi, eax
shl edi, 0x10
add edx, edi
mov edi, eax
shr edi, 8
shl edx, 8
and edi, 0xff00
mov dword [ecx - 0x800], eax
add edx, edi
shr eax, 0x18
add edx, eax
mov dword [ecx + 0x800], edx
add ecx, 4
cmp ecx, 0x498168
jl 0x43f460
pop edi
mov dword [0x4952a8], 0
pop ebx
ret
mov eax, dword [0x4952a8]
test eax, eax
jne 0x43f570
ret
Function at 0x442670
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 + 0x49a140], ecx
inc edx
cmp edx, 0x100
jb 0x442672
ret

Function at 0x442720
Capabilities:
Encode data using xor

Disassembly:
or eax, 0xffffffff
test ecx, ecx
je 0x44274a
push esi
jmp 0x442730
movzx esi, byte [edx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x49a140]
inc edx
dec ecx
jne 0x442730
pop esi
ret
Function at 0x445410
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 0x445432
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 0x445460
mov cl, byte [edi]
and cl, 0xfe
cmp cl, 0xe8
je 0x445460
inc edi
cmp edi, edx
jb 0x445451
mov ebx, edi
sub ebx, eax
mov eax, ebx
sub eax, dword [ebp - 8]
mov dword [ebp - 4], ebx
cmp edi, edx
jae 0x445567
cmp eax, 3
jbe 0x445497
xor esi, esi
mov al, byte [edi + 4]
mov dword [ebp - 8], ebx
test al, al
je 0x4454d4
cmp al, 0xff
je 0x4454d4
and esi, 3
add esi, esi
or esi, 1
inc ebx
mov dword [ebp - 4], ebx
jmp 0x445445
lea ecx, [eax - 1]
shl esi, cl
and esi, 7
je 0x44547b
movzx eax, byte [esi + 0x47a4b0]
mov ecx, edi
sub ecx, eax
cmp byte [esi + 0x47a4a8], 0
mov al, byte [ecx + 4]
je 0x4454c0
test al, al
je 0x4454c0
cmp al, 0xff
jne 0x44547b
and esi, 3
add esi, esi
mov dword [ebp - 8], ebx
or esi, 1
inc ebx
mov dword [ebp - 4], ebx
jmp 0x445445
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 0x445537
movzx edx, byte [esi + 0x47a4b0]
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 0x44551e
cmp cl, 0xff
jne 0x445534
mov ebx, dword [ebp - 4]
mov ecx, 0x20
sub ecx, edx
mov edx, 1
shl edx, cl
dec edx
xor edx, eax
jmp 0x4454f2
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 0x445445
cmp eax, 3
jbe 0x44557c
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 0x4473a0
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c228
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4921d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, esi
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4473e1
sub eax, edx
sar eax, 1
push eax
mov eax, esi
lea ecx, [ebp - 0x2c]
call fcn.0040be40
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], edi
push ecx
mov edi, 1
call fcn.004483e0
push 0x47bfe0
lea ecx, [ebp - 0x4c]
mov edi, eax
call fcn.00401c60
or ebx, 0xffffffff
mov byte [ebp - 4], 1
cmp edi, ebx
je 0x4474f5
push edi
xor ecx, ecx
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x2c]
call fcn.004481d0
mov ebx, 8
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], ebx
jb 0x44744a
mov edx, dword [eax]
jmp 0x44744c
mov edx, eax
test edx, edx
jne 0x447454
xor eax, eax
jmp 0x44746f
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x447460
sub eax, edi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x4c]
call fcn.00401b60
mov byte [ebp - 4], 1
cmp dword [ebp - 0x34], ebx
jb 0x44748e
mov edx, dword [ebp - 0x48]
push edx
call fcn.0044b960
add esp, 4
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4474dd
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x50]
push edx
mov ebx, 0x47bd18
call fcn.004060a0
mov eax, dword [eax]
add esp, 8
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4474dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0
push 0x80
push 2
push 0
push 5
push 2
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x447518
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x18], 8
jb 0x44752a
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0044b960
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044b96b
mov esp, ebp
pop ebp
ret