joyce8/EMBER2024-capa huggingface dataset:
Function at 0x102ab40
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x6fc
mov eax, dword [0x103b444]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x102ac8d
mov dword [ebp - 0x43c], 0x104
lea edx, [ebp - 0x43c]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x102ac83
xor edx, edx
mov word [ebp - 0x438], dx
mov dword [ebp - 0x224], 0x105
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x438]
push ecx
push 0
push 0
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_Ordinal_348]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x102ac11
movzx eax, word [ebp - 0x438]
test eax, eax
je 0x102ac11
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x438]
push edx
call fcn.01034b60
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 8], ecx
jmp 0x102ac83
push 0x200
push 0x2b4
lea edx, [ebp - 0x6f8]
push edx
push 0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x102ac56
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x6ec]
push edx
call fcn.01034b60
xor ecx, ecx
test eax, eax
setge cl
mov dword [ebp - 8], ecx
jmp 0x102ac83
lea edx, [ebp - 0x220]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x6fc], eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x6fc]
push ecx
call fcn.01034b60
xor edx, edx
test eax, eax
setge dl
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0102c711
mov esp, ebp
pop ebp
ret 8

Function at 0x102adc0
Capabilities:
Get file system object information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4e0
mov eax, dword [0x103b444]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0x1000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x102ae65
mov dword [ebp - 0x224], 0x104
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x220]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
test eax, eax
je 0x102ae5b
push 0x100
push 0x2b4
lea edx, [ebp - 0x4e0]
push edx
push 0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x102ae5b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x4e0]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0102c711
mov esp, ebp
pop ebp
ret 8
Function at 0x102b220
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1036458
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x103b444]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3c], ecx
push 0x1002744
push 0
call dword [sym.imp.UxTheme.dll_OpenThemeData]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x28], eax
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x10]
call fcn.01012550
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
add ecx, 1
push ecx
lea ecx, [ebp - 0x10]
call fcn.01019510
lea ecx, [ebp - 0x10]
call fcn.01024680
test eax, eax
je 0x102b2d5
mov edx, dword [ebp - 0x24]
add edx, 1
push edx
lea ecx, [ebp - 0x10]
call fcn.01024680
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push 0xfffffffffffffff4
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
push ecx
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.01007f90
push 0xffffffffffffffec
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
push 0xfffffffffffffff0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push eax
lea ecx, [ebp - 0x10]
call fcn.01024680
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
lea edx, [ebp - 0x20]
push edx
call fcn.01007f90
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
mov ecx, dword [ebp - 0x3c]
call fcn.0102b9b0
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
je 0x102b38b
push 0xffffffffffffffe6
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_GetClassLongW]
and eax, 0xfffffffc
push eax
push 0xffffffffffffffe6
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_SetClassLongW]
push 1
push 0
push 0
push 0x31
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
mov ecx, dword [ebp - 0x3c]
add ecx, 4
call fcn.0102a900
mov ecx, dword [ebp - 0x3c]
add ecx, 0x2c
push ecx
mov ecx, dword [ebp - 0x3c]
add ecx, 4
call fcn.0100d6b0
jmp 0x102b3a6
mov dword [ebp - 0x34], 0x80004005
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01015a50
mov eax, dword [ebp - 0x34]
jmp 0x102b3bf
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01015a50
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x102bd8c
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x103b444]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.0102bccd
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x102bdff
cmp dword [ebp - 0x94], 5
jb 0x102be20
jmp 0x102be1c
cmp dword [ebp - 0x88], 1
jne 0x102be20
cmp dword [ebp - 0x94], 4
ja 0x102be1c
jne 0x102be20
cmp dword [ebp - 0x90], 0
jbe 0x102be20
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1002794
call fcn.01013bd0
test eax, eax
jge 0x102be41
mov byte [0x103b4f0], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0102c711
leave
ret

