joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x502e78
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x54eb90]
xor eax, esp
mov dword [esp + 0x20], eax
push ebp
push edi
mov eax, dword [0x54eb90]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
mov ebp, dword [esp + 0x40]
mov edx, ecx
sub edx, eax
cmp edx, 1
jb 0x420f77
mov edx, dword [esi + 4]
cmp byte [eax + edx], 0xc
jne 0x420f77
inc eax
mov dword [esi + 0x10], eax
cmp eax, ecx
jne 0x420f1c
xor eax, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0xc], eax
lea edi, [esp + 0xc]
mov ecx, esi
call fcn.004210e0
test al, al
je 0x420f77
mov eax, dword [esp + 0xc]
test al, 1
je 0x420fc2
shr eax, 1
mov edi, eax
je 0x420fac
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
sub ecx, eax
cmp ecx, edi
jb 0x420f77
mov edx, dword [esi + 4]
push edi
add edx, eax
push edx
lea ecx, [esp + 0x18]
call fcn.00417750
mov ecx, edi
mov eax, esi
mov dword [esp + 0x38], 0
call fcn.00419400
test al, al
jne 0x420f7b
lea ecx, [esp + 0x10]
call fcn.00402be0
xor al, al
jmp 0x420fd7
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call fcn.00416760
cmp dword [ebx + 8], 0x11
jne 0x420f94
mov dword [ebx + 8], 0x14
lea ecx, [esp + 0x10]
push ecx
lea ecx, [ebp + 0x4c]
call fcn.0041e3c0
lea ecx, [esp + 0x10]
call fcn.00402be0
jmp 0x420fd5
mov ecx, ebx
call fcn.004166f0
cmp dword [ebx + 8], 0x11
jne 0x420fd5
mov dword [ebx + 8], 0x14
jmp 0x420fd5
shr eax, 1
push eax
lea ecx, [ebp + 0x4c]
call fcn.004214d0
push eax
mov ecx, ebx
call fcn.00416760
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004bd72f
add esp, 0x30
ret 4

