joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4820c6
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
cmp byte [0x4acc38], 0
push esi
mov esi, ecx
je 0x4820ee
push 0x800
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp MessageBoxW
push ebx
push edi
test esi, esi
je 0x4821ac
xor ebx, ebx
cmp word [esi], bx
je 0x4821ac
mov edi, 0x200
lea eax, [ebp - 0x404]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x4821ac
cmp ecx, edi
jae 0x4821ac
push 0x5c
pop eax
mov word [ebp + ecx*2 - 0x404], ax
inc ecx
cmp ecx, edi
jae 0x4821ac
movzx eax, word [esi]
test ax, ax
je 0x48215c
mov edx, eax
mov word [ebp + ecx*2 - 0x404], dx
inc ecx
cmp ecx, edi
jae 0x4821ac
add esi, 2
movzx eax, word [esi]
mov edx, eax
test ax, ax
jne 0x482142
xor eax, eax
mov word [ebp + ecx*2 - 0x404], ax
mov eax, dword [0x4acc30]
test eax, eax
je 0x48217a
lea ecx, [ebp - 4]
push ecx
push ebx
call eax
mov esi, eax
jmp 0x48217f
mov esi, 0xc000000d
push 8
push ebx
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test esi, esi
js 0x4821a8
mov ecx, dword [0x4acc30]
test ecx, ecx
je 0x4821a8
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
call ecx
mov eax, edi
jmp 0x4821ae
xor eax, eax
pop edi
pop ebx
pop esi
leave
ret
Function at 0x482abc
Capabilities:
Get common file path

Disassembly:
mov eax, dword [0x4acc5c]
sub esp, 0x410
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebp
push esi
or ebp, 0xffffffff
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x482b0a
push str.kernel32
call edi
test eax, eax
je 0x482b03
push str.AddDllDirectory
push eax
call ebx
test eax, eax
je 0x482b03
mov dword [0x4acc5c], 1
jmp 0x482b0f
mov eax, ebp
mov dword [0x4acc5c], eax
cmp eax, 1
jne 0x482b22
push 0x800
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x482c6a
test esi, esi
je 0x482c60
xor ecx, ecx
cmp word [esi], cx
je 0x482c60
mov eax, dword [0x4acc64]
test eax, eax
je 0x482b4e
cmp dword [0x4acc60], ecx
je 0x482b4e
cmp dword [0x4acc68], ecx
jne 0x482bb0
push 0x4875b4
call edi
mov edi, eax
test edi, edi
je 0x482b9b
push str.RtlWow64EnableFsRedirectionEx
push edi
call ebx
test eax, eax
jne 0x482b69
mov eax, ebp
push 0x4877d0
push edi
mov dword [0x4acc60], eax
call ebx
test eax, eax
jne 0x482b7c
mov eax, ebp
push 0x487638
push edi
mov dword [0x4acc64], eax
call ebx
test eax, eax
jne 0x482b8f
mov eax, ebp
mov dword [0x4acc68], eax
mov eax, dword [0x4acc64]
jmp 0x482bae
mov eax, ebp
mov dword [0x4acc60], ebp
mov dword [0x4acc64], eax
mov dword [0x4acc68], ebp
xor ecx, ecx
cmp eax, ebp
jne 0x482bbb
push ecx
push ecx
jmp 0x482b16
mov eax, esi
mov dword [esp + 0x1c], eax
jmp 0x482bc6
add esi, 2
cmp word [esi], cx
jne 0x482bc3
sub esi, eax
and esi, 0xfffffffe
mov word [esp + 0x18], si
lea eax, [esi + 2]
mov esi, 0x200
mov word [esp + 0x1a], ax
lea eax, [esp + 0x20]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x482c59
cmp eax, esi
jae 0x482c59
mov eax, dword [0x4acc60]
cmp eax, ebp
je 0x482c08
lea ecx, [esp + 0x10]
push ecx
push 0
call eax
and dword [esp + 0x14], 0
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x2c]
push eax
call dword [0x4acc64]
mov esi, eax
mov eax, dword [0x4acc60]
test eax, eax
je 0x482c3a
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x14]
call eax
test esi, esi
jns 0x482c53
mov eax, dword [0x4acc68]
cmp eax, ebp
je 0x482c4c
push esi
call eax
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 0x14]
jmp 0x482c6a
push 0x65b
jmp 0x482c62
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret
Function at 0x482d50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
lea eax, [ebp - 0x1c]
push 0x1c
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x482d6e
push 0x19
pop ecx
int 0x29
test byte [ebp - 8], 0x44
je 0x482db9
push esi
push edi
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x3c]
mov esi, edi
neg esi
and esi, dword [ebp + 8]
lea edx, [edi - 1]
mov eax, edx
and edx, dword [ebp + 0xc]
and eax, dword [ebp + 8]
dec edx
add eax, edi
add eax, edx
xor edx, edx
div edi
xor edx, edx
mov ecx, eax
mov eax, dword [ebp + 0xc]
div edi
add ecx, eax
je 0x482db7
xor eax, eax
lock or dword [esi], eax
add esi, edi
sub ecx, 1
jne 0x482dab
pop edi
pop esi
leave
ret

Function at 0x483da0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
add eax, 0x18
add eax, ecx
movzx ecx, word [ecx + 6]
lea ecx, [ecx + ecx*4]
lea edi, [eax + ecx*8]
cmp eax, edi
je 0x483dde
mov esi, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
cmp esi, edx
jb 0x483dd7
mov ecx, dword [eax + 8]
add ecx, edx
cmp esi, ecx
jb 0x483de0
add eax, 0x28
cmp eax, edi
jne 0x483dc7
xor eax, eax
pop edi
pop esi
pop ebp
ret

Function at 0x484a50
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x4ac038]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x484a77
mov ecx, 5
int 0x29
push 2
call fcn.00484840
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x484b82
test esi, esi
jne 0x484b82
push 2
call fcn.00484840
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00485b15
mov esp, ebp
pop ebp
ret
Function at 0x484ee0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00410fc0
mov esi, dword [ebp + 8]
test al, al
je 0x484efe
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.00484f10
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x485040
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 2
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48509c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48509c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48509c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x48509c
cmp dword [ecx + 0x74], 0xe
jbe 0x48509c
cmp dword [ecx + 0xe8], 0
je 0x48509c
push dword [ebp + 8]
call fcn.00484f10
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x4acd7c
call fcn.00484cf0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x4850d1
push dword [ebp + 8]
call fcn.00484ee0
mov esp, ebp
pop ebp
ret

Function at 0x485110
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x48516c
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x48516c
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x48516c
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x48516c
cmp dword [ecx + 0x74], 0xe
jbe 0x48516c
cmp dword [ecx + 0xe8], 0
je 0x48516c
push dword [ebp + 8]
call fcn.00484f10
add esp, 4
lea eax, [ebp - 0xc]
mov byte [ebp - 1], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 1]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
push 0x4acd7c
call fcn.00484cf0
add esp, 8
cmp dword [ebp - 8], 0
jne 0x4851a1
push dword [ebp + 8]
call fcn.00484ee0
mov esp, ebp
pop ebp
ret
Function at 0x1009e494
Capabilities:
Encode data using xor

Disassembly:
call 0x1009e40d
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 0x1009e43d
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 0x1009e459
xor edx, 0
jmp 0x1009e464
xor edx, edx
jmp 0x1009e47b
jmp 0x1009e487
xor eax, eax
push 0x8427d7c0
call 0x1009e494
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1009e4d0
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 0x1009e4a9
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 0x1009e4e7
add eax, 0
jno 0x1009e4ec
add esi, 0
ret 0x10

Function at 0x1009f255
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 0x1009f277
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 0x1009f419
cmp edi, dword [ebp + 0x10]
jb 0x1009f419
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.1009ed41
inc edi
jmp 0x1009f300
jmp 0x1009f30d
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1009ed41
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1009ed41
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 0x1009f361
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 0x1009f345
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1009f38f
add dword [eax], 0x39
jle 0x1009f36b
sub al, 0xf5
mov ch, al
call fcn.1009f3a4
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x100a107c
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 0x100a1092
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 0x100a10a3
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100a10e4
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 0x100a3450
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 0x100a3399
add ebx, 0
push ecx
call 0x100a33ae
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, 0x100a6153
sub ebx, dword [0x100c5992]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x100c5982
call fcn.1009ee78
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1009e386
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100a350c
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100a350c
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 0x100a34c3
mov eax, 1
lock xchg dword [0x100c598e], eax
push 0x3dd1fc71
call 0x100a3450
push esi
add esp, 8
cmp eax, 0
jne 0x100a3439
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100a345f
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x100a3474
cmp ecx, edx
cmp eax, 0
je 0x100a3499
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 0x100a3483
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100a34b2
dec eax
loope 0x100a34b5
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x100c598e], 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 0x100a34e9
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100a34fe
jmp 0x100a3509
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100a33f7
Function at 0x100aa571
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 0x100aa847
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x100b2606
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x100a95cc
push 0xffffffffffffffff
call fcn.100a1771
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 0x100aa5db
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.100aa5f3
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 0x100aa83b
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100aa80f
Function at 0x100ba041
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 0x100ba063
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100ba063
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100ba063
ret
cmp word [ebx + 4], 0x14c
jne 0x100ba063
test word [ebx + 0x16], 2
je 0x100ba063
test word [ebx + 0x16], 0x100
je 0x100ba063
cmp word [ebx + 0x18], 0x10b
jne 0x100ba063
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100ba063
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100ba0ef
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100ba083
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a0fce
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100ba063
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 0x100ba0ef
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 0x100ba063
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x100ba063
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x100ba063
ret
cmp word [ebx + 4], 0x14c
jne 0x100ba063
test word [ebx + 0x16], 2
je 0x100ba063
test word [ebx + 0x16], 0x100
je 0x100ba063
cmp word [ebx + 0x18], 0x10b
jne 0x100ba063
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x100ba063
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100ba0ef
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x100ba083
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.100a0fce
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x100ba063
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 0x100ba1a6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100ba1ff
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100ba1a6
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100ba1b5
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 0x104bfe58
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 0x100ba206
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.100a107c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100ba2a5
add edi, 4
add eax, 2
dec ecx
jne 0x100ba1eb
call 0x100ba252
loope 0x100ba248
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100ba2a2
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 0x100ba2b3
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 0x100ba266
cmp eax, ecx
ja 0x100ba266
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100ba2f0
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100ba2e6
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100a155b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100ba1b5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100ba1ff
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100ba1a6
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100ba1b5
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 0x104bfe58
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 0x100ba206
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.100a107c
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100ba2a5
add edi, 4
add eax, 2
dec ecx
jne 0x100ba1eb
call 0x100ba252
loope 0x100ba248
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100ba2a2
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 0x100ba2b3
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 0x100ba266
cmp eax, ecx
ja 0x100ba266
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100ba2f0
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100ba2e6
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100a155b
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1005810d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x1005811c
pop dword [ebp - 0x10]
mov eax, 0x1005811c
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0x95c4e3ab
sub dword [ebp - 0x20], 0x47729e60
mov dword [ebp - 0x1c], 0xb2fe1f4f
sub dword [ebp - 0x1c], 0x80cad30a
mov dword [ebp - 0x18], 0xfa3f8667
add dword [ebp - 0x18], 0x520cbdc7
mov dword [ebp - 0x14], 0x5789d956
sub dword [ebp - 0x14], 0x5789d956
lea eax, [ebp - 0x20]
push eax
mov eax, 0x19b4e8a8
add eax, 0xf653378c
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0xc3b34522
sub dword [ebp - 0x20], 0x4f40dbcc
mov dword [ebp - 0x1c], 0x6b60865c
add dword [ebp - 0x1c], 0xd60bdb19
mov dword [ebp - 0x18], 0xbfe77a63
add dword [ebp - 0x18], 0xa387f209
mov dword [ebp - 0x14], 0x799633dd
sub dword [ebp - 0x14], 0x799633dd
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, 0x6a799b24
add eax, 0xa58e8500
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3e06a
push 0
call eax
mov ecx, 0x7fe6f177
sub ecx, 0x7fe6a684
mov edx, eax
mov edi, 0x100b2e00
add edi, dword [ebp - 0x10]
mov esi, 0x59c7913e
add esi, 0xea21a6c3
add dword [ebp - 8], eax
mov ebx, dword [edi]
xor ebx, esi
add dword [ebp - 0xc], eax
mov dword [edx], ebx
add dword [ebp - 8], 0xc3ee0be7
add edx, 0x4b88aad7
add edx, 0xb477552d
add edi, 4
loop 0x10058233
add eax, 0x11e9f
xor ebx, ebx
add ebx, eax
add eax, 0xc7b78940
sub eax, 0xc7b7893b
mov ecx, 0x6cb50bfd
sub ecx, 0x5cb50bfd
add ecx, dword [ebp - 0x10]
call ebx
leave
ret