joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a850
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push section..rdata
push 0x40cdb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x4144c8], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x4144c4], ecx
shl ecx, 8
add ecx, edx
mov dword [0x4144c0], ecx
shr eax, 0x10
mov dword [0x4144bc], eax
call fcn.0040ae60
test eax, eax
jne 0x40a8ba
push 0x1c
call fcn.0040a9f0
add esp, 4
mov dword [ebp - 4], 0
call fcn.0040cac0
call fcn.0040cab0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x417d34], eax
call fcn.0040c680
mov dword [0x4144a4], eax
test eax, eax
je 0x40a8ed
mov eax, dword [0x417d34]
test eax, eax
jne 0x40a8f7
push 0xffffffffffffffff
call fcn.0040acc0
add esp, 4
call fcn.0040c3d0
call fcn.0040c2e0
call fcn.0040ac90
mov esi, dword [0x417d34]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x40a9d6
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x40a93e
test al, al
je 0x40a93e
and eax, 0xff
push eax
call fcn.0040c280
add esp, 4
test eax, eax
je 0x40a918
inc esi
mov dword [ebp - 0x64], esi
jmp 0x40a918
cmp byte [esi], 0x22
jne 0x40a947
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x40a957
cmp al, 0x20
ja 0x40a957
inc esi
mov dword [ebp - 0x64], esi
jmp 0x40a947
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x40a978
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x40a97d
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.0040acc0
jmp 0x40a9bb
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x40a947
inc esi
mov dword [ebp - 0x64], esi
jmp 0x40a9d6

Function at 0x40ad00
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4144f8]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x40ad1f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x4144f4], 1
mov byte [0x4144f0], bl
jne 0x40ad79
mov ecx, dword [0x417d2c]
test ecx, ecx
je 0x40ad67
mov esi, dword [0x417d28]
sub esi, 4
cmp esi, ecx
jb 0x40ad67
mov eax, dword [esi]
test eax, eax
je 0x40ad60
call eax
mov ecx, dword [0x417d2c]
sub esi, 4
cmp esi, ecx
jae 0x40ad52
push 0x41001c
push 0x410014
call fcn.0040adb0
add esp, 8
push 0x410024
push 0x410020
call fcn.0040adb0
add esp, 8
test ebx, ebx
jne 0x40ada0
push ebp
mov dword [0x4144f8], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret
Function at 0x40c680
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x414638]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x40c6c2
call edi
mov esi, eax
test esi, esi
je 0x40c6ac
mov eax, 1
jmp 0x40c6bd
call ebp
mov ebx, eax
test ebx, ebx
je 0x40c7cf
mov eax, 2
mov dword [0x414638], eax
cmp eax, 1
jne 0x40c762
test esi, esi
jne 0x40c6db
call edi
mov esi, eax
test esi, esi
je 0x40c7cf
cmp word [esi], 0
mov eax, esi
je 0x40c6f5
add eax, 2
cmp word [eax], 0
jne 0x40c6e3
add eax, 2
cmp word [eax], 0
jne 0x40c6e3
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x40c754
push edi
call fcn.0040a280
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40c754
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x40c746
push ebx
call fcn.0040b5c0
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x40c7cf
test ebx, ebx
jne 0x40c773
call ebp
mov ebx, eax
test ebx, ebx
je 0x40c7cf
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x40c78b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40c77b
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x40c77b
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.0040a280
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x40c7ad
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x40ced0
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x413e88
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x40cef4
add eax, 8
inc ebp
cmp eax, 0x413f18
jb 0x40cee5
cmp ecx, dword [ebp*8 + 0x413e88]
jne 0x40d09b
mov eax, dword [0x4144ac]
cmp eax, 1
je 0x40d05d
test eax, eax
jne 0x40cf20
cmp dword [0x411924], 1
je 0x40d05d
cmp ecx, 0xfc
je 0x40d09b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40cf5b
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x40cfa4
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x40f304
add ebx, ecx
push ebx
call fcn.0040d720
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40f2e4
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x413e8c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.0040e590
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x417c20]
test eax, eax
je 0x40d06e
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x40d078
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x413e8c]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x40dae0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [0x417d20]
sub esp, 0x41c
cmp eax, ecx
push ebx
push ebp
push esi
push edi
jae 0x40dc8d
mov ecx, eax
mov esi, eax
sar ecx, 5
and esi, 0x1f
mov edx, dword [ecx*4 + 0x417c20]
lea edi, [ecx*4 + 0x417c20]
shl esi, 3
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], esi
mov cl, byte [esi + edx + 4]
test cl, 1
je 0x40dc8d
mov ebx, dword [esp + 0x438]
xor ebp, ebp
cmp ebx, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x20], ebp
jne 0x40db4e
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
test cl, 0x20
je 0x40db5f
push 2
push ebp
push eax
call fcn.0040e6f0
add esp, 0xc
mov eax, dword [edi]
add eax, esi
test byte [eax + 4], 0x80
je 0x40dcbe
mov ebp, dword [esp + 0x434]
mov dword [esp + 0x18], 0
test ebx, ebx
mov edi, ebp
jbe 0x40dc09
lea eax, [esp + 0x28]
mov ecx, edi
sub ecx, ebp
cmp ecx, ebx
jae 0x40dbba
mov cl, byte [edi]
inc edi
cmp cl, 0xa
jne 0x40dba7
mov esi, dword [esp + 0x20]
mov byte [eax], 0xd
inc esi
inc eax
mov dword [esp + 0x20], esi
mov byte [eax], cl
inc eax
mov edx, eax
lea ecx, [esp + 0x28]
sub edx, ecx
cmp edx, 0x400
jl 0x40db8a
mov esi, eax
lea edx, [esp + 0x28]
lea eax, [esp + 0x1c]
sub esi, edx
mov edx, dword [esp + 0x24]
push 0
push eax
lea ecx, [esp + 0x30]
mov eax, dword [edx]
push esi
push ecx
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + eax]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40dcaf
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
add edx, eax
cmp eax, esi
mov dword [esp + 0x10], edx
jl 0x40dc05
mov eax, edi
sub eax, ebp
cmp eax, ebx
jb 0x40db86
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x40dc7e
mov eax, dword [esp + 0x18]
test eax, eax
je 0x40dc52
cmp eax, 5
jne 0x40dc3b
mov dword [0x4144b4], eax
mov dword [0x4144b0], 9
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
push eax
call fcn.0040add0
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx]
test byte [esi + edx + 4], 0x40
je 0x40dc72
cmp byte [ebp], 0x1a
jne 0x40dc72
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x4144b0], 0x1c
jmp 0x40dc97
sub eax, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x41c
ret
mov dword [0x4144b0], 9
pop edi
pop esi
pop ebp
mov dword [0x4144b4], 0
or eax, 0xffffffff
pop ebx
add esp, 0x41c
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x40dc05
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x438]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40dcef
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
jmp 0x40dc09
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x18], eax
jmp 0x40dc09
Function at 0x40e820
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.0040a760
mov eax, dword [0x417d20]
push ebx
mov ebx, dword [esp + 0x100c]
push ebp
xor ebp, ebp
push esi
cmp ebx, eax
push edi
jae 0x40e982
mov eax, ebx
mov ecx, ebx
sar eax, 5
and ecx, 0x1f
mov edx, dword [eax*4 + 0x417c20]
test byte [edx + ecx*8 + 4], 1
je 0x40e982
push 1
push ebp
push ebx
call fcn.0040e6f0
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x40e98c
push 2
push ebp
push ebx
call fcn.0040e6f0
add esp, 0xc
cmp eax, 0xffffffff
je 0x40e98c
mov ecx, dword [esp + 0x101c]
mov esi, ecx
sub esi, eax
test esi, esi
jle 0x40e928
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push 0x8000
rep stosd dword es:[edi], eax
push ebx
call fcn.0040ece0
add esp, 8
mov edi, eax
cmp esi, 0x1000
mov eax, 0x1000
jge 0x40e8cf
mov eax, esi
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.0040dae0
add esp, 0xc
cmp eax, 0xffffffff
je 0x40e8eb
sub esi, eax
test esi, esi
jle 0x40e901
jmp 0x40e8c0
cmp dword [0x4144b4], 5
jne 0x40e8fe
mov dword [0x4144b0], 0xd
or ebp, 0xffffffff
push edi
push ebx
call fcn.0040ece0
mov edi, dword [esp + 0x18]
add esp, 8
push 0
push edi
push ebx
call fcn.0040e6f0
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
jge 0x40e969
push 0
push ecx
push ebx
call fcn.0040e6f0
add esp, 0xc
push ebx
call fcn.0040da30
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebp, eax
neg ebp
sbb ebp, ebp
neg ebp
dec ebp
cmp ebp, 0xffffffff
jne 0x40e969
mov dword [0x4144b0], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4144b4], eax
push 0
push edi
push ebx
call fcn.0040e6f0
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
mov dword [0x4144b0], 9
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1004
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 0x70a630
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x209000]
push edi
jmp 0x70a64a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x70a651
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70a640
mov eax, 1
add ebx, ebx
jne 0x70a663
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x70a674
jne 0x70a693
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70a693
dec eax
add ebx, ebx
jne 0x70a680
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x70a658
add ebx, ebx
jne 0x70a68f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x70a6e5
xor ecx, ecx
sub eax, 3
jb 0x70a6ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x70a71a
sar eax, 1
mov ebp, eax
jmp 0x70a6b6
add ebx, ebx
jne 0x70a6b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70a684
inc ecx
add ebx, ebx
jne 0x70a6c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70a684
add ebx, ebx
jne 0x70a6d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x70a6c6
jne 0x70a6e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x70a6c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x70a704
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x70a6f6
jmp 0x70a646
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x70a704
add edi, ecx
jmp 0x70a646
pop esi
mov edi, esi
mov ecx, 0x10b76
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x70a722
cmp byte [edi], 0x16
jne 0x70a722
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 0x70a727
lea edi, [esi + 0x2f6000]
mov eax, dword [edi]
or eax, eax
je 0x70a79f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x30a624]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x30a6e0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x70a754
mov ecx, edi
jns 0x70a783
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 + 0x30a6e8]
or eax, eax
je 0x70a799
mov dword [ebx], eax
add ebx, 4
jmp 0x70a771
call dword [esi + 0x30a6e4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x70a7d0
cmp al, 0xef
ja 0x70a7c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x70a7a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x70a7b2
mov ebp, dword [esi + 0x30a6ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
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 0x70a804
sub esp, 0xffffff80
jmp 0x4191ea
Function at 0x5964c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4c000]
push edi
or ebp, 0xffffffff
jmp 0x5964e2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5964e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5964d8
mov eax, 1
add ebx, ebx
jne 0x5964fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59650c
jne 0x59651c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59651c
dec eax
add ebx, ebx
jne 0x596518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5964f0
xor ecx, ecx
sub eax, 3
jb 0x596534
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5965a6
sar eax, 1
mov ebp, eax
jmp 0x59653f
add ebx, ebx
jne 0x59653f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x59654c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x596570
inc ecx
add ebx, ebx
jne 0x59655c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x596551
jne 0x59656d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x596551
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x596590
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x596581
jmp 0x5964de
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x596590
add edi, ecx
jmp 0x5964de
pop esi
mov edi, esi
mov ecx, 0x125e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5965ae
cmp byte [edi], 0xe
jne 0x5965ae
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 eax, ebx
loop 0x5965b3
lea edi, [esi + 0x193000]
mov eax, dword [edi]
or eax, eax
je 0x59662b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x196f28]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x196ff0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5965e0
mov ecx, edi
jns 0x59660f
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 + 0x196ff4]
or eax, eax
je 0x596625
mov dword [ebx], eax
add ebx, 4
jmp 0x5965fd
call dword [esi + 0x196ff8]
popal
jmp 0x41aa04
Function at 0x4eaa40
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbd000]
push edi
jmp 0x4eaa5a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4eaa61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eaa50
mov eax, 1
add ebx, ebx
jne 0x4eaa73
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4eaa84
jne 0x4eaaa3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eaaa3
dec eax
add ebx, ebx
jne 0x4eaa90
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4eaa68
add ebx, ebx
jne 0x4eaa9f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4eaaf5
xor ecx, ecx
sub eax, 3
jb 0x4eaabb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4eab2a
sar eax, 1
mov ebp, eax
jmp 0x4eaac6
add ebx, ebx
jne 0x4eaac6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eaa94
inc ecx
add ebx, ebx
jne 0x4eaad4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4eaa94
add ebx, ebx
jne 0x4eaae1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4eaad6
jne 0x4eaaf2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4eaad6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4eab14
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4eab06
jmp 0x4eaa56
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4eab14
add edi, ecx
jmp 0x4eaa56
pop esi
mov edi, esi
mov ecx, 0x38
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4eab32
cmp byte [edi], 6
jne 0x4eab32
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 0x4eab37
lea edi, [esi + 0xe8000]
mov eax, dword [edi]
or eax, eax
je 0x4eabaf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xefdcc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xefe08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4eab64
mov ecx, edi
jns 0x4eab93
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 + 0xefe10]
or eax, eax
je 0x4eaba9
mov dword [ebx], eax
add ebx, 4
jmp 0x4eab81
call dword [esi + 0xefe0c]
mov ebp, dword [esi + 0xefe14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x4eabe3
sub esp, 0xffffff80
jmp 0x401380
Function at 0x100011e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10006337
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x414], edi
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x424], edi
mov dword [ebp - 0x420], 0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x41c]
mov dword [ebp - 4], 0
push ecx
push 0xf003f
push 0
push eax
push 0x80000001
mov dword [ebp - 0x420], 1
mov dword [ebp - 0x414], 0x400
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x410]
push eax
lea eax, [ebp - 0x418]
push eax
push 0
push esi
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100012c0
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
mov ecx, edi
call fcn.10004d80
mov eax, edi
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.100055a2
mov esp, ebp
pop ebp
ret