joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419e00
Capabilities:
Terminate process
Write file on windows

Disassembly:
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x104
sub ebp, 0x182
mov dword [ebp + 0x17e], 1
cmp dword [0x42a390], 0
je 0x419e36
xor esi, esi
mov dword [ebp + 0x17e], 2
mov dword [0x42a390], esi
push ecx
push ebx
push edx
push eax
push 0x419db0
push 0x100
lea eax, [ebp + 0x7e]
push eax
call fcn.0041d2a0
add esp, 0x1c
cmp byte [0x42a708], 0
je 0x419fa6
lea edi, [ebp + 0x7e]
sub ecx, ecx
dec ecx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x15
and cl, 0xfc
call fcn.004187a0
cmp ecx, eax
jae 0x419f7b
lea edi, [ebp + 0x7e]
sub ecx, ecx
dec ecx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
add ecx, 0x15
and cl, 0xfc
push ecx
lea edi, [ebp + 0x7e]
call fcn.004187f8
sub ecx, ecx
dec ecx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [ecx + 0x15]
and al, 0xfc
sub esp, eax
mov edx, esp
mov esi, 0x419deb
mov edi, edx
push edi
mov al, byte [esi]
mov byte [edi], al
cmp al, 0
je 0x419ecc
mov al, byte [esi + 1]
add esi, 2
mov byte [edi + 1], al
add edi, 2
cmp al, 0
jne 0x419eb4
pop edi
mov esi, 0x419de8
push edi
sub ecx, ecx
dec ecx
mov al, 0
repne scasb al, byte es:[edi]
dec edi
mov al, byte [esi]
mov byte [edi], al
cmp al, 0
je 0x419ef3
mov al, byte [esi + 1]
add esi, 2
mov byte [edi + 1], al
add edi, 2
cmp al, 0
jne 0x419edb
pop edi
lea esi, [ebp + 0x7e]
mov ebx, edx
push edi
sub ecx, ecx
dec ecx
mov al, 0
repne scasb al, byte es:[edi]
dec edi
mov al, byte [esi]
mov byte [edi], al
cmp al, 0
je 0x419f1a
mov al, byte [esi + 1]
add esi, 2
mov byte [edi + 1], al
add edi, 2
cmp al, 0
jne 0x419f02
pop edi
call fcn.004187a0
cmp eax, 0x14
jbe 0x419f82
push 0x14
call fcn.004187f8
mov eax, 0x14
sub esp, eax
mov edx, esp
mov eax, dword [ebp + 0x17e]
push eax
push 0x419dd7
push edx
call fcn.0041d300
add esp, 0xc
cmp byte [0x42a708], 0
je 0x419f68
mov eax, ds
and eax, 0xffff
push eax
push edx
int3
cmp byte [0x42a708], 0
jne 0x419f86
lea esp, [ebp + 0x182]
pop ebp
pop edi
pop esi
ret
xor edx, edx
jmp 0x419eac
xor edx, edx
jmp 0x419f35
mov edx, ds
and edx, 0xffff
push edx
push ebx
int3
lea edx, [ebp + 0x7e]
mov eax, 0x419deb
call fcn.0041d340
jmp 0x41d3a6
cmp dword [0x42a70c], 0
je 0x41d3b5
call dword [0x42a70c]
call fcn.0041d3ba
Function at 0x41b390
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov esi, ebx
mov dword [0x46f988], eax
mov dword [0x42a3f0], edx
call fcn.0041d8a0
xor eax, eax
mov dword [0x46ffb8], eax
call dword [sym.imp.KERNEL32.DLL_GetVersion]
mov edx, eax
mov byte [0x42a3d5], al
shr eax, 0x10
mov word [0x42a3d7], ax
xor eax, eax
mov ax, word [0x42a3d7]
and edx, 0xffff
mov dword [0x42a3d9], eax
xor eax, eax
sar edx, 8
mov al, byte [0x42a3d5]
and edx, 0xff
mov dword [0x42a3dd], eax
xor eax, eax
mov al, dl
mov byte [0x42a3d6], dl
mov dword [0x42a3e1], eax
mov eax, dword [0x42a3dd]
mov edx, dword [0x42a3e1]
shl eax, 8
or eax, edx
mov dword [0x42a3e5], eax
cmp byte [0x42a3d5], 4
jae 0x41b4b7
mov eax, 0x41b328
push eax
xor edx, edx
push 0x41b355
mov dword [0x42a3d1], edx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edx, eax
test eax, eax
je 0x41b44a
call edx
mov dword [0x42a3d1], eax
push 0x104
push 0x46f98c
push 0
mov ebx, 0x208
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov edx, 0x46fa90
xor eax, eax
mov dword [0x42a3a0], 0x46f98c
call fcn.0041dce0
mov dword [0x42a3ac], 0x46fa90
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
call fcn.0041dd80
mov edx, eax
mov bl, byte [eax]
mov dword [0x46f980], eax
cmp bl, 0x22
je 0x41b4c1
xor edx, edx
mov dl, byte [eax]
test byte [edx + 0x41a1f1], 2
je 0x41b4d9
xor edx, edx
mov dl, byte [eax]
test byte [edx + 0x41a1f1], 2
je 0x41b4e0
inc eax
jmp 0x41b4a7
mov eax, 0x41b33e
jmp 0x41b422
inc eax
cmp bl, byte [eax]
je 0x41b4d1
cmp byte [eax], 0
je 0x41b4d1
inc eax
cmp byte [eax], 0x22
jne 0x41b4c6
cmp byte [eax], 0
je 0x41b4a7
inc eax
jmp 0x41b4a7
test dl, dl
je 0x41b4a7
inc eax
jmp 0x41b49a
mov dword [0x42a39c], eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
test eax, eax
je 0x41b556
call fcn.0041ddc0
mov edx, eax
mov bx, word [eax]
mov dword [0x46f984], eax
cmp bx, 0x22
je 0x41b529
xor eax, eax
mov ax, word [edx]
call fcn.0041dde7
test eax, eax
je 0x41b54b
xor eax, eax
mov ax, word [edx]
call fcn.0041dde7
test eax, eax
je 0x41b55b
add edx, 2
jmp 0x41b516
lea edx, [eax + 2]
cmp bx, word [edx]
je 0x41b540
cmp word [edx], 0
je 0x41b540
add edx, 2
cmp word [edx], 0x22
jne 0x41b531
cmp word [edx], 0
je 0x41b516
add edx, 2
jmp 0x41b516
cmp word [edx], 0
je 0x41b516
add edx, 2
jmp 0x41b508
mov edx, 0x41b362
mov dword [0x42a3a8], edx
test edi, edi
jne 0x41b56e
mov eax, 1
pop edi
pop esi
pop ecx
ret
push 0x104
push 0x46fc98
push esi
mov ebx, 0x208
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov edx, 0x46fd9c
mov eax, esi
mov dword [0x42a3a4], 0x46fc98
call fcn.0041dce0
mov dword [0x42a3b0], 0x46fd9c
mov eax, 1
pop edi
pop esi
pop ecx
ret
Function at 0x41b6e0
Capabilities:
Read file on windows

Disassembly:
push ecx
sub esp, 4
test eax, eax
jl 0x41b711
cmp eax, dword [0x42a848]
jae 0x41b711
push 0
lea ecx, [esp + 4]
push ecx
push ebx
push edx
call fcn.0041d7d0
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x41b728
mov eax, dword [esp]
add esp, 4
pop ecx
ret
call dword [0x42a3f4]
mov dword [eax + 4], 4
mov eax, 0xffffffff
add esp, 4
pop ecx
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
call fcn.0041dc60
cmp edx, 0x6d
jne 0x41b740
cmp dword [esp], 0
je 0x41b709
mov eax, 0xffffffff
add esp, 4
pop ecx
ret

Function at 0x41cfa0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edx
push 0x40
push 0x1000
mov edx, dword [eax]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop edx
pop ecx
ret

Function at 0x41d3ba
Capabilities:
Terminate process
Write file on windows

Disassembly:
push edx
mov edx, 0xff
mov eax, 0x41d391
jmp fcn.0041a1d0

Function at 0x41eee0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push edi
push ebp
sub esp, 8
mov esi, eax
mov ebp, edx
mov edi, ebx
test eax, eax
jl 0x41ef74
cmp eax, dword [0x42a848]
jae 0x41ef74
call fcn.0041d7d0
mov edx, eax
mov dword [esp + 4], eax
mov eax, esi
xor ebx, ebx
call fcn.0041ed40
test al, 0x80
je 0x41ef38
mov eax, esi
call dword [0x42a4ac]
push 2
push 0
push 0
push edx
mov ebx, 1
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
cmp eax, 0xffffffff
je 0x41ef88
push 0
lea eax, [esp + 4]
push eax
push edi
push ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x41ef92
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
cmp ebx, 1
jne 0x41ef65
mov eax, esi
call dword [0x42a4b0]
mov eax, edx
call fcn.0041dc60
add esp, 8
pop ebp
pop edi
pop esi
pop ecx
ret
call dword [0x42a3f4]
mov dword [eax + 4], 4
mov eax, 0xffffffff
jmp 0x41ef6c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
jmp 0x41ef5d
cmp edi, dword [esp]
je 0x41efa4
call dword [0x42a3f4]
mov dword [eax + 4], 0xc
cmp ebx, 1
jne 0x41efb1
mov eax, esi
call dword [0x42a4b0]
mov eax, dword [esp]
add esp, 8
pop ebp
pop edi
pop esi
pop ecx
ret