Function at 0x421000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x502e40
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x54eb90]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x54eb90]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 1
call fcn.00419420
mov eax, dword [esi + 4]
add eax, dword [esi + 0xc]
push edi
mov byte [eax], 0xc
inc dword [esi + 0xc]
lea ecx, [esp + 0x14]
call fcn.00416b90
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0
call fcn.00402990
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
call fcn.00402be0
mov eax, dword [esp + 0x40]
add eax, eax
or eax, 1
mov ecx, esi
call fcn.00421150
test al, al
jne 0x421097
lea ecx, [esp + 0x2c]
call fcn.00402be0
xor al, al
jmp 0x4210be
sub esp, 0x1c
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00402990
mov ecx, esi
call fcn.00419330
lea ecx, [esp + 0x2c]
mov bl, al
call fcn.00402be0
mov al, bl
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.004bd72f
add esp, 0x4c
ret
Function at 0x421ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5025f9
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x54eb90]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov esi, 1
push 0x51dc61
mov ecx, edi
mov dword [esp + 0x3c], esi
call fcn.004023d0
sub esp, 0x1c
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x24], esi
push eax
lea esi, [esp + 0x7c]
call fcn.00402990
mov ecx, esi
lea esi, [esp + 0x30]
call fcn.00421f70
add esp, 0x1c
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [esp + 0x44], 2
call fcn.004028d0
mov ecx, esi
call fcn.00402be0
lea ecx, [esp + 0x40]
call fcn.00402be0
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret
Function at 0x423400
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x423462
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x42342f
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x423467
test ecx, ecx
je 0x423460
test esi, esi
ja 0x423420
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x423480
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x4234e2
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x4234af
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x4234e7
test ecx, ecx
je 0x4234e0
test esi, esi
ja 0x4234a0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x423850
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x554180], ecx
add edx, 1
cmp edx, 0x100
jl 0x423852
cmp edx, 0x800
jae 0x42393b
mov edi, edi
mov eax, dword [edx*4 + 0x553d80]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x554180]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x55417c], eax
jb 0x423910
mov dword [0x550ac0], 0x425e80
call fcn.00426050
test eax, eax
jne 0x423958
mov dword [0x550ac0], 0x425f30
ret
Function at 0x429ed0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x10]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x429ee9
pop ebp
pop ecx
ret
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x429f10
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x429f2f
jmp 0x429f20
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x429f2f
add edi, 1
cmp edi, edx
jb 0x429f20
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
cmp edi, edx
jae 0x42a045
cmp ecx, 3
jbe 0x429f65
xor ebp, ebp
mov cl, byte [edi + 4]
test cl, cl
mov dword [esp + 0x1c], eax
je 0x429fa3
cmp cl, 0xff
je 0x429fa3
and ebp, 3
add ebp, ebp
or ebp, 1
add eax, 1
jmp 0x429f10
add ecx, 0xffffffff
shl ebp, cl
and ebp, 7
je 0x429f48
movzx ecx, byte [ebp + 0x5059f4]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x5059ec], 0
mov cl, byte [ebx + 4]
je 0x429f8f
test cl, cl
je 0x429f8f
cmp cl, 0xff
jne 0x429f48
and ebp, 3
add ebp, ebp
mov dword [esp + 0x1c], eax
or ebp, 1
add eax, 1
jmp 0x429f10
xor edx, edx
mov dh, cl
movzx ecx, byte [edi + 2]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x429fce
lea ebx, [edx + eax]
add ebx, esi
jmp 0x429fd4
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x42a016
movzx esi, byte [ebp + 0x5059f4]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x429ff9
cmp dl, 0xff
jne 0x42a012
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, ebx
jmp 0x429fc0
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
sub dl, 1
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x429f10
cmp ecx, 3
pop edi
pop esi
pop ebx
jbe 0x42a058
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
pop ecx
ret
add ecx, 0xffffffff
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
pop ecx
ret
Function at 0x42cd50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], 0
push 4
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x24], eax
push 1
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x28]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CWindowWnd::EnableAllWindow_struct_HWND_____int_
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42ce32
push 0
push 0
push 0
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x42ce32
cmp dword [ebp - 0x1c], 0x10
jne 0x42cdfe
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [eax + 4]
jne 0x42cdfe
mov edx, dword [ebp - 0x18]
mov dword [ebp - 4], edx
push 1
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CWindowWnd::EnableAllWindow_struct_HWND_____int_
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
lea edx, [ebp - 0x20]
push edx
call sym.QiyiInstaller.exe_public:_static_bool___cdecl_DuiLib::CPaintManagerUI::TranslateMessage_struct_tagMSG__const_
add esp, 4
movzx eax, al
test eax, eax
jne 0x42ce25
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [ebp - 0x1c], 0x12
jne 0x42ce2d
jmp 0x42ce32
jmp 0x42cdaa
push 1
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x28]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CWindowWnd::EnableAllWindow_struct_HWND_____int_
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp - 0x1c], 0x12
jne 0x42ce5a
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x42ea30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fa5a0
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x54eb90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x228], 0
xor eax, eax
mov word [ebp - 0x224], ax
push 0x208
push 0
lea ecx, [ebp - 0x222]
push ecx
call fcn.004bd840
add esp, 0xc
lea edx, [ebp - 0x224]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0xffffffffffffffff
lea eax, [ebp - 0x224]
push eax
mov ecx, dword [ebp + 8]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CStdString::constructor_wchar_t_const___int_
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x228]
or ecx, 1
mov dword [ebp - 0x228], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bd72f
mov esp, ebp
pop ebp
ret
Function at 0x42f680
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x42f6a1
mov ecx, dword [ebp - 4]
or ecx, 8
mov dword [ebp - 4], ecx
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x42f6b9
mov eax, dword [ebp - 4]
or eax, 1
mov dword [ebp - 4], eax
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x42f6d1
mov edx, dword [ebp - 4]
or edx, 2
mov dword [ebp - 4], edx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
test eax, eax
jge 0x42f6e7
mov ecx, dword [ebp - 4]
or ecx, 4
mov dword [ebp - 4], ecx
push 0x12
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
test edx, edx
jge 0x42f6ff
mov eax, dword [ebp - 4]
or eax, 0x20
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x447650
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x54eb90]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x1c]
test ecx, ecx
jne 0x447675
xor eax, eax
jmp 0x44770d
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x14], 0
jne 0x447685
xor eax, eax
jmp 0x44770d
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
shl eax, 1
call fcn.004c5300
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x4476b5
xor eax, eax
jmp 0x44770d
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x14]
add ecx, 0x158
call fcn.0042b7e0
push 0
push 0
push 0
push 0x50a018
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x14]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x14]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x14]
mov edx, dword [eax]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004bd72f
mov esp, ebp
pop ebp
ret 0x10

