joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4172b0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.004126b0
mov eax, dword [0x425ba0]
push ebx
mov ebx, dword [esp + 0x100c]
push ebp
xor ebp, ebp
push esi
cmp ebx, eax
push edi
jae 0x417412
mov eax, ebx
mov ecx, ebx
sar eax, 5
and ecx, 0x1f
mov edx, dword [eax*4 + 0x425aa0]
test byte [edx + ecx*8 + 4], 1
je 0x417412
push 1
push ebp
push ebx
call fcn.00414e40
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x41741c
push 2
push ebp
push ebx
call fcn.00414e40
add esp, 0xc
cmp eax, 0xffffffff
je 0x41741c
mov ecx, dword [esp + 0x101c]
mov esi, ecx
sub esi, eax
test esi, esi
jle 0x4173b8
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push 0x8000
rep stosd dword es:[edi], eax
push ebx
call fcn.004196f0
add esp, 8
mov edi, eax
cmp esi, 0x1000
mov eax, 0x1000
jge 0x41735f
mov eax, esi
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00411b20
add esp, 0xc
cmp eax, 0xffffffff
je 0x41737b
sub esi, eax
test esi, esi
jle 0x417391
jmp 0x417350
cmp dword [0x424628], 5
jne 0x41738e
mov dword [0x424624], 0xd
or ebp, 0xffffffff
push edi
push ebx
call fcn.004196f0
mov edi, dword [esp + 0x18]
add esp, 8
push 0
push edi
push ebx
call fcn.00414e40
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
jge 0x4173f9
push 0
push ecx
push ebx
call fcn.00414e40
add esp, 0xc
push ebx
call fcn.00417260
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebp, eax
neg ebp
sbb ebp, ebp
neg ebp
dec ebp
cmp ebp, 0xffffffff
jne 0x4173f9
mov dword [0x424624], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x424628], eax
push 0
push edi
push ebx
call fcn.00414e40
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
mov dword [0x424624], 9
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1004
ret
Function at 0x41bbe0
Capabilities:
Set environment variable

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x41bd9e
push 0x3d
push edi
call fcn.0041bee0
mov esi, eax
add esp, 8
test esi, esi
je 0x41bd9e
cmp edi, esi
je 0x41bd9e
mov dl, byte [esi + 1]
mov ecx, dword [0x424650]
xor eax, eax
test dl, dl
sete al
mov ebp, eax
mov eax, dword [0x42464c]
cmp eax, ecx
jne 0x41bc37
push eax
call fcn.0041be70
add esp, 4
mov dword [0x42464c], eax
test eax, eax
jne 0x41bcb2
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41bc5e
mov eax, dword [0x424654]
test eax, eax
je 0x41bc5e
call fcn.0041b510
test eax, eax
je 0x41bcad
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test ebp, ebp
je 0x41bc6a
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 4
call fcn.004109a0
add esp, 4
mov dword [0x42464c], eax
test eax, eax
je 0x41bd9e
mov dword [eax], 0
mov eax, dword [0x424654]
test eax, eax
jne 0x41bcad
push 4
call fcn.004109a0
add esp, 4
mov dword [0x424654], eax
test eax, eax
je 0x41bd9e
mov dword [eax], 0
mov eax, dword [0x42464c]
mov ebx, eax
mov eax, esi
sub eax, edi
push eax
push edi
mov dword [esp + 0x18], eax
call fcn.0041bdf0
mov esi, eax
add esp, 8
test esi, esi
jl 0x41bdaf
cmp dword [ebx], 0
je 0x41bdaf
test ebp, ebp
je 0x41bda7
mov ecx, dword [ebx + esi*4]
lea edi, [ebx + esi*4]
push ecx
call fcn.00410ad0
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x41bd09
mov eax, edi
mov edx, dword [eax + 4]
add eax, 4
mov dword [edi], edx
inc esi
mov ecx, dword [eax]
mov edi, eax
test ecx, ecx
jne 0x41bcf8
lea eax, [esi*4]
push eax
push ebx
call fcn.00412a20
add esp, 8
test eax, eax
je 0x41bd23
mov dword [0x42464c], eax
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x41bd96
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
inc ecx
push ecx
call fcn.004109a0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x41bd96
mov edi, dword [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [esp + 0x10]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
neg ebp
rep movsb byte es:[edi], byte [esi]
sbb ebp, ebp
mov byte [ebx + eax], 0
lea eax, [ebx + eax + 1]
not ebp
and ebp, eax
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
call fcn.00410ad0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov dword [ebx + esi*4], edi
jmp 0x41bd27
test ebp, ebp
jne 0x41bd96
test esi, esi
jge 0x41bdb9
neg esi
lea ecx, [esi*4 + 8]
push ecx
push ebx
call fcn.00412a20
add esp, 8
test eax, eax
je 0x41bd9e
mov dword [eax + esi*4], edi
mov dword [eax + esi*4 + 4], 0
mov dword [0x42464c], eax
jmp 0x41bd27
Function at 0x478dae
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov ecx, dword [esp + 0x38]
push ebx
push ebp
mov ebp, dword [esp + 0x3c]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x48]
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], ebx
mov edi, ecx
cmp byte [0x4a7cc1], bl
je 0x478f46
mov eax, dword [0x4a7cc4]
cmp eax, ebx
je 0x478f46
mov edx, 3
mov word [eax + 0x38], dx
mov dword [eax + 0x40], ecx
mov word [eax + 0x98], dx
call dword [fcn.00482304]
mov edx, dword [0x4a7cc4]
mov dword [edx + 0xa0], eax
mov eax, 3
mov word [edx + 0xa8], ax
mov ecx, dword [ebp + 0xf4]
push ecx
call fcn.0043864d
mov dword [edx + 0xb0], eax
cmp esi, ebx
je 0x478ec6
mov ecx, dword [esi + 4]
mov ebx, dword [fcn.00482430]
mov eax, 8
mov word [esp + 0x20], ax
lea eax, [esp + 0x20]
push eax
add edx, 0x68
push edx
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a7cc4]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x20]
push edx
add eax, 0x58
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a7cc4]
mov ecx, dword [esi + 0xc]
lea edx, [esp + 0x20]
push edx
add eax, 0x78
push eax
mov dword [esp + 0x30], ecx
call ebx
mov eax, dword [0x4a7cc4]
mov ecx, 3
mov word [eax + 0x88], cx
mov edx, dword [esi + 0x10]
mov dword [eax + 0x90], edx
mov word [eax + 0xb8], cx
movzx ecx, word [esi]
test cx, cx
je 0x478eb7
movzx esi, cx
jmp 0x478eba
mov esi, dword [esi + 0x1c]
mov dword [eax + 0xc0], esi
test esi, esi
je 0x478ec6
mov edi, esi
mov eax, dword [esp + 0x50]
test eax, eax
je 0x478edb
mov edi, eax
lea ebx, [esp + 0x10]
call fcn.0040f2d0
jmp 0x478efa
push edi
lea edx, [esp + 0x34]
push edx
call fcn.0044bb5c
mov edi, eax
lea esi, [esp + 0x10]
call fcn.0040f240
lea ecx, [esp + 0x30]
call fcn.00403220
mov eax, dword [0x4a7cc4]
add eax, 0x48
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.0047768a
mov ecx, dword [0x4a7cc4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x20]
add esp, 8
call eax
mov edx, dword [ebp]
mov ecx, dword [esp + 0x48]
mov eax, dword [edx + 4]
push 0
push ecx
add eax, ebp
call fcn.00404ce0
lea esi, [esp + 0x10]
call fcn.00409ec0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 0x14
mov eax, dword [ebp]
mov eax, dword [eax + 4]
push ebx
push ecx
add eax, ebp
call fcn.00404ce0
cmp byte [esp + 0x54], bl
je 0x478f31
lea esi, [esp + 0x10]
call fcn.00409ec0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x30
ret 0x14
Function at 0x100035a7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edi
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100035c2
push 0x10
lea eax, [ebp - 0x48]
sub esi, ecx
push eax
push edi
sar esi, 1
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
lea ecx, [edi + esi*2]
pop edi
pop esi
cmp dword [ebp - 0x48], ecx
jne 0x10003606
push 0x20
lea ecx, [ebp - 0x44]
push ecx
push 0x80000001
push eax
call dword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_GetLocaleInfoW]
test eax, eax
jle 0x10003606
xor eax, eax
inc eax
jmp 0x10003608
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005ed0
mov esp, ebp
pop ebp
ret

Function at 0x10004278
Capabilities:
Access the windows event log

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
mov dword [ebp - 0x10], ecx
mov eax, ebx
mov dword [ebp - 0xc], ebx
shr eax, 0x1e
push esi
push edi
cmp eax, 1
jbe 0x100042ab
push 2
pop edi
cmp eax, edi
je 0x100042ae
xor edi, edi
inc edi
jmp 0x100042ae
push 4
pop edi
mov esi, dword [0x10008d64]
test esi, esi
je 0x10004311
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov ecx, esi
call dword [0x1000a1a0]
call esi
test eax, eax
js 0x10004311
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000430e
mov esi, dword [ebx]
xor eax, eax
push eax
push dword [ebp + 0x14]
mov ecx, dword [esi + 0xc]
push eax
push 1
push eax
push dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
movzx eax, ax
push eax
movzx eax, di
push eax
push ebx
call dword [0x1000a1a0]
call dword [esi + 0xc]
mov eax, dword [ebx]
push ebx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x1000a1a0]
call esi
jmp 0x10004342
mov ebx, dword [ebp - 0xc]
push 0x10001c04
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x10004342
xor eax, eax
push eax
push dword [ebp + 0x14]
push eax
push 1
push eax
mov eax, dword [ebp - 0x10]
push ebx
push eax
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10005ed0
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10004355
Capabilities:
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x888
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x208
xor edi, edi
lea eax, [ebp - 0x634]
push edi
push eax
mov ebx, edx
mov esi, ecx
call sub.msvcrt.dll_memset
push 0x20a
lea eax, [ebp - 0x42c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x20a
lea eax, [ebp - 0x21c]
push edi
push eax
call sub.msvcrt.dll_memset
push 0x250
lea eax, [ebp - 0x884]
push edi
push eax
call sub.msvcrt.dll_memset
push esi
push ebx
push 0x10001c10
lea eax, [ebp - 0x634]
push 0x104
push eax
call fcn.10003c11
add esp, 0x44
lea eax, [ebp - 0x884]
push eax
lea eax, [ebp - 0x634]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000443f
inc edi
cmp word [ebp - 0x42c], 0
je 0x10004416
lea eax, [ebp - 0x858]
push eax
lea eax, [ebp - 0x42c]
push eax
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
jle 0x1000442d
lea eax, [ebp - 0x858]
mov edx, 0x105
push eax
lea ecx, [ebp - 0x42c]
call fcn.10002860
lea eax, [ebp - 0x884]
push eax
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x100043f1
cmp edi, dword [ebp + 8]
jb 0x100044d3
lea eax, [ebp - 0x42c]
push eax
push ebx
push 0x10001c28
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.10003c11
add esp, 0x14
lea eax, [ebp - 0x21c]
mov edi, 0x80
push edi
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
lea eax, [ebp - 0x21c]
push 0x2e
push eax
call dword [sym.imp.msvcrt.dll_wcsrchr]
pop ecx
pop ecx
test eax, eax
je 0x100044d3
xor ecx, ecx
mov edx, 0x105
mov word [eax], cx
lea ecx, [ebp - 0x21c]
push 0x10001c34
call fcn.10002895
push edi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_SetFileAttributesW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
cmp esi, 0xffffffff
je 0x100044df
push esi
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10005ed0
mov esp, ebp
pop ebp
ret 4
Function at 0x100044f2
Capabilities:
Create process on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x46c
mov eax, dword [0x10007014]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
lea ecx, [ebp - 0x414]
mov word [ebp - 0x414], ax
mov edx, 0x208
mov word [ebp - 6], ax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.10003bda
test eax, eax
js 0x100045e7
push edi
push 0x44
xor edi, edi
lea eax, [ebp - 0x46c]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x46c], 0x44
mov dword [ebp - 0x440], 0x81
push 6
pop eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x46c]
push eax
push edi
push edi
push 8
push edi
push edi
push edi
lea eax, [ebp - 0x414]
push eax
push edi
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
test eax, eax
je 0x100045d4
push 0xffffffffffffffff
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], edi
push eax
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetExitCodeProcess]
push dword [ebp - 0x428]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
push dword [ebp - 0x424]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, dword [ebp - 0x418]
jmp 0x100045da
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x100045e6
movzx eax, ax
or eax, 0x80070000
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10005ed0
mov esp, ebp
pop ebp
ret
Function at 0x10006040
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x1000607e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x10006076
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x10006080
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x10006066
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10006150
Capabilities:
Parse pe header

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

Function at 0x1000e4b1
Capabilities:
Encode data using xor

Disassembly:
call 0x1000e42a
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 0x1000e45a
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 0x1000e476
xor edx, 0
jmp 0x1000e481
xor edx, edx
jmp 0x1000e498
jmp 0x1000e4a4
xor eax, eax
push 0x8427d7c0
call 0x1000e4b1
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1000e4ed
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 0x1000e4c6
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 0x1000e504
add eax, 0
jno 0x1000e509
add esi, 0
ret 0x10
Function at 0x1000f272
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 0x1000f294
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 0x1000f436
cmp edi, dword [ebp + 0x10]
jb 0x1000f436
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.1000ed5e
inc edi
jmp 0x1000f31d
jmp 0x1000f32a
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000ed5e
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000ed5e
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 0x1000f37e
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 0x1000f362
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000f3ac
add dword [eax], 0x39
jle 0x1000f388
sub al, 0xf5
mov ch, al
call fcn.1000f3c1
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10011099
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 0x100110af
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 0x100110c0
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10011101
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 0x1001346d
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 0x100133b6
add ebx, 0
push ecx
call 0x100133cb
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, 0x6e416170
sub ebx, dword [0x6e4359af]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6e43599f
call fcn.1000ee95
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000e3a3
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10013529
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10013529
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 0x100134e0
mov eax, 1
lock xchg dword [0x6e4359ab], eax
push 0x3dd1fc71
call 0x1001346d
push esi
add esp, 8
cmp eax, 0
jne 0x10013456
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1001347c
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10013491
cmp ecx, edx
cmp eax, 0
je 0x100134b6
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 0x100134a0
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100134cf
dec eax
loope 0x100134d2
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6e4359ab], 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 0x10013506
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001351b
jmp 0x10013526
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10013414
Function at 0x1001a58e
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 0x1001a864
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6e422623
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6e4195e9
push 0xffffffffffffffff
call fcn.1001178e
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 0x1001a5f8
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1001a610
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 0x1001a858
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1001a82c
Function at 0x1002a05e
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 0x1002a080
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1002a080
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1002a080
ret
cmp word [ebx + 4], 0x14c
jne 0x1002a080
test word [ebx + 0x16], 2
je 0x1002a080
test word [ebx + 0x16], 0x100
je 0x1002a080
cmp word [ebx + 0x18], 0x10b
jne 0x1002a080
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1002a080
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1002a10c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1002a0a0
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10010feb
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1002a080
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 0x1002a10c
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 0x1002a080
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1002a080
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1002a080
ret
cmp word [ebx + 4], 0x14c
jne 0x1002a080
test word [ebx + 0x16], 2
je 0x1002a080
test word [ebx + 0x16], 0x100
je 0x1002a080
cmp word [ebx + 0x18], 0x10b
jne 0x1002a080
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1002a080
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1002a10c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1002a0a0
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10010feb
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1002a080
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