Function at 0x41f200
Capabilities:
Terminate process

Disassembly:
push edx
push ebp
mov ebp, esp
mov eax, dword [0x42a3bc]
add eax, 3
and al, 0xfc
mov edx, dword [0x42a3bc]
sub esp, eax
mov eax, esp
add eax, edx
mov dword [0x42a3c0], eax
call fcn.00420090
mov edx, dword [0x4700d4]
mov eax, dword [0x4700d0]
call fcn.004073f0
jmp fcn.00419613
Function at 0x420e80
Capabilities:
Set environment variable

Disassembly:
push ebx
push ecx
push edx
push esi
push edi
push ebp
sub esp, 0x18
mov ebp, eax
mov dword [esp], 2
mov edx, 0x3d
mov dword [esp + 4], 1
call fcn.00421110
mov ebx, eax
test eax, eax
je 0x420eae
cmp eax, ebp
jne 0x420ebd
mov eax, 0xffffffff
add esp, 0x18
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
sub eax, ebp
mov dword [esp + 0xc], eax
inc eax
call fcn.00419a30
mov edx, eax
mov dword [esp + 8], eax
test eax, eax
je 0x420eae
mov ecx, dword [esp + 0xc]
mov esi, ebp
mov edi, eax
push edi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov cl, al
and cl, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, dword [esp + 0xc]
lea esi, [ebx + 1]
mov byte [edx + eax], 0
mov eax, esi
call fcn.00421170
mov dword [esp + 0x14], eax
test eax, eax
je 0x420f86
inc eax
call fcn.00419a30
mov ebx, eax
mov dword [esp + 0x10], eax
test eax, eax
je 0x420f70
mov ecx, dword [esp + 0x14]
mov edi, eax
add ebx, dword [esp + 0x14]
push edi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov cl, al
and cl, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov byte [ebx], 0
mov edi, dword [esp + 0x10]
push edi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableA]
mov edx, eax
mov eax, dword [esp + 8]
call fcn.00419b20
mov eax, edi
call fcn.00419b20
test edx, edx
jne 0x420f8c
test edi, edi
jne 0x420eae
xor eax, eax
add esp, 0x18
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
mov eax, edx
call fcn.00419b20
mov eax, 0xffffffff
add esp, 0x18
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
mov dword [esp + 0x10], eax
jmp 0x420f36
mov eax, ebp
call fcn.004211a0
test eax, eax
jne 0x420eae
cmp dword [0x46ffbc], 0
je 0x420eb3
mov eax, ebp
call fcn.00421170
lea ebx, [eax + 1]
mov eax, dword [esp]
imul eax, ebx
call fcn.00419a30
mov ecx, eax
test eax, eax
je 0x420ff7
imul ebx, dword [esp + 4]
mov edx, ebp
call fcn.00421230
cmp eax, 0xffffffff
jne 0x421013
mov eax, ecx
call fcn.00419b20
call dword [0x42a3f4]
mov dword [eax + 4], 0xe
mov eax, 0xffffffff
add esp, 0x18
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
call dword [0x42a3f4]
mov dword [eax + 4], 5
mov eax, 0xffffffff
add esp, 0x18
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
mov eax, ecx
call fcn.004212b0
add esp, 0x18
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x4038fa
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040fa], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404658], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045ec], eax
mov dword [0x4040f2], eax
mov dword [0x4045d8], 0x30
mov dword [0x4045dc], 2
jmp 0x40393f
mov dword [0x4045e0], 0x403153
mov dword [0x4045e4], 0
mov dword [0x4045e8], 0
mov dword [0x404600], 0x40454e
mov dword [0x4045f8], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045f0], eax
mov dword [0x404604], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045f4], eax
push 0x4045d8
fadd dword [ebp + 0x40]
add bh, bh
adc eax, sym.imp.user32.dll_RegisterClassExA
push 0
push dword [0x4040f2]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.asdlkjalsdj_ai8
push 0x40454e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404650], eax
push 5
push dword [0x404650]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404650]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404608]
jmp 0x403a13
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a05
mov eax, dword [0x404610]
jmp 0x403a2e
call 0x402bd5
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x60641549
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x430060
nop
nop
nop
nop
nop
mov eax, str.Ln
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x4c3c21de
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219

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

Disassembly:
pushal
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
nop
sub eax, 0x403e10
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x91b530
Capabilities:
Encode data using xor

Disassembly:
pushal
call 0x91b536
pop ebp
sub ebp, 6
sub ebp, 0x51b530
jmp 0x91b594
dec eax
xor esp, edi
into
and byte [ebx - 0x45c73232], ch
jb 0x91b572
into
int 0x38
mov edx, 0x172
add byte [eax], al
add byte [eax], al
jb 0x91b5e1
add byte [edx + 0x6b], dh
sub ah, byte [edx + 0x200f4e81]
fist dword [ebp + 0x6a56d85a]
mov ebx, dword [esi + 0x486ebe51]
fisub word [edx]
mov ebp, 0x77e2a302
mov byte [esi - 0x10], bh
shl dword [edi - 0x17], 1
add al, 0
add byte [eax], al
xchg edx, eax
rcl byte [eax]
mov eax, 0x51b530
jmp 0x91b59d
mov eax, 0x51b530
add eax, ebp
add eax, 0x93
mov ecx, 0x63d
mov edx, 0xbf42da60
xor byte [eax], dl
inc eax
dec ecx
jne 0x91b5b4
jmp 0x91b5c7
or ah, byte [eax]
or byte [eax + 0x70], ah
pushal
pushal
or byte [eax - 0x54], ah
dec esp
pushal
loope 0x91b565
sub byte [ecx], ch
retf
sub ebx, ecx
loope 0x91b56b
sub byte [ecx], ch
retf
xor byte [edi + 0x27815cf5], bl
pushal
xor bl, ch
lodsd eax, dword [esi]
jmp 0x91b5d6
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40501c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x405028
push 0x405024
push 0x405020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x405028]
push dword [0x405024]
push dword [0x405020]
mov dword [0x405014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x412890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x4128b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4128b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4128a8
mov eax, 1
add ebx, ebx
jne 0x4128cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4128c0
jne 0x4128dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4128c0
xor ecx, ecx
sub eax, 3
jb 0x4128f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x412962
mov ebp, eax
add ebx, ebx
jne 0x4128fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x412908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41292c
inc ecx
add ebx, ebx
jne 0x412918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41290d
jne 0x412929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41290d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41294c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41293d
jmp 0x4128ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41294c
add edi, ecx
jmp 0x4128ae
pop esi
lea edi, [esi + 0x10000]
mov eax, dword [edi]
or eax, eax
je 0x4129b4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x412969
mov ecx, edi
jns 0x412998
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 + 0x12068]
or eax, eax
je 0x4129ae
mov dword [ebx], eax
add ebx, 4
jmp 0x412986
call dword [esi + 0x12078]
mov ebp, dword [esi + 0x1206c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4129e8
sub esp, 0xffffff80
jmp 0x40fcac
Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.004019f0
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x404731]
lea edx, [fcn.00401a74]
sub eax, edx
push eax
push fcn.00401a74
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x40132d
push edi
call fcn.004018e0
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.0040192f
mov eax, edi
add eax, 0x1e200
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov esi, dword [ebp - 0x88]
mov ecx, edi
sar esi, cl
push esi
lea esi, [0x4070e4]
mov ebx, edi
dec ebx
and esi, ebx
push esi
call fcn.00401a74
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4019f0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push edi
and dword [ebp - 0x120], 0
xor edi, edi
push 0
push 0
call sub.USER32.DLL_GetWindowLongA
push 0
push 0
call sub.USER32.DLL_GetDlgItem
push 0
push 0
push 0
push 0
call sub.USER32.DLL_GetDlgItemInt
mov dword [ebp - 0x11c], 0x14
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
mov eax, edi
pop edi
leave
ret

Function at 0x408974
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
mov eax, dword [esp]
add esp, 4
add esi, 0x40a5d909
call fcn.004089a3
sub esi, edi
xor dword [edx], eax
add edi, edi
add edx, 1
or esi, edi
add edi, 0x615be68c
cmp edx, ecx
jne fcn.00408974
ret
Function at 0x100e2c77
Capabilities:
Terminate process

Disassembly:
jmp 0x1024d2f2
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x1024d303
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.100e751f
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x100e2ea2
Capabilities:
Query environment variable

Disassembly:
jmp 0x1029be66
mov edi, edi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1029be7a
xor edi, edi
jmp 0x1029beb1
push ebx
push esi
call fcn.1029bd70
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.100e40db
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1029bea1
push ebx
push esi
push edi
call fcn.100e7155
add esp, 0xc
push 0
call fcn.100e879e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
pop ebx
mov eax, edi
pop edi
pop esi
ret
Function at 0x10117730
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0x40
push 0x3000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x101177c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x101177ef
mov dword [ebp - 0x4c], 1
jmp 0x101177f6
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x4c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101e33e0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x10337330]
mov dword [ebp - 4], eax
jmp 0x101e33fb
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x101e3411
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
je 0x101e340f
mov eax, dword [ebp - 4]
jmp 0x101e348b
jmp 0x101e33f3
push 0x40
push 0x3000
push 0x1000
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x101e3488
mov eax, dword [ebp - 4]
add eax, 0x20
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [eax], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
add eax, 0x20
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
cmp eax, 0xfe0
jbe 0x101e344b
mov eax, dword [ebp - 4]
mov ecx, dword [0x10337330]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
mov dword [0x10337330], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret