joyce8/EMBER2024-capa huggingface dataset:
Function at 0x880d60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x336000]
push edi
jmp 0x880d7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x880d81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x880d70
mov eax, 1
add ebx, ebx
jne 0x880d93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x880da4
jne 0x880dc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x880dc3
dec eax
add ebx, ebx
jne 0x880db0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x880d88
add ebx, ebx
jne 0x880dbf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x880e15
xor ecx, ecx
sub eax, 3
jb 0x880ddb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x880e4a
sar eax, 1
mov ebp, eax
jmp 0x880de6
add ebx, ebx
jne 0x880de6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x880db4
inc ecx
add ebx, ebx
jne 0x880df4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x880db4
add ebx, ebx
jne 0x880e01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x880df6
jne 0x880e12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x880df6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x880e34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x880e26
jmp 0x880d76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x880e34
add edi, ecx
jmp 0x880d76
pop esi
mov edi, esi
mov ecx, 0x8ffd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x880e52
cmp byte [edi], 0x1a
jne 0x880e52
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 0x880e57
lea edi, [esi + 0x47c000]
mov eax, dword [edi]
or eax, eax
je 0x880ecf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4920e0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x492220]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x880e84
mov ecx, edi
jns 0x880eb3
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 + 0x492224]
or eax, eax
je 0x880ec9
mov dword [ebx], eax
add ebx, 4
jmp 0x880ea1
call dword [esi + 0x492234]
mov ebp, dword [esi + 0x492228]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
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 0x880f03
sub esp, 0xffffff80
jmp section.UPX0

Function at 0x78bb1eb3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x78bbe5b0]
jne 0x78bb1ebd
repz ret
jmp fcn.78bb557c
Function at 0x404560
Capabilities:
Encode data using xor

Disassembly:
cmp eax, edi
nop
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x3341404c]
mov bl, 0x8b
pop ebp
or byte [esi + 0x57], dl
dec esp
inc eax
inc ecx
xor esi, dword [ebx + 0x56085d8b]
push edi
push ebx
push eax
call fcn.00408450
mov dword [0x224040], eax
mov esi, dword [ebx + 0x33ffc983]
sal dl, 0xae
mov eax, dword [ebx + 0x6c]
rol dword [eax + 0x77], 0xfb
ror dword [ecx - 0x7d], 1
stc
adc ecx, dword [edi]
xchg bh, dl
add byte [eax], al
add byte [edx - 0x78], ch
fdiv dword gs:[eax + eax*2]
add byte [ebx - 1], dl
salc
add esp, 0xc
jbe 0x404565
jne 0x40466d
add ebx, 7
push 0xffffffffffffffab
push ebx
call dword [0x40c1fd]
or dword [eax + 0x84589f1], 0xffffff85
ror byte [esi + 0xad5284], 0
xor byte [0x41404ca1], bl
add byte [ebx], ch
pop eax
lea edx, [esi + 1]
push edx
push eax
jmp 0x40455d
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mul dword [esi + 0x49]
inc esp
stc
or byte [ebx], al
sub al, 0xac
invalid
Function at 0x499660
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
or ebp, 0xffffffff
jmp 0x499682
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x499689
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x499678
mov eax, 1
add ebx, ebx
jne 0x49969b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4996ac
jne 0x4996cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4996cb
dec eax
add ebx, ebx
jne 0x4996b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x499690
add ebx, ebx
jne 0x4996c7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x49971d
xor ecx, ecx
sub eax, 3
jb 0x4996e3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x499752
sar eax, 1
mov ebp, eax
jmp 0x4996ee
add ebx, ebx
jne 0x4996ee
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4996bc
inc ecx
add ebx, ebx
jne 0x4996fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4996bc
add ebx, ebx
jne 0x499709
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4996fe
jne 0x49971a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4996fe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49973c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49972e
jmp 0x49967e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49973c
add edi, ecx
jmp 0x49967e
pop esi
mov edi, esi
mov ecx, 0x331
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49975a
cmp byte [edi], 7
jne 0x49975a
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 0x49975f
lea edi, [esi + 0x97000]
mov eax, dword [edi]
or eax, eax
je 0x4997d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x99964]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x999a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49978c
mov ecx, edi
jns 0x4997bb
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 + 0x999a4]
or eax, eax
je 0x4997d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4997a9
call dword [esi + 0x999ac]
mov ebp, dword [esi + 0x999a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x49980b
sub esp, 0xffffff80
jmp 0x402da8
Function at 0x401482
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x124]
sub esp, 0x14c
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [0x42bc10]
mov dword [esp + 8], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
or eax, 8
mov dword [esp + 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x4015a6
mov eax, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
lea edi, [ebp - 0x11d]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x124]
mov dword [esp + 0xc], 0x105
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [ebp - 0x12c]
sub esp, 0x10
test eax, eax
jne 0x401540
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 0x124]
je 0x401525
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov eax, 1
jmp 0x4015a6
mov dword [esp + 8], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call fcn.00401482
sub esp, 0xc
test eax, eax
je 0x4014db
mov eax, dword [ebp - 0x124]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
mov dword [esp], 4
call fcn.0040802f
test eax, eax
push edi
je 0x401581
mov edx, dword [0x42bc10]
mov dword [esp + 0xc], 0
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 8], edx
call eax
sub esp, 0x10
jmp 0x4015a6
cmp dword [0x42bc10], 0
mov eax, 1
jne 0x4015a6
mov dword [esp + 4], esi
mov dword [esp], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
push edx
push edx
setne al
movzx eax, al
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 0xc
Function at 0x4039c9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 8], 0
je 0x4039f4
mov eax, dword [0x427c60]
test eax, eax
je 0x4039e8
mov dword [esp], eax
call dword [sym.imp.USER32.dll_DestroyWindow]
push ecx
mov dword [0x427c60], 0
jmp 0x403a63
cmp dword [0x427c60], 0
je 0x403a0c
mov dword [esp], 0
call fcn.004085de
push edx
jmp 0x403a63
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [0x42bc80]
jbe 0x403a63
mov eax, dword [0x42bca8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x403914
mov dword [esp + 8], 0
mov dword [esp + 4], 0x6f
mov dword [esp], eax
call dword [sym.imp.USER32.dll_CreateDialogParamA]
sub esp, 0x14
mov dword [0x427c60], eax
mov dword [esp + 4], 5
mov dword [esp], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push eax
push eax
leave
ret

Function at 0x403a65
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0xc]
sub esp, 0x34
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [0x40a010]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
sub esp, 0x14
test eax, eax
je 0x403aa6
xor eax, eax
cmp dword [ebp - 0xc], ebx
sete al
mov ebx, dword [ebp - 4]
leave
ret 8
Function at 0x407458
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea eax, [ebp - 0x38]
lea edi, [ebp - 0x2c]
sub esp, 0x3c
mov esi, dword [ebp + 8]
mov byte [ebp - 0x2c], 1
mov byte [ebp - 0x2b], 0
mov word [ebp - 0x2a], 4
mov dword [ebp - 0x28], 0x40b5f0
mov dword [ebp - 0x24], 0x40b5f0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x40b5e0
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], 0
mov dword [esp + 4], eax
mov dword [esp], esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
push edx
push edx
je 0x4074bc
xor eax, eax
jmp 0x4074e9
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0xb7
jne 0x4074e9
mov dword [esp + 8], edi
mov dword [esp + 4], 0x80000007
mov dword [esp], esi
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityA]
sub esp, 0xc
test eax, eax
jne 0x4074b8
call ebx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 4

Function at 0x407521
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [0x42b740], 0x44
lea eax, [ebp - 0x18]
mov dword [esp + 0x20], 0x42b740
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp], 0
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor edx, edx
sub esp, 0x28
test eax, eax
je 0x40759d
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x18]
push eax
mov eax, edx
leave
ret 4

Function at 0x4077ee
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
push edx
je 0x407819
and eax, 0xfffffffe
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push eax
push eax
mov ebx, dword [ebp - 4]
leave
ret 4

Function at 0x407820
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
push edx
mov edx, 0
cmove eax, edx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 1
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
mov ebx, dword [ebp - 4]
leave
ret 0xc
Function at 0x40787c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
lea edi, [ebp - 0x1c]
mov esi, 0x65
sub esp, 0x2c
mov ebx, dword [ebp + 8]
dec esi
je 0x4078d3
mov dword [ebp - 0x1c], 0x61736e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x1a
xor edx, edx
mov dword [esp + 0xc], ebx
div ecx
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], 0
mov dword [esp + 4], edi
add byte [ebp - 0x1a], dl
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
sub esp, 0x10
test eax, eax
je 0x407890
mov eax, ebx
jmp 0x4078d8
mov byte [ebx], 0
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8

Function at 0x4078e2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
lea edx, [ebp - 0x14]
sub esp, 0x34
cmp dword [ebp + 0x18], 1
mov ebx, dword [ebp + 0x14]
mov byte [ebx], 0
mov dword [esp + 0x10], edx
sbb eax, eax
mov dword [esp + 8], 0
xor al, al
add eax, 0x20119
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
sub esp, 0x14
test eax, eax
jne 0x407984
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x400
mov dword [esp + 0x10], ebx
mov dword [esp + 8], 0
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
sub esp, 0x18
test eax, eax
jne 0x40796d
mov eax, dword [ebp - 0xc]
dec eax
cmp eax, 1
jbe 0x407970
mov byte [ebx], 0
mov eax, dword [ebp - 0x14]
mov byte [ebx + 0x3ff], 0
mov dword [esp], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
mov ebx, dword [ebp - 4]
leave
ret 0x14
Function at 0x407f03
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [esp], 0x42af40
mov dword [esp + 4], eax
call fcn.00407a5e
push ebx
push ebx
mov dword [esp], 0x42af40
call fcn.004076dd
test eax, eax
push esi
jne 0x407f35
xor eax, eax
jmp 0x407fad
mov dword [esp], eax
mov ebx, eax
call fcn.00407adf
test byte [0x42bc84], 0x80
push ecx
je 0x407f53
mov al, byte [ebx]
test al, al
je 0x407f31
cmp al, 0x5c
je 0x407f31
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
sub ebx, 0x42af40
mov dword [esp], 0x42af40
call esi
push ecx
cmp ebx, eax
mov dword [esp], 0x42af40
jge 0x407f92
call fcn.00407ecb
test eax, eax
push edx
je 0x407f83
test byte [eax], 0x10
je 0x407f31
mov dword [esp], 0x42af40
call fcn.00407676
push eax
jmp 0x407f5f
call fcn.00407a9a
push eax
mov dword [esp], 0x42af40
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
inc eax
push edx
setne al
movzx eax, al
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret 4

Function at 0x407fb6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
lea ebx, [ebp - 0x126]
sub esp, 0x134
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edx, [eax - 1]
push ecx
push ecx
cmp edx, 0x103
ja 0x407ff3
xor edx, edx
cmp byte [ebp + eax - 0x127], 0x5c
sete dl
jmp 0x407ffa
xor eax, eax
mov edx, 1
mov ecx, dword [ebp + 8]
add edx, 0x40b3e0
add eax, ebx
mov dword [esp + 8], edx
mov dword [esp + 4], str._s_s.dll
mov dword [esp], eax
mov dword [esp + 0xc], ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edx
mov ebx, dword [ebp - 4]
leave
ret 4
Function at 0x408630
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x40864d
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x40867b
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x408656
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x40864f
jmp 0x408641
cmp edx, ebx
je 0x408694
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x40867b
pop ebx
not eax
pop esi
pop ebp
ret 0xc
Function at 0x412bfe
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestFloatingPoint.exe_gMozillaPoisonSize], eax
call fcn.0040fe61
pop ecx
mov ecx, dword [sym.TestFloatingPoint.exe_gMozillaPoisonSize]
mov dword [sym.TestFloatingPoint.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x412c36
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestFloatingPoint.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x10003020
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x10003078
cmp byte [esi + ebx - 1], 0xa
je 0x1000304c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x1000415c], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x59342e83
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
pushal
call 0x59342e92
pop dword [ebp - 0x18]
mov eax, 0x9086efca
add eax, 0xc8ad3ec8
sub dword [ebp - 0x18], eax
mov dword [ebp - 0x28], 0x3dab90bf
add dword [ebp - 0x28], 0x10a6b48c
mov dword [ebp - 0x24], 0x34695940
sub dword [ebp - 0x24], 0x2360cfb
mov dword [ebp - 0x20], 0x78203570
add dword [ebp - 0x20], 0xd42c0ebe
mov dword [ebp - 0x1c], 0x61ef17a5
sub dword [ebp - 0x1c], 0x61ef17a5
lea eax, [ebp - 0x28]
push eax
mov eax, 0x5ec7241
add eax, 0x53459e1f
add eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x28], 0x606ad542
add dword [ebp - 0x28], 0x14079414
mov dword [ebp - 0x24], 0x11ed2d4a
sub dword [ebp - 0x24], 0xd080cbd5
mov dword [ebp - 0x20], 0x794fff64
add dword [ebp - 0x20], 0xea1f6d08
mov dword [ebp - 0x1c], 0xf1b5f3be
add dword [ebp - 0x1c], 0xe4a0c42
lea ebx, [ebp - 0x28]
push ebx
push eax
mov eax, 0xebdbeedc
sub eax, 0x92a9ddf0
add eax, dword [ebp - 0x18]
call dword [eax]
push 0x40
push 0x1000
push 0x413e3
push 0
call eax
mov ecx, 0xdca4e737
sub ecx, 0xdca490e5
mov edx, eax
mov ebx, 0x5936c000
add ebx, dword [ebp - 0x18]
mov edi, 0x2bfbac3c
sub edi, 0x3399113b
sub dword [ebp - 0x10], 0xcf5c3450
mov esi, dword [ebx]
mov dword [ebp - 0xc], 0x84944930
xor esi, edi
mov dword [ebp - 0xc], 0xf700366e
mov dword [edx], esi
xor dword [ebp - 8], edi
add edx, 0x7a8e6999
sub edx, 0x7a8e6995
add ebx, 0xfc4b554b
sub ebx, 0xfc4b5547
loop 0x59342fae
add eax, 0x1afbf63b
sub eax, 0x1afaaa20
xor ebx, ebx
add ebx, eax
add eax, 0xa0311c90
add eax, 0x5fcee375
mov ecx, 0xecd4e285
sub ecx, 0x93a2e285
add ecx, dword [ebp - 0x18]
call ebx
leave
ret

Function at 0x59352ada
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
ret 8

Function at 0x59352af4
Capabilities:
Set registry value

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, ecx
call dword [sym.imp.vsansi.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
push dword [esp + 0x10]
push dword [esp + 0x18]
push 0
push dword [esp + 0x18]
push dword [esi]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop esi
ret 0xc

Function at 0x59352b20
Capabilities:
Set registry value

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
xor edi, edi
push esi
call dword [sym.imp.vsansi.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x59352b2b
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebx]
call dword [sym.imp.vsansi.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
ret 8
Function at 0x596c30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14d000]
push edi
or ebp, 0xffffffff
jmp 0x596c52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x596c59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596c48
mov eax, 1
add ebx, ebx
jne 0x596c6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x596c7c
jne 0x596c9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596c9b
dec eax
add ebx, ebx
jne 0x596c88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x596c60
add ebx, ebx
jne 0x596c97
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x596ced
xor ecx, ecx
sub eax, 3
jb 0x596cb3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x596d22
sar eax, 1
mov ebp, eax
jmp 0x596cbe
add ebx, ebx
jne 0x596cbe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596c8c
inc ecx
add ebx, ebx
jne 0x596ccc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x596c8c
add ebx, ebx
jne 0x596cd9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x596cce
jne 0x596cea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x596cce
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x596d0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x596cfe
jmp 0x596c4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x596d0c
add edi, ecx
jmp 0x596c4e
pop esi
mov edi, esi
mov ecx, 0x8ed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x596d2a
cmp byte [edi], 7
jne 0x596d2a
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 0x596d2f
lea edi, [esi + 0x194000]
mov eax, dword [edi]
or eax, eax
je 0x596da7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1969d4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x196a10]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x596d5c
mov ecx, edi
jns 0x596d8b
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 + 0x196a14]
or eax, eax
je 0x596da1
mov dword [ebx], eax
add ebx, 4
jmp 0x596d79
call dword [esi + 0x196a1c]
mov ebp, dword [esi + 0x196a18]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1df]
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 0x596ddb
sub esp, 0xffffff80
jmp 0x404470