Function at 0x460130
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3e4], 0
je 0x4601dd
cmp dword [ebp + 8], 0x100
jne 0x4601ad
movzx ecx, word [ebp + 0xc]
cmp ecx, 0xd
jne 0x4601ad
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x3ea]
test eax, eax
je 0x460186
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x4601ad
mov edx, dword [ebp - 4]
movzx eax, byte [edx + 0x3eb]
test eax, eax
jne 0x4601ad
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x60], 0
je 0x4601a9
push 0
push 0
push 0
push str.return
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x60]
call sym.QiyiInstaller.exe_public:_void___thiscall_DuiLib::CPaintManagerUI::SendNotify_class_DuiLib::CControlUI___wchar_t_const___unsigned_int__long_int__bool_
xor eax, eax
jmp 0x4601e2
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0x3e4]
call sym.QiyiInstaller.exe_public:_int___thiscall_CAnimation::GetFP_void_
mov dword [ebp - 8], eax
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ebp - 8]
mov eax, dword [edx + 0xc]
call eax
jmp 0x4601e2
mov eax, 1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46d650
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x46d660
xor eax, eax
jmp 0x46d7fd
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x46d7be
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x50e218]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x50e218]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x50e218]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x50e218]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x50e218]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x50e218]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x50e218]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x50e218]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x46d669
cmp dword [ebp + 0x10], 0
je 0x46d7f7
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x50e218]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x46d7c4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x46e710
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x46e75f
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46e755
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x46e7b9
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x14]
jbe 0x46e77f
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x14]
sub edx, dword [ecx + 0x18]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x18]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.004be570
add esp, 0xc
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x18]
add ecx, dword [ebp - 4]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x4700c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
jne 0x4700da
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0xffffffff
je 0x4700e4
mov eax, 0x1000000
jmp 0x47016b
mov edx, dword [ebp - 0x10]
add edx, 0x138
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x50e688
mov eax, dword [ebp - 0x10]
add eax, 0x138
push eax
call fcn.004c5265
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x47012f
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
je 0x47012f
mov eax, 0x2000000
jmp 0x47016b
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046e3e0
add esp, 0x10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x470155
mov eax, dword [ebp - 8]
jmp 0x47016b
mov eax, dword [ebp - 4]
push eax
call fcn.0046eba0
add esp, 4
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [0x550e4c]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x470900
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x54eb90]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 0xc], 0
je 0x470923
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax]
test ecx, ecx
jne 0x470928
jmp 0x470a10
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x218], eax
mov ecx, dword [ebp - 0x218]
movzx edx, word [ecx]
test edx, edx
je 0x47097a
mov eax, dword [ebp - 0x218]
movzx ecx, word [eax]
cmp ecx, 0x2f
je 0x470960
mov edx, dword [ebp - 0x218]
movzx eax, word [edx]
cmp eax, 0x5c
jne 0x470969
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x218]
add edx, 2
mov dword [ebp - 0x218], edx
jmp 0x470937
mov eax, dword [ebp - 4]
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
je 0x4709db
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0xc]
sar edx, 1
push edx
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x420]
push ecx
call fcn.004c52b2
add esp, 0xc
mov edx, dword [ebp - 4]
sub edx, dword [ebp + 0xc]
sar edx, 1
xor eax, eax
mov word [ebp + edx*2 - 0x420], ax
lea ecx, [ebp - 0x420]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00470900
add esp, 8
mov eax, dword [ebp - 0x214]
add eax, 2
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x210]
push edx
call fcn.004c5293
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x210]
push ecx
call fcn.004c5265
add esp, 8
push 0
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004bd72f
mov esp, ebp
pop ebp
ret