joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403b09
Capabilities:
Accept command line arguments
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x408014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.00403a51
mov esi, eax
test esi, esi
je 0x403b91
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
push eax
call dword [sym.imp.api_ms_win_core_wow64_l1_1_1.dll_IsWow64Process2]
test eax, eax
je 0x403b91
movzx esi, si
cmp word [ebp - 0x220], si
jne 0x403ba1
cmp word [ebp - 0x224], 0
je 0x403b91
push 0xf6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetSystemDirectoryW]
test eax, eax
je 0x403b91
push 0x40184c
push 0x105
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchAppend]
test eax, eax
jns 0x403bd1
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004061b0
leave
ret
lea eax, [ebp - 0x219]
push eax
push esi
call dword [sym.imp.ntdll.dll_RtlWow64IsWowGuestMachineSupported]
test eax, eax
js 0x403b91
cmp byte [ebp - 0x219], 0
je 0x403b91
push esi
push 0xf6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_core_wow64_l1_1_1.dll_GetSystemWow64Directory2W]
jmp 0x403b72
xor edi, edi
push edi
call dword [sym.imp.api_ms_win_core_kernel32_private_l1_1_0.dll_Wow64EnableWow64FsRedirection]
push 0x44
pop esi
push esi
lea eax, [ebp - 0x280]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x280], esi
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x280]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_GetCommandLineW]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateProcessW]
push 1
mov esi, eax
call dword [sym.imp.api_ms_win_core_kernel32_private_l1_1_0.dll_Wow64EnableWow64FsRedirection]
test esi, esi
je 0x403b91
push 0xffffffffffffffff
push dword [ebp - 0x234]
call dword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
push dword [ebp - 0x234]
mov esi, eax
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
push dword [ebp - 0x230]
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
test esi, esi
jne 0x403b91
xor eax, eax
inc eax
jmp 0x403b93
Function at 0x403f6b
Capabilities:
Access pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword fs:[0x30]
push ecx
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov edx, eax
cmp word [edx + 0x14], 0
je 0x403fbf
mov eax, dword [edx + 0x4c]
test eax, eax
je 0x403fbf
movzx ecx, al
mov dword [esi + 0xa4], ecx
movzx eax, byte [edx + 0x4d]
mov dword [esi + 0xa8], eax
mov ax, word [edx + 0x4e]
mov word [esi + 0xac], ax
mov eax, dword [edx + 0x4c]
xor eax, 0xbfffffff
shr eax, 0x1e
mov dword [esi + 0xb0], eax
lea eax, [ebp - 4]
push eax
push 0xa
push 1
push dword [esi + 8]
call dword [sym.imp.imagehlp.dll_ImageDirectoryEntryToData]
test eax, eax
je 0x403fe4
movzx eax, word [eax + 0x34]
test ax, ax
je 0x403fe4
mov word [esi + 0xae], ax
pop esi
leave
ret
Function at 0x405911
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x258
mov eax, dword [0x408014]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
xor edi, edi
push esi
mov dword [ebx], edi
call dword [sym.imp.api_ms_win_downlevel_shlwapi_l1_1_0.dll_PathIsRelativeW]
test eax, eax
je 0x405ac3
push 0x8001
call dword [sym.imp.ntdll.dll_RtlSetSearchPathMode]
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x104
push edi
push esi
push edi
call dword [sym.imp.api_ms_win_core_processenvironment_l1_1_0.dll_SearchPathW]
test eax, eax
je 0x405ade
lea eax, [ebp - 0x214]
mov dword [ebp - 0x230], edi
mov edi, eax
mov dword [ebp - 0x234], 0x20
or esi, 0xffffffff
mov dword [ebp - 0x22c], eax
xor edx, edx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x405995
sub edi, ecx
lea ecx, [ebp - 0x214]
push 0x4019b0
sar edi, 1
call fcn.00401f26
test eax, eax
js 0x4059d9
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4059d9
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_CreateActCtxW]
mov esi, eax
add edi, edi
cmp edi, 0x208
jae 0x405afd
xor eax, eax
mov word [ebp + edi - 0x214], ax
or edi, 0xffffffff
cmp esi, edi
jne 0x405af1
lea eax, [ebp - 0x234]
mov dword [ebp - 0x230], 8
push eax
mov dword [ebp - 0x220], 0x7b
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_CreateActCtxW]
mov esi, eax
cmp esi, edi
jne 0x405af1
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 0x7c
push eax
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_CreateActCtxW]
mov esi, eax
cmp esi, edi
jne 0x405af9
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 2
push eax
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_CreateActCtxW]
mov esi, eax
cmp esi, edi
jne 0x405af1
xor eax, eax
mov dword [ebp - 0x250], 0x88
push eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x240], 7
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
mov dword [ebp - 0x238], eax
lea eax, [ebp - 0x254]
push eax
mov dword [ebp - 0x254], 0x20
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_CreateActCtxW]
cmp eax, edi
je 0x405af9
push ebx
push eax
jmp 0x405af3
push ecx
push esi
push ecx
mov edx, 0x104
lea ecx, [ebp - 0x214]
call fcn.00401fca
test eax, eax
jns 0x40596f
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004061b0
leave
ret 4
push ebx
push esi
call dword [sym.imp.api_ms_win_core_sidebyside_l1_1_0.dll_ActivateActCtx]
mov eax, esi
jmp 0x405ae0
call fcn.004062f8
int3
Function at 0x406524
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x406cb8
call fcn.004067e8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x406584
cmp eax, 0xffffffff
je 0x406584
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40657d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40657d
cmp edx, 0x10000000
jae 0x40657d
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 0x40657a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4065f0
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 0x40662e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x406626
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x406630
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x406616
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406700
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x406731
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x406731
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x406731
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x43e188
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0043e31f
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x43e2f7
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x43e2f7
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x43e2ac
jg 0x43e1e4
test eax, eax
je 0x43e2a2
push 1
push 0x1000
call fcn.0042f8ef
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x43e207
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x43e299
push 0x8000
push ebx
call fcn.004296bb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x43e230
jg 0x43e22b
cmp ecx, 0x1000
jb 0x43e230
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00435e13
add esp, 0x10
cmp eax, 0xffffffff
je 0x43e275
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x43e22b
jl 0x43e25c
test ecx, ecx
jne 0x43e21d
push dword [ebp - 0xc]
push ebx
call fcn.004296bb
push esi
call fcn.0042e5df
add esp, 0xc
xor ebx, ebx
jmp 0x43e305
cmp byte [edi + 0x24], 0
je 0x43e28c
cmp dword [edi + 0x20], 5
jne 0x43e28c
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x43e297
mov ebx, dword [edi + 0x18]
jmp 0x43e299
xor ebx, ebx
push esi
call fcn.0042e5df
pop ecx
jmp 0x43e305
test ecx, ecx
jg 0x43e26e
jl 0x43e2ac
test eax, eax
jae 0x43e26e
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.00434e84
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x43e2cc
cmp byte [edi + 0x1c], 0
je 0x43e26e
jmp 0x43e2fd
push ebx
call fcn.00435509
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43e26e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x43e305
cmp byte [edi + 0x1c], 0
je 0x43e302
mov ebx, dword [edi + 0x18]
jmp 0x43e305
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.00434e84
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xffffff90
nop
nop
cmp dword [eax], 0
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x11d728ba
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x21a4d38
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x403849
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add byte [ecx], al
push ebx
push esi
push edi
mov ebx, edx
in al, dx
add byte [ebx], dh
rcl byte [ebp + 0x68], 0x50
nop
inc eax
add byte [ecx], al
push dword [eax]
mov dword fs:[eax], esp
inc esp
add byte [ebx + 0x4a7e40fb], al
lea eax, [ebp]
add ecx, ecx
inc ebp
add byte [ecx], al
leave
mov edx, 0x68000040
add byte [esp + esi], cl
add byte [eax], al
lea eax, [ebp - 4]
add byte [ecx], al
xor byte [eax], al
add byte [esi - 0x47], ah
pop es
add byte [edx + 0x40], bh
call 0xff413899
cmp ebx, 0x40
jle 0x40386b
add dh, al
mov edx, dword [ebp - 4]
call 0x1403b91
call fcn.0040d329
push eax
add byte [eax + eax], al
add byte [eax], al
add byte [ebp + 0x41], dh
inc ecx
add byte [ecx], al
inc eax
cmp ebx, 0x40
jg 0x4038ab
add bl, bl
jle 0x4038ed
lea eax, [ebp - 4]
xor eax, dword [eax]
add ebx, edx
call 0x12406c85
add byte [ebp - 4], al
call fcn.00406929
add byte [ecx], al
and byte [eax], al
mov edx, ebx
call 0x3f39b2
mov eax, esi
mov edx, dword [ebp - 4]
add byte [ecx], al
add al, byte [eax]
add al, ch
inc ebx
mov es, word [eax]
add byte [ebx + 0x4b8], al
add byte [eax], al
add eax, eax
pop edx
pop ecx
pop ecx
out dx, al
add byte [eax + 0x57], ch
nop
inc eax
add byte [ebp - 0x74feffbb], cl
sub al, byte [eax]
add byte [eax + 0x4b], bl
lea eax, [ebp]
add dword [ebx + 0x5800002a], ecx
dec ebx
add cl, ch
ja 0x403928
add byte [eax], al
jmp 0x4038fa
mov eax, dword [0x885980]
add dword [ebx + 0x488b0845], ecx
xchg ebp, eax
add byte [esi + 0x2d289], bh
add byte [ebx + 0x508b0100], cl
cld
add edx, 8
lea eax, [ebp - 4]
call fcn.0041397d
mov eax, dword [ebp + 8]
mov esp, dword [edi]
add byte [ebx - 0x5b1703ab], cl
add eax, dword [eax]
add byte [ecx], al
inc ebp
or byte [ebx + 0x9fc40], cl
rol byte [edx], cl
add byte [eax], al
add byte [ebx + 0x40010045], cl
cld
mov byte [eax + 0x6ad3], 0
xor eax, eax
pop edx
pop ecx
pop ecx
add byte [ecx], al
adc byte [eax - 0x1f], ch
nop
inc eax
daa
add byte [ebp - 4], al
call fcn.00406369
add byte [ecx], al
loopne 0x403979
in eax, dx
pop ds
add bh, dh
add dh, ch
pop ecx
pop ebp
ret
Function at 0x44e489
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add byte [ecx], al
push ebx
push esi
push edi
mov ebx, edx
in al, dx
add byte [ebx], dh
rcl byte [ebp + 0x68], 0x50
nop
inc eax
add byte [ecx], al
push dword [eax]
mov dword fs:[eax], esp
inc esp
add byte [ebx + 0x4a7e40fb], al
lea eax, [ebp]
add ecx, ecx
inc ebp
add byte [ecx], al
leave
mov edx, 0x68000040
add byte [esp + esi], cl
add byte [eax], al
lea eax, [ebp - 4]
add byte [ecx], al
xor byte [eax], al
add byte [esi - 0x47], ah
pop es
add byte [edx + 0x40], bh
call 0xff45e4d9
cmp ebx, 0x40
jle 0x44e4ab
add dh, al
mov edx, dword [ebp - 4]
call 0x144e7d1
call fcn.00457f69
push eax
add byte [eax + eax], al
add byte [eax], al
add byte [ebp + 0x41], dh
inc ecx
add byte [ecx], al
inc eax
cmp ebx, 0x40
jg 0x44e4eb
add bl, bl
jle 0x44e52d
lea eax, [ebp - 4]
xor eax, dword [eax]
add ebx, edx
call 0x124518c5
add byte [ebp - 4], al
call fcn.00451569
add byte [ecx], al
and byte [eax], al
mov edx, ebx
call fcn.0043e5f2
mov eax, esi
mov edx, dword [ebp - 4]
add byte [ecx], al
add al, byte [eax]
add al, ch
inc ebx
mov es, word [eax]
add byte [ebx + 0x4b8], al
add byte [eax], al
add eax, eax
pop edx
pop ecx
pop ecx
out dx, al
add byte [eax + 0x57], ch
nop
inc eax
add byte [ebp - 0x74feffbb], cl
sub al, byte [eax]
add byte [eax + 0x4b], bl
lea eax, [ebp]
add dword [ebx + 0x5800002a], ecx
dec ebx
add cl, ch
ja 0x44e568
add byte [eax], al
jmp 0x44e53a
mov eax, dword [0x885980]
add dword [ebx + 0x488b0845], ecx
xchg ebp, eax
add byte [esi + 0x2d289], bh
add byte [ebx + 0x508b0100], cl
cld
add edx, 8
lea eax, [ebp - 4]
call 0x45e5bd
mov eax, dword [ebp + 8]
mov esp, dword [edi]
add byte [ebx - 0x5b1703ab], cl
add eax, dword [eax]
add byte [ecx], al
inc ebp
or byte [ebx + 0x9fc40], cl
rol byte [edx], cl
add byte [eax], al
add byte [ebx + 0x40010045], cl
cld
mov byte [eax + 0x6ad3], 0
xor eax, eax
pop edx
pop ecx
pop ecx
add byte [ecx], al
adc byte [eax - 0x1f], ch
nop
inc eax
daa
add byte [ebp - 4], al
call fcn.00450fa9
add byte [ecx], al
loopne 0x44e5b9
in eax, dx
pop ds
add bh, dh
add dh, ch
pop ecx
pop ebp
ret
Function at 0x498f89
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add byte [ecx], al
push ebx
push esi
push edi
mov ebx, edx
in al, dx
add byte [ebx], dh
rcl byte [ebp + 0x68], 0x50
nop
inc eax
add byte [ecx], al
push dword [eax]
mov dword fs:[eax], esp
inc esp
add byte [ebx + 0x4a7e40fb], al
lea eax, [ebp]
add ecx, ecx
inc ebp
add byte [ecx], al
leave
mov edx, 0x68000040
add byte [esp + esi], cl
add byte [eax], al
lea eax, [ebp - 4]
add byte [ecx], al
xor byte [eax], al
add byte [esi - 0x47], ah
pop es
add byte [edx + 0x40], bh
call 0xff4a8fd9
cmp ebx, 0x40
jle 0x498fab
add dh, al
mov edx, dword [ebp - 4]
call 0x14992d1
call fcn.004a2a69
push eax
add byte [eax + eax], al
add byte [eax], al
add byte [ebp + 0x41], dh
inc ecx
add byte [ecx], al
inc eax
cmp ebx, 0x40
jg 0x498feb
add bl, bl
jle 0x49902d
lea eax, [ebp - 4]
xor eax, dword [eax]
add ebx, edx
call 0x1249c3c5
add byte [ebp - 4], al
call fcn.0049c069
add byte [ecx], al
and byte [eax], al
mov edx, ebx
call fcn.004890f2
mov eax, esi
mov edx, dword [ebp - 4]
add byte [ecx], al
add al, byte [eax]
add al, ch
inc ebx
mov es, word [eax]
add byte [ebx + 0x4b8], al
add byte [eax], al
add eax, eax
pop edx
pop ecx
pop ecx
out dx, al
add byte [eax + 0x57], ch
nop
inc eax
add byte [ebp - 0x74feffbb], cl
sub al, byte [eax]
add byte [eax + 0x4b], bl
lea eax, [ebp]
add dword [ebx + 0x5800002a], ecx
dec ebx
add cl, ch
ja 0x499068
add byte [eax], al
jmp 0x49903a
mov eax, dword [0x885980]
add dword [ebx + 0x488b0845], ecx
xchg ebp, eax
add byte [esi + 0x2d289], bh
add byte [ebx + 0x508b0100], cl
cld
add edx, 8
lea eax, [ebp - 4]
call fcn.004a90bd
mov eax, dword [ebp + 8]
mov esp, dword [edi]
add byte [ebx - 0x5b1703ab], cl
add eax, dword [eax]
add byte [ecx], al
inc ebp
or byte [ebx + 0x9fc40], cl
rol byte [edx], cl
add byte [eax], al
add byte [ebx + 0x40010045], cl
cld
mov byte [eax + 0x6ad3], 0
xor eax, eax
pop edx
pop ecx
pop ecx
add byte [ecx], al
adc byte [eax - 0x1f], ch
nop
inc eax
daa
add byte [ebp - 4], al
call fcn.0049baa9
add byte [ecx], al
loopne 0x4990b9
in eax, dx
pop ds
add bh, dh
add dh, ch
pop ecx
pop ebp
ret
Function at 0x4e3be9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add byte [ecx], al
push ebx
push esi
push edi
mov ebx, edx
in al, dx
add byte [ebx], dh
rcl byte [ebp + 0x68], 0x50
nop
inc eax
add byte [ecx], al
push dword [eax]
mov dword fs:[eax], esp
inc esp
add byte [ebx + 0x4a7e40fb], al
lea eax, [ebp]
add ecx, ecx
inc ebp
add byte [ecx], al
leave
mov edx, 0x68000040
add byte [esp + esi], cl
add byte [eax], al
lea eax, [ebp - 4]
add byte [ecx], al
xor byte [eax], al
add byte [esi - 0x47], ah
pop es
add byte [edx + 0x40], bh
call 0xff4f3c39
cmp ebx, 0x40
jle 0x4e3c0b
add dh, al
mov edx, dword [ebp - 4]
call 0x14e3f31
call fcn.004ed6c9
push eax
add byte [eax + eax], al
add byte [eax], al
add byte [ebp + 0x41], dh
inc ecx
add byte [ecx], al
inc eax
cmp ebx, 0x40
jg 0x4e3c4b
add bl, bl
jle 0x4e3c8d
lea eax, [ebp - 4]
xor eax, dword [eax]
add ebx, edx
call 0x124e7025
add byte [ebp - 4], al
call fcn.004e6cc9
add byte [ecx], al
and byte [eax], al
mov edx, ebx
call fcn.004d3d52
mov eax, esi
mov edx, dword [ebp - 4]
add byte [ecx], al
add al, byte [eax]
add al, ch
inc ebx
mov es, word [eax]
add byte [ebx + 0x4b8], al
add byte [eax], al
add eax, eax
pop edx
pop ecx
pop ecx
out dx, al
add byte [eax + 0x57], ch
nop
inc eax
add byte [ebp - 0x74feffbb], cl
sub al, byte [eax]
add byte [eax + 0x4b], bl
lea eax, [ebp]
add dword [ebx + 0x5800002a], ecx
dec ebx
add cl, ch
ja 0x4e3cc8
add byte [eax], al
jmp 0x4e3c9a
mov eax, dword [0x885980]
add dword [ebx + 0x488b0845], ecx
xchg ebp, eax
add byte [esi + 0x2d289], bh
add byte [ebx + 0x508b0100], cl
cld
add edx, 8
lea eax, [ebp - 4]
call 0x4f3d1d
mov eax, dword [ebp + 8]
mov esp, dword [edi]
add byte [ebx - 0x5b1703ab], cl
add eax, dword [eax]
add byte [ecx], al
inc ebp
or byte [ebx + 0x9fc40], cl
rol byte [edx], cl
add byte [eax], al
add byte [ebx + 0x40010045], cl
cld
mov byte [eax + 0x6ad3], 0
xor eax, eax
pop edx
pop ecx
pop ecx
add byte [ecx], al
adc byte [eax - 0x1f], ch
nop
inc eax
daa
add byte [ebp - 4], al
call fcn.004e6709
add byte [ecx], al
loopne 0x4e3d19
in eax, dx
pop ds
add bh, dh
add dh, ch
pop ecx
pop ebp
ret
Function at 0x52eb59
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add byte [ecx], al
push ebx
push esi
push edi
mov ebx, edx
in al, dx
add byte [ebx], dh
rcl byte [ebp + 0x68], 0x50
nop
inc eax
add byte [ecx], al
push dword [eax]
mov dword fs:[eax], esp
inc esp
add byte [ebx + 0x4a7e40fb], al
lea eax, [ebp]
add ecx, ecx
inc ebp
add byte [ecx], al
leave
mov edx, 0x68000040
add byte [esp + esi], cl
add byte [eax], al
lea eax, [ebp - 4]
add byte [ecx], al
xor byte [eax], al
add byte [esi - 0x47], ah
pop es
add byte [edx + 0x40], bh
call 0xff53eba9
cmp ebx, 0x40
jle 0x52eb7b
add dh, al
mov edx, dword [ebp - 4]
call 0x152eea1
call fcn.00538639
push eax
add byte [eax + eax], al
add byte [eax], al
add byte [ebp + 0x41], dh
inc ecx
add byte [ecx], al
inc eax
cmp ebx, 0x40
jg 0x52ebbb
add bl, bl
jle 0x52ebfd
lea eax, [ebp - 4]
xor eax, dword [eax]
add ebx, edx
call 0x12531f95
add byte [ebp - 4], al
call fcn.00531c39
add byte [ecx], al
and byte [eax], al
mov edx, ebx
call fcn.0051ecc2
mov eax, esi
mov edx, dword [ebp - 4]
add byte [ecx], al
add al, byte [eax]
add al, ch
inc ebx
mov es, word [eax]
add byte [ebx + 0x4b8], al
add byte [eax], al
add eax, eax
pop edx
pop ecx
pop ecx
out dx, al
add byte [eax + 0x57], ch
nop
inc eax
add byte [ebp - 0x74feffbb], cl
sub al, byte [eax]
add byte [eax + 0x4b], bl
lea eax, [ebp]
add dword [ebx + 0x5800002a], ecx
dec ebx
add cl, ch
ja 0x52ec38
add byte [eax], al
jmp 0x52ec0a
mov eax, dword [0x885980]
add dword [ebx + 0x488b0845], ecx
xchg ebp, eax
add byte [esi + 0x2d289], bh
add byte [ebx + 0x508b0100], cl
cld
add edx, 8
lea eax, [ebp - 4]
call fcn.0053ec8d
mov eax, dword [ebp + 8]
mov esp, dword [edi]
add byte [ebx - 0x5b1703ab], cl
add eax, dword [eax]
add byte [ecx], al
inc ebp
or byte [ebx + 0x9fc40], cl
rol byte [edx], cl
add byte [eax], al
add byte [ebx + 0x40010045], cl
cld
mov byte [eax + 0x6ad3], 0
xor eax, eax
pop edx
pop ecx
pop ecx
add byte [ecx], al
adc byte [eax - 0x1f], ch
nop
inc eax
daa
add byte [ebp - 4], al
call fcn.00531679
add byte [ecx], al
loopne 0x52ec89
in eax, dx
pop ds
add bh, dh
add dh, ch
pop ecx
pop ebp
ret