joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4092f8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebx + 0x44], 0
je 0x406c12
cmp byte [ebx + 0x49], 0
je 0x406c12
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x406c06
lea esi, [ebp - 0x2c]
call fcn.004062c0
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x406af3
lea edx, [ebp - 0x2c]
mov eax, edx
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, edx
push ecx
mov ecx, dword [ebx + 0x44]
push eax
lea eax, [ebx + 0x4c]
push eax
call dword [sym.imp.MSVCP100.dll_public:_int___thiscall_std::codecvt_char__char__int_::unshift_int___char___char___char___const]
sub eax, 0
je 0x406b2b
dec eax
je 0x406b2f
sub eax, 2
lea esi, [ebp - 0x2c]
je 0x406c0d
call fcn.00404c60
xor al, al
jmp 0x406c14
mov byte [ebx + 0x49], 0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov edx, eax
cmp edi, 0x10
jae 0x406b3f
lea edx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, edx
je 0x406b6d
cmp edi, 0x10
jae 0x406b4e
lea eax, [ebp - 0x2c]
mov edx, dword [ebx + 0x54]
push edx
push esi
push 1
push eax
call dword [sym.imp.MSVCR100.dll_fwrite]
add esp, 0x10
cmp esi, eax
jne 0x406bfe
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [ebx + 0x49], 0
je 0x406c0a
test esi, esi
jne 0x406ae7
mov ecx, dword [ebp - 0x1c]
or edx, 0xffffffff
sub edx, ecx
cmp edx, 8
jbe 0x406c2f
lea esi, [ecx + 8]
cmp esi, 0xfffffffe
ja 0x406c2f
cmp edi, esi
jae 0x406be7
push ecx
push esi
lea eax, [ebp - 0x2c]
push eax
call fcn.00406ea0
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
test esi, esi
je 0x406ae7
mov ecx, eax
cmp edi, 0x10
jae 0x406bc3
lea ecx, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
xor eax, eax
mov dword [ecx + edx], eax
mov dword [ecx + edx + 4], eax
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
jae 0x406bde
lea eax, [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x406ae1
test esi, esi
jne 0x406bb9
mov dword [ebp - 0x1c], esi
cmp edi, 0x10
jae 0x406bf6
lea eax, [ebp - 0x2c]
mov byte [eax], 0
jmp 0x406ae1
lea esi, [ebp - 0x2c]
call fcn.00404c60
xor al, al
jmp 0x406c14
lea esi, [ebp - 0x2c]
call fcn.00404c60
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004085a0
mov esp, ebp
pop ebp
ret
push str.string_too_long
call dword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const__]
int3

Function at 0x407350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edx, 0x25
xor ecx, ecx
jmp 0x407360
mov al, byte [edi + ecx + 0x4a0c275b]
xor al, dl
inc edx
and edx, 0x800000ff
mov byte [ecx + esi], al
jns 0x40737d
dec edx
or edx, 0xffffff00
inc edx
inc ecx
cmp ecx, 0xc
jl 0x407360
mov byte [esi + 0xc], 0
mov eax, esi
ret
Function at 0x408420
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x409438
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x40d018]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
mov byte [ebp - 0x7c], al
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], 0x67452301
mov dword [ebp - 0x2c], 0xefcdab89
mov dword [ebp - 0x28], 0x98badcfe
mov dword [ebp - 0x24], 0x10325476
jae 0x408483
lea eax, [ebp + 8]
push eax
mov eax, dword [ebp + 0x18]
lea esi, [ebp - 0x7c]
call fcn.004081e0
mov ecx, esi
call fcn.00408290
mov ecx, edi
mov ebx, esi
call fcn.00408370
cmp dword [ebp + 0x1c], 0x10
jb 0x4084b2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004085a0
mov esp, ebp
pop ebp
ret

Function at 0x4085a0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d018]
jne 0x4085aa
repz ret
jmp fcn.004089bd
Function at 0x10010500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1009a080]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, dword [0x1009b57c]
mov eax, dword [0x1009b578]
mov edx, ecx
add edx, 0xaa8dc545
sub edx, 1
sub edx, 0xaa8dc545
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [ebp - 0x1a], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [ebp - 0x19], al
mov dword [ebp - 0x20], 0xf5009650
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
sub eax, 0x8126cd95
je 0x100106bb
jmp 0x10010575
mov eax, dword [ebp - 0x2c]
sub eax, 0x9cc0d8f0
je 0x10010624
jmp 0x10010588
mov eax, dword [ebp - 0x2c]
sub eax, 0xa00c8314
je 0x1001070a
jmp 0x1001059b
mov eax, dword [ebp - 0x2c]
sub eax, 0xdd433690
je 0x100106a7
jmp 0x100105ae
mov eax, dword [ebp - 0x2c]
sub eax, 0xf5009650
je 0x100105d9
jmp 0x100105c1
mov eax, dword [ebp - 0x2c]
sub eax, 0x672ef3ef
je 0x1001069b
jmp 0x100105d4
jmp 0x10010711
mov bl, byte [ebp - 0x1a]
mov dh, byte [ebp - 0x19]
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and bl, cl
mov ch, ah
and ch, 0xff
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xa00c8314
mov ecx, 0x9cc0d8f0
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x10010711
push eax
mov eax, esp
mov dword [ebp - 0x18], eax
push eax
mov eax, esp
mov dword [ebp - 0x14], eax
mov ecx, dword [0x1009b57c]
mov eax, dword [0x1009b578]
xor esi, esi
sub esi, 1
mov edx, ecx
add edx, esi
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete bl
cmp eax, 0xa
setl dh
mov al, bl
xor al, 0xff
mov ah, dh
xor ah, 0xff
mov cl, 1
xor cl, 0
mov dl, al
and dl, 0
and bl, cl
mov ch, ah
and ch, 0
and dh, cl
or dl, bl
or ch, dh
xor dl, ch
or al, ah
xor al, 0xff
or cl, 0
and al, cl
or dl, al
mov eax, 0xa00c8314
mov ecx, 0x672ef3ef
test dl, 1
cmovne eax, ecx
mov dword [ebp - 0x20], eax
jmp 0x10010711
mov dword [ebp - 0x20], 0xdd433690
jmp 0x10010711
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov dword [eax], ecx
mov dword [ebp - 0x20], 0x8126cd95
jmp 0x10010711
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
mov ecx, dword [edx]
mov edi, dword [esi]
not byte [edi]
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
add byte [edi], 0x63
sub byte [edi], 0x27
pop eax
push eax
mov eax, eax
xor eax, 0x85
nop
imul byte [edi]
inc edi
loop 0x100106d7
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002c7c0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x20], 0x9cc0d8f0
jmp 0x1001055f
Function at 0x100317da
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10031819
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10031819
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10031819
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10031819
cmp dword [ecx + 0x74], 0xe
jbe 0x10031819
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x100341a4
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10034241
push ebx
push esi
call fcn.1003416d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10034101
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100341ee
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10034240
push edi
push eax
call fcn.10032aa2
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1003420e
call fcn.10032af0
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1003423f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10034101
add esp, 0x20
test eax, eax
jne 0x1003422d
push edi
call fcn.10032af0
jmp 0x10034235
push ebx
call fcn.10032af0
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100344ae
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003cbd0
push 0x1003cbc8
push str.FlsAlloc
push 0x1f
call fcn.100343ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100344e2
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003a154]
call esi
jmp 0x100344e8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1003452c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003cbe0
push 0x1003cbd8
push str.FlsGetValue
push 0x21
call fcn.100343ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10034563
push dword [ebp + 8]
mov ecx, esi
call dword [0x1003a154]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1003456b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1003cbe8
push 0x1003cbe0
push str.FlsSetValue
push 0x22
call fcn.100343ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100345a5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1003a154]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10039ab0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10039add
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10039add
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x51eb30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc1000]
lea eax, [edi + 0xcf740]
push dword [eax]
mov dword [eax], 0x8177204
push eax
push edi
jmp 0x51eb5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x51eb61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51eb50
mov eax, 1
add ebx, ebx
jne 0x51eb73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x51eb84
jne 0x51eba3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51eba3
dec eax
add ebx, ebx
jne 0x51eb90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x51eb68
add ebx, ebx
jne 0x51eb9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x51ebf5
xor ecx, ecx
sub eax, 3
jb 0x51ebbb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51ec2a
sar eax, 1
mov ebp, eax
jmp 0x51ebc6
add ebx, ebx
jne 0x51ebc6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51eb94
inc ecx
add ebx, ebx
jne 0x51ebd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x51eb94
add ebx, ebx
jne 0x51ebe1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x51ebd6
jne 0x51ebf2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x51ebd6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x51ec14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x51ec06
jmp 0x51eb56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x51ec14
add edi, ecx
jmp 0x51eb56
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x51ec36
cmp byte [edi], 0x11
jne 0x51ec36
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 0x51ec3b
lea edi, [esi + 0x117000]
mov eax, dword [edi]
or eax, eax
je 0x51ecb3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x157064]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x157208]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x51ec68
mov ecx, edi
jns 0x51ec97
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x157210]
or eax, eax
je 0x51ecad
mov dword [ebx], eax
add ebx, 4
jmp 0x51ec85
call dword [esi + 0x15720c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x51ece4
cmp al, 0xef
ja 0x51ecd7
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x51ecb9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x51ecc6
mov ebp, dword [esi + 0x157214]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x51ed18
sub esp, 0xffffff80
jmp 0x420577
Function at 0x4052da
Capabilities:
Create pipe
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1004
call fcn.0040e180
mov eax, dword [0x246f13c]
mov ecx, dword [0x246ebc8]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4053b3
mov edi, ecx
mov ebx, eax
cmp dword [0x246f13c], 0x959
jne 0x4053a3
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push 0x404eb8
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
lea eax, [ebp - 0x1000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.004050a7
add edi, 8
dec ebx
jne 0x405306
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b2d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4565b0]
jne 0x40b2df
repz ret
jmp fcn.0040e1ab

Function at 0x40b55b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4565b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00408e10
and dword [ebp - 0x14], 0
cmp dword [0x45c6d8], 0
mov dword [ebp - 0x18], eax
jne 0x40b60e
push 0x402924
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b6b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402918
push ebx
call edi
test eax, eax
je 0x40b6b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402908
push ebx
mov dword [0x45c6d8], eax
call edi
push eax
call esi
push 0x4028f4
push ebx
mov dword [0x45c6dc], eax
call edi
push eax
call esi
push 0x4028d8
push ebx
mov dword [0x45c6e0], eax
call edi
push eax
call esi
mov dword [0x45c6e8], eax
test eax, eax
je 0x40b60e
push 0x4028c0
push ebx
call edi
push eax
call esi
mov dword [0x45c6e4], eax
mov eax, dword [0x45c6e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b667
cmp dword [0x45c6e8], ecx
je 0x40b667
push eax
call esi
push dword [0x45c6e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b667
test ebx, ebx
je 0x40b667
call edi
test eax, eax
je 0x40b65e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b65e
test byte [ebp - 8], 1
jne 0x40b667
or dword [ebp + 0x10], 0x200000
jmp 0x40b69a
mov eax, dword [0x45c6dc]
cmp eax, dword [ebp - 0x18]
je 0x40b69a
push eax
call esi
test eax, eax
je 0x40b69a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b69a
mov eax, dword [0x45c6e0]
cmp eax, dword [ebp - 0x18]
je 0x40b69a
push eax
call esi
test eax, eax
je 0x40b69a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45c6d8]
call esi
test eax, eax
je 0x40b6b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b6b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b2d5
leave
ret
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

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

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6abf3283
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..rsrc
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x7d655054
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
nop
je 0x42e072
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x3a8451a4
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
nop
nop
mov eax, section..text_1
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x57fa2b57
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x432005
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
mov ecx, 0x539b5c74
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
nop
mov ecx, 0x3b426d7d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401549
Capabilities:
Move file

Disassembly:
push ebx
push ebp
push esi
mov ebp, 0x400
push ebp
mov esi, eax
call fcn.00418160
pop ecx
mov ebx, eax
push ebp
push ebx
call fcn.0041a825
push ebx
push str._Extractor__Working_dir_is__s_n
call fcn.004094f4
push ebx
call fcn.00418083
add esp, 0x14
call fcn.00409096
test eax, eax
je 0x401592
push str._Rename__The_target_already_exists._Deleting._n
call fcn.004094f4
pop ecx
push esi
call fcn.00408f6b
pop ecx
push esi
push edi
call fcn.00418c25
pop ecx
xor ebp, ebp
test eax, eax
pop ecx
je 0x401605
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp ebp, 0xa
jge 0x401625
call fcn.00418589
push dword [eax]
push esi
push edi
push str._Rename__Could_not_rename__s_to__s___d__n
call fcn.004094f4
add esp, 0x10
push 0x32
call ebx
push str._Rename__Windows___this_FS_seems_to_not_supported_renaming._Trying_alternative_method..._n
call fcn.004094f4
pop ecx
push 3
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
jne 0x401618
push str.MoveFileEx
push str.Extractor
call fcn.00408c99
pop ecx
pop ecx
push 0x12c
call ebx
push esi
push edi
inc ebp
call fcn.00418c25
test eax, eax
pop ecx
pop ecx
jne 0x4015a7
push esi
push edi
push str._Rename__File__s_renamed_to__s_n
call fcn.004094f4
add esp, 0xc
pop esi
pop ebp
pop ebx
ret
push str._Rename__MoveFileEx_worked._Assuming_success._n
call fcn.004094f4
pop ecx
xor eax, eax
test eax, eax
je 0x401605
call fcn.00418589
push dword [eax]
push esi
push edi
push str._Rename___FAIL__Could_not_rename__s_to__s___d__n
call fcn.004094f4
push str._Rename__Can_do_no_better_than_a_copy_on_this_filesystem_n
call fcn.004094f4
add esp, 0x14
push esi
call fcn.004093f8
pop ecx
push esi
push str._Rename__Created_folder__s_n
call fcn.004094f4
push esi
push edi
call fcn.004016f5
add esp, 0x10
test eax, eax
je 0x401676
push str._Rename__Copy_failed_too__Severe_filesystem_issues._n
call fcn.004094f4
pop ecx
jmp 0x401614
push esi
push edi
push str._Rename__Copied__s_to__s_n
jmp 0x40160c

Function at 0x40167f
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x43dec0
push dword [ebp + 8]
call fcn.004193f6
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 4], eax
jne 0x4016ac
push dword [ebp + 8]
push str._Extractor___Unable_to_open_destination_file_for_copy__s_n
call fcn.004094f4
pop ecx
jmp 0x4016ef
mov edi, 0xc350
mov esi, 0x448a50
push dword [ebp + 0xc]
push edi
push 1
push esi
call fcn.00419867
mov ebx, eax
add esp, 0x10
test ebx, ebx
jbe 0x4016da
push dword [ebp - 4]
push ebx
push 1
push esi
call fcn.0041a62c
add esp, 0x10
cmp ebx, edi
je 0x4016b6
push dword [ebp + 0xc]
call fcn.0041ae03
pop ecx
push dword [ebp - 4]
call fcn.0041ae03
pop ecx
pop edi
pop esi
pop ebx
leave
ret