joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439839
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x439847
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x439902
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471390]
movzx ebx, byte [edx + 1]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471390]
movzx ebx, byte [edx + 2]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471390]
movzx ebx, byte [edx + 3]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471390]
movzx ebx, byte [edx + 4]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471390]
movzx ebx, byte [edx + 5]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471390]
movzx ebx, byte [edx + 6]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471390]
movzx ebx, byte [edx + 7]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x471390]
add edx, 8
sub edi, 8
dec esi
jne 0x439865
pop ebx
test edi, edi
je 0x43991b
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x471390]
inc edx
dec edi
jne 0x439906
pop edi
not eax
pop esi
pop ebp
ret

Function at 0x439dc8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x439dfc
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x439df7
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x439e24
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x439e0d
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0044fac0
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x43ac46
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x489d38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43acee
movzx ecx, word [esi]
test cx, cx
je 0x43acee
mov eax, esi
mov edx, esi
cmp cx, 0x2f
je 0x43ac81
cmp cx, 0x5c
jne 0x43ac83
mov eax, edx
add edx, 2
movzx ecx, word [edx]
test cx, cx
jne 0x43ac75
cmp eax, esi
je 0x43acc2
push edi
sub eax, esi
mov edi, eax
sar edi, 1
push edi
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0045214b
xor eax, eax
mov word [ebp + edi*2 - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.0043ac46
add esp, 0x14
pop edi
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00452f78
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.00452f47
add esp, 0x10
push 0
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004501e2
leave
ret
Function at 0x43c21b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x43c296
cmp dword [esi + 4], 0xffffffff
jne 0x43c296
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x46c13c
push edi
call fcn.00452f47
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x43c268
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x43c268
mov eax, 0x2000000
jmp 0x43c29b
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00439bd5
add esp, 0x10
test eax, eax
jne 0x43c286
mov eax, dword [ebp + 0x10]
jmp 0x43c29b
push eax
call fcn.0043be0a
mov dword [esi], eax
mov eax, dword [0x48b86c]
pop ecx
jmp 0x43c29b
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x4425fd
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x4d4], ebx
je 0x442665
cmp dword [ebp + 8], 0x100
jne 0x442654
cmp word [ebp + 0xc], 0xd
jne 0x442654
cmp byte [esi + 0x4da], bl
je 0x44263b
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x442654
cmp byte [esi + 0x4db], bl
jne 0x442654
mov ecx, dword [esi + 0x40]
cmp ecx, ebx
je 0x442650
push ebx
push ebx
push ebx
push 0x471da0
push esi
call fcn.00425f37
xor eax, eax
jmp 0x442668
mov eax, dword [esi + 0x4d4]
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop esi
pop ebx
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x44dc76
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x489d38]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x18], bl
je 0x44dce7
cmp dword [esi + 0x10], ebx
je 0x44dce7
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.00452910
mov dword [ebp - 8], esp
cmp esp, ebx
je 0x44dce7
push edi
push dword [ebp - 8]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push dword [ebp - 8]
add ecx, 0x1b8
call fcn.00423e05
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push ebx
push ebx
push ebx
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00425f37
xor eax, eax
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004501e2
leave
ret 0x10

Function at 0x4501e2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x489d38]
jne 0x4501ec
repz ret
jmp fcn.004564cf
Function at 0x460c49
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x489d38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0045666b
and dword [ebp - 0x14], 0
cmp dword [0x48c8c8], 0
mov dword [ebp - 0x18], eax
jne 0x460cfc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x460da4
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4768ec
push ebx
call edi
test eax, eax
je 0x460da4
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x48c8c8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x48c8cc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x48c8d0], eax
call edi
push eax
call esi
mov dword [0x48c8d8], eax
test eax, eax
je 0x460cfc
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x48c8d4], eax
mov eax, dword [0x48c8d4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x460d55
cmp dword [0x48c8d8], ecx
je 0x460d55
push eax
call esi
push dword [0x48c8d8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x460d55
test ebx, ebx
je 0x460d55
call edi
test eax, eax
je 0x460d4c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x460d4c
test byte [ebp - 8], 1
jne 0x460d55
or dword [ebp + 0x10], 0x200000
jmp 0x460d88
mov eax, dword [0x48c8cc]
cmp eax, dword [ebp - 0x18]
je 0x460d88
push eax
call esi
test eax, eax
je 0x460d88
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x460d88
mov eax, dword [0x48c8d0]
cmp eax, dword [ebp - 0x18]
je 0x460d88
push eax
call esi
test eax, eax
je 0x460d88
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x48c8c8]
call esi
test eax, eax
je 0x460da4
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x460da6
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004501e2
leave
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430004
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
mov ecx, 0x748c195e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x7364313e
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x17dfb3c0
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x17dfb4c7
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp dword [0x17e908b4], 0
mov dword [0x17e908bc], eax
jne 0x17dfb41f
cmp al, 3
jne 0x17dfb3f6
test eax, 0x80000000
je 0x17dfb3f6
push 2
call fcn.17dfc420
add esp, 4
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x17dfb41f
push str.IsTNT
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x17dfb41f
push 1
call fcn.17dfc420
add esp, 4
call fcn.17dfb950
test eax, eax
jne 0x17dfb42d
xor eax, eax
ret 0xc
xor edx, edx
mov ecx, dword [0x17e908bc]
mov dl, ch
mov eax, ecx
shr ecx, 0x10
and eax, 0xff
mov dword [0x17e908c8], edx
mov dword [0x17e908c4], eax
shl eax, 8
mov dword [0x17e908bc], ecx
add eax, edx
mov dword [0x17e908c0], eax
call fcn.17dfb780
test eax, eax
jne 0x17dfb46f
call fcn.17dfb990
xor eax, eax
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x17e82084], eax
call fcn.17e9bd16
cmp dword [0x17e82084], 0
mov dword [0x17e908a4], eax
je 0x17dfb4b8
test eax, eax
je 0x17dfb4b8
call fcn.17dfb9d0
call fcn.17dfc280
call fcn.17dfbd00
call fcn.17dfbc10
call fcn.17dfb620
mov eax, 1
inc dword [0x17e908a0]
ret 0xc
call fcn.17dfb7e0
call fcn.17dfb990
xor eax, eax
ret 0xc
test eax, eax
jne 0x17dfb504
mov eax, dword [0x17e908a0]
test eax, eax
jle 0x17dfb4ff
dec eax
cmp dword [0x17e908f4], 0
mov dword [0x17e908a0], eax
jne 0x17dfb4e8
call fcn.17dfb670
call fcn.17dfbbb0
call fcn.17dfb7e0
call fcn.17dfb990
mov eax, 1
ret 0xc
xor eax, eax
ret 0xc
cmp eax, 3
jne 0x17dfb513
push 0
call fcn.17dfb8a0
add esp, 4
mov eax, 1
ret 0xc

Function at 0x17dfb680
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
call fcn.17dfb740
cmp dword [0x17e908f8], 1
mov esi, dword [esp + 0x10]
jne 0x17dfb6a3
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x17e908f4], 1
cmp dword [esp + 0x14], 0
mov ebx, dword [esp + 0x18]
mov byte [0x17e908f0], bl
jne 0x17dfb6fd
cmp dword [0x17e8207c], 0
je 0x17dfb6eb
mov edi, dword [0x17e82078]
sub edi, 4
cmp edi, dword [0x17e8207c]
jb 0x17dfb6eb
mov eax, dword [edi]
test eax, eax
je 0x17dfb6e0
call eax
sub edi, 4
cmp edi, dword [0x17e8207c]
jae 0x17dfb6d8
push 0x17e8f01c
push 0x17e8f014
call fcn.17dfb760
add esp, 8
push 0x17e8f024
push 0x17e8f020
call fcn.17dfb760
add esp, 8
test ebx, ebx
je 0x17dfb71c
call fcn.17dfb750
pop edi
pop esi
pop ebx
ret
mov dword [0x17e908f8], 1
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x17e96250
Capabilities:
Encode data using xor

Disassembly:
call 0x17e961c9
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 0x17e961f9
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 0x17e96215
xor edx, 0
jmp 0x17e96220
xor edx, edx
jmp 0x17e96237
jmp 0x17e96243
xor eax, eax
push 0x8427d7c0
call 0x17e96250
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x17e9628c
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 0x17e96265
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 0x17e962a3
add eax, 0
jno 0x17e962a8
add esi, 0
ret 0x10

Function at 0x17e97011
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 0x17e97033
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 0x17e971d5
cmp edi, dword [ebp + 0x10]
jb 0x17e971d5
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.17e96afd
inc edi
jmp 0x17e970bc
jmp 0x17e970c9
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.17e96afd
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.17e96afd
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 0x17e9711d
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 0x17e97101
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.17e9714b
add dword [eax], 0x39
jle 0x17e97127
sub al, 0xf5
mov ch, al
call fcn.17e97160
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x17e98e38
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 0x17e98e4e
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 0x17e98e5f
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.17e98ea0
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 0x17e9b20c
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 0x17e9b155
add ebx, 0
push ecx
call 0x17e9b16a
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, 0x71b9a00c
sub ebx, dword [0x71bb984b]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x71bb983b
call fcn.17e96c34
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.17e96142
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x17e9b2c8
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x17e9b2c8
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 0x17e9b27f
mov eax, 1
lock xchg dword [0x71bb9847], eax
push 0x3dd1fc71
call 0x17e9b20c
push esi
add esp, 8
cmp eax, 0
jne 0x17e9b1f5
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x17e9b21b
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x17e9b230
cmp ecx, edx
cmp eax, 0
je 0x17e9b255
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 0x17e9b23f
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.17e9b26e
dec eax
loope 0x17e9b271
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x71bb9847], 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 0x17e9b2a5
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x17e9b2ba
jmp 0x17e9b2c5
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x17e9b1b3
Function at 0x17ea232d
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 0x17ea2603
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x71ba64bf
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x71b9d485
push 0xffffffffffffffff
call fcn.17e9952d
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 0x17ea2397
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.17ea23af
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 0x17ea25f7
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x17ea25cb
Function at 0x17eb1dfd
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 0x17eb1e1f
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x17eb1e1f
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x17eb1e1f
ret
cmp word [ebx + 4], 0x14c
jne 0x17eb1e1f
test word [ebx + 0x16], 2
je 0x17eb1e1f
test word [ebx + 0x16], 0x100
je 0x17eb1e1f
cmp word [ebx + 0x18], 0x10b
jne 0x17eb1e1f
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x17eb1e1f
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x17eb1eab
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x17eb1e3f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.17e98d8a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x17eb1e1f
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 0x17eb1eab
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 0x17eb1e1f
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x17eb1e1f
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x17eb1e1f
ret
cmp word [ebx + 4], 0x14c
jne 0x17eb1e1f
test word [ebx + 0x16], 2
je 0x17eb1e1f
test word [ebx + 0x16], 0x100
je 0x17eb1e1f
cmp word [ebx + 0x18], 0x10b
jne 0x17eb1e1f
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x17eb1e1f
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x17eb1eab
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x17eb1e3f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.17e98d8a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x17eb1e1f
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 0x17eb1f62
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x17eb1fbb
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x17eb1f62
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x17eb1f71
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x182b7c14
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x17eb1fc2
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.17e98e38
cmp eax, dword [ebp + 0xc]
pop eax
je 0x17eb2061
add edi, 4
add eax, 2
dec ecx
jne 0x17eb1fa7
call 0x17eb200e
loope 0x17eb2004
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x17eb205e
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x17eb206f
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x17eb2022
cmp eax, ecx
ja 0x17eb2022
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x17eb20ac
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x17eb20a2
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.17e99317
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]