Function at 0x102c300
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x103bcc8], 0
push esi
jne 0x102c26e
call fcn.0102c165
test eax, eax
je 0x102c2b1
mov eax, dword [0x103bcc8]
cmp eax, 1
jne 0x102c28f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x102c2b1
pop esi
ret
push eax
call dword [0x103bcd0]
test eax, eax
jne 0x102c2f9
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x102c2b5
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x103bcc8]
call dword [0x103bcd0]
mov edi, eax
test edi, edi
je 0x102c2da
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x102c2f6
mov edi, esi
add esi, 0xff0
push edi
push dword [0x103bcc8]
call dword [0x103bccc]
add edi, 0x10
cmp edi, esi
jb 0x102c2e2
mov eax, edi
pop edi
pop esi
ret
jmp 0x102c25b
Function at 0x102c613
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1037de8
call fcn.0102c930
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x103c298
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x102c3ce
cmp eax, esi
jne 0x102c3c1
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x102c3d1
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x102c3a8
xor esi, esi
inc esi
mov eax, dword [0x103c294]
cmp eax, esi
jne 0x102c3e4
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x102c413
mov eax, dword [0x103c294]
test eax, eax
jne 0x102c40d
mov dword [0x103c294], esi
push 0x1001628
push 0x100161c
call fcn.0102c30a
pop ecx
pop ecx
test eax, eax
je 0x102c413
jmp 0x102c537
mov dword [0x103bcf4], esi
mov eax, dword [0x103c294]
cmp eax, esi
jne 0x102c437
push 0x1001618
push 0x10015fc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x103c294], 2
cmp dword [ebp - 0x20], ebx
jne 0x102c444
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x103c2a4], ebx
je 0x102c465
push 0x103c2a4
call fcn.0102cb89
pop ecx
test eax, eax
je 0x102c465
push ebx
push 2
push ebx
call dword [0x103c2a4]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x102c537
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x102c4cf
cmp cx, bx
je 0x102c48a
cmp dword [ebp - 0x1c], ebx
jne 0x102c4cf
movzx ecx, word [eax]
cmp cx, bx
je 0x102c49f
cmp cx, 0x20
ja 0x102c49f
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x102c48a
test byte [ebp - 0x40], 1
je 0x102c4ab
movzx ecx, word [ebp - 0x3c]
jmp 0x102c4ae
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x103bcf0], eax
cmp dword [0x103bce4], ebx
jne 0x102c514
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x102c4e0
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x102c474
cmp dword [0x103bcf4], ebx
jne 0x102c522
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x103bcf0]
jmp 0x102c543
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0102c975
ret
call fcn.0102ccd6
jmp 0x102c36b
Function at 0x102d130
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x103b444]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x103c038], 0
jne 0x102d1bc
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov word [0x103c034], ax
movzx eax, word [0x103c034]
test eax, eax
je 0x102d1a6
push 0x10
lea ecx, [ebp - 0x28]
push ecx
push 0x58
movzx edx, word [0x103c034]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x102d1a6
movzx eax, word [ebp - 0x1a]
and eax, 0x800
je 0x102d1a6
movzx ecx, word [0x103c034]
push ecx
call fcn.0102d0f0
test eax, eax
je 0x102d1a6
mov dword [ebp - 4], 1
mov edx, dword [ebp - 4]
neg edx
sbb edx, edx
add edx, 2
push edx
push 0x103c038
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x103c038], 1
jne 0x102d1d8
cmp dword [ebp + 8], 0
je 0x102d1d8
mov eax, dword [ebp + 8]
mov cx, word [0x103c034]
mov word [eax], cx
xor eax, eax
cmp dword [0x103c038], 1
sete al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0102c711
mov esp, ebp
pop ebp
ret 4

Function at 0x1030f10
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x50], 0
je 0x1030f4a
mov dword [ebp - 0x34], 8
mov dword [ebp - 0xf], 0
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x38]
mov eax, dword [edx + 0x50]
push eax
call dword [sym.imp.dwmapi.dll_DwmUpdateThumbnailProperties]
push 0
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x48]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x10349d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x60
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0xc], 0
push 0x1006f38
movzx eax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1034a31
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100f570
mov dword [ebp - 0x5c], eax
jmp 0x1034af3
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0
jne 0x1034a61
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100f570
mov dword [ebp - 0x5c], eax
jmp 0x1034af3
mov ecx, dword [ebp - 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x1034a87
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100f570
mov dword [ebp - 0x5c], eax
jmp 0x1034af3
push 0x48
push 0
lea edx, [ebp - 0x58]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x54], 0x204d454d
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x58]
push eax
push 0
call dword [sym.imp.WINMM.dll_mmioOpenW]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x60], 0
jne 0x1034ae3
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.0100f570
mov dword [ebp - 0x5c], eax
jmp 0x1034af3
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.01034720
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 4], 0
je 0x1034b05
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.WINMM.dll_mmioClose]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x60]
je 0x1034b17
mov eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebp - 0x5c]
mov esp, ebp
pop ebp
ret 0xc

Function at 0x1034e10
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x1034e30
mov dword [ebp - 8], 0x80004003
jmp 0x1034e80
cmp dword [ebp + 0x10], 0
jne 0x1034e41
mov dword [ebp - 8], 0x80004003
jmp 0x1034e80
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1034e6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100f570
mov dword [ebp - 8], eax
jmp 0x1034e80
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
test ecx, ecx
jne 0x1034e80
mov dword [ebp - 8], 0x8007007a
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x2fe3700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.02fe378f
jae 0x2fe370e
xor ecx, ecx
call fcn.02fe378f
jae 0x2fe373d
xor eax, eax
call fcn.02fe378f
jae 0x2fe374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.02fe378f
adc al, al
jae 0x2fe372f
jne 0x2fe3779
stosb byte es:[edi], al
jmp 0x2fe3711
call fcn.02fe379b
sub ecx, ebx
jne 0x2fe3756
call fcn.02fe3799
jmp 0x2fe3775
lodsb al, byte [esi]
shr eax, 1
je 0x2fe3783
adc ecx, ecx
jmp 0x2fe3772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.02fe3799
cmp eax, 0x7d00
jae 0x2fe3772
cmp ah, 5
jae 0x2fe3773
cmp eax, 0x7f
ja 0x2fe3774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2fe3711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x4099c0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, eax
cmp dword [esi + 4], 0
jne 0x4099d2
push esi
call fcn.00409c00
add esp, 4
mov eax, dword [esi + 4]
cmp eax, 1
jne 0x4099ea
push edi
push ebx
add esi, 8
push esi
call fcn.0040cb70
add esp, 0xc
pop esi
ret
cmp eax, 2
jne 0x409a23
mov eax, dword [esi]
push eax
push edi
push 1
push ebx
call fcn.0045878b
add esp, 0x10
cmp eax, edi
jae 0x409a23
push esi
call fcn.00409730
mov ecx, dword [esi + 0x118]
push str.Disabled_writing_session_log_due_to_error_while_writing
push ecx
mov dword [esi + 4], 3
call fcn.00445970
add esp, 0xc
pop esi
ret
Function at 0x424870
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov dl, byte [esi]
mov bl, byte [esi + 1]
xor eax, eax
cmp dword [esp + 0x14], eax
jle 0x4248da
push ebp
push edi
jmp 0x42488b
mov bl, byte [esp + 0x14]
inc dl
movzx ecx, dl
lea edi, [ecx + esi + 2]
mov cl, byte [edi]
add bl, cl
mov byte [esp + 0x14], bl
movzx ebx, bl
lea ebp, [ebx + esi + 2]
mov bl, byte [ebp]
mov byte [edi], bl
mov byte [ebp], cl
movzx edi, byte [edi]
movzx ecx, cl
add edi, ecx
and edi, 0xff
movzx ecx, byte [edi + esi + 2]
mov edi, dword [esp + 0x18]
xor byte [eax + edi], cl
inc eax
cmp eax, dword [esp + 0x1c]
jl 0x424887
pop edi
mov byte [esi], dl
mov dl, byte [esp + 0x10]
pop ebp
mov byte [esi + 1], dl
pop esi
pop ebx
ret
mov byte [esi + 1], bl
mov byte [esi], dl
pop esi
pop ebx
ret

Function at 0x427c30
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
test ecx, ecx
je 0x427c61
push esi
push edi
movzx esi, byte [edx]
mov edi, eax
and edi, 0xff
xor edi, esi
shr eax, 8
xor eax, dword [edi*4 + 0x477688]
dec ecx
inc edx
test ecx, ecx
jne 0x427c42
pop edi
pop esi
ret

