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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x7b8250
push esi
call fcn.004057cd
push esi
call fcn.004055a6
mov edi, eax
test edi, edi
jne 0x40598f
xor eax, eax
jmp 0x4059e7
push edi
call fcn.004057ef
test byte [0x7c5468], 0x80
je 0x4059a8
mov al, byte [edi]
test al, al
je 0x40598b
cmp al, 0x5c
je 0x40598b
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub edi, esi
jmp 0x4059c8
push esi
call fcn.00405889
test eax, eax
je 0x4059c2
test byte [eax], 0x10
je 0x4059ec
push esi
call fcn.00405947
push esi
call ebx
cmp eax, edi
jg 0x4059b3
push esi
call fcn.0040591a
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebx
pop edi
pop esi
ret 4
xor eax, eax
jmp 0x4059e6
Function at 0x405ca0
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
push 1
call fcn.004058b0
mov esi, dword [esp + 0x18]
test eax, eax
je 0x405cc4
push 5
push esi
push dword [esp + 0x1c]
call eax
test eax, eax
jne 0x405dfd
mov ebx, dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [0x7ba250], 0x4c554e
mov edi, 0x400
mov ebp, 0x7ba250
test esi, esi
je 0x405d08
push 1
push 0
push esi
call fcn.0040563d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push ebp
push esi
call ebx
test eax, eax
je 0x405e03
cmp eax, edi
jg 0x405e03
push edi
mov esi, 0x7bab90
push esi
push dword [esp + 0x1c]
call ebx
test eax, eax
je 0x405e03
cmp eax, edi
jg 0x405e03
push esi
push ebp
push str._s_s_r_n
push 0x7ba650
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
mov ebx, eax
mov eax, dword [0x7c540c]
push dword [eax + 0x128]
push esi
call fcn.00405a46
push 4
push 0xc0000000
push esi
call fcn.0040563d
mov ebp, eax
mov dword [esp + 0x14], ebp
cmp ebp, 0xffffffff
je 0x405dfd
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + ebx + 0xa]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x405df6
push 0
lea eax, [esp + 0x1c]
push eax
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x405df6
cmp edi, dword [esp + 0x18]
jne 0x405df6
push str._Rename__r_n
push esi
call fcn.004059f0
test eax, eax
jne 0x405e0a
push str._Rename__r_n
lea eax, [esi + edi]
push eax
call fcn.004057cd
add edi, 0xa
mov eax, edi
push ebx
push 0x7ba650
add eax, esi
push eax
call fcn.004055f9
xor eax, eax
push eax
push eax
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [esp + 0x1c]
push eax
add edi, ebx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [0x7c54d0]
pop edi
pop esi
pop ebp
pop ebx
ret 8
push 0x40762c
add eax, 0xa
push eax
call fcn.004059f0
test eax, eax
je 0x405dc1
inc eax
lea ecx, [esi + edi]
mov ebp, eax
cmp eax, ecx
jae 0x405e31
mov dl, byte [ebp]
mov byte [ebx + ebp], dl
inc ebp
cmp ebp, ecx
jb 0x405e26
mov ebp, dword [esp + 0x14]
sub eax, esi
jmp 0x405dc3
Function at 0x405e39
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
mov ebx, dword [ebp + 8]
push ebx
call fcn.0040596e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 8], eax
test cl, 8
je 0x405e6e
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
inc eax
add dword [0x7c54c8], eax
jmp 0x406000
mov dword [ebp + 8], ecx
and dword [ebp + 8], 1
push esi
je 0x405e89
test eax, eax
je 0x405fab
test cl, 2
je 0x405fab
push edi
push ebx
mov esi, 0x7baf90
push esi
call fcn.004057cd
cmp dword [ebp + 8], 0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x405eac
push str..
push esi
call edi
jmp 0x405eb2
push ebx
call fcn.00405947
cmp byte [ebx], 0
jne 0x405ec0
cmp byte [0x7baf90], 0x5c
jne 0x405ec8
push 0x407290
push ebx
call edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea eax, [ebp - 0x148]
push eax
push esi
add edi, ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x405fa0
lea esi, [ebp - 0x11c]
push 0x3f
mov eax, esi
push eax
call fcn.00405562
cmp byte [eax], 0
je 0x405f0b
cmp byte [ebp - 0x18], 0
je 0x405f0b
lea esi, [ebp - 0x18]
cmp byte [esi], 0x2e
jne 0x405f21
mov al, byte [esi + 1]
test al, al
je 0x405f7f
cmp al, 0x2e
jne 0x405f21
cmp byte [esi + 2], 0
je 0x405f7f
push esi
push edi
call fcn.004057cd
test byte [ebp - 0x148], 0x10
je 0x405f46
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x405f7f
push dword [ebp + 0xc]
push ebx
call fcn.00405e39
jmp 0x405f7f
push ebx
call fcn.0040561d
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x405f77
test byte [ebp + 0xc], 4
je 0x405f6f
push ebx
push 0xfffffffffffffff1
call fcn.0040485f
push 0
push ebx
call fcn.00405ca0
jmp 0x405f7f
inc dword [0x7c54c8]
jmp 0x405f7f
push ebx
push 0xfffffffffffffff2
call fcn.0040485f
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x405eed
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x405faa
mov byte [edi - 1], 0
pop edi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x405fff
cmp dword [ebp - 8], esi
je 0x405fef
push ebx
call fcn.00405889
test eax, eax
je 0x405fff
push ebx
call fcn.0040591a
push ebx
call fcn.0040561d
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
jne 0x405ff7
test byte [ebp + 0xc], 4
je 0x405fef
push ebx
push 0xfffffffffffffff1
call fcn.0040485f
push esi
push ebx
call fcn.00405ca0
jmp 0x405fff
inc dword [0x7c54c8]
jmp 0x405fff
push ebx
push 0xffffffffffffffe5
call fcn.0040485f
pop esi
pop ebx
leave
ret 8
Function at 0x406005
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x7bcf94], 0
jne 0x406043
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406019
mov dword [ecx*4 + 0x7bcf90], eax
inc ecx
cmp ecx, 0x100
jl 0x406014
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406070
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x7bcf90]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406051
not eax
pop ebp
ret 0xc
Function at 0x403f2c
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x20
xor eax, eax
mov edx, dword [eax*4 + 0x87274c]
movsx ecx, byte [edx + 0x2a8]
test ecx, ecx
jne 0x40412e
inc eax
cmp eax, 4
jl 0x403f31
je 0x404101
cmp dword [0x872d2c], 0
jl 0x4040fd
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
xor eax, eax
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], edi
mov dword [esp], ebp
mov esi, eax
mov edi, dword [esi*4 + 0x87274c]
cmp dword [edi + 0x2a4], 0
jne 0x403fb2
xor ebp, ebp
mov dword [edi + 0x2ac], ebp
mov dword [edi + 0x2b0], ebp
mov edx, 1
mov byte [edi + 0x2b4], dl
mov byte [edi + 0x2b5], dl
jmp 0x4040e4
mov edx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x14], ecx
lea ebx, [esp + 0x10]
push ebx
push dword [edi + 0x2a4]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, dword [esi*4 + 0x87274c]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x2ac], ecx
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x2b0], edx
test esi, esi
jne 0x404046
mov edx, dword [0x872220]
sub ecx, edx
mov dword [ebx + 0x2ac], ecx
mov ecx, dword [0x872224]
sub dword [ebx + 0x2b0], ecx
mov ecx, dword [0x872374]
test ecx, ecx
je 0x404029
mov eax, dword [ebx + 0x2ac]
imul eax, dword [ebx + 0xc]
cdq
idiv ecx
mov dword [ebx + 0x2ac], eax
mov ecx, dword [0x872378]
test ecx, ecx
je 0x404046
mov eax, dword [ebx + 0x2b0]
imul eax, dword [ebx + 0x10]
cdq
idiv ecx
mov dword [ebx + 0x2b0], eax
xor edx, edx
mov byte [ebx + 0x2b4], dl
mov byte [ebx + 0x2b5], dl
mov edx, dword [ebx + 0x2ac]
test edx, edx
jl 0x404072
mov ecx, dword [ebx + 0x2b0]
test ecx, ecx
jl 0x404072
cmp edx, dword [ebx + 0xc]
jge 0x404072
cmp ecx, dword [ebx + 0x10]
jl 0x4040e4
mov byte [ebx + 0x2b4], 1
mov ecx, dword [0x872220]
mov ebp, dword [0x872224]
mov edi, dword [0x872374]
test edi, edi
je 0x40409c
mov edx, dword [ebx + 0xc]
imul ecx, edx
mov eax, ecx
cdq
idiv edi
mov ecx, eax
mov edi, dword [0x872378]
test edi, edi
je 0x4040b3
mov edx, dword [ebx + 0x10]
imul ebp, edx
mov eax, ebp
cdq
idiv edi
mov ebp, eax
mov edx, dword [ebx + 0x2ac]
mov edi, ecx
neg edi
cmp edx, edi
jl 0x4040dd
mov eax, dword [ebx + 0x2b0]
mov edi, ebp
neg edi
cmp eax, edi
jl 0x4040dd
add ecx, dword [ebx + 0xc]
cmp edx, ecx
jge 0x4040dd
add ebp, dword [ebx + 0x10]
cmp eax, ebp
jl 0x4040e4
mov byte [ebx + 0x2b5], 1
inc esi
cmp esi, 4
jl 0x403f7e
mov ebx, dword [esp + 0xc]
mov esi, dword [esp + 8]
mov edi, dword [esp + 4]
mov ebp, dword [esp]
add esp, 0x20
ret
mov dword [0x872d2c], 0xffffffff
push 0x400
push 0x663320
call dword [0x5b8560]
add esp, 8
push 0x663220
call dword [sym.imp.USER32.dll_SetKeyboardState]
jmp 0x403f53
mov dword [0x872d2c], eax
push 0x663320
call dword [sym.imp.USER32.dll_GetKeyboardState]
movsx eax, byte [0x8724a4]
test eax, eax
jle 0x403f53
cmp eax, 1
jne 0x404159
mov byte [0x663321], 0x80
dec eax
mov byte [0x8724a4], al
jmp 0x403f53
Function at 0x40ce98
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], edx
mov eax, dword [eax]
inc dword [0x872704]
mov edi, ecx
xor esi, esi
xor esi, ecx
cmp ecx, 4
jl 0x40ced9
imul ebp, dword [edx], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul ebx, ebp, 0x5bd1e995
imul esi, esi, 0x5bd1e995
xor esi, ebx
add edx, 4
add edi, 0xfffffffc
cmp edi, 4
jge 0x40ceb3
cmp edi, 3
je 0x40ceea
cmp edi, 2
je 0x40cef3
cmp edi, 1
je 0x40cefc
jmp 0x40cf07
movzx edi, byte [edx + 2]
shl edi, 0x10
xor esi, edi
movzx edi, byte [edx + 1]
shl edi, 8
xor esi, edi
movzx edx, byte [edx]
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edx, esi
shr edx, 0xd
xor esi, edx
imul esi, esi, 0x5bd1e995
mov edi, esi
shr edi, 0xf
xor esi, edi
and esi, 0x7fffffff
add esi, 0x80000000
test eax, eax
je 0x40cf6a
mov edi, dword [0x872700]
mov ebx, eax
mov ebp, ecx
inc edi
mov dword [0x872700], edi
cmp esi, dword [ebx + 0x1c]
jne 0x40cf61
cmp ebp, dword [ebx + 0x18]
jne 0x40cf5b
push ebp
mov edx, dword [esp + 4]
push edx
push dword [ebx + 0x14]
call fcn.0046f630
add esp, 0xc
test eax, eax
je 0x40cf70
inc dword [0x8726fc]
mov ebx, dword [ebx + 0xc]
test ebx, ebx
jne 0x40cf35
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x410ee0
Capabilities:
Get common file path

Disassembly:
push edi
push esi
push ebx
sub esp, 0x108
push 0x105
push 0x6608e0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov eax, 0x6608e0
call fcn.00464e94
lea edx, [esp + 4]
xor eax, eax
push eax
push eax
push edx
push 0x660c40
push 0x6608e0
call fcn.0046fdd7
add esp, 0x14
mov edi, 0x660c40
lea edx, [esp + 4]
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x410f33
mov eax, 0x660c40
call fcn.00464e94
mov edx, 0x660c40
movsx eax, byte [edx]
test eax, eax
je 0x410f7a
movzx esi, al
movzx ecx, byte [esi + 0x59b0a0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x4110b6
cmp eax, 0x2f
jne 0x410f72
mov byte [edx], 0x5c
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x410f53
mov edi, 0x660c40
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x410f91
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x410f89
mov ecx, eax
test ecx, ecx
jle 0x410fc5
xor edx, edx
lea eax, [ecx - 1]
movzx esi, byte [edx + 0x660c40]
movzx ebx, byte [esi + 0x59b0a0]
inc ebx
movsx edi, bl
add edx, edi
cmp edx, eax
jne 0x410fc1
cmp byte [edx + 0x660c40], 0x5c
je 0x41109f
cmp edx, ecx
jl 0x410f9c
xor eax, eax
test eax, eax
jne 0x410fe9
mov edi, 0x660c40
mov edx, 0x878338
mov ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
dec edi
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
test al, al
jne 0x410fdf
mov esi, 0x660a00
mov edi, 0x6608e0
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x410ff3
mov edx, 0x660a00
movsx eax, byte [edx]
test eax, eax
je 0x411030
movzx esi, al
movzx ecx, byte [esi + 0x59b0a0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x4110ae
cmp eax, 0x5c
jne 0x411028
mov byte [edx], 0x3a
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x411009
mov esi, 0x660b20
mov edi, 0x660c40
mov dl, byte [edi]
inc edi
mov byte [esi], dl
inc esi
test dl, dl
jne 0x41103a
mov edx, 0x660b20
movsx eax, byte [edx]
test eax, eax
je 0x411073
movzx esi, al
movzx ecx, byte [esi + 0x59b0a0]
inc ecx
movsx edi, cl
cmp edi, 2
je 0x4110a9
cmp eax, 0x5c
jne 0x41106b
mov byte [edx], 0x3a
inc edx
movsx eax, byte [edx]
test eax, eax
jne 0x411050
xor eax, eax
push eax
push 0x1a
push 0x660e80
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
xor eax, eax
push eax
push 5
push 0x660fa0
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
add esp, 0x108
pop ebx
pop esi
pop edi
ret
mov eax, 1
jmp 0x410fc7
add edx, 2
jmp 0x41106c
add edx, 2
jmp 0x411029
add edx, 2
jmp 0x410f73
Function at 0x4114b8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
sub esp, 0x38
mov dword [esp], 0x3003
mov dword [esp + 4], 0x41c350
mov ecx, dword [0x872260]
mov dword [esp + 0x10], ecx
xor edx, edx
mov dword [esp + 0x20], edx
mov eax, dword [0x59b7ac]
mov dword [esp + 0x24], eax
mov dword [esp + 8], edx
mov dword [esp + 0xc], edx
push 0x2711
push ecx
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0
push 4
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [esp + 0x1c], eax
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
movzx eax, ax
test eax, eax
jne 0x41152b
mov eax, 1
add esp, 0x38
pop ebp
ret
lea eax, [esp + 0x28]
push eax
push dword [0x87298c]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
movsx eax, dx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
movsx ebp, cx
mov edx, dword [0x59b7ac]
xor ecx, ecx
push ecx
push dword [0x872260]
push ecx
push dword [0x87298c]
push ebp
push eax
push ecx
push ecx
push 0x56000000
push edx
push edx
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x872988], eax
test eax, eax
je 0x411521
xor eax, eax
add esp, 0x38
pop ebp
ret

Function at 0x412d84
Capabilities:
Create process on windows

Disassembly:
push ebx
sub esp, 0x54
mov ebx, eax
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [esp], 0x44
mov edx, 5
mov word [esp + 0x30], dx
xor eax, eax
lea edx, [esp]
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
push eax
push 0x20
push eax
push eax
push eax
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [esp + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x48]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x54
pop ebx
ret

Function at 0x416f10
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [0x59b6f0]
cmp eax, 0x270
jl 0x416fde
xor edx, edx
mov eax, dword [edx*4 + 0x5ce680]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5ce684]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5cecb4]
xor ecx, dword [eax*4 + 0x577538]
mov dword [edx*4 + 0x5ce680], ecx
inc edx
cmp edx, 0xe3
jl 0x416f22
cmp edx, 0x26f
jge 0x416faa
mov eax, dword [edx*4 + 0x5ce680]
and eax, 0x80000000
mov ecx, dword [edx*4 + 0x5ce684]
and ecx, 0x7fffffff
or eax, ecx
mov ecx, eax
shr ecx, 1
and eax, 1
xor ecx, dword [edx*4 + 0x5ce2f4]
xor ecx, dword [eax*4 + 0x577538]
mov dword [edx*4 + 0x5ce680], ecx
inc edx
cmp edx, 0x26f
jl 0x416f6a
mov edx, dword [0x5cf03c]
and edx, 0x80000000
mov eax, dword [0x5ce680]
and eax, 0x7fffffff
or edx, eax
mov ecx, edx
shr ecx, 1
xor ecx, dword [0x5cecb0]
and edx, 1
xor ecx, dword [edx*4 + 0x577538]
mov dword [0x5cf03c], ecx
xor eax, eax
lea edx, [eax + 1]
mov dword [0x59b6f0], edx
mov eax, dword [eax*4 + 0x5ce680]
mov ecx, eax
shr ecx, 0xb
xor eax, ecx
mov edx, eax
shl edx, 7
and edx, 0x9d2c5680
xor eax, edx
mov edx, eax
shl edx, 0xf
and edx, 0xefc60000
xor eax, edx
mov edx, eax
shr edx, 0x12
xor eax, edx
ret
Function at 0x417ce4
Capabilities:
Get file version info

Disassembly:
push edi
push ebp
push ebx
sub esp, 0xc
mov edi, edx
mov ebp, eax
test ebp, ebp
je 0x417d85
test edi, edi
je 0x417d85
lea ecx, [esp + 8]
push ecx
push ebp
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
jbe 0x417d79
mov dword [esp + 4], eax
push eax
call fcn.0047076f
pop ecx
mov ebx, eax
test ebx, ebx
je 0x417d91
push ebx
push dword [esp + 8]
push 0
push ebp
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x417d72
mov dword [esp], 0
lea ebp, [esp]
lea ecx, [esp + 4]
push ecx
push ebp
push 0x878338
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x417d72
mov ecx, dword [esp]
test ecx, ecx
je 0x417d72
mov ecx, dword [ecx + 8]
mov dword [edi + 4], ecx
mov ebp, dword [esp]
mov ecx, dword [ebp + 0xc]
mov dword [edi], ecx
push ebx
call fcn.0047077d
xor eax, eax
add esp, 0x10
pop ebx
pop ebp
pop edi
ret
push ebx
call fcn.0047077d
pop ecx
mov eax, 0x80004005
add esp, 0xc
pop ebx
pop ebp
pop edi
ret
mov eax, 0x80070057
add esp, 0xc
pop ebx
pop ebp
pop edi
ret
mov eax, 0x8007000e
add esp, 0xc
pop ebx
pop ebp
pop edi
ret
Function at 0x41c148
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push ebx
push esi
mov ecx, edx
mov edx, eax
mov esi, ecx
shr esi, 2
and ecx, 3
test esi, esi
je 0x41c1cf
je 0x41c1fe
mov eax, 0xffffffff
xor ebx, ebx
mov dword [esp], edi
movzx edi, byte [edx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59b1a0]
movzx edi, byte [edx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59b1a0]
movzx edi, byte [edx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59b1a0]
movzx edi, byte [edx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x59b1a0]
add edx, 4
inc ebx
cmp ebx, esi
jb 0x41c16b
mov edi, dword [esp]
jmp 0x41c1d4
mov eax, 0xffffffff
test ecx, ecx
je 0x41c1f8
je 0x41c1f8
xor ebx, ebx
inc edx
movzx esi, byte [edx - 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x59b1a0]
inc ebx
cmp ebx, ecx
jb 0x41c1dc
not eax
pop ecx
pop ebx
pop esi
ret
mov eax, 0xffffffff
jmp 0x41c1d4

Function at 0x41c20c
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
lea edx, [esp]
push 8
push edx
push dword [eax]
call fcn.00470b8e
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 0x14
ret

Function at 0x41ea40
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
push ebp
sub esp, 0x40
mov edi, eax
cmp dword [edi + 0x168], 0
je 0x41ea5b
mov eax, 0xfffffc0e
add esp, 0x40
pop ebp
pop edi
ret
mov edx, dword [esp + 0x50]
lea ecx, [edx - 0x3b9ac9ff]
or ecx, dword [esp + 0x54]
je 0x41eaad
mov byte [esp + 0xc], 1
lea eax, [esp + 0x10]
mov edx, edi
xor ecx, ecx
call fcn.0040bcdd
test eax, eax
jne 0x41eaa2
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x168], ecx
mov ebp, dword [esp + 0x10]
mov dword [edi + 0x1a8], ebp
mov eax, edi
call fcn.0041cd78
add esp, 0x40
pop ebp
pop edi
ret
mov eax, 0xfffffc04
add esp, 0x40
pop ebp
pop edi
ret
push 0xfcc
call fcn.00403564
pop ecx
mov ebp, eax
test ebp, ebp
je 0x41eb44
lea ecx, [ebp + 0x2c]
push 0x80
push 0xfa0
push ecx
call dword [0x5b8564]
add esp, 0xc
mov dword [ebp], 0x46464952
mov dword [ebp + 4], 0xfc4
mov dword [ebp + 8], 0x45564157
mov dword [ebp + 0xc], 0x20746d66
mov dword [ebp + 0x10], 0x10
mov eax, 1
mov word [ebp + 0x14], ax
mov word [ebp + 0x16], ax
mov ecx, 0x1f40
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], ecx
mov word [ebp + 0x20], ax
mov ecx, 8
mov word [ebp + 0x22], cx
mov dword [ebp + 0x24], 0x61746164
mov dword [ebp + 0x28], 0xfa0
mov dword [edi + 0x1a8], 0xfcc
mov dword [edi + 0x168], ebp
jmp 0x41ea95
xor ebp, ebp
jmp 0x41eb39
Function at 0x425f78
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
push ebx
sub esp, 0x28
mov ebx, eax
test ebx, ebx
je 0x42603d
movsx edx, byte [0x59b6f4]
test edx, edx
je 0x425f99
mov eax, ebx
call fcn.0042604c
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x42603d
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov esi, ebx
mov ebx, eax
mov eax, esi
lea edx, [esp + 8]
call fcn.004106e4
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
add dword [esp + 8], edx
adc dword [esp + 0xc], ecx
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
add dword [esp + 0x10], edx
adc dword [esp + 0x14], ecx
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
add dword [esp + 0x18], edx
adc dword [esp + 0x1c], ecx
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
add dword [esp + 0x20], edx
adc dword [esp + 0x24], ecx
mov esi, dword [esi + 0x10]
cmp esi, dword [0x8723c4]
je 0x426035
mov ebx, dword [esi + 0x44]
test ebx, ebx
jne 0x425fe0
xor eax, eax
add esp, 0x28
pop ebx
pop esi
ret
mov eax, 0xffffffff
add esp, 0x28
pop ebx
pop esi
ret