joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403aef
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push esi
mov esi, dword [esp + 0x14]
mov eax, dword [ebx]
add esi, eax
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 0x10], eax
lea eax, [esi*4 + 4]
push eax
mov ecx, dword [edi]
mov dword [esp + 0x24], ecx
call fcn.0040112b
mov ebp, eax
mov dword [ebx], esi
mov dword [edi], ebp
xor esi, esi
mov edi, dword [esp + 0x1c]
pop ecx
test edi, edi
jle 0x403b55
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + esi*4]
cmp byte [eax], 0x2d
jne 0x403b50
cmp byte [eax + 1], 0x4a
jne 0x403b50
add eax, 2
je 0x403b4a
push eax
call fcn.004011bb
pop ecx
mov dword [ebp], eax
add ebp, 4
inc esi
cmp esi, edi
jl 0x403b30
mov ebx, dword [esp + 0x10]
xor eax, eax
test ebx, ebx
jle 0x403b88
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + eax*4]
cmp byte [ecx], 0x2d
jne 0x403b83
cmp byte [ecx + 1], 0x4a
jne 0x403b83
add ecx, 2
cmp byte [ecx], 0
je 0x403c34
mov dword [ebp], ecx
add ebp, 4
inc eax
cmp eax, ebx
jl 0x403b63
xor esi, esi
test edi, edi
jle 0x403bb6
mov ebx, dword [esp + 0x1c]
mov eax, dword [ebx + esi*4]
cmp byte [eax], 0x2d
jne 0x403ba0
cmp byte [eax + 1], 0x4a
je 0x403bad
push eax
call fcn.004011bb
mov dword [ebp], eax
add ebp, 4
pop ecx
inc esi
cmp esi, edi
jl 0x403b92
mov ebx, dword [esp + 0x10]
xor esi, esi
test ebx, ebx
jle 0x403c2a
mov eax, dword [esp + 0x20]
mov edi, dword [eax + esi*4]
cmp byte [edi], 0x2d
jne 0x403c1f
mov al, byte [edi + 1]
cmp al, 0x4a
je 0x403c25
cmp byte [0x433ab9], 0
je 0x403c1f
cmp al, 0x63
jne 0x403c1f
push 0x426528
push edi
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x403bfe
push str._classpath
push edi
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
jne 0x403c1f
lea eax, [ebx - 1]
cmp esi, eax
jge 0x403c1f
mov eax, dword [esp + 0x20]
mov dword [ebp], edi
push dword [eax + esi*4 + 4]
call fcn.00406a8b
mov dword [ebp + 4], eax
add ebp, 8
pop ecx
inc esi
jmp 0x403c25
mov dword [ebp], edi
add ebp, 4
inc esi
cmp esi, ebx
jl 0x403bbc
and dword [ebp], 0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push str.Error:_The__J_option_should_not_be_followed_by_a_space.
call fcn.00405ad9
pop ecx
push 1
call fcn.0040edc7
int3
Function at 0x404329
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
push 2
push 0xffffffffffffffff
push 0xffffffffffffffea
push ebp
call fcn.00414038
mov ebx, edx
add esp, 0x10
mov esi, eax
test ebx, ebx
jl 0x40449c
jg 0x404358
test esi, esi
jb 0x40449c
mov edi, dword [esp + 0x20]
push 0x16
push edi
push ebp
call fcn.0041757a
add esp, 0xc
test eax, eax
js 0x40449c
movzx ecx, byte [edi + 3]
movzx eax, byte [edi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x6054b50
jne 0x4043ba
push edi
call fcn.004048ab
pop ecx
test eax, eax
je 0x4043b1
push ebx
push esi
push edi
push ebp
call fcn.004044ee
add esp, 0x10
mov esi, eax
mov ebx, edx
mov eax, esi
mov edx, ebx
jmp 0x4044a1
push 2
xor ebx, ebx
push ebx
push ebx
push ebp
call fcn.00414038
mov ebp, eax
add esp, 0x10
mov eax, edx
mov dword [esp + 0x14], eax
cmp eax, ebx
jl 0x40449c
jg 0x4043e3
cmp ebp, ebx
jb 0x40449c
mov ecx, 0x10015
cmp eax, ebx
jg 0x4043f8
jl 0x4043f2
cmp ebp, ecx
jae 0x4043f8
mov esi, ebp
mov ecx, eax
jmp 0x4043fc
mov esi, ecx
mov ecx, ebx
mov eax, esi
neg eax
push 2
adc ecx, ebx
neg ecx
push ecx
push eax
push dword [esp + 0x28]
call fcn.00414038
add esp, 0x10
cmp edx, ebx
jl 0x40449c
jg 0x404422
cmp eax, ebx
jb 0x40449c
push 0x10015
call fcn.0040eab3
mov ebx, eax
pop ecx
test ebx, ebx
je 0x40449c
push esi
push ebx
push dword [esp + 0x24]
call fcn.0041757a
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
js 0x404495
lea edx, [ebx + eax]
lea esi, [edx - 0x16]
jmp 0x404491
cmp byte [esi], 0x50
jne 0x404490
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
shl ecx, 8
or ecx, 0x50
cmp ecx, 0x6054b50
jne 0x404490
movzx ecx, byte [esi + 0x15]
movzx eax, byte [esi + 0x14]
shl ecx, 8
or ecx, eax
lea eax, [esi + 0x16]
add eax, ecx
cmp eax, edx
je 0x4044a8
dec esi
cmp esi, ebx
jae 0x404451
push ebx
call fcn.0040ea98
pop ecx
or eax, 0xffffffff
or edx, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
push 0x16
push esi
push edi
call fcn.00409ff0
push ebx
call fcn.0040ea98
mov eax, dword [esp + 0x20]
add eax, ebx
sub eax, esi
mov esi, dword [esp + 0x24]
cdq
sub ebp, eax
push edi
sbb esi, edx
call fcn.004048ab
add esp, 0x14
test eax, eax
je 0x4044e8
push esi
push ebp
push edi
push dword [esp + 0x28]
call fcn.004044ee
add esp, 0x10
mov ebp, eax
mov esi, edx
mov eax, ebp
mov edx, esi
jmp 0x4044a1
Function at 0x4044ee
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0x14]
sub ecx, 0x14
push ebx
push esi
push edi
push 0
sbb eax, 0
push eax
push ecx
push dword [ebp + 8]
call fcn.00414038
mov ebx, edx
add esp, 0x10
mov edi, eax
test ebx, ebx
jl 0x40455e
jg 0x40451d
test edi, edi
jb 0x40455e
mov esi, dword [ebp + 0xc]
push 0x14
push esi
push dword [ebp + 8]
call fcn.0041757a
add esp, 0xc
test eax, eax
js 0x40455e
movzx ecx, byte [esi + 3]
movzx eax, byte [esi + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
cmp ecx, 0x7064b50
jne 0x40455e
mov eax, edi
mov edx, ebx
jmp 0x404563
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x40491b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
cmp dword [esi + 4], 0xffffffff
je 0x404a48
cmp dword [esi], 0xffffffff
je 0x404a48
push 0
push dword [esi + 0xc]
push dword [esi + 8]
push dword [ebp + 8]
call fcn.00414038
add esp, 0x10
test edx, edx
jl 0x404a48
jg 0x40495f
test eax, eax
jb 0x404a48
mov eax, dword [esi + 4]
inc eax
push eax
call fcn.0040eab3
mov edi, eax
pop ecx
test edi, edi
je 0x404a48
mov ebx, dword [esi + 4]
push ebx
push edi
push dword [ebp + 8]
call fcn.0041757a
add esp, 0xc
cmp eax, ebx
jne 0x404a41
cmp dword [esi + 0x10], 0
jne 0x4049a9
mov ecx, dword [ebp + 0x10]
mov byte [ebx + edi], 0
test ecx, ecx
je 0x4049a2
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov eax, edi
jmp 0x404a4a
cmp dword [esi + 0x10], 8
jne 0x404a41
xor eax, eax
mov dword [ebp - 0x38], edi
push 0x38
push str.1.2.13
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x38]
push 0xfffffffffffffff1
push eax
mov dword [ebp - 0x34], ebx
call fcn.0040829c
add esp, 0x10
test eax, eax
js 0x404a41
mov eax, dword [esi]
inc eax
push eax
call fcn.0040eab3
mov ebx, eax
pop ecx
test ebx, ebx
je 0x404a41
mov ecx, dword [esi]
lea eax, [ebp - 0x38]
push 1
push eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ecx
call fcn.00406d04
pop ecx
pop ecx
push edi
test eax, eax
jns 0x404a15
call fcn.0040ea98
push ebx
call fcn.0040ea98
pop ecx
jmp 0x404a47
mov eax, dword [esi]
mov byte [ebx + eax], 0
call fcn.0040ea98
lea eax, [ebp - 0x38]
push eax
call fcn.0040825c
pop ecx
pop ecx
test eax, eax
jns 0x404a32
push ebx
jmp 0x404a42
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x404a3d
mov eax, dword [esi]
mov dword [ecx], eax
mov eax, ebx
jmp 0x404a4a
push edi
call fcn.0040ea98
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404c63
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
push ebx
push esi
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push 0x10000
push dword [esp + 0x28]
mov dword [esp + 0x14], ebx
push dword [esp + 0x20]
push dword [esp + 0x28]
push ebx
call fcn.004144e6
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x404caf
lea eax, [esp + 0xc]
push eax
push ebx
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x28]
push ebx
call fcn.004144e6
add esp, 0x18
mov esi, eax
cmp dword [0x433020], ebx
je 0x404d56
push ebp
push edi
push str.J2D_D3D
call fcn.0040e88c
mov ebp, str.false
pop ecx
test eax, eax
je 0x404ce4
push ebp
push eax
call fcn.004163c8
neg eax
pop ecx
sbb eax, eax
and dword [0x433020], eax
pop ecx
push str.J2D_D3D_PRELOAD
call fcn.0040e88c
mov edi, eax
pop ecx
test edi, edi
je 0x404d10
push ebp
push edi
call fcn.004163c8
pop ecx
neg eax
pop ecx
sbb ecx, ecx
and ecx, dword [0x433020]
mov dword [0x433020], ecx
jmp 0x404d16
mov ecx, dword [0x433020]
test ecx, ecx
jns 0x404d47
mov dword [0x433020], ebx
test edi, edi
je 0x404d54
push str.true
push edi
call fcn.004163c8
xor edx, edx
pop ecx
inc edx
test eax, eax
pop ecx
mov ecx, dword [0x433020]
cmove ecx, edx
mov dword [0x433020], ecx
test ecx, ecx
je 0x404d54
push str.preloadD3D
call fcn.00404b14
pop ecx
pop edi
pop ebp
test esi, esi
je 0x404d78
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x404d84
push dword [esp + 0x20]
call dword [esp + 0x18]
mov dword [esp + 8], eax
cmp dword [0x433b10], 0
pop esi
pop ebx
je 0x404d9a
mov eax, dword [0x433b2c]
test eax, eax
je 0x404d9a
call eax
mov eax, dword [esp]
pop ecx
pop ecx
ret
Function at 0x40508e
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
xor eax, eax
push ebp
mov ebp, dword [esp + 0xc]
inc eax
push esi
mov ebx, dword [ebx]
mov esi, eax
push edi
push 0x20
pop edi
cmp dword [ebp], eax
jle 0x405126
push str._J_d64
push dword [ebx + esi*4]
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x405114
push str._d64
push dword [ebx + esi*4]
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x405114
push str._J_d32
push dword [ebx + esi*4]
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x405110
push str._d32
push dword [ebx + esi*4]
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x405110
call fcn.00401d5b
test al, al
je 0x405106
mov eax, dword [ebx + esi*4]
cmp byte [eax], 0x2d
jne 0x405117
mov eax, dword [ebx + esi*4]
cmp byte [eax], 0x2d
jne 0x40511d
jmp 0x405117
push 0x20
jmp 0x405116
push 0x40
pop edi
inc esi
cmp esi, dword [ebp]
jl 0x4050a9
cmp edi, 0x20
jne 0x405287
push dword [esp + 0x20]
push dword [esp + 0x20]
call fcn.004056f4
pop ecx
pop ecx
test al, al
jne 0x40514b
push str.Error:_Could_not_find_Java_SE_Runtime_Environment.
call fcn.00405ad9
pop ecx
push 2
jmp 0x405296
mov eax, 0x427354
push eax
push str.i386
push eax
push eax
push dword [esp + 0x2c]
push str._s_slib_s_s_sjvm.cfg
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.00405cbc
push 0
push dword [esp + 0x50]
call fcn.00402f07
add esp, 0x28
cmp eax, 1
jge 0x405190
push str.Error:_no_known_VMs.__check_for_corrupt_jvm.cfg_file_
call fcn.00405ad9
jmp 0x405293
mov ebx, dword [esp + 0x18]
push 0
push ebx
push ebp
call fcn.004017bd
mov esi, eax
push str.ERROR
push esi
call fcn.00413d40
add esp, 0x14
test eax, eax
jne 0x4051c3
push str.Error:_could_not_determine_JVM_type.
call fcn.00405ad9
pop ecx
push 4
jmp 0x405296
push dword [esp + 0x28]
mov edi, dword [esp + 0x28]
push edi
push esi
push dword [esp + 0x28]
mov byte [edi], 0
call fcn.004057f0
add esp, 0x10
test al, al
jne 0x4051f1
push edi
push esi
push str.Error:_missing___s_JVM_at___s._nPlease_install_or_use_the_JRE_or_JDK_that_contains_these_missing_components.
call fcn.00405ad9
add esp, 0xc
jmp 0x4051bc
mov edi, dword [ebx]
xor esi, esi
cmp dword [ebp], esi
jle 0x405282
mov ecx, dword [0x433020]
test ecx, ecx
jns 0x40522d
push dword [edi + esi*4]
push str._Dsun.awt.warmup
call fcn.004056b2
xor ebx, ebx
pop ecx
inc ebx
pop ecx
mov ecx, dword [0x433020]
cmp eax, ebx
cmove ecx, ebx
mov dword [0x433020], ecx
jmp 0x405230
xor ebx, ebx
inc ebx
test ecx, ecx
je 0x405273
push dword [edi + esi*4]
push str._Dsun.java2d.noddraw
call fcn.004056b2
pop ecx
pop ecx
cmp eax, ebx
je 0x40527b
push dword [edi + esi*4]
push str._Dsun.java2d.d3d
call fcn.004056b2
pop ecx
pop ecx
test eax, eax
je 0x40527b
push dword [edi + esi*4]
push str._Dsun.java2d.opengl
call fcn.004056b2
pop ecx
pop ecx
cmp eax, ebx
je 0x40527b
mov ecx, dword [0x433020]
inc esi
cmp esi, dword [ebp]
jl 0x405204
jmp 0x405282
and dword [0x433020], 0
pop edi
pop esi
pop ebp
pop ebx
ret
push edi
push str.Error:_This_Java_instance_does_not_support_a__d_bit_JVM._nPlease_install_the_desired_version.
call fcn.00405ad9
pop ecx
pop ecx
push 1
call fcn.0040edc7
int3
Function at 0x405f8e
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x94]
sub esp, 0x114
mov eax, dword [0x433034]
xor eax, ebp
mov dword [ebp + 0x90], eax
mov eax, dword [ebp + 0x9c]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xa0]
xor esi, esi
push 0x104
mov dword [ebp - 0x7c], eax
xor ebx, ebx
lea eax, [ebp - 0x74]
push eax
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x40605b
mov eax, dword [ebp - 0x7c]
inc ebx
push dword [eax + 8]
lea eax, [ebp - 0x74]
push eax
call fcn.00406384
pop ecx
pop ecx
test eax, eax
je 0x406015
test esi, esi
je 0x406009
lea eax, [ebp - 0x74]
push esi
push eax
call fcn.004063f7
pop ecx
pop ecx
test eax, eax
jle 0x406015
push esi
call fcn.0040114d
pop ecx
lea eax, [ebp - 0x74]
push eax
call fcn.004011bb
pop ecx
mov esi, eax
push 0x104
lea eax, [ebp - 0x74]
push eax
push ebx
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x405fd8
test esi, esi
je 0x40605b
lea eax, [ebp - 0x78]
xor ebx, ebx
push eax
push 0x20019
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
test eax, eax
je 0x406075
call fcn.0040114d
pop ecx
cmp dword [ebp - 0x78], ebx
je 0x40605b
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp + 0x90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409736
add ebp, 0x94
leave
ret
call fcn.0040114d
pop ecx
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x104
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push str.JavaHome
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40604d
cmp dword [ebp - 0x78], ebx
je 0x4060ac
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x74]
push eax
call fcn.004011bb
pop ecx
jmp 0x40605d
Function at 0x406aee
Capabilities:
Enumerate files on windows

