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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x175000]
push edi
jmp 0x5cc30a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5cc311
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cc300
mov eax, 1
add ebx, ebx
jne 0x5cc323
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5cc334
jne 0x5cc353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cc353
dec eax
add ebx, ebx
jne 0x5cc340
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5cc318
add ebx, ebx
jne 0x5cc34f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5cc3a5
xor ecx, ecx
sub eax, 3
jb 0x5cc36b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5cc3da
sar eax, 1
mov ebp, eax
jmp 0x5cc376
add ebx, ebx
jne 0x5cc376
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cc344
inc ecx
add ebx, ebx
jne 0x5cc384
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5cc344
add ebx, ebx
jne 0x5cc391
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5cc386
jne 0x5cc3a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5cc386
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5cc3c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5cc3b6
jmp 0x5cc306
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5cc3c4
add edi, ecx
jmp 0x5cc306
pop esi
mov edi, esi
mov ecx, 0x3eac
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5cc3e2
cmp byte [edi], 0x11
jne 0x5cc3e2
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 0x5cc3e7
lea edi, [esi + 0x1c5000]
mov eax, dword [edi]
or eax, eax
je 0x5cc45f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2becd0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2bee4c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5cc414
mov ecx, edi
jns 0x5cc443
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 + 0x2bee50]
or eax, eax
je 0x5cc459
mov dword [ebx], eax
add ebx, 4
jmp 0x5cc431
call dword [esi + 0x2bee60]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5cc490
cmp al, 0xef
ja 0x5cc483
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5cc465
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5cc472
mov ebp, dword [esi + 0x2bee54]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x5cc4c4
sub esp, 0xffffff80
jmp 0x4288dd
Function at 0x420b5b
Capabilities:
Parse pe header

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

Function at 0x433310
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43333d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43333d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x4059f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x426d76
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x45190c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov eax, dword [ebp + 0x10]
mov dword [ebx], 0x428da8
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
mov dword [ebx + 0xc], edx
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], edx
mov dword [ebx + 0x20], edx
mov dword [ebx + 0x24], edx
mov dword [ebx + 0x28], edx
or dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 0x30], edx
mov dword [ebx + 0x34], edx
mov dword [ebx + 0x38], edx
mov dword [ebx + 0x3c], edx
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x44], edx
mov dword [ebx + 0x48], edx
mov dword [ebx + 0x4c], edx
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x60], ecx
mov eax, dword [ecx + 4]
and dword [ebx + 0x8c], 0xffffffc0
and byte [ebx + 0x91], 0x80
or dword [ebx + 0x94], 0xffffffff
or dword [ebx + 0x98], 0xffffffff
mov dword [ebx + 0x64], eax
xor eax, eax
inc eax
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x70], edx
mov dword [ebx + 0x74], edx
mov byte [ebx + 0x90], 0x4f
mov dword [ebx + 0x9c], eax
mov dword [ebx + 0xa0], eax
mov dword [ebx + 0xa4], edx
mov dword [ebx + 0xa8], edx
mov ecx, dword [ecx + 4]
test ecx, ecx
je 0x405acb
mov eax, dword [ecx + 0x24]
mov dword [ebx + 0x78], eax
mov dword [ecx + 0x24], ebx
mov eax, dword [ebx + 0x5c]
lea edi, [ebx + 0x58]
push 1
push edx
push edi
mov dword [eax + 4], ebx
lea esi, [ebx + 0x54]
mov ecx, dword [ebx + 0x60]
push esi
push ecx
mov eax, dword [ecx]
call dword [eax + 0x18]
push 4
push dword [esi]
mov esi, dword [0x4280f8]
push 6
call esi
push 8
push dword [edi]
mov dword [ebx + 0x7c], eax
push 2
call esi
mov ecx, dword [ebx + 0x7c]
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x88], eax
mov eax, ebx
mov dword [ebx + 0x84], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427004]
jne 0x401010
repz ret
jmp fcn.0040150a

Function at 0x407585
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.00404bd7
and dword [ebp - 4], 0
cmp dword [0x42923c], 0
mov ebx, eax
jne 0x407636
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4076e7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4076e7
push eax
call fcn.00404b65
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42923c], eax
call esi
push eax
call fcn.00404b65
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x429240], eax
call esi
push eax
call fcn.00404b65
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x429244], eax
call esi
push eax
call fcn.00404b65
pop ecx
mov dword [0x42924c], eax
test eax, eax
je 0x407636
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404b65
pop ecx
mov dword [0x429248], eax
mov eax, dword [0x429248]
cmp eax, ebx
je 0x40768e
cmp dword [0x42924c], ebx
je 0x40768e
push eax
call fcn.00404be0
push dword [0x42924c]
mov esi, eax
call fcn.00404be0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40768e
test edi, edi
je 0x40768e
call esi
test eax, eax
je 0x407685
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x407685
test byte [ebp - 0xc], 1
jne 0x40768e
or dword [ebp + 0x10], 0x200000
jmp 0x4076c7
mov eax, dword [0x429240]
cmp eax, ebx
je 0x4076c7
push eax
call fcn.00404be0
pop ecx
test eax, eax
je 0x4076c7
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4076c7
mov eax, dword [0x429244]
cmp eax, ebx
je 0x4076c7
push eax
call fcn.00404be0
pop ecx
test eax, eax
je 0x4076c7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42923c]
call fcn.00404be0
pop ecx
test eax, eax
je 0x4076e7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4076e9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403ad7
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428310]
mov edx, dword [edi]
mov ecx, dword [edi + 4]
and dword [ebp - 8], 0
mov dword [ebp - 0x24], eax
mov eax, dword [0x428314]
push ebx
mov dword [ebp - 0x20], eax
push esi
lea eax, [ebp - 8]
mov dword [ebp - 0xc], edx
call fcn.00403ad0
mov eax, dword [0x428318]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [0x42831c]
add esi, 0x23f
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x20
mov dword [ebp - 8], 2
add dword [ebp - 8], 3
mov eax, edx
shl eax, 4
add eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x2818abc]
cmp eax, 0xfa9
jne 0x403b4f
mov dword [0x2818ab8], 0xedeb2e40
cmp eax, 0x3eb
jne 0x403b5d
and dword [0x2818544], 0
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x18]
lea ebx, [esi + edx]
xor eax, ebx
xor eax, dword [ebp - 0x1c]
mov dword [0x2818ab4], 0xf4ea3dee
sub ecx, eax
mov eax, ecx
shr eax, 5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
mov eax, ecx
shl eax, 4
add eax, dword [ebp - 0x24]
lea ebx, [esi + ecx]
xor eax, ebx
xor eax, dword [ebp - 4]
add esi, 0x61c88647
sub edx, eax
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], edx
jne 0x403b23
pop esi
mov dword [edi], edx
mov dword [edi + 4], ecx
pop ebx
leave
ret

