joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401060
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x40406f], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.sanander
push str.crashes
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4010a8
xor eax, eax
jmp 0x4010c3
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4021b0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push str.sanander
push str.crashes
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4021ec
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x4021ec
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [ebp - 0xbc], eax
mov edx, dword [ebp + 8]
push edx
call fcn.00402630
add esp, 4
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401060
add esp, 8
test eax, eax
jne 0x40221e
xor eax, eax
jmp 0x402257
push 0
push 0
push 0
lea edx, [ebp - 0xb8]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x402251
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0xb8]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x40221e
mov eax, dword [ebp - 0xb0]
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x492e726e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x30834a6
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4320c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10007585
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x1028aeac], 0x37a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100087e1
lea ecx, [0x100076aa]
mov edx, dword [0x1028aeac]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x78], esi
add edx, 0xffffdcc0
mov dword [0x1028aeac], edx
mov dword [esp + 0x34], 0x133800
mov edx, dword [0x1028ae98]
mov dword [esp + 0x4c], edx
mov edx, dword [0x1028ae9c]
mov dword [esp + 0x84], edx
mov edx, dword [0x1028aea0]
mov dword [esp + 0x30], edx
mov edx, dword [0x1028aea4]
mov dword [esp + 0x40], edx
mov edx, dword [0x1028aea8]
mov dword [esp + 0x5c], edx
mov dword [0x1028aeb0], 0x1a2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10007642
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10007656
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x1000761f
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x54], ecx
mov dword [0x1028aeac], 0xd16
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10008676
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1028aeac], 0x4fd
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10007ce2
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov edi, dword [0x1028aeb0]
add edi, 0x1064
mov dword [0x1028aeac], edi
mov dword [0x1028aeb8], 0
mov byte [0x1028aebc], 0
mov dword [0x1028aeb0], 0x1215
mov dword [0x1028aeb4], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1028aeb4]
add eax, 1
mov dword [0x1028aeb4], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10007d39
jmp 0x10007e18
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov edx, 0xffffdcb5
mov esi, 0x100
mov edi, dword [0x1028aeb8]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov eax, ebx
cdq
idiv esi
mov dword [0x1028aeb8], edx
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
mov bl, byte [esi + ebx]
mov byte [0x1028aebc], bl
mov dword [0x1028aeb0], ecx
mov bl, byte [esi + edx]
mov ecx, dword [ebp - 0x28]
mov byte [esi + ecx], bl
mov edx, dword [0x1028aeac]
add edx, 0x2328
mov dword [0x1028aeac], edx
mov bl, byte [0x1028aebc]
mov edx, dword [0x1028aeb8]
mov byte [esi + edx], bl
mov dword [0x1028aeb0], 0x2f0
mov edx, dword [0x1028aeb4]
add edx, 1
mov dword [0x1028aeb4], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
jl 0x10007d64
jmp 0x10007e45
xor eax, eax
mov dword [0x1028aeac], 0x1408
mov dword [0x1028aeb4], 0
mov ecx, dword [0x1028aeb0]
add ecx, 0xffffd9c5
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], eax
jmp 0x10007d64
mov dword [0x1028aeb0], 0x2133
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007e64
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x2c87
mov ebx, 0x1d5a
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [0x1028aeb4], 0
mov dword [0x1028aeb8], 0
mov dword [0x1028aec0], 0
mov dword [0x1028aeac], 0x1d5a
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
je 0x10007ff9
jmp 0x10007ef6
mov eax, dword [0x1028aeac]
add eax, 0xf2d
mov dword [ebp - 0x34], eax
jmp 0x10007ff9
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov edi, 0x100
add ecx, 1
mov dword [ebp - 0x38], eax
mov eax, ecx
mov dword [ebp - 0x3c], edx
cdq
idiv edi
mov dword [0x1028aeb4], edx
mov ecx, dword [ebp - 0x2c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x3c]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x40], edx
cdq
idiv edi
mov dword [0x1028aeb8], edx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x40]
mov cl, byte [ecx + edi]
mov byte [0x1028aebc], cl
add esi, 0xfffff6df
mov dword [0x1028aeac], esi
mov esi, dword [ebp - 0x2c]
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov dword [0x1028aeb0], 0x63b
mov cl, byte [0x1028aebc]
mov edx, dword [0x1028aeb8]
mov byte [esi + edx], cl
mov dword [0x1028aeac], 0xbac
mov edx, dword [0x1028aeb4]
movzx edx, byte [esi + edx]
mov ebx, dword [0x1028aeb8]
movzx ebx, byte [esi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1028aec0], ebx
mov dword [0x1028aeac], 0x1236
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x38]
mov cl, byte [edx + ecx]
xor cl, byte [esi + ebx]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x38]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x44], edx
je 0x10007ee4
mov eax, dword [0x1028aeb4]
mov ecx, dword [0x1028aeb8]
mov edx, dword [0x1028aeac]
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
jmp 0x10007ef6
mov eax, dword [ebp - 0x34]
mov dword [0x1028aeac], eax
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008141
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10008009
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000817d
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x1028aeac], 0xfffff751
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x1028aeb0], 0xffffe77b
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x100081f2
jmp 0x1000823e
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x40], eax
jne 0x10008268
jmp 0x10008295
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x34], edi
jmp 0x100081f2
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x50], ecx
jb 0x1000824e
jmp 0x100081f2
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x40]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x1c]
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 - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
jne 0x100081c5
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x100081fd
jmp 0x10008218
Function at 0x10008676
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov esi, dword [0x1028aeb0]
add esi, 0xfffff0b4
mov dword [0x1028aeb0], esi
mov dword [0x1028aeac], 0x13ed
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x102777a0]
mov dh, byte [eax + 0x10277771]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x100086aa
lea eax, [ebp - 0x24]
mov dword [0x1028aeb0], 0x18e3
mov dword [ebp - 0x34], eax
call fcn.100083c1
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.100084ee
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x100087be
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x1028aeac]
add ecx, 0xffffe855
mov dword [0x1028aeac], ecx
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10007a0f
xor eax, eax
mov dword [0x1028aeb0], 0x26a5
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x20], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x14], ecx
mov esi, dword [0x1028aeb0]
add esi, 0x236
mov dword [0x1028aeac], esi
add ecx, 0x207c
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x100087b5
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x100087e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x168
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [0x1028aeb0], 0x715
mov dword [0x1028aeac], 0x266c
mov edx, ecx
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x134], edx
mov dword [ebp - 0x138], ecx
mov eax, dword [ebp - 0x138]
mov ecx, dword [ebp - 0x134]
lea edx, section..data
imul esi, eax, 0x5c
mov edi, edx
add edi, esi
add edi, 0x38
mov esi, dword [edi]
imul edi, eax, 0x5c
add edx, edi
add edx, 4
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0x34a
mov ecx, edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x138], eax
je 0x100088e5
jmp 0x1000881a
lea eax, [ebp - 0x12c]
mov dword [0x1028aeb0], 0x18e3
mov dword [ebp - 0x140], eax
call fcn.100083c1
mov dword [esp], eax
mov eax, dword [ebp - 0x140]
mov dword [esp + 4], eax
call fcn.100084ee
mov ecx, eax
mov dword [0x1028aec4], eax
mov eax, esp
mov edx, dword [ebp - 0x13c]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x14c], ecx
jmp 0x1000892e
mov dword [0x1028aeac], 0x13ed
xor eax, eax
mov dword [ebp - 0x150], eax
jmp 0x100088f9
mov eax, dword [ebp - 0x150]
mov cl, byte [eax + 0x102777a0]
mov dl, byte [eax + 0x10277771]
sub dl, cl
mov byte [ebp + eax - 0x12c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x150], eax
je 0x10008875
jmp 0x100088f9
mov eax, dword [ebp - 0x14c]
mov ecx, dword [ebp - 0x148]
lea edx, section..data
imul esi, eax, 0x5c
mov edi, edx
add edi, esi
add edi, 0x38
mov esi, dword [edi]
imul edi, eax, 0x5c
mov ebx, edx
add ebx, edi
mov edi, dword [ebx]
imul ebx, eax, 0x5c
add edx, ebx
add edx, 4
movzx edx, word [edx]
xor edx, esi
mov esi, dword [ebp - 0x144]
add esi, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x154], eax
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0x15c], edx
call fcn.10007c49
mov eax, dword [ebp - 0x15c]
mov ecx, dword [ebp - 0x158]
add eax, ecx
mov edx, dword [ebp - 0x154]
add edx, 1
cmp edx, 0x34a
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], edx
jne 0x1000892e
lea eax, [0x1027777f]
mov ecx, 0x20
lea edx, [ebp - 0x10c]
mov esi, dword [0x1028aeac]
add esi, 0xfffffd55
mov dword [0x1028aeac], esi
mov dword [0x1028aeb0], 0x100b
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0x20
mov dword [ebp - 0x160], edx
mov dword [ebp - 0x164], ecx
call fcn.10007ce2
mov dword [0x1028aeac], 0x21fb
mov eax, dword [ebp - 0x160]
mov dword [esp], eax
mov ecx, dword [ebp - 0x144]
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], edx
call fcn.10007e64
xor eax, eax
mov ecx, dword [ebp - 0x144]
add ecx, 0x1292a5
mov edx, dword [ebp - 0x130]
mov dword [edx], ecx
mov dword [edx + 4], 0x133800
mov ecx, dword [ebp - 0x144]
add ecx, 0xd90f9
mov dword [edx + 8], ecx
mov dword [0x1028aeb0], 0x149a
mov dword [edx + 0xc], 0x2000
add esp, 0x168
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100806d9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10084610
cmp edx, dword [eax]
je 0x100806fb
add eax, 8
inc ecx
cmp eax, 0x100846a0
jl 0x100806ec
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10084610]
jne 0x10080829
mov eax, dword [0x10084de0]
cmp eax, 1
je 0x10080803
test eax, eax
jne 0x1008072c
cmp dword [0x10084554], 1
je 0x10080803
cmp edx, 0xfc
je 0x10080829
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10080763
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1007e8e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1007e440
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100807a6
lea eax, [ebp - 0x1a4]
push eax
call fcn.1007e440
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10083494
push edi
call fcn.10081e50
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1007e8e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1007e8f0
lea eax, [ebp - 0xa0]
push 0x10083474
push eax
call fcn.1007e8f0
push dword [esi + 0x10084614]
lea eax, [ebp - 0xa0]
push eax
call fcn.1007e8f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10081db8
add esp, 0x2c
pop edi
jmp 0x10080829
lea eax, [ebp + 8]
lea esi, [esi + 0x10084614]
push 0
push eax
push dword [esi]
call fcn.1007e440
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x509d59
Capabilities:
Encrypt data using curve25519

Disassembly:
sub edi, 0x8c
mov edi, 0x400
and edi, eax
add esi, 0x13
sub edi, eax
sub edi, 0x7f
xor edi, esi
and edi, 0xa2
mov edx, dword [esi]
and edi, 0x800
add edi, 0xf0
mov esi, ebp
add esi, 0x5b
xor edx, dword [esi]
mov esi, ebp
add esi, 0x2f
xor edi, 0x5f
add edi, 0xb0
and edi, 0xf4
sub edx, 0x45dc71eb
or edi, 0x400
add edi, 4
xor edi, 0xf8
and edi, edi
mov esi, ebp
xor edi, ebx
add edi, ebx
add edi, 0xe6
and edi, 0x28
add esi, 0x53
xor edi, 0xe6
or edi, 2
mov ebx, dword [esi]
sub edi, 0xe6
xor edi, 0x70
mov esi, ebp
sub edi, edi
or edi, 0x48
or edi, 0xbf
add esi, 0x43
sub edi, 0x8c
or edi, 0x1d
or edi, eax
xor ebx, dword [esi]
sub edi, 0x7b
sub edi, ebx
xor edi, 0x16
mov esi, ebp
or edi, 0xf
add esi, 0x5b
sub edi, esi
xor edi, eax
xor edi, 0xffff
sub ebx, dword [esi]
mov edi, 0xa
mov ecx, ebx
mov esi, ebp
xor edi, 0xa2
add esi, 0xbf
sub edi, 0xd0
or edi, ebx
mov al, byte [esi]
xor al, 0xcc
mov edi, 0
sub edi, 0x40
sub edi, 0xf8
xor edi, ebx
mov ebx, 0
and edi, 0x40
xor edi, eax
mov esi, ebp
add edi, 0xc1
add esi, 0x4b
add edi, edx
or edi, 0x28
mov edi, 0xa
and edi, 0x80
xor edi, esi
mov esi, dword [esi]
mov edi, 0x200
or edi, 0x7b
xor edi, 0xf
xor edi, 4
add esi, 0xc
mov bx, word [esi]
and edi, 0x28
add ebx, ebp
push dword [ebx]
cmp al, 1
jne 0x509f09
and edi, 0x70
and edi, edi
mov edi, 0xa
popfd
shr dl, cl
pushfd
add edi, 0xe6
xor edi, 0x7fffffff
or edi, 0x20
sub edi, 0xd7
cmp al, 2
jne 0x509f24
or edi, 0x20
popfd
shr dx, cl
pushfd
or edi, 0x7f
sub edi, edi
cmp al, 3
jne 0x509f45
xor edi, edx
or edi, 0xa2
and edi, 0x7f
sub edi, eax
mov edi, 0x400
popfd
shr edx, cl
pushfd
and edi, esi
and edi, 0xf0
and edi, edx
sub edi, ebx
and edi, 0xa2
sub edi, edx
sub edi, eax
xor edi, edx
and edi, 0x35
sub edi, ebx
sub edi, 2
and edi, 0x3b
and edi, 0xd7
mov esi, ebp
sub edi, ebx
add esi, 0x12
and edi, 0xa2
mov bl, byte [esi]
cmp bl, 0xb
jbe 0x509fdf
xor edi, 0x1c
xor edi, eax
xor edx, 0x45dc71eb
or edi, esi
mov edi, ebx
sub edi, 0x16
add byte [ecx + 0x7bc7], al
add byte [ecx + 0xfcf], al
add byte [ecx - 0x78397e12], cl
add byte [eax], al
add byte [ecx + 0x52e916], cl
add byte [eax], al
sub edi, 0x84
xor edx, 0x5ee61353
add edi, 0x8f
mov esi, ebp
sub edi, 2
xor edi, edx
add esi, 0x43
xor edi, 0x9a
mov dword [esi], edx
add edi, 0x20
xor edi, edx
add edi, 0xc1
or edi, 0x8b
Function at 0x53ca34
Capabilities:
Parse pe header

Disassembly:
mov eax, esi
pop esi
pop ebp
ret
mov dword [0x4c5bc0], eax
jmp 0x4e2c50
cmp word [eax], 0x4550
jmp 0x4f9975
push ebp
mov ebp, 0x7ff7ad86
push eax
mov eax, 0x3cfa5597
xor eax, 0x7302d176
sub ebp, eax
pop eax
add eax, ebp
pop ebp
sub eax, 0x6e1b2e76
add eax, esi
add eax, 0x6e1b2e76
push ebp
mov ebp, 0x2fff28a5
sub eax, ebp
pop ebp
jmp 0x4e2c46
je 0x418026
jmp 0x55fe3c
push ebp
mov ebp, esp
push edi
mov dword [esp], eax
push 4
pop eax
add ebp, eax
pop eax
sub ebp, 4
xchg dword [esp], ebp
pop esp
mov dword [esp], ecx
push ecx
mov ecx, esp
add ecx, 4
sub ecx, 4
xchg dword [esp], ecx
pop esp
mov dword [esp], eax
mov eax, 0x1ffff808
sub ecx, eax
pop eax
sub ecx, 0x4ff98521
add ecx, eax
add ecx, 0x4ff98521
add ecx, 0x1ffff808
push dword [esp]
pop ecx
push ebp
mov ebp, esp
push ecx
mov ecx, 4
add ebp, ecx
pop ecx
add ebp, 4
xchg dword [esp], ebp
mov esp, dword [esp]
push dword [eax + 0x3c]
push dword [esp]
mov eax, dword [esp]
push eax
mov eax, esp
add eax, 4
add eax, 4
xchg dword [esp], eax
pop esp
add esp, 4
push ecx
push eax
mov eax, 0x3c430061
mov dword [esp + 4], eax
pop eax
mov dword [esp], ebp
mov dword [esp], ecx
push ebp
mov ebp, 0x3c8b1012
add ecx, ebp
mov ebp, dword [esp]
add esp, 4
sub ecx, 0x52f7f01e
add ecx, eax
push ebx
mov ebx, 0x52f7f01e
add ecx, ebx
pop ebx
sub ecx, 0x3c8b1012
mov ecx, dword [esp]
push 0x4cfd80ad
mov dword [esp], eax
push esp
pop eax
add eax, 4
add eax, 4
xchg dword [esp], eax
mov esp, dword [esp]
jmp 0x4e6510

Function at 0x57ce19
Capabilities:
Encode data using xor

Disassembly:
test ebp, eax
dec edx
sub dword [ecx], ebx
adc eax, 0xa180cf7f
dec edx
sti
pop edx
inc esi
push edx
test dword [ebx*2 + 0x4e9f1e90], edi
mov gs, word [edx]
xor dl, byte [edi + 0x5591ee02]
pop ecx
or al, 0x98
aaa
jnp 0x57cea2
in al, dx
nop
test al, 0xef
or al, 0x5a
xlatb
popal
cmpsd dword [esi], dword es:[edi]
mov esi, 0xdfb3b93
lahf
mov byte [0x40975ddc], al
jne 0x57ce77
or eax, 0xa7838e7c
cmc
mov dh, 0xb
frstor dword [edx + esi*4 - 0x3949ae81]
sar byte [ebx], 1
inc ebp
test byte [esi - 0x37], bh
invalid
push cs
div byte [edx]
dec ebx
sbb dword [edx], ebp
invalid
add dh, byte ds:[ecx + 0x201d8a6c]
out dx, al
jmp 0x57cf13
lahf
add al, 0x10
pop esp
or dh, byte [ecx - 0x54e572d]
cmc
xchg dword [ebx - 0x2c], eax
mov bl, 0xc8
insd dword es:[edi], dx
stosd dword es:[edi], eax
ja 0x57cf64
jle 0x57cf0f
shl byte [ebx], cl
mov dword [edi - 0x230d5e33], esp
xor byte [edi + 0x8f54eda], 0x8b
insb byte es:[edi], dx
mov ch, 0xe2
mov cl, 0x40
pop ds
jge 0x57cf60
scasb al, byte es:[edi]
cmpsb byte [esi], byte es:[edi]
push es
mov dword [edx - 0x1b], eax
add byte [esi - 0x38], ch
imul ebx, edi, 0x8482b972
and al, 0x20
mov ebx, 0xdb012d1b
cmp dh, byte [ebx]
jno 0x57cf25
sub dword [esi - 0x72], esp
fstp dword [esi - 0x5e]
fst qword [edi]
push ds
loope 0x57cfbc
loope 0x57cfbc
mov cl, 0x67
dec eax
out dx, al
push 0xffffffffffffff9c
retf 0x2064
imul esp, dword [ebx + 0x18], 0x52
invalid