joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49e5f3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x4d7858]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x49e633
cmp byte [ebx], 0xa
jne 0x49e633
or byte [edi + eax + 0x28], 4
jmp 0x49e638
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
mov dword [ebp - 8], eax
cmp ebx, ecx
jae 0x49e737
mov dl, byte [eax]
cmp dl, 0x1a
je 0x49e71a
inc eax
cmp dl, 0xd
je 0x49e664
mov dword [ebp - 8], eax
mov byte [esi], dl
jmp 0x49e68a
cmp eax, ecx
jae 0x49e698
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add dword [ebp - 8], eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor edx, edx
inc edx
add esi, edx
cmp eax, ecx
jb 0x49e64c
jmp 0x49e737
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49e715
cmp dword [ebp - 0x10], 0
je 0x49e715
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx*4 + 0x4d7858]
test byte [eax + edi + 0x28], 0x48
je 0x49e6ef
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x49e6da
mov byte [esi], dl
jmp 0x49e6eb
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x4d7858]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x49e737
cmp byte [ebp - 1], 0xa
jne 0x49e6fe
cmp esi, ebx
jne 0x49e6fe
mov byte [esi], 0xa
jmp 0x49e736
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004018f7
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x49e737
mov byte [esi], 0xd
jmp 0x49e736
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx*4 + 0x4d7858]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x49e734
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x49e737
mov byte [esi], dl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x49e793
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x4d7858]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x49e7d9
cmp word [ebx], dx
jne 0x49e7d9
or byte [eax + edi + 0x28], 4
jmp 0x49e7de
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x49e941
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x49e921
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x49e81f
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x49e855
cmp eax, edx
jae 0x49e863
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x49e7fa
jmp 0x49e941
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x49e91c
cmp dword [ebp - 0x18], 0
je 0x49e91c
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x4d7858]
test byte [eax + edi + 0x28], 0x48
je 0x49e8f2
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x49e8b6
mov word [esi], cx
jmp 0x49e8ed
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x4d7858]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x4d7858]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x4d7858]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x49e941
pop eax
cmp word [ebp - 4], ax
jne 0x49e902
cmp esi, ebx
jne 0x49e902
mov word [esi], ax
jmp 0x49e93e
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004018f7
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x49e941
push 0xd
pop eax
jmp 0x49e8fd
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x4d7858]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x49e93b
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x49e941
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x4a2527
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4d4040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x4a2572
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004a29df
test al, al
jne 0x4a256c
sub edx, 2
cmp edx, edi
jne 0x4a2552
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4a2594
lea eax, [edi + 2]
cmp edx, eax
je 0x4a2594
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.004a2120
add esp, 0x10
jmp 0x4a268e
push esi
lea ecx, [ebp - 0x255]
call fcn.004a29df
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4a25d7
push dword [ebp - 0x25c]
jmp 0x4a2584
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4a2614
cmp word [ebp - 0x226], 0
je 0x4a2635
cmp word [ebp - 0x226], ax
jne 0x4a2614
cmp word [ebp - 0x224], 0
je 0x4a2635
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.004a2120
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x4a2681
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4a25ee
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x4a2669
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4a268e
push 0x4a1b08
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00405457
add esp, 0x10
jmp 0x4a265e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402ffe
leave
ret

Function at 0x4a7ff0
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00404246
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4a805f
cmp esi, dword [ebp - 4]
je 0x4a805a
cmp dword [ebp + 0xc], 0
je 0x4a805a
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4a8037
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.004a7a18
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x4a8061
xor eax, eax
inc eax
jmp 0x4a8061
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x408f4c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417b90]
jne 0x408f56
repz ret
jmp fcn.004119ac

Function at 0x40b5ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x417b90]
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.00404b9a
and dword [ebp - 0x14], 0
cmp dword [0x4375e4], 0
mov dword [ebp - 0x18], eax
jne 0x40b65e
push 0x402acc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b706
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402ac0
push ebx
call edi
test eax, eax
je 0x40b706
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402ab0
push ebx
mov dword [0x4375e4], eax
call edi
push eax
call esi
push 0x402a9c
push ebx
mov dword [0x4375e8], eax
call edi
push eax
call esi
push 0x402a80
push ebx
mov dword [0x4375ec], eax
call edi
push eax
call esi
mov dword [0x4375f4], eax
test eax, eax
je 0x40b65e
push 0x402a68
push ebx
call edi
push eax
call esi
mov dword [0x4375f0], eax
mov eax, dword [0x4375f0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b6b7
cmp dword [0x4375f4], ecx
je 0x40b6b7
push eax
call esi
push dword [0x4375f4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b6b7
test ebx, ebx
je 0x40b6b7
call edi
test eax, eax
je 0x40b6ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b6ae
test byte [ebp - 8], 1
jne 0x40b6b7
or dword [ebp + 0x10], 0x200000
jmp 0x40b6ea
mov eax, dword [0x4375e8]
cmp eax, dword [ebp - 0x18]
je 0x40b6ea
push eax
call esi
test eax, eax
je 0x40b6ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b6ea
mov eax, dword [0x4375ec]
cmp eax, dword [ebp - 0x18]
je 0x40b6ea
push eax
call esi
test eax, eax
je 0x40b6ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4375e4]
call esi
test eax, eax
je 0x40b706
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b708
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408f4c
leave
ret

Function at 0x4144d0
Capabilities:
Delete file
Get uefi variable

Disassembly:
sub esp, 0xc18
cmp dword [0x2b6113c], 0x37
jne 0x414538
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
lea eax, [esp + 0x41c]
push eax
push 0x403408
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov ecx, dword [0x2b61550]
mov eax, dword [0x2b60c20]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0xc18
ret
Function at 0x4144f2
Capabilities:
Get uefi variable

Disassembly:
sub esp, 0xc18
cmp dword [0x2b6113c], 0x37
jne 0x414538
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push 0
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
push 0
lea eax, [esp + 0x1c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetFirmwareEnvironmentVariableW]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_PeekConsoleInputW]
push 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0
lea eax, [esp + 0x41c]
push eax
push 0x403408
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
mov ecx, dword [0x2b61550]
mov eax, dword [0x2b60c20]
mov dl, byte [ecx + esi + 0x38d6]
mov byte [eax + esi], dl
add esp, 0xc18
ret
Function at 0x43b636
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
mov edx, edx
add edx, ecx
call fcn.0043b66c
inc ecx
sub edx, ecx
add edx, edx
xor dword [esi], ebx
mov edx, 0x1f25bf00
sub edx, ecx
add esi, 1
inc ecx
add edx, edx
add ecx, 0x762c932d
cmp esi, eax
jne fcn.0043b636
or edx, edx
or ecx, edx
ret
Function at 0x4033d0
Capabilities:
Enumerate gui resources
Get hostname

Disassembly:
mov eax, 0x240c
call fcn.0040c3a0
mov eax, dword [0x2b87bbc]
mov ecx, dword [0x2b87b30]
shr eax, 3
test eax, eax
jbe 0x403502
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jmp 0x403420
cmp dword [0x2b87bbc], 0x959
jne 0x4034e4
push 0
lea eax, [esp + 0x1420]
push eax
push 0
push 0
push 0
push 0
call edi
push 0
lea ecx, [esp + 0x420]
push ecx
push 0
call ebx
push 0
push 0
call esi
push 0
call ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
push 0
push 0
lea edx, [esp + 0xc24]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetThreadPriorityBoost]
push 0
lea eax, [esp + 0x1c20]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
push 0
push 0x402d2c
push 0x402d3c
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceExA]
mov eax, dword [esp + 0x10]
push eax
call fcn.00403220
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403420
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x240c
ret
Function at 0x40901b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42fa00]
jne 0x409025
repz ret
jmp fcn.0040b2ec

