joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415437
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
push edi
mov edi, ecx
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, dword [edi + 8]
xor esi, esi
movaps xmm0, xmmword [0x4428e0]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x4c], 3
mov dword [ebp - 0x48], 0x414e56
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 0x28], str.CLASS_FENATTENTETELECHARGEMENTFW
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x415494
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x80000000
jmp 0x4155c1
push ebx
push 0x1e0
mov ecx, edi
call fcn.004155c5
push 0xe6
mov ecx, edi
mov dword [ebp - 8], eax
call fcn.004155c5
lea ecx, [edi + 0x24]
mov dword [ebp - 4], eax
call fcn.0040f58a
mov edx, dword [edi]
mov ebx, 0x10000000
mov dword [edi + 0x2c], eax
test edx, edx
je 0x4154d8
push esi
push edx
mov ebx, 0x10c00000
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [edi]
lea ecx, [edi + 0x20]
call fcn.0040f58a
push esi
push dword [edi + 8]
mov ecx, 0x80000000
push esi
push edx
push dword [ebp - 4]
push dword [ebp - 8]
push ecx
push ecx
push ebx
push eax
push str.CLASS_FENATTENTETELECHARGEMENTFW
push esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ebx, eax
test ebx, ebx
je 0x4155b0
push 1
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push ebx
call dword [sym.imp.USER32.dll_BringWindowToTop]
push ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push esi
push 0xa
push 1
push ebx
call dword [sym.imp.USER32.dll_SetTimer]
mov dword [edi + 0x18], eax
lea eax, [ebp - 8]
push eax
push 4
push edi
push 0x414e10
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x415560
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x80000000
jmp 0x4155c0
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x41557c
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push esi
push esi
push esi
lea eax, [ebp - 0x24]
push eax
call ebx
test eax, eax
jne 0x415568
cmp dword [edi], esi
je 0x415597
push 1
push dword [edi]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [edi + 8]
push str.CLASS_FENATTENTETELECHARGEMENTFW
call dword [sym.imp.USER32.dll_UnregisterClassW]
jmp 0x4155be
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or esi, 0x80000000
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret
Function at 0x41688a
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0xffffffffffffffec
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [0x44a50c]
mov edi, eax
push 0x64
pop edx
test ecx, ecx
je 0x4168b6
cmp dword [esp + 0x14], edx
jge 0x4168b6
or edi, 0x80000
mov ebp, dword [sym.imp.USER32.dll_SetWindowLongW]
xor ebx, ebx
cmp edi, eax
setne bl
je 0x4168de
push 0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push 0xffffffffffffffec
push dword [esi + 0x1c]
call ebp
mov ecx, dword [0x44a50c]
test ecx, ecx
je 0x4168fa
imul eax, dword [esp + 0x14], 0xff
push 2
push 0x64
pop edi
cdq
idiv edi
push eax
push 0
push dword [esi + 0x1c]
call ecx
test ebx, ebx
je 0x416936
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
pop ebx
push ebx
push dword [esi + 0x1c]
call edi
and eax, 0xfdffffff
push eax
push ebx
push dword [esi + 0x1c]
call ebp
push 5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push dword [esi + 0x1c]
call edi
or eax, 0x2000000
push eax
push ebx
push dword [esi + 0x1c]
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x417740
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push str.INFOEXE
mov esi, ecx
mov edi, edx
push 0x7c
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0x12ca
push eax
push edi
call fcn.0041a610
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop edi
inc eax
pop esi
ret
Function at 0x4178f0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4326a4
call fcn.00431d00
sub esp, 0x444
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x24]
call fcn.0040e58f
xor esi, esi
mov eax, ecx
mov dword [ebp - 4], esi
push dword [edi + 0x870]
push dword [edi + 0x86c]
push ecx
push 0x82
push eax
mov ecx, edi
call fcn.00418651
test eax, eax
je 0x417a33
lea eax, [ebp - 0x450]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x240]
push eax
push esi
push 0x4421ac
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea ecx, [ebp - 0x18]
call fcn.00412c73
push esi
push 0x10000000
push 2
push esi
push 0x40000000
lea eax, [ebp - 0x240]
mov byte [ebp - 4], 1
push eax
call fcn.00412d17
test eax, eax
je 0x417a2b
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x18]
push dword [ebp - 0x20]
call fcn.00412da0
test eax, eax
je 0x417a2b
lea ecx, [ebp - 0x18]
call fcn.00412d4f
push 0xc4
call fcn.00419638
pop ecx
mov ecx, eax
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 2
lea eax, [edi + 0xadc]
push dword [edi + 0x10c0]
push dword [edi + 0x10bc]
push dword [edi + 0x10b8]
push dword [edi + 0x10b4]
push eax
lea eax, [edi + 0x8ba]
push eax
lea eax, [edi + 0xfea]
push eax
lea eax, [edi + 0xdc8]
push eax
lea eax, [edi + 0xba6]
push eax
push dword [edi + 0x880]
lea eax, [ebp - 0x240]
push eax
push dword [edi + 4]
call fcn.00415881
mov byte [ebp - 4], 1
mov dword [edi + 0x12f4], eax
test eax, eax
je 0x417a2b
mov ecx, eax
call fcn.00415b65
inc esi
lea ecx, [ebp - 0x18]
call fcn.00412c84
lea ecx, [ebp - 0x24]
call fcn.0040e5a0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x417b5d
Capabilities:
Get common file path

Disassembly:
mov eax, 0x4326f0
call fcn.00431d00
sub esp, 0x664
push ebx
push esi
push edi
xor esi, esi
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x25c], esi
movlpd qword [ebp - 0x38], xmm0
call fcn.0040e58f
mov dword [ebp - 4], esi
mov eax, ecx
push dword [edi + 0x646]
push dword [edi + 0x642]
push ecx
push 0x83
push eax
mov ecx, edi
call fcn.00418651
test eax, eax
je 0x417d72
mov dword [ebp - 0x14], esi
cmp dword [edi + 0x64a], esi
jle 0x417d72
mov eax, dword [ebp - 0x34]
mov ecx, esi
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x417c33
mov eax, dword [ebp - 0x2c]
add eax, ebx
push 0x418
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.0041a610
lea eax, [ebp - 0x466]
push 0x441c18
push eax
call fcn.00420f91
add esp, 0x14
test eax, eax
jne 0x417c09
xor ecx, ecx
inc ecx
mov dword [ebp - 0x18], ecx
jmp 0x417c1c
mov eax, dword [ebp - 0x25c]
mov ecx, dword [ebp - 0x18]
add eax, 0x418
add ebx, eax
adc dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [edi + 0x64a]
jl 0x417bce
test ecx, ecx
je 0x417d72
lea ecx, [ebp - 0x44]
call fcn.0040e58f
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
mov eax, ecx
push eax
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x25c]
add eax, 0x418
add eax, ebx
push eax
call fcn.00417d9f
test eax, eax
je 0x417d68
lea ecx, [edi + 0x12dc]
call fcn.0040f58a
push esi
lea edx, [ebp - 0x258]
mov ecx, eax
call fcn.00402d81
mov dword [ebp - 0x10], esi
lea eax, [ebp - 0x670]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x258]
mov ebx, 0x43ccdc
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040fd1e
add esp, 0x14
lea ecx, [ebp - 0x24]
call fcn.00412c73
push esi
push 0x10000000
push 2
push esi
push 0x40000000
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0040f58a
push eax
lea ecx, [ebp - 0x24]
call fcn.00412d17
test eax, eax
jne 0x417d23
lea eax, [ebp - 0x258]
push eax
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x670]
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.0040fd1e
add esp, 0x10
lea ecx, [ebp - 0x10]
push esi
push 0x10000000
push 2
push esi
push 0x40000000
call fcn.0040f58a
push eax
lea ecx, [ebp - 0x24]
call fcn.00412d17
test eax, eax
je 0x417d58
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
push dword [ebp - 0x40]
call fcn.00412da0
test eax, eax
je 0x417d58
lea ecx, [ebp - 0x24]
call fcn.00412d4f
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
xor ebx, ebx
inc ebx
push eax
mov dword [edi + 0x12f8], ebx
call fcn.0040f863
mov esi, ebx
lea ecx, [ebp - 0x24]
call fcn.00412c84
lea ecx, [ebp - 0x10]
call fcn.0040f501
lea ecx, [ebp - 0x44]
call fcn.0040e5a0
jmp 0x417d84
mov ecx, dword [ebp + 8]
lea eax, [edi + 0x222]
push eax
call fcn.0040f87b
xor esi, esi
inc esi
lea ecx, [ebp - 0x30]
call fcn.0040e5a0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x418114
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [0x44a3e4], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x4181eb
xor ebx, ebx
mov dword [edi + 0x12e0], ebx
cmp dword [edi + 0x65e], ebx
jne 0x4181eb
lea ecx, [edi + 0x12dc]
call fcn.0040f58a
lea ecx, [ebp - 0x20c]
xor edx, edx
push ecx
mov ecx, eax
call fcn.00402d81
pop ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [edi + 0x12e0], eax
test eax, eax
je 0x4181f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4181f5
lea eax, [edi + 0x12e4]
xor ecx, ecx
push eax
lea eax, [ebp - 0x20c]
inc ecx
push eax
call fcn.00415627
mov dword [edi + 0x12e8], eax
pop ecx
pop ecx
test eax, eax
je 0x4181eb
push 0xffffffffffffffff
push dword [edi + 0x12e0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push 4
push eax
push dword [edi + 0x12e8]
call fcn.0041a610
add esp, 0xc
push dword [edi + 0x12e0]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 4
lea eax, [edi + 0x12e4]
xor ecx, ecx
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00415627
mov dword [edi + 0x12e8], eax
pop ecx
pop ecx
test eax, eax
je 0x418276
push 0xffffffffffffffff
push dword [edi + 0x12e0]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi + 0x12e8]
push dword [edi + 0x12e0]
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, edi
call fcn.004173f1
push esi
call fcn.00417f27
mov esi, eax
test esi, esi
je 0x418276
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 3
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.USER32.dll_SetWindowPos]
push 9
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
or dword [eax], 0xffffffff
xor eax, eax
jmp 0x4181ee
mov eax, dword [edi + 0x12e0]
test eax, eax
je 0x418287
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
mov ecx, edi
push str.Cette_application_ne_peut_pas
call dword [eax + 4]
jmp 0x418269
Function at 0x418295
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x432631
call fcn.00431d00
sub esp, 0x644
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x2c]
call fcn.0040e58f
and dword [ebp - 4], 0
mov eax, ecx
push dword [edi + 0x646]
push dword [edi + 0x642]
push ecx
push 0x83
push eax
mov ecx, edi
call fcn.00418651
test eax, eax
je 0x417632
lea ecx, [edi + 0x12dc]
call fcn.0040f58a
push 0
lea edx, [ebp - 0x238]
mov ecx, eax
call fcn.00402d81
mov eax, dword [edi + 0x64e]
xorps xmm0, xmm0
add eax, dword [edi + 0x64a]
and dword [ebp - 0x18], 0
movlpd qword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], eax
pop ecx
test eax, eax
jle 0x4175e9
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x650]
push 0x418
add esi, ebx
push esi
push eax
call fcn.0041a610
add esp, 0xc
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
lea eax, [esi + 0x418]
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.0041764d
test eax, eax
je 0x417632
mov eax, dword [ebp - 0x23c]
add eax, 0x418
add ebx, eax
mov eax, dword [ebp - 0x18]
adc dword [ebp - 0x14], 0
inc eax
mov dword [ebp - 0x18], eax
cmp eax, dword [ebp - 0x10]
jl 0x417592
call fcn.00401713
lea edi, [eax + 4]
lea eax, [ebp - 0x238]
mov ecx, edi
push eax
call fcn.0040f87b
mov ecx, edi
call fcn.0040f852
dec eax
lea edx, [ebp - 0x10]
push eax
mov ecx, edi
call fcn.0040f9aa
mov esi, eax
xor ebx, ebx
mov ecx, edi
inc ebx
mov byte [ebp - 4], bl
call fcn.0040f52d
mov ecx, dword [esi]
mov dword [edi], ecx
lea ecx, [ebp - 0x10]
and dword [esi], 0
call fcn.0040f501
jmp 0x417634
xor ebx, ebx
lea ecx, [ebp - 0x2c]
call fcn.0040e5a0
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push ecx
push esi
push edi
push 0xc
mov edi, ecx
call fcn.00419638
pop ecx
mov ecx, eax
mov dword [esp + 8], eax
call fcn.0040e58f
push dword [edi + 0x652]
mov dword [edi + 0x1308], eax
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 4]
push str.INFOEXE
push 0x7d
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push dword [edi + 0x652]
mov ecx, dword [edi + 0x1308]
push eax
push dword [ecx + 4]
call fcn.0041a610
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov ecx, edi
pop edi
pop esi
add esp, 4
jmp 0x41750a
Function at 0x418791
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x432117
call fcn.00431d00
sub esp, 0xc
push ebx
push esi
xor eax, eax
push edi
mov edi, ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
push str.FILEPATH
mov byte [ebp - 4], 2
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0x6d
push dword [edi + 4]
call ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, eax
call fcn.00406a33
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push str.FILEPATH
push 0x6e
push dword [edi + 4]
call ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040f87b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push str.FILEPATH
push 0x6f
push dword [edi + 4]
call ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040f87b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
lea ecx, [ebp - 0x14]
call fcn.0040f58a
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.0040f58a
mov ecx, eax
call fcn.00406a41
push str.FILEPATH
push 0x70
push dword [edi + 4]
call ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040f87b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4188ab
xor ecx, ecx
cmp word [eax], cx
je 0x4188ab
lea ecx, [ebp - 0x10]
call fcn.0040f58a
mov ecx, eax
call fcn.00406af0
push str.INFOEXE
push 0x7f
push dword [edi + 4]
call ebx
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
test edi, edi
je 0x4188de
mov ecx, dword [edi]
call fcn.00406b18
lea ecx, [ebp - 0x10]
call fcn.0040f501
lea ecx, [ebp - 0x14]
call fcn.0040f501
lea ecx, [ebp - 0x18]
call fcn.0040f501
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x10003928
Capabilities:
Read file on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x10003950
cmp dword [ebp + 0xc], 0
je 0x10003950
push dword [ebp + 0xc]
push dword [ebp + 8]
push str.WBXZIPFILE__lpszFileName_is__s_lpszDestPath_is__s
call fcn.1000150d
add esp, 0xc
pop ebp
jmp fcn.100065f6
xor eax, eax
pop ebp
ret
Function at 0x1000c8f0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1000c8fc
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.1000cd80