Function at 0x403bbb
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00410060
mov eax, dword [0x2818abc]
mov ecx, dword [0x2818548]
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x403c90
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x2818abc], 0x959
jne 0x403c7f
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
push esi
lea eax, [ebp - 0x1000]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403728
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x403774
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0x4037a0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
lea eax, [ebp - 0x400]
push eax
push esi
push 0x4037bc
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call fcn.00403ad7
add edi, 8
dec ebx
jne 0x403be7
pop edi
pop ebx
pop esi
leave
ret
Function at 0x403f23
Capabilities:
Access the windows event log
Clear windows event logs
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x404
push ebx
push esi
xor esi, esi
cmp dword [0x2818abc], 0x400
push edi
jne 0x404005
push esi
call dword [sym.imp.USER32.dll_WindowFromDC]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
push 0x4039d4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateW]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogW]
push esi
push esi
call fcn.00404c30
push esi
push esi
call fcn.00404639
push esi
call fcn.00404bb5
add esp, 0x14
push esi
call fcn.00404e99
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.004042b0
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004042f0
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404780
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404420
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404900
fstp st(0)
push esi
call fcn.00404f0d
add esp, 0xc
push esi
push esi
call fcn.0040453d
push esi
call fcn.00404cdd
add esp, 0xc
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthI]
xor edi, edi
cmp edi, 0xacd
jge 0x40402b
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
push esi
push esi
push esi
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45be410
jg 0x40404d
inc edi
cmp edi, 0x33309e9
jl 0x40400d
xor edi, edi
cmp edi, 0x16d2a
jge 0x40405e
push esi
push esi
push esi
push esi
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x12e82fe
jg 0x40407c
inc edi
cmp edi, 0x3011b
jl 0x40404f
mov eax, dword [0x42ac54]
mov dword [0x2818abc], eax
call fcn.00403c93
mov edi, 0x2ec37
cmp dword [0x2818abc], 0x51f
jne 0x4040a8
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x404090
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4070cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4277c4]
jne 0x4070d5
repz ret
jmp fcn.0040ba8c
Function at 0x40f111
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4277c4]
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.00405ad9
and dword [ebp - 0x14], 0
cmp dword [0x435aac], 0
mov dword [ebp - 0x18], eax
jne 0x40f1c4
push 0x4036d4
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40f26c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4036c8
push ebx
call edi
test eax, eax
je 0x40f26c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4036b8
push ebx
mov dword [0x435aac], eax
call edi
push eax
call esi
push 0x4036a4
push ebx
mov dword [0x435ab0], eax
call edi
push eax
call esi
push 0x403688
push ebx
mov dword [0x435ab4], eax
call edi
push eax
call esi
mov dword [0x435abc], eax
test eax, eax
je 0x40f1c4
push 0x403670
push ebx
call edi
push eax
call esi
mov dword [0x435ab8], eax
mov eax, dword [0x435ab8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40f21d
cmp dword [0x435abc], ecx
je 0x40f21d
push eax
call esi
push dword [0x435abc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40f21d
test ebx, ebx
je 0x40f21d
call edi
test eax, eax
je 0x40f214
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40f214
test byte [ebp - 8], 1
jne 0x40f21d
or dword [ebp + 0x10], 0x200000
jmp 0x40f250
mov eax, dword [0x435ab0]
cmp eax, dword [ebp - 0x18]
je 0x40f250
push eax
call esi
test eax, eax
je 0x40f250
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40f250
mov eax, dword [0x435ab4]
cmp eax, dword [ebp - 0x18]
je 0x40f250
push eax
call esi
test eax, eax
je 0x40f250
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x435aac]
call esi
test eax, eax
je 0x40f26c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40f26e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004070cb
leave
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x491930
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7c000]
push edi
jmp 0x49194a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x491951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x491940
mov eax, 1
add ebx, ebx
jne 0x491963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x491958
jne 0x491974
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x491958
xor ecx, ecx
sub eax, 3
jb 0x491988
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4919fa
mov ebp, eax
add ebx, ebx
jne 0x491993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4919a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4919c4
inc ecx
add ebx, ebx
jne 0x4919b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4919a5
jne 0x4919c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4919a5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4919e4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4919d5
jmp 0x491946
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4919e4
add edi, ecx
jmp 0x491946
pop esi
mov edi, esi
mov ecx, 0x104c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x491a02
cmp byte [edi], 9
jne 0x491a02
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 0x491a07
lea edi, [esi + 0x8e000]
mov eax, dword [edi]
or eax, eax
je 0x491a7f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x91bd8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x91c8c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x491a34
mov ecx, edi
jns 0x491a63
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 + 0x91c90]
or eax, eax
je 0x491a79
mov dword [ebx], eax
add ebx, 4
jmp 0x491a51
call dword [esi + 0x91ca0]
mov ebp, dword [esi + 0x91c94]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x491ab3
sub esp, 0xffffff80
jmp 0x40fcc2
Function at 0x10024910
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1002494e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10024946
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10024950
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10024936
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10024a20
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10024a36
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10024a51
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x100302bb
Capabilities:
Encode data using xor

Disassembly:
call 0x10030234
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10030264
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x10030280
xor edx, 0
jmp 0x1003028b
xor edx, edx
jmp 0x100302a2
jmp 0x100302ae
xor eax, eax
push 0x8427d7c0
call 0x100302bb
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100302f7
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100302d0
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1003030e
add eax, 0
jno 0x10030313
add esi, 0
ret 0x10