joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50d944
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x50d94c
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x50db01
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [0x587650]
mov eax, dword [eax]
call fcn.004d20ec
mov eax, dword [ebp - 0x1c]
call fcn.00407918
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x50daa9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
call fcn.00404240
mov ebx, eax
test ebx, ebx
je 0x50da92
push ebx
mov eax, dword [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x587650]
mov eax, dword [eax]
call fcn.004d20ec
mov eax, dword [ebp - 0x20]
call fcn.00407918
push eax
call sub.version.dll_GetFileVersionInfoW
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x50db10
push ebx
call sub.version.dll_VerQueryValueW
push 0x50db20
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x24]
call fcn.004145d4
push dword [ebp - 0x24]
push 0x50db30
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x28]
call fcn.004145d4
push dword [ebp - 0x28]
push 0x50db30
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x2c]
call fcn.004145d4
push dword [ebp - 0x2c]
push 0x50db30
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x30]
call fcn.004145d4
push dword [ebp - 0x30]
lea eax, [ebp - 4]
mov edx, 8
call fcn.00407e54
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x50db10
push ebx
call sub.version.dll_VerQueryValueW
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 2
setne byte [ebp - 0x15]
mov eax, ebx
call fcn.0040425c
jmp 0x50da9f
lea eax, [ebp - 4]
mov edx, 0x50db40
call fcn.004078e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x50dac0
cmp byte [ebp - 0x15], 0
je 0x50dad3
lea eax, [ebp - 4]
mov edx, 0x50db5c
call fcn.00407cb0
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.0040788c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50db08
lea eax, [ebp - 0x30]
mov edx, 6
call fcn.00407884
lea eax, [ebp - 4]
call fcn.0040787c
ret
Function at 0x50e730
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
call fcn.0040700c
xor eax, eax
push ebp
push 0x50e880
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x2710
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
je 0x50e862
xor edx, edx
push ebp
push 0x50e85b
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 4
push 0
push 1
push 0x40000000
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.0050dd04
mov eax, dword [ebp - 0x10]
call fcn.00407918
push eax
call sub.kernel32.dll_CreateFileW_1
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x50e7bc
call fcn.00406198
jmp 0x50e862
lea eax, [ebp - 4]
mov edx, 0x50e89c
call fcn.00406ca4
xor eax, eax
mov dword [ebp - 0xc], eax
push 2
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer_1
mov esi, dword [ebp - 4]
test esi, esi
je 0x50e7fb
mov eax, esi
sub eax, 0xa
cmp word [eax], 1
je 0x50e7fb
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00406aa8
mov esi, eax
lea eax, [ebp - 4]
call fcn.00407094
mov esi, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x50e824
mov edx, eax
sub edx, 0xa
cmp word [edx], 1
je 0x50e824
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.00406aa8
test eax, eax
je 0x50e82d
sub eax, 4
mov eax, dword [eax]
push 0
lea edx, [ebp - 0xc]
push edx
push eax
push esi
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e862
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
push eax
call sub.kernel32.dll_ReleaseMutex
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e887
lea eax, [ebp - 0x10]
call fcn.0040787c
lea eax, [ebp - 4]
call fcn.0040688c
ret
Function at 0x539a80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
mov eax, 8
test byte [edx + 1], 0x80
setne bl
movzx edi, word [edx]
add edi, edi
movzx esi, cl
mov ebp, esi
shr ebp, 7
or edi, ebp
cmp edi, 0xffff
jbe 0x539aac
call fcn.0040548c
mov word [edx], di
test bl, bl
je 0x539ab8
xor word [edx], 0x1021
add esi, esi
and esi, 0xff
cmp esi, 0xff
jbe 0x539acd
call fcn.0040548c
mov ecx, esi
dec eax
jne 0x539a89
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x562fa8
Capabilities:
Hash data with crc32

Disassembly:
push ebx
push esi
xor esi, esi
mov ecx, 0x58d638
mov eax, esi
mov edx, 8
mov ebx, eax
and ebx, 1
test bl, bl
je 0x562fca
shr eax, 1
xor eax, 0xedb88320
jmp 0x562fcc
shr eax, 1
dec edx
jne 0x562fb8
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x562fb1
mov byte [0x58da38], 1
pop esi
pop ebx
ret

Function at 0x562fe8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x58da38], 0
jne 0x562fff
call fcn.00562fa8
mov eax, edi
dec eax
test eax, eax
jl 0x563027
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x58d638]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x563009
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x565dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x565e6a.0
jmp dword [ecx*4 + 0x565e03]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x565e35
sub dl, 8
je 0x565e44
jmp case.0x565e6a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x565a78
jmp case.0x565e6a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x565ad0
jmp case.0x565e6a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x565e6a.0
movzx ecx, byte [ecx + 0x565e71]
jmp dword [ecx*4 + 0x565e82]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x565b7c
jmp case.0x565e6a.0
cmp dl, 3
jne 0x565eaf
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x565bd4
jmp case.0x565e6a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x565b90
jmp case.0x565e6a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x565c18
jmp case.0x565e6a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x565eda
sub dl, 8
je 0x565ee6
jmp case.0x565e6a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x565c44
jmp case.0x565e6a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x565cb0
jmp case.0x565e6a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x565f05
sub dl, 8
je 0x565f11
jmp case.0x565e6a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x565d6c
jmp case.0x565e6a.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x565d94
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
imul edx, ecx
mov esi, edx
add esi, dword [eax + 0x450]
mov dword [ebp - 0x10], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 0xc], esi
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x14], edx
mov esi, ecx
test esi, esi
jb 0x565fb3
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.00564f7c
test eax, eax
je 0x565fb3
mov eax, ebx
call fcn.00565fbc
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0x10], eax
sub dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 0xc], eax
dec esi
jne 0x565f4c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x565fbc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x565fed
dec al
je 0x566028
dec al
je 0x56606d
dec al
je 0x5660d6
jmp 0x566160
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x566160
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x565ffd
jmp 0x566160
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x566160
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x566038
jmp 0x566160
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x566160
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x56609c
xor ebp, ebp
jmp 0x5660ac
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x5660b5
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x56607d
jmp 0x566160
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x566160
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x56612f
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00563030
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x5660ea
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40127b
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor ecx, ecx
push esi
push 8
mov edx, ecx
pop esi
mov eax, edx
shr edx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor edx, eax
sub esi, 1
jne 0x401283
mov dword [ecx*4 + 0x406060], edx
inc ecx
cmp ecx, 0x100
jb 0x40127e
pop esi
ret

Function at 0x4012ab
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x4012ce
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, 0xff
xor ecx, dword [eax*4 + 0x406060]
inc edx
sub esi, 1
jne 0x4012b4
mov eax, ecx
pop esi
ret 4

Function at 0x401a0f
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x401a1c
xor eax, eax
pop esi
ret
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push edi
xor edi, edi
mov ebp, 0x1000000
mov eax, ebp
cmp esi, ebp
ja 0x401a32
mov eax, esi
and dword [esp + 0x1c], 0
lea ecx, [esp + 0x1c]
push 0
push ecx
push eax
push ebx
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x1c]
add ebx, ecx
sub esi, ecx
add edi, ecx
test eax, eax
je 0x401a60
test ecx, ecx
je 0x401a60
test esi, esi
jne 0x401a2a
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x401a67
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x401a74
xor eax, eax
pop esi
ret
push ebx
mov ebx, dword [esp + 0x10]
push ebp
push edi
xor edi, edi
mov ebp, 0x1000000
mov eax, ebp
cmp esi, ebp
ja 0x401a8a
mov eax, esi
and dword [esp + 0x1c], 0
lea ecx, [esp + 0x1c]
push 0
push ecx
push eax
push ebx
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_WriteFile]
add ebx, dword [esp + 0x1c]
sub esi, dword [esp + 0x1c]
add edi, dword [esp + 0x1c]
test eax, eax
je 0x401ab6
test esi, esi
jne 0x401a82
mov eax, edi
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x403d27
Capabilities:
Accept command line arguments

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 2
pop edx
push 0x20
movzx ecx, word [eax]
pop esi
push 0x22
pop edi
cmp cx, di
jne 0x403d53
add eax, edx
movzx ecx, word [eax]
test cx, cx
je 0x403d70
add eax, edx
cmp cx, di
jne 0x403d42
jmp 0x403d68
cmp cx, si
jbe 0x403d68
add eax, edx
cmp word [eax], si
ja 0x403d58
jmp 0x403d68
cmp cx, si
ja 0x403d70
add eax, edx
movzx ecx, word [eax]
test cx, cx
jne 0x403d61
pop edi
pop esi
ret
Function at 0x403e61
Capabilities:
Create process on windows
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
push 0x406470
push 0x4050ec
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x44
pop esi
push esi
xor ebx, ebx
lea eax, [ebp - 0x74]
push ebx
push eax
call fcn.00404ccc
add esp, 0xc
mov dword [ebp - 0x74], esi
xor eax, eax
inc eax
mov dword [ebp - 0x48], eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403ed2
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call esi
jmp 0x403f20
mov eax, dword [str.Error:]
mov dword [ebp - 0x30], eax
mov eax, dword [0x40510c]
push edi
mov dword [ebp - 0x2c], eax
lea edi, [ebp - 0x28]
xor eax, eax
stosd dword es:[edi], eax
push 0xa
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00404c2b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00404cfa
add esp, 0x14
lea eax, [ebp - 0x30]
push 0x10
push str.Setup
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40490d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push esi
push edi
push 0x5c
lea esi, [ebp - 0x208]
pop edi
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call fcn.00404de4
lea eax, [ebp - 0x208]
push 0x2f
push eax
call fcn.00404d85
add esp, 0x10
jmp 0x404956
mov word [eax], di
lea eax, [ebp - 0x208]
push 0x2f
push eax
call fcn.00404d85
pop ecx
pop ecx
test eax, eax
jne 0x404943
push edi
push esi
call fcn.00404d85
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x404971
xor eax, eax
mov word [esi], ax
add esi, 2
push 0
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test esi, esi
jne 0x404921
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x404a3d
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
cmp byte [ebp + 0xc], 0
je 0x404b42
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0040488f
pop ecx
pop ecx
push 0x40535c
lea ecx, [ebp - 0x10]
call fcn.004045e2
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 8]
push eax
call fcn.004047bd
add esp, 0xc
mov ecx, eax
call fcn.004047b6
push eax
lea ecx, [ebp - 0x4c0]
call fcn.004045b7
lea ecx, [ebp - 8]
call fcn.004046ce
lea ecx, [ebp - 0x10]
jmp 0x404b10
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 8]
call fcn.0040465a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004047bd
add esp, 0xc
test byte [ebp - 0x268], 0x10
je 0x404afb
push 0x405360
lea ecx, [ebp - 8]
call fcn.0040475f
test al, al
je 0x404b05
push 0x405364
lea ecx, [ebp - 8]
call fcn.0040475f
test al, al
je 0x404b05
lea eax, [ebp - 0x10]
push 1
push eax
call fcn.00404a3d
pop ecx
jmp 0x404b04
lea eax, [ebp - 0x10]
push eax
call fcn.00404a2c
pop ecx
lea ecx, [ebp - 0x10]
call fcn.004046ce
lea ecx, [ebp - 8]
call fcn.004046ce
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x4c0]
call fcn.004049e9
test al, al
jne 0x404a9f
lea ecx, [ebp - 0x4c0]
call fcn.004046c0
lea ecx, [ebp - 0x18]
call fcn.004046ce
mov ecx, dword [ebp + 8]
call fcn.004047b6
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x8527e0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 0xc], 0
jmp 0x852805
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp + 0xc]
jae 0x852878
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
movzx ecx, byte [eax]
movzx edx, byte [ebp - 8]
xor ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], 0
jmp 0x85283a
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 8
jge 0x85286d
mov edx, dword [ebp - 0x10]
and edx, 1
neg edx
sbb edx, edx
neg edx
mov byte [ebp - 0x15], dl
mov eax, dword [ebp - 0x10]
shr eax, 1
mov dword [ebp - 0x10], eax
movzx ecx, byte [ebp - 0x15]
test ecx, ecx
je 0x85286b
mov edx, dword [ebp - 0x10]
xor edx, 0xedb88320
mov dword [ebp - 0x10], edx
jmp 0x852831
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
jmp 0x8527fc
mov eax, dword [ebp - 8]
not eax
mov esp, ebp
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408e84
mov ecx, 0x424f7572
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x6b5b1f49
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x50d910
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb5000]
push edi
or ebp, 0xffffffff
jmp 0x50d932
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50d939
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50d928
mov eax, 1
add ebx, ebx
jne 0x50d94b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50d95c
jne 0x50d97b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50d97b
dec eax
add ebx, ebx
jne 0x50d968
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x50d940
add ebx, ebx
jne 0x50d977
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50d9cd
xor ecx, ecx
sub eax, 3
jb 0x50d993
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50da02
sar eax, 1
mov ebp, eax
jmp 0x50d99e
add ebx, ebx
jne 0x50d99e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50d96c
inc ecx
add ebx, ebx
jne 0x50d9ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50d96c
add ebx, ebx
jne 0x50d9b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50d9ae
jne 0x50d9ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50d9ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50d9ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50d9de
jmp 0x50d92e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50d9ec
add edi, ecx
jmp 0x50d92e
pop esi
mov edi, esi
mov ecx, 0x24d1
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x50da0a
cmp byte [edi], 0x12
jne 0x50da0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x50da0f
lea edi, [esi + 0x10a000]
mov eax, dword [edi]
or eax, eax
je 0x50da7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x121aec]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x121b64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50da3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x121b68]
or eax, eax
je 0x50da78
mov dword [ebx], eax
add ebx, 4
jmp 0x50da59
call dword [esi + 0x121b78]
mov ebp, dword [esi + 0x121b6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x50dab2
sub esp, 0xffffff80
jmp 0x44ebc9