Function at 0x1000cc30
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x10017014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
jg 0x1000cc68
jl 0x1000cc55
test edi, edi
jne 0x1000cc68
mov eax, dword [ebp + 8]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100085db
mov esp, ebp
pop ebp
ret
mov ecx, 1
mov dword [ebp - 0x84], 0xedb88320
mov eax, ecx
nop dword [eax]
mov dword [ebp + eax*4 - 0x84], ecx
inc eax
add ecx, ecx
cmp eax, 0x20
jl 0x1000cc80
push ebx
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.1000d050
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.1000d050
mov ebx, dword [ebp + 8]
add esp, 0x10
nop dword [eax]
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.1000d050
mov eax, edi
add esp, 8
and eax, 1
or eax, 0
je 0x1000cd05
xor ecx, ecx
lea eax, [ebp - 0x104]
test ebx, ebx
je 0x1000cd03
nop dword [eax]
mov edx, ebx
test bl, 1
je 0x1000ccf9
xor ecx, dword [eax]
shr ebx, 1
add eax, 4
cmp edx, 2
jae 0x1000ccf0
mov ebx, ecx
shrd edi, esi, 1
sar esi, 1
mov eax, edi
or eax, esi
je 0x1000cd65
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.1000d050
mov eax, edi
add esp, 8
and eax, 1
or eax, 0
je 0x1000cd55
xor ecx, ecx
lea eax, [ebp - 0x84]
test ebx, ebx
je 0x1000cd53
nop dword [eax]
mov edx, ebx
test bl, 1
je 0x1000cd49
xor ecx, dword [eax]
shr ebx, 1
add eax, 4
cmp edx, 2
jae 0x1000cd40
mov ebx, ecx
shrd edi, esi, 1
sar esi, 1
mov eax, edi
or eax, esi
jne 0x1000ccc0
xor ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.100085db
mov esp, ebp
pop ebp
ret

Function at 0x1000d0e0
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.1000d1f0
Function at 0x10002060
Capabilities:
Decrypt data using tea
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
push esi
mov esi, dword [edx + 0xc]
mov dword [ebp - 0x14], esi
mov esi, dword [edx + 8]
mov dword [ebp - 0x10], esi
mov esi, dword [edx]
mov edx, dword [edx + 4]
mov dword [ebp - 8], edx
push edi
mov dword [ebp - 0xc], esi
mov edx, 0xc6ef3720
mov dword [ebp - 4], 0x20
mov esi, ecx
shl esi, 4
add esi, dword [ebp - 0x10]
mov edi, ecx
shr edi, 5
add edi, dword [ebp - 0x14]
xor esi, edi
lea edi, [edx + ecx]
xor esi, edi
sub eax, esi
mov esi, eax
shr esi, 5
add esi, dword [ebp - 8]
mov edi, eax
shl edi, 4
add edi, dword [ebp - 0xc]
xor esi, edi
lea edi, [edx + eax]
xor esi, edi
sub ecx, esi
add edx, 0x61c88647
dec dword [ebp - 4]
jne 0x10002093
mov edx, dword [ebp + 8]
pop edi
mov dword [edx], ecx
mov dword [edx + 4], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10008f40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [edi + 0x2c]
push esi
mov esi, dword [edi + 0x3c]
sub esi, dword [edi + 0x74]
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x2c]
lea edx, [ebx + ecx - 0x106]
sub esi, eax
cmp eax, edx
jb 0x10008fb9
mov ecx, dword [edi + 0x38]
lea eax, [ecx + ebx]
mov edx, ebx
call fcn.100074a0
mov edx, dword [edi + 0x4c]
mov eax, dword [edi + 0x44]
sub dword [edi + 0x70], ebx
sub dword [edi + 0x6c], ebx
sub dword [edi + 0x5c], ebx
lea ecx, [eax + edx*2]
lea ecx, [ecx]
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x10008f8f
sub eax, ebx
jmp 0x10008f91
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x10008f80
mov ecx, dword [edi + 0x40]
mov edx, ebx
lea ecx, [ecx + ebx*2]
nop
movzx eax, word [ecx - 2]
sub ecx, 2
cmp eax, ebx
jb 0x10008faf
sub eax, ebx
jmp 0x10008fb1
xor eax, eax
dec edx
mov word [ecx], ax
jne 0x10008fa0
add esi, ebx
mov eax, dword [edi]
cmp dword [eax + 4], 0
je 0x10009013
mov edx, dword [edi + 0x74]
add edx, dword [edi + 0x6c]
mov ecx, esi
add edx, dword [edi + 0x38]
mov esi, eax
push edx
call fcn.10008cf0
add dword [edi + 0x74], eax
mov edx, dword [edi + 0x74]
add esp, 4
cmp edx, 3
jb 0x10008fff
mov esi, dword [edi + 0x6c]
add esi, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx eax, byte [esi]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [edi + 0x54]
mov dword [edi + 0x48], eax
cmp edx, 0x106
jae 0x10009013
mov edx, dword [edi]
cmp dword [edx + 4], 0
jne 0x10008f45
pop esi
pop ebx
ret
Function at 0x1000c9d0
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x1000cb80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
movzx esi, dl
cmp dword [ebp + 8], edi
jbe 0x1000cbbf
sub eax, ecx
mov dword [ebp - 4], eax
push ebx
mov al, byte [ecx]
mov bl, byte [esi + 0x100155a0]
xor bl, al
xor bl, dl
mov edx, dword [ebp - 4]
mov byte [edx + ecx], bl
mov dl, al
movzx eax, al
add eax, edi
add esi, eax
inc edi
and esi, 0xff
inc ecx
cmp edi, dword [ebp + 8]
jb 0x1000cb96
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret