joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1a7f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0x1b6a7d
call fcn.001a1350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0x1a8046
push 1
call fcn.001a227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0x1a803c
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001a13e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1a7fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.001a21cb
mov ebx, eax
test ebx, ebx
jl 0x1a8024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.001a2436
mov ebx, eax
test ebx, ebx
jl 0x1a8024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x1a8024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1a7ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0x1af33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0x1a8024
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
je 0x1af353
cmp dword [ebp - 0x14], 0
je 0x1a8033
push dword [ebp - 0x14]
call fcn.001a13c0
pop ecx
push dword [ebp - 0x18]
call fcn.001a13c0
pop ecx
mov eax, ebx
call fcn.001a1390
ret 4
mov ebx, 0x80070057
jmp 0x1a803c

Function at 0x1a85f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x1bb004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0x1a8684
cmp eax, 0xffffffff
je 0x1a8684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1a8684
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0xc], 0
push ebx
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.001a85b5
mov eax, esp
push esi
push ebx
push eax
call fcn.001a8692
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1af2da
cmp esi, dword [ebp - 0xc]
jne 0x1af2f6
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.001a20d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0x1a866d
Function at 0x1a88ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0x1b6be9
call fcn.001a20e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.001a13e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0x1a8999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0x1a89a4
push esi
push edi
call fcn.001a1451
add esp, 0x14
mov eax, edi
call fcn.001a2126
ret 4
Function at 0x1b0d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0x1b0dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1b0db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1b0dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0x1b0da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x10001050
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x128
push ebx
push esi
push edi
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov ebx, eax
cmp ebx, 0xffffffff
je 0x100010f5
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x128
push eax
push ebx
call sub.KERNEL32.DLL_Process32First
test eax, eax
je 0x100010ee
mov esi, dword [esp + 0x138]
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x100010b5
lea ecx, [esp + 0xc]
push ecx
push ebx
call sub.KERNEL32.DLL_Process32Next
test eax, eax
je 0x100010ee
cmp dword [esp + 0x14], esi
jne 0x100010a0
lea edi, [esp + 0x30]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x140]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
add esp, 0x128
ret
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x128
ret

Function at 0x10003270
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x64
cmp eax, 1
jne 0x100033ae
mov al, byte [0x100089c4]
push edi
mov byte [esp + 4], al
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 5]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 4]
push ecx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
push eax
call fcn.10001050
add esp, 8
test al, al
pop edi
je 0x100033ae
mov al, byte [0x100089c0]
push ebx
test al, al
push esi
je 0x100032fe
mov esi, str.calc.exe
lea eax, [esp + 8]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x100032f3
test cl, cl
je 0x100032ef
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x100032f3
add eax, 2
add esi, 2
test cl, cl
jne 0x100032cb
xor eax, eax
jmp 0x100032f8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10003355
jmp 0x10003338
mov esi, str.explorer.exe
lea eax, [esp + 8]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x1000332f
test cl, cl
je 0x1000332b
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x1000332f
add eax, 2
add esi, 2
test cl, cl
jne 0x10003307
xor eax, eax
jmp 0x10003334
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10003355
lea eax, [esp + 0x74]
push eax
push 0
push 0x100089c4
push 0x100031c0
push 0
push 0
call fcn.1000350e
add esp, 0x18
mov esi, str.iexplore.exe
lea eax, [esp + 8]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x10003386
test cl, cl
je 0x10003382
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x10003386
add eax, 2
add esi, 2
test cl, cl
jne 0x1000335e
xor eax, eax
jmp 0x1000338b
sbb eax, eax
sbb eax, 0xffffffff
pop esi
pop ebx
test eax, eax
jne 0x100033ae
lea eax, [esp + 0x6c]
push eax
push 0
push 0x100089c4
push 0x100030a0
push 0
push 0
call fcn.1000350e
add esp, 0x18
mov eax, 1
add esp, 0x64
ret 0xc
Function at 0x10004722
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10008760
cmp edx, dword [eax]
je 0x10004744
add eax, 8
inc ecx
cmp eax, 0x100087f0
jl 0x10004735
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10008760]
jne 0x10004872
mov eax, dword [0x100089d4]
cmp eax, 1
je 0x1000484c
test eax, eax
jne 0x10004775
cmp dword [0x100089d8], 1
je 0x1000484c
cmp edx, 0xfc
je 0x10004872
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x100047ac
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10005420
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10005510
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100047ef
lea eax, [ebp - 0x1a4]
push eax
call fcn.10005510
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10007434
push edi
call fcn.10005d40
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10005420
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10005430
lea eax, [ebp - 0xa0]
push 0x100080c4
push eax
call fcn.10005430
push dword [esi + 0x10008764]
lea eax, [ebp - 0xa0]
push eax
call fcn.10005430
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.10005cb5
add esp, 0x2c
pop edi
jmp 0x10004872
lea eax, [ebp + 8]
lea esi, [esi + 0x10008764]
push 0
push eax
push dword [esi]
call fcn.10005510
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 0x10002c08
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000e0cc]
jne 0x10002c12
repz ret
jmp fcn.10004fac

Function at 0x100063b4
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10006357
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x10006375
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x100063d3
je 0x100063ba
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x100063c3
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x100063cd
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100063af
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10006339
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x100056be
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10008621
push ebx
push esi
call fcn.1000854d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100084e1
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100085ce
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10008620
push edi
push eax
call fcn.1000953f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100085ee
call fcn.10007029
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000861f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100084e1
add esp, 0x20
test eax, eax
jne 0x1000860d
push edi
call fcn.10007029
jmp 0x10008615
push ebx
call fcn.10007029
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1000888e
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100104f8
push 0x100104f0
push str.FlsAlloc
push 0x1f
call fcn.100087aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100088c2
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f108]
call esi
jmp 0x100088c8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000890c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010508
push 0x10010500
push str.FlsGetValue
push 0x21
call fcn.100087aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008943
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000f108]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000894b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10010510
push 0x10010508
push str.FlsSetValue
push 0x22
call fcn.100087aa
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10008985
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000f108]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x42211b
Capabilities:
Parse pe header

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

Function at 0x4347a0
Capabilities:
Parse pe header

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

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40338c], eax
mov eax, dword [ebp + 4]
mov dword [0x403210], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401020
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403210]
mov dword [ebp - 0x48], eax
mov eax, 0x4016c9
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x403210]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.lukifas
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4033d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4033d8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010bc
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010b5
mov esp, ebp
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 0x10019fe3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x10019ff2
pop dword [ebp - 0x48]
mov eax, 0xdfb14f0b
sub eax, 0xcfafaf19
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x56b40dd2
sub dword [ebp - 0x58], 0x861c887
mov dword [ebp - 0x54], 0x3a57ecf8
add dword [ebp - 0x54], 0xf7db5f4d
mov dword [ebp - 0x50], 0x118109bd
sub dword [ebp - 0x50], 0xc534c58f
mov dword [ebp - 0x4c], 0x6595d1be
add dword [ebp - 0x4c], 0x9a6a2e42
lea eax, [ebp - 0x58]
push eax
mov eax, 0x3bb6c0d5
sub eax, 0x2bb6afcd
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x969dff00
sub dword [ebp - 0x58], 0x222b95aa
mov dword [ebp - 0x54], 0xbf06c21d
add dword [ebp - 0x54], 0x82659f58
mov dword [ebp - 0x50], 0xd587ff18
add dword [ebp - 0x50], 0x8de76d54
mov dword [ebp - 0x4c], 0x191bc320
add dword [ebp - 0x4c], 0xe6e43ce0
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0xb94343e8
add eax, 0x56bccd10
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x3f030
push 0
call eax
mov ecx, 0x820891b
add ecx, 0xf7dfc858
mov ebx, eax
mov esi, 0x1002b600
add esi, dword [ebp - 0x48]
mov edx, 0x58912278
add edx, 0x3c56349c
xor dword [ebp - 0x20], 0xbc65c562
mov edi, dword [esi]
mov dword [ebp - 0x18], 0xdc6e844d
xor edi, edx
sub dword [ebp - 0x3c], 0x1f47e056
mov dword [ebx], edi
sub dword [ebp - 0x38], eax
add ebx, 0x308b5f7e
add ebx, 0xcf74a086
add esi, 0xa17df4d3
sub esi, 0xa17df4cf
loop 0x1001a10e
add eax, 0x71ed373f
sub eax, 0x71ebfea0
mov ebx, eax
add eax, 0x470e2f42
sub eax, 0x470e2f3d
mov ecx, 0x10000000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x10023fab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100037dc]
jne 0x100243f1
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x100289d8], eax
mov dword [0x100289d4], ecx
mov dword [0x100289d0], edx
mov dword [0x100289cc], ebx
mov dword [0x100289c8], esi
mov dword [0x100289c4], edi
mov word [0x100289f0], ss
mov word [0x100289e4], cs
mov word [0x100289c0], ds
mov word [0x100289bc], es
mov word [0x100289b8], fs
mov word [0x100289b4], gs
pushfd
pop dword [0x100289e8]
mov eax, dword [ebp]
mov dword [0x100289dc], eax
mov eax, dword [ebp + 4]
mov dword [0x100289e0], eax
lea eax, [ebp + 8]
mov dword [0x100289ec], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10028928], 0x10001
mov eax, dword [0x100289e0]
mov dword [0x100288dc], eax
mov dword [0x100288d0], 0xc0000409
mov dword [0x100288d4], 1
mov eax, dword [0x100037dc]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10028734]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10028920], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x100037e4
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10028920], 0
jne 0x100244dd
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0xdc9c3c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xdc9c46
pushal
call 0xdc9c4c
pop ebp
sub ebp, 0x10
sub ebp, 0x9c9c3c
jmp 0xdc9c62
mov eax, 0x9c9c3c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ec
mov edx, 0x862dd6a2
xor byte [eax], dl
inc eax
dec ecx
jne 0xdc9c79
jmp 0xdc9c8c
sub dword [edi + 0x29], ebp
sub ebx, dword [esi + 0x23a2a2a2]
arpl word [edx - 0x5e], bx
mov byte [0x1a6fa1a2], al
movsb byte es:[edi], byte [esi]
mov byte [0x8a18a2a2], al
mov byte [0x4055a2a2], al
mov eax, dword [0xae23296a]
mov byte [0x67a1a2a2], al
das
mov byte [esi - 0x7959d4a2], 0xca
cmpsb byte [esi], byte es:[edi]
mov esi, 0x9acaa280
and bl, al
mov byte [0xca868ea3], al
retf

Function at 0x40895f
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push 0x4085d8
pop edx
mov ebx, ebx
call fcn.0040897f
xor dword [ecx], edx
dec eax
sub ebx, ebx
add ecx, 1
cmp ecx, esi
jne fcn.0040895f
inc ebx
add eax, ebx
ret
Function at 0x7657b4
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push edx
push ecx
call fcn.0076aa7d
mov dword [esp + 0x28], 0xe59a27
lea edi, [ecx + 4]
shl dword [esp + 0x28], 0xc
xor dword [esp + 0x28], 0x59a35371
mov dword [esp + 0x24], 0xbf2298
or dword [esp + 0x24], 0x43da2daf
shr dword [esp + 0x24], 6
shr dword [esp + 0x24], 1
xor dword [esp + 0x24], 0x85b67f
mov eax, dword [ecx]
mov ebp, dword [edi]
add edi, 4
xor ebp, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ebp
lea esi, [ebp + 1]
mov eax, esi
mov ecx, esi
and eax, 0xfffffffc
add eax, 4
and cl, 3
cmovne esi, eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 0x10
lea ecx, [esi + esi]
call fcn.0077f6a3
mov ebx, eax
mov dword [esp + 0x18], ebx
pop ecx
test ebx, ebx
je 0x7658af
shr esi, 2
xor eax, eax
lea ecx, [edi + esi*4]
mov esi, ebx
mov edx, ecx
sub edx, edi
add edx, 3
shr edx, 2
cmp edi, ecx
cmova edx, eax
test edx, edx
je 0x7658a9
mov ebx, dword [esp + 0x18]
xor ebp, ebp
mov ecx, dword [edi]
lea edi, [edi + 4]
xor ecx, ebx
movzx eax, cl
mov word [esi], ax
mov eax, ecx
shr eax, 8
lea esi, [esi + 8]
movzx eax, al
mov word [esi - 6], ax
shr ecx, 0x10
movzx eax, cl
shr ecx, 8
inc ebp
mov word [esi - 4], ax
movzx eax, cl
mov word [esi - 2], ax
cmp ebp, edx
jb 0x76586c
mov ebx, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
xor eax, eax
mov word [ebx + ebp*2], ax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x76bc99
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push dword [ebp + 0xc]
push ebx
push edx
push ecx
call fcn.0076aa7d
and dword [ebp - 8], 0
add esp, 0x14
mov dword [ebp - 0x10], 0x3be52f
xor edx, edx
mov dword [ebp - 0xc], 0x1d2c41
mov dword [ebp + 8], 0xeadf60
add dword [ebp + 8], 0x5fa9
mov eax, dword [ebp + 8]
push 0x25
pop ecx
div ecx
mov dword [ebp + 8], eax
add dword [ebp + 8], 0xffffd8b5
xor dword [ebp + 8], 0x6345b
mov dword [ebp - 4], 0xbf24c0
imul eax, dword [ebp - 4], 0x15
mov dword [ebp - 4], eax
shl dword [ebp - 4], 2
xor dword [ebp - 4], 0x3eb80f06
mov dword [ebp - 4], 0x286c39
xor dword [ebp - 4], 0x9b091a3d
xor dword [ebp - 4], 0x9b217614
cmp byte [ebx], 0
je 0x76bd7c
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0xbf24c0
imul eax, dword [ebp - 4], 0x15
mov dword [ebp - 4], eax
shl dword [ebp - 4], 2
xor dword [ebp - 4], 0x3eb80f06
mov cl, byte [ebp - 4]
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0x286c39
xor dword [ebp - 4], 0x9b091a3d
xor dword [ebp - 4], 0x9b217614
shl esi, cl
mov cl, byte [ebp - 4]
mov edx, dword [ebp + 8]
movsx eax, byte [ebx]
mov dword [ebp + 8], eax
add dword [ebp + 8], esi
shl edx, cl
add dword [ebp + 8], edx
sub dword [ebp + 8], edi
inc ebx
cmp byte [ebx], 0
jne 0x76bd24
pop edi
pop esi
mov eax, dword [ebp + 8]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x770101
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push dword [ebp + 8]
push edx
push ecx
call fcn.0076aa7d
and dword [ebp - 8], 0
add esp, 0xc
mov dword [ebp - 0xc], 0x1709c5
mov dword [ebp - 4], 0x534f4d
xor dword [ebp - 4], 0xcb28e746
xor dword [ebp - 4], 0xcb7ba900
cmp dword [edx + 4], 0x40
jae 0x77013e
xor eax, eax
jmp 0x770167
mov ecx, dword [edx]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x77013a
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x77013a
movzx edx, word [eax + 0x18]
mov ecx, dword [ebp - 4]
push esi
xor esi, esi
cmp edx, ecx
cmovne eax, esi
pop esi
mov esp, ebp
pop ebp
ret