Disassembly:
push ecx
push ecx
push ebx
push esi
push 0x10
call fcn.004069b7
mov esi, eax
push 8
mov dword [esp + 0x10], esi
call fcn.0040112b
pop ecx
pop ecx
push 0x433b38
push dword [esp + 0x18]
mov ebx, eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x406b37
push ebx
call fcn.0040114d
push esi
call fcn.0040690a
pop ecx
pop ecx
xor eax, eax
jmp 0x406c32
push ebp
mov dword [ebx], eax
mov dword [ebx + 4], 0x433b64
push edi
mov ebp, dword [ebx + 4]
test ebp, ebp
je 0x406b4f
and dword [ebx + 4], 0
jmp 0x406b6c
push 0x433b38
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
neg eax
sbb ebp, ebp
and ebp, 0x433b64
je 0x406c16
push ebp
call fcn.0040e990
pop ecx
cmp eax, 4
jl 0x406b42
cmp byte [eax + ebp - 4], 0x2e
jne 0x406b42
lea edi, [eax - 3]
add edi, ebp
push 0x427a88
push edi
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
je 0x406ba6
push 0x427a8c
push edi
call fcn.00413d40
pop ecx
pop ecx
test eax, eax
jne 0x406b42
push 0x3b
push ebp
call fcn.0040bd50
pop ecx
pop ecx
test eax, eax
jne 0x406b42
push dword [esp + 0x1c]
call fcn.0040e990
push ebp
mov edi, eax
call fcn.0040e990
mov esi, eax
lea ecx, [esi + edi]
push ecx
call fcn.0040112b
lea ecx, [edi - 1]
mov ebx, eax
push ecx
push dword [esp + 0x2c]
push ebx
call fcn.00409ff0
lea ecx, [esi + 1]
push ecx
lea eax, [edi - 1]
add eax, ebx
push ebp
push eax
call fcn.00409ff0
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 4]
inc eax
push eax
push esi
call fcn.004067d6
mov ecx, dword [esi + 4]
add esp, 0x2c
mov eax, dword [esi]
mov dword [eax + ecx*4], ebx
inc dword [esi + 4]
mov ebx, dword [esp + 0x14]
jmp 0x406b42
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebx + 4]
call fcn.0040114d
push ebx
call fcn.0040114d
pop ecx
pop ecx
pop edi
mov eax, esi
pop ebp
pop esi
pop ebx
pop ecx
pop ecx
ret
Function at 0x408a71
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 4]
push 4
pop edx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4285d8]
sub edx, 1
jne 0x408a78
ret

Function at 0x409cbb
Capabilities:
Parse pe header

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

Function at 0x41ccdb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041c82e

Function at 0x421db2
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00421c28

Function at 0x425890
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4258bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4258bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x41edf5
Capabilities:
Encode data using xor

Disassembly:
call 0x41edfa
pop eax
sub eax, 5
push eax
pop edi
push edi
mov esi, edi
sub edi, 0x977
add esi, 0x39
mov edx, 0
mov ebx, edi
mov ecx, 0xb
mov eax, dword [esi]
xor eax, dword [ebx]
mov dword [esi], eax
add esi, 4
add ebx, 4
loop 0x41ee18
inc edx
cmp edx, 5
je 0x41ee2e
jmp 0x41ee11
push 0xdddb462
invalid
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x5e1e5ac3
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x53547b06
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
nop
pop eax
Function at 0x632370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
push 0x1a
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x63238e
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
push 0x65b074
push ecx
mov edi, eax
call fcn.00646198
mov esi, eax
add esp, 8
test esi, esi
jne 0x6323cb
pop edi
pop esi
xor al, al
pop ebx
ret
push esi
push ebx
push 1
push edi
call fcn.0064602e
push esi
call fcn.00645fb1
add esp, 0x14
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x635850
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x218
lea eax, [esp]
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 0x20019
push 0
push ecx
push SysReAllocString
call edi
test eax, eax
jne 0x6358ae
mov ecx, dword [esp + 0xc]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
push eax
push 0x660720
push ecx
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x6358ba
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x218
ret
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
lea ecx, [esp + 0x1c]
push str.DefaultIcon
push ecx
call fcn.006461e1
add esp, 8
lea edx, [esp + 0xc]
lea eax, [esp + 0x1c]
push edx
push 0x20019
push 0
push eax
push SysReAllocString
call edi
test eax, eax
jne 0x6358ae
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0x660720
push eax
mov dword [esp + 0x20], 0x104
call ebp
test eax, eax
je 0x63592a
mov ecx, dword [esp + 0xc]
push ecx
call esi
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x218
ret
mov edx, dword [esp + 0xc]
push edx
call esi
lea eax, [esp + 0x1c]
push 0x2c
push eax
call fcn.00647082
xor esi, esi
add esp, 8
cmp eax, esi
je 0x635957
mov word [eax], si
add eax, 2
push eax
call fcn.00647030
add esp, 4
jmp 0x635959
xor eax, eax
lea ecx, [esp + 0x18]
push 1
lea edx, [esp + 0x18]
push ecx
push edx
push eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x24], esi
push eax
mov dword [esp + 0x2c], esi
call dword [sym.imp.SHELL32.dll_ExtractIconExW]
test eax, eax
je 0x6358ae
mov al, byte [esp + 0x22c]
test al, al
mov eax, dword [esp + 0x14]
jne 0x6358b0
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
add esp, 0x218
ret

Function at 0x635ff0
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
lea edx, [ebp + 0xc]
int 0x2e
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x636080
Capabilities:
Get common file path

Disassembly:
sub esp, 0x43c
push esi
mov esi, dword [esp + 0x444]
cmp word [esi + 2], 0x3a
je 0x6360c4
lea eax, [esp + 0x30]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [esp + 0x30]
push 0x65b458
push ecx
call fcn.006461e1
lea edx, [esp + 0x38]
push esi
push edx
call fcn.006461e1
add esp, 0x10
jmp 0x6360d2
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0064620b
add esp, 8
lea ecx, [esp + 0x30]
lea edx, [esp + 0x238]
push ecx
push str.___s
push edx
call fcn.00645dff
lea eax, [esp + 0x244]
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.00636050
mov eax, dword [0x660728]
xor esi, esi
add esp, 0x14
lea edx, [esp + 0x20]
cmp eax, esi
mov dword [esp + 8], 0x18
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
jne 0x63613b
push esi
call fcn.00635fb0
add esp, 4
mov dword [0x660728], eax
mov ecx, dword [esp + 0x454]
cmp ecx, 3
jne 0x63614c
mov ecx, 1
mov edx, dword [esp + 0x458]
push esi
push esi
push 0x20
push ecx
mov ecx, dword [esp + 0x45c]
push ecx
push edx
lea ecx, [esp + 0x40]
push esi
push ecx
mov ecx, dword [esp + 0x468]
lea edx, [esp + 0x28]
or ecx, 0x100000
push edx
lea edx, [esp + 0x28]
push ecx
push edx
push eax
call fcn.00635ff0
mov ecx, dword [esp + 0x34]
add esp, 0x30
neg eax
sbb eax, eax
pop esi
not eax
and eax, ecx
add esp, 0x43c
ret

Function at 0x639440
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
mov ebx, dword [ecx + 0x88]
test ebx, ebx
je 0x6394b7
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x63948e
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x639471
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x63947e
add edx, ecx
cmp ebx, edx
jb 0x63948a
inc edi
add eax, 0x28
cmp edi, esi
jb 0x639467
xor ecx, ecx
jmp 0x6394a2
test eax, eax
jne 0x639492
xor ecx, ecx
jmp 0x6394a2
mov ecx, dword [eax + 0x14]
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
sub ecx, esi
add ecx, ebx
add ecx, eax
mov edx, dword [esp + 0x18]
push edx
push 0
push 0
push ecx
push ecx
call fcn.006393c0
add esp, 0x14
pop edi
pop esi
pop ebx
ret