Function at 0x428100
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
lea edx, [esp + 0x14]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
push edx
mov eax, 0x1c
mov ecx, 0x477b08
call fcn.004280b0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
mov eax, 0x1c
mov ecx, 0x477b78
call fcn.004280b0
mov ebx, eax
mov eax, dword [ebp + 8]
mov esi, 0x477ce8
add esp, 8
sub eax, esi
mov dword [esp + 0x10], eax
mov eax, dword [esi]
mov ecx, 0x1c
sub ecx, eax
mov dword [esp + 0x14], ecx
mov edx, edi
shr edx, cl
mov ecx, eax
shl edi, cl
mov ecx, dword [esp + 0x14]
or edx, edi
and edx, 0xfffffff
mov edi, edx
mov edx, ebx
shr edx, cl
mov ecx, eax
shl ebx, cl
lea eax, [esp + 0x18]
push eax
mov eax, 0x20
or edx, ebx
and edx, 0xfffffff
mov ebx, edx
mov ecx, 0x477be8
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
call fcn.004280b0
mov ecx, dword [esp + 0x14]
mov dword [ecx + esi], eax
lea edx, [esp + 0x1c]
push edx
mov eax, 0x20
mov ecx, 0x477c68
call fcn.004280b0
mov ecx, dword [esp + 0x18]
mov dword [ecx + esi + 0x40], eax
add esi, 4
add esp, 8
cmp esi, 0x477d28
jl 0x428151
mov eax, dword [ebp + 8]
pop edi
xor ecx, ecx
pop esi
mov dword [eax + 0x84], ecx
mov dword [eax + 0x80], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x80]
push edi
mov edi, dword [eax + 0x84]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edi
test ecx, ecx
jbe 0x429857
dec ecx
shr ecx, 3
inc ecx
mov dword [esp + 0x14], ecx
jmp 0x429760
movzx edi, byte [esi]
movzx ecx, byte [esi + 1]
movzx edx, byte [esi + 2]
movzx ebx, byte [esi + 4]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 3]
shl edi, 8
or edi, edx
movzx edx, byte [esi + 5]
shl ebx, 8
or ebx, edx
movzx edx, byte [esi + 7]
shl edi, 8
or edi, ecx
movzx ecx, byte [esi + 6]
shl ebx, 8
or ebx, ecx
shl ebx, 8
or ebx, edx
lea ecx, [esp + 0x18]
push ecx
add eax, 0x110
mov ecx, ebx
mov edx, edi
call fcn.00428ac0
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x20]
add eax, 0x88
call fcn.004281f0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x20]
push eax
mov eax, dword [ebp + 8]
call fcn.00428ac0
mov eax, dword [esp + 0x18]
xor eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
xor ecx, dword [esp + 0x28]
mov edx, eax
shr edx, 0x18
mov byte [esi], dl
mov edx, eax
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, eax
mov byte [esi + 3], al
shr edx, 8
mov eax, ecx
shr eax, 0x18
mov byte [esi + 4], al
mov byte [esi + 2], dl
mov edx, ecx
mov eax, ecx
shr eax, 8
shr edx, 0x10
mov byte [esi + 6], al
mov eax, dword [ebp + 8]
mov byte [esi + 5], dl
mov byte [esi + 7], cl
add esp, 0xc
add esi, 8
sub dword [esp + 0x14], 1
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], ebx
jne 0x429760
mov ecx, edi
mov edx, ebx
mov dword [eax + 0x80], ecx
mov dword [eax + 0x84], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [eax + 0x84], edi
pop edi
pop esi
mov dword [eax + 0x80], edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e940
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push 1
push 0x258
call fcn.0040c6e0
add esp, 8
mov ebx, eax
call fcn.0042e6b0
mov esi, dword [0x484b88]
mov eax, dword [esp + 0x14]
lea esi, [esi + 0x4846d8]
mov edi, ebx
mov ecx, 0x96
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
pop edi
mov dword [eax], 0x258
pop esi
mov dword [ecx], ebx
pop ebx
jmp fcn.0042e6b0
Function at 0x430260
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x30
mov eax, dword [0x4832b0]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
push ebx
push ebp
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x430322
push esi
jmp 0x430295
mov ebp, dword [esp + 0x4c]
mov eax, dword [edi + 0xc]
cmp ebp, eax
jle 0x43029e
mov ebp, eax
mov ecx, ebx
shr ecx, 0x18
mov edx, ebx
mov eax, ebx
mov byte [esp + 0xc], cl
mov ecx, dword [edi]
shr edx, 0x10
shr eax, 8
mov byte [esp + 0xd], dl
mov byte [esp + 0xe], al
mov byte [esp + 0xf], bl
call ecx
mov edx, dword [esp + 0x44]
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [esp + 0x14]
push edx
push eax
push esi
call ecx
mov eax, dword [edi + 4]
push 4
lea edx, [esp + 0x1c]
push edx
push esi
call eax
mov edx, dword [edi + 8]
lea ecx, [esp + 0x30]
push ecx
push esi
call edx
add esp, 0x20
inc ebx
test ebp, ebp
jle 0x43030b
mov eax, dword [esp + 0x10]
lea esi, [esp + 0x18]
sub esi, eax
mov ecx, ebp
nop
mov dl, byte [esi + eax]
xor byte [eax], dl
inc eax
sub ecx, 1
jne 0x430300
mov eax, dword [esp + 0x4c]
add dword [esp + 0x10], ebp
sub eax, ebp
mov dword [esp + 0x4c], eax
test eax, eax
jg 0x430291
pop esi
mov ecx, dword [esp + 0x34]
pop ebp
pop ebx
xor ecx, esp
call fcn.00456f82
add esp, 0x30
ret