Function at 0x40aa3e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405d7d
and dword [ebp - 4], 0
cmp dword [0x430d88], 0
mov ebx, eax
jne 0x40aaef
push 0x402c0c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40aba0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c00
push edi
call esi
test eax, eax
je 0x40aba0
push eax
call fcn.00405d0b
mov dword [esp], 0x402bf0
push edi
mov dword [0x430d88], eax
call esi
push eax
call fcn.00405d0b
mov dword [esp], 0x402bdc
push edi
mov dword [0x430d8c], eax
call esi
push eax
call fcn.00405d0b
mov dword [esp], 0x402bc0
push edi
mov dword [0x430d90], eax
call esi
push eax
call fcn.00405d0b
pop ecx
mov dword [0x430d98], eax
test eax, eax
je 0x40aaef
push 0x402ba8
push edi
call esi
push eax
call fcn.00405d0b
pop ecx
mov dword [0x430d94], eax
mov eax, dword [0x430d94]
cmp eax, ebx
je 0x40ab47
cmp dword [0x430d98], ebx
je 0x40ab47
push eax
call fcn.00405d86
push dword [0x430d98]
mov esi, eax
call fcn.00405d86
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40ab47
test edi, edi
je 0x40ab47
call esi
test eax, eax
je 0x40ab3e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40ab3e
test byte [ebp - 0xc], 1
jne 0x40ab47
or dword [ebp + 0x10], 0x200000
jmp 0x40ab80
mov eax, dword [0x430d8c]
cmp eax, ebx
je 0x40ab80
push eax
call fcn.00405d86
pop ecx
test eax, eax
je 0x40ab80
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40ab80
mov eax, dword [0x430d90]
cmp eax, ebx
je 0x40ab80
push eax
call fcn.00405d86
pop ecx
test eax, eax
je 0x40ab80
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x430d88]
call fcn.00405d86
pop ecx
test eax, eax
je 0x40aba0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40aba2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10b7d524
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10b7d52e
pushal
call 0x10b7d534
pop ebp
sub ebp, 0x10
sub ebp, 0xb7d524
mov al, byte [esp + 0x28]
cmp al, 1
je 0x10b7d558
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x10b7d561
mov eax, 0xb7d524
add eax, ebp
add eax, 0x63
mov ecx, 0x5bc
mov edx, 0x28c5626e
xor byte [eax], dl
inc eax
dec ecx
jne 0x10b7d578
jmp 0x10b7d58b
in eax, 0xa3
in eax, 0xe7
push edx
outsb dx, byte [esi]
outsb dx, byte [esi]
outsb dx, byte [esi]
out dx, eax
scasd eax, dword es:[edi]
xchg esi, eax
outsb dx, byte [esi]
outsb dx, byte [esi]
outsb dx, byte [esi]
insd dword es:[edi], dx
mov dword [0x6e6e68d6], eax
outsb dx, byte [esi]
aam 0x46
outsb dx, byte [esi]
outsb dx, byte [esi]
outsb dx, byte [esi]
cdq
mov word [ebp - 0x5a], gs
in eax, 0xef
bound ebp, qword [esi + 0x6e]
outsb dx, byte [esi]
insd dword es:[edi], dx
stosd dword es:[edi], eax
jecxz 0x10b7d5bd
dec edx
xchg edx, eax
out 0x6a, eax
dec edx
jecxz 0x10b7d5c4
dec edx
xchg edx, eax
out 0x6a, eax
dec edx
push 0x4a
push es
ljmp 0xb7f3
push es
mov bh, 0xf8
outsb dx, byte [esi]
outsd dx, dword [esi]
inc edx
dec edx
push es
stosd dword es:[edi], eax
js 0x10b7d644
jb 0x10b7d558
imul ebp, dword [esi + 0x6e], 0x6e
xchg dword [esi + 0x6e], eax
outsb dx, byte [esi]
outsb dx, byte [esi]
cmp edi, dword [edx]
xor esp, ebp
jmp 0x10b7d647
pop ebp
cmpsd dword [esi], dword es:[edi]
out dx, eax
pushfd
push edi
inc ebp
pop ds
into
out dx, eax
pushfd
push edi
inc ebp
pop ds
into
pop ebp
mov esp, 0x266b86ed
popal
ljmp 0xe661
Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0xec56716
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
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
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x227750a3
nop
nop
test eax, eax
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10007890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10007735
mov ecx, eax
add eax, 0x3c
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], eax
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x14]
mov edx, dword [esi + edx + 0x78]
add esi, dword [esi + edx + 0x20]
mov dword [0x1001bddc], 0x239b
mov edi, dword [ebp - 0x14]
mov ebx, dword [edi + edx + 0x18]
cmp ebx, 0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
je 0x100079cb
jmp 0x10007917
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x24]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x40], edx
jmp 0x1000792b
mov al, byte [ebp - 0x41]
test al, 1
jne 0x100079a8
jmp 0x1000797e
xor eax, eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jmp 0x100078ee
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x3c]
add ecx, edx
mov esi, dword [ebp - 0x14]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x49], bh
mov byte [ebp - 0x41], cl
je 0x1000790a
mov eax, dword [ebp - 0x48]
add eax, 1
mov cl, byte [ebp - 0x49]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x41]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x1000792b
jmp 0x1000790a
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov edx, dword [ebp - 0x34]
add edx, 1
mov esi, dword [ebp - 0x1c]
cmp edx, esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], eax
jb 0x100078ee
jmp 0x100079cb
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x14]
add edi, dword [edx + ecx*4]
mov dword [0x1001bddc], 0xbb6
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x28]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret