joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bf20
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
push 0xf0
mov esi, ecx
push 0
push esi
mov edi, eax
call fcn.004c2670
mov dword [esi + 0x100], 0
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 4], 0xbb67ae85
mov edx, dword [esi + 0xf4]
mov dword [edx + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0x10], 0x510e527f
mov edx, dword [esi + 0xf4]
mov dword [edx + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x18], 0x1f83d9ab
mov ecx, dword [esi + 0xf4]
mov dword [ecx + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov eax, dword [esi + 0xf4]
xor dword [eax + 8], edx
mov esi, dword [esi + 0xf4]
or edi, 0x2000
shl edi, 0x10
xor dword [esi + 0xc], edi
add esp, 0xc
pop edi
pop esi
ret 4
Function at 0x41df50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d3b0b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4ec0b4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.00465870
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x24]
mov dword [esi], eax
mov dword [esi + 0x3c], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 1
call fcn.00482cf0
mov ecx, dword [esi]
push 0x40000
push ecx
push 0x41de40
mov ecx, edi
mov dword [esi + 4], eax
call fcn.00465890
mov ecx, edi
call fcn.00465840
mov dword [esi + 0x10], ebx
mov dword [esp + 0x1c], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x41e6d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d3b7b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ec0b4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], 0
mov eax, dword [esi + 8]
push eax
call fcn.004c26ea
mov eax, dword [esi + 0x30]
add esp, 4
test eax, eax
je 0x41e734
mov ecx, dword [eax - 4]
lea edi, [eax - 4]
push 0x41dff0
push ecx
push 0x8a4
push eax
call fcn.004c2a6b
push edi
call fcn.004c26ea
add esp, 4
mov edx, dword [esi + 4]
push edx
call fcn.00482b90
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esi + 0x14]
call fcn.00465830
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x423810
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebp, eax
mov byte [esp + 0x13], 1
push 0
push 0
push ebp
call fcn.0047fd60
test eax, eax
je 0x42389d
sub eax, ebp
sar eax, 1
add eax, 2
mov edi, eax
lea eax, [edi + edi]
push eax
call fcn.004c2cc7
mov esi, eax
add esp, 4
test esi, esi
je 0x42389d
push edi
push esi
push ebp
call fcn.0047fd60
mov ebp, eax
test ebp, ebp
je 0x42389d
cmp byte [esp + 0x13], 0
mov bl, 1
jne 0x423882
cmp byte [esp + 0x1c], 0
mov ecx, dword [esp + 0x14]
push esi
je 0x42387d
call fcn.004236f0
mov bl, al
jmp 0x423882
call fcn.00423430
push esi
call fcn.004c23c4
add esp, 4
cmp byte [esp + 0x1c], 0
je 0x423896
test bl, bl
je 0x42389d
mov byte [esp + 0x13], 0
jmp 0x423828
cmp byte [esp + 0x1c], 0
pop edi
pop esi
pop ebp
pop ebx
jne 0x4238b1
mov ecx, dword [esp + 4]
call fcn.004217c0
add esp, 8
ret 0xc
Function at 0x423970
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x804
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x800], eax
push ebx
mov ebx, dword [esp + 0x80c]
push esi
xor eax, eax
push edi
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push 0x400
lea ecx, [esp + 0x10]
push ecx
push eax
xor edi, edi
call fcn.0047fd60
mov esi, eax
test esi, esi
je 0x423a05
test edi, edi
jne 0x4239bc
mov edi, 1
jmp 0x4239e7
movzx edx, word [esp + 0xc]
push edx
mov ecx, 0x546060
call fcn.004210a0
test al, al
jne 0x4239e7
cmp edi, 1
jne 0x4239e6
mov ax, word [esp + 0xc]
mov cx, word [esp + 0xe]
mov word [ebx], ax
mov word [ebx + 2], cx
inc edi
push 0x400
lea edx, [esp + 0x10]
push edx
push esi
call fcn.0047fd60
mov esi, eax
test esi, esi
jne 0x4239b1
cmp edi, 2
jne 0x423a05
mov word [ebx], ax
mov ecx, dword [esp + 0x80c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x804
ret 4
Function at 0x424360
Capabilities:
Check if file exists
Get file attributes
Write file on windows

Disassembly:
mov eax, 0x1010
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x100c], eax
push esi
xor esi, esi
cmp dword [0x552490], esi
je 0x424544
push esi
push 1
push 0x55147a
mov ecx, 0x542618
call fcn.00418a80
cmp eax, 1
jne 0x424544
cmp dword [0x54a078], 3
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 4], esi
push eax
jne 0x4243ce
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x542618
call fcn.00415680
jmp 0x4243e2
lea edx, [esp + 8]
push edx
lea eax, [esp + 0x10]
push eax
mov ecx, 0x542618
call fcn.004155a0
cmp dword [esp + 4], esi
je 0x424544
push 0x800
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x55247c
call fcn.004803b0
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x424452
push esi
push esi
push 0x7fffffff
push 0x7fffffff
lea eax, [esp + 0x20]
push eax
push esi
call fcn.0040b990
cmp al, 0x43
je 0x42442f
cmp al, 0x4e
jne 0x424452
mov ecx, dword [esp + 8]
push ecx
call fcn.004c26ea
add esp, 4
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x1010
ret
push edi
push 0x4d93b4
lea edx, [esp + 0x18]
push edx
call fcn.0043d170
mov edi, eax
cmp edi, esi
jne 0x4244a6
lea eax, [esp + 0x14]
push eax
push 0x1f6
call fcn.00475cc0
push eax
push 0x55147a
call fcn.004adf30
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c26ea
add esp, 0x10
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x1010
ret
mov eax, dword [0x54a078]
cmp eax, 3
jne 0x4244fb
push edi
push 0xff
call fcn.004c4882
push edi
push 0xfe
call fcn.004c4882
add esp, 0x10
cmp dword [esp + 8], esi
jbe 0x424526
nop
mov edx, dword [esp + 0x10]
movzx eax, word [edx + esi*2]
push edi
push eax
call fcn.004c4882
mov ecx, dword [esp + 0x18]
movzx edx, byte [ecx + esi*2 + 1]
push edi
push edx
call fcn.004c4882
inc esi
add esp, 0x10
cmp esi, dword [esp + 8]
jb 0x4244d0
jmp 0x424526
cmp eax, 2
jne 0x424511
mov eax, dword [esp + 8]
push eax
mov eax, dword [esp + 0x10]
push eax
push eax
call dword [sym.imp.USER32.dll_CharToOemBuffA]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
push edi
push ecx
push 1
push edx
call fcn.004c4800
add esp, 0x10
push edi
call fcn.004c4622
mov eax, dword [esp + 0x10]
push eax
call fcn.004c26ea
mov ecx, dword [esp + 0x18]
push ecx
call fcn.004c26ea
add esp, 0xc
pop edi
mov ecx, dword [esp + 0x1010]
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x1010
ret
Function at 0x426de0
Capabilities:
Read file via mapping

Disassembly:
mov eax, 0x3024
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x3020], eax
push esi
push str.winrar_config_integration
push 0
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
mov dword [esp + 4], esi
test esi, esi
je 0x426f1a
push ebp
push 0x10000
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebp, eax
test ebp, ebp
jne 0x426e4d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
pop esi
mov ecx, dword [esp + 0x3020]
xor ecx, esp
call fcn.004c1c22
add esp, 0x3024
ret
cmp byte [ebp], 0x49
push ebx
push edi
mov ebx, ebp
jne 0x426eb4
cmp byte [ebp + 1], 0x1a
jne 0x426eb4
lea esi, [ebp + 2]
mov ecx, 6
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x1030]
movsw word es:[edi], word [esi]
push eax
lea edi, [ebp + 0x1c]
mov ebx, 0x400
call fcn.00426d90
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.00426d90
mov ebx, eax
test ebx, ebx
je 0x426eb0
push 0
lea edx, [esp + 0x18]
push edx
call fcn.0044b8c0
lea edi, [esp + 0x30]
lea esi, [esp + 0x1030]
call fcn.00426c90
mov esi, dword [esp + 0x10]
cmp byte [ebx], 0x54
jne 0x426f09
lea eax, [esp + 0x2030]
lea edi, [ebx + 1]
push eax
mov ebx, 0x800
call fcn.00426d90
lea ecx, [esp + 0x30]
push ecx
mov edi, eax
call fcn.00426d90
lea edx, [esp + 0x1030]
push edx
mov edi, eax
call fcn.00426d90
test eax, eax
je 0x426f09
push 0
lea eax, [esp + 0x1034]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x203c]
push edx
call fcn.0044b460
push ebp
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
pop ebp
mov ecx, dword [esp + 0x3024]
pop esi
xor ecx, esp
call fcn.004c1c22
add esp, 0x3024
ret
Function at 0x428120
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4440
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x443c], eax
push ebx
push 1
push 0x800
lea eax, [esp + 0x48]
push eax
call fcn.00461040
push 0x800
lea ecx, [esp + 0x44]
push ecx
call fcn.004607d0
push 0x800
push str.Settings.reg
lea edx, [esp + 0x48]
push edx
call fcn.0047fc20
push 0x800
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x1048]
push ecx
call fcn.0047fbe0
mov ebx, dword [esp + 0x4448]
test bl, bl
je 0x42830e
push 1
push str.ExportedSettings
push 0x4d89fc
call fcn.0046ce00
cmp byte [esp + 0x444c], 0
jne 0x4281e0
xor edx, edx
test bl, bl
sete dl
push ebx
push str..reg
lea ecx, [esp + 0x48]
push ecx
add edx, 0x5b4
push edx
call fcn.00475cc0
push eax
mov eax, dword [0x535cac]
push eax
call fcn.0041cb60
test al, al
je 0x428341
test bl, bl
jne 0x42837a
push 0x4d89fc
call fcn.0046d2e0
mov eax, 0x4d9c3c
lea ecx, [esp + 0x40]
push ecx
push eax
lea edx, [esp + 0x2048]
push edx
mov edx, 0x900
call fcn.00407810
push 0x3c
lea eax, [esp + 0x14]
push 0
push eax
call fcn.004c2670
mov ecx, dword [0x535cac]
add esp, 0x18
lea eax, [esp + 4]
lea edx, [esp + 0x2040]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x40
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], str.regedit
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], 1
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
setne bl
test bl, bl
je 0x428284
mov ecx, dword [esp + 0x3c]
push 0x1388
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esp + 0x4448], 0
je 0x42829d
push str.ExportedSettings
push 0x4d89fc
call fcn.0046ca60
test bl, bl
je 0x428384
cmp byte [esp + 0x4448], 0
jne 0x4282b4
call fcn.00427e00
xor ecx, ecx
cmp byte [esp + 0x4448], cl
lea eax, [esp + 0x40]
sete cl
push eax
add ecx, 0x460
push ecx
call fcn.00475cc0
push eax
lea edx, [esp + 0x3248]
push edx
mov edx, 0x900
call fcn.00407810
add esp, 0xc
push 0
push 0x2fb
call fcn.00475cc0
mov ecx, dword [0x535cac]
push eax
lea eax, [esp + 0x3248]
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4283a9
push 0
push 1
push 0x800
lea edx, [esp + 0x4c]
push edx
push str.Settings.reg
call fcn.00461130
lea eax, [esp + 0x40]
push eax
call fcn.0043d340
test al, al
jne 0x4281a4
cmp byte [esp + 0x444c], al
je 0x42835b
xor al, al
pop ebx
mov ecx, dword [esp + 0x443c]
xor ecx, esp
call fcn.004c1c22
add esp, 0x4440
ret 8
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [esp + eax + 0x1040]
mov word [esp + eax + 0x40], cx
add eax, 2
test cx, cx
jne 0x428360
jmp 0x4281ae
mov eax, str._e___s__HKEY_CURRENT_USERSoftwareWinRAR
jmp 0x4281f7
cmp byte [esp + 0x444c], 0
jne 0x4283a9
lea edx, [esp + 0x2040]
push edx
push 0x201
call fcn.00475cc0
push eax
call fcn.004ad8e0
add esp, 8
mov ecx, dword [esp + 0x4440]
mov al, bl
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x4440
ret 8
Function at 0x428520
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x42854f
test cl, 7
je 0x42854f
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4f82d0]
dec esi
inc ecx
test esi, esi
ja 0x428532
cmp esi, 8
jb 0x4285e8
mov edi, esi
push ebx
shr edi, 3
push ebp
nop
mov edx, dword [ecx + 4]
xor eax, dword [ecx]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + 0x4f86d0]
mov dword [esp + 0x14], ecx
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4f82d0]
mov ecx, edx
shr ecx, 8
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x4f8ad0]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x4f92d0]
mov ecx, eax
shr ecx, 0x10
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x4f96d0]
mov ecx, eax
shr ecx, 8
movzx ebp, cl
xor ebx, dword [ebp*4 + 0x4f9ad0]
mov ecx, dword [esp + 0x14]
movzx edx, dl
xor ebx, dword [edx*4 + 0x4f8ed0]
movzx eax, al
xor ebx, dword [eax*4 + 0x4f9ed0]
sub esi, 8
add ecx, 8
sub edi, 1
mov eax, ebx
jne 0x428560
pop ebp
pop ebx
test esi, esi
jbe 0x428608
lea esp, [esp]
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4f82d0]
dec esi
inc ecx
test esi, esi
ja 0x4285f0
pop edi
pop esi
ret 0xc
Function at 0x4288a0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x18]
push edi
test esi, esi
jbe 0x4288e3
test bl, 7
je 0x4288df
movzx ecx, byte [ebx]
movzx edi, al
shrd eax, edx, 8
xor ecx, edi
xor eax, dword [ecx*8 + 0x4f42d0]
shr edx, 8
xor edx, dword [ecx*8 + 0x4f42d4]
dec esi
inc ebx
test esi, esi
ja 0x4288b7
mov dword [esp + 0x1c], esi
mov ecx, esi
shr ecx, 3
lea ecx, [ebx + ecx*8]
mov dword [esp + 0x18], ecx
cmp ebx, ecx
jae 0x4289d1
push ebp
mov ecx, dword [ebx]
xor ecx, eax
mov eax, dword [ebx + 4]
xor eax, edx
mov edx, eax
shr edx, 0x10
movzx esi, dl
mov edi, dword [esi*8 + 0x4f4ad0]
mov esi, dword [esi*8 + 0x4f4ad4]
mov edx, eax
shr edx, 0x18
movzx edx, dl
xor edi, dword [edx*8 + 0x4f42d0]
xor esi, dword [edx*8 + 0x4f42d4]
mov edx, eax
shr edx, 8
movzx edx, dl
xor edi, dword [edx*8 + 0x4f52d0]
xor esi, dword [edx*8 + 0x4f52d4]
movzx edx, al
xor edi, dword [edx*8 + 0x4f5ad0]
xor esi, dword [edx*8 + 0x4f5ad4]
mov ebp, eax
mov edx, ecx
shrd edx, ebp, 0x18
movzx edx, dl
xor edi, dword [edx*8 + 0x4f62d0]
xor esi, dword [edx*8 + 0x4f62d4]
shr ebp, 0x18
mov ebp, eax
mov edx, ecx
shrd edx, ebp, 0x10
movzx edx, dl
xor edi, dword [edx*8 + 0x4f6ad0]
xor esi, dword [edx*8 + 0x4f6ad4]
mov edx, ecx
shrd edx, eax, 8
mov dword [esp + 0x18], eax
shr eax, 8
movzx eax, dl
xor edi, dword [eax*8 + 0x4f72d0]
xor esi, dword [eax*8 + 0x4f72d4]
movzx eax, cl
xor esi, dword [eax*8 + 0x4f7ad4]
xor edi, dword [eax*8 + 0x4f7ad0]
add ebx, 8
shr ebp, 0x10
mov eax, edi
mov edx, esi
cmp ebx, dword [esp + 0x1c]
jb 0x4288f8
mov esi, dword [esp + 0x20]
pop ebp
and esi, 7
jbe 0x4289f9
movzx ecx, byte [ebx]
movzx edi, al
shrd eax, edx, 8
xor ecx, edi
xor eax, dword [ecx*8 + 0x4f42d0]
shr edx, 8
xor edx, dword [ecx*8 + 0x4f42d4]
dec esi
inc ebx
test esi, esi
ja 0x4289d6
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x428a00
Capabilities:
Encode data using xor

Disassembly:
xor dl, dl
push esi
mov esi, dword [esp + 8]
mov byte [ecx + 0xbfe], dl
mov byte [ecx + 0xbfd], dl
mov byte [ecx + 0xbfc], dl
mov al, byte [esi]
cmp al, dl
je 0x428a44
push ebx
mov bl, byte [ecx + 0xbfe]
add byte [ecx + 0xbfc], al
xor byte [ecx + 0xbfd], al
add bl, al
rol bl, 1
inc esi
mov byte [ecx + 0xbfe], bl
mov al, byte [esi]
cmp al, dl
jne 0x428a20
pop ebx
pop esi
ret 4
Function at 0x428a50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x6ec]
push eax
call fcn.004283d0
mov edi, dword [esp + 0xc]
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x428a70
sub eax, edx
push eax
push edi
push 0xffffffffffffffff
call fcn.00428520
mov word [esi + 0xc00], ax
shr eax, 0x10
xor ecx, ecx
xor edx, edx
mov word [esi + 0xc02], ax
mov word [esi + 0xc06], cx
mov word [esi + 0xc04], dx
mov al, byte [edi]
test al, al
je 0x428ae6
mov edx, edi
lea ecx, [ecx]
movzx ecx, al
mov di, word [esi + ecx*4 + 0x6ec]
lea ecx, [esi + ecx*4 + 0x6ec]
movzx ax, al
xor di, ax
xor word [esi + 0xc04], di
mov cx, word [ecx + 2]
add cx, ax
add word [esi + 0xc06], cx
mov al, byte [edx + 1]
inc edx
test al, al
jne 0x428ab0
pop edi
pop esi
ret 4

Function at 0x428b50
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0xc]
mov eax, ecx
test edi, edi
je 0x428c0a
push ebx
push esi
mov esi, dword [esp + 0x10]
jmp 0x428b70
mov ecx, 0x1234
add word [eax + 0xc00], cx
movzx ecx, word [eax + 0xc00]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [eax + edx*4 + 0x6ec]
xor word [eax + 0xc02], dx
mov bx, word [eax + 0xc06]
mov edx, ecx
shr edx, 1
and edx, 0xff
movzx edx, word [eax + edx*4 + 0x6ee]
sub word [eax + 0xc04], dx
movzx edx, word [eax + 0xc04]
xor edx, ecx
mov word [eax + 0xc00], dx
mov edx, 1
mov ecx, edx
dec edi
ror bx, cl
inc esi
xor bx, word [eax + 0xc02]
ror bx, cl
movzx ecx, bx
xor word [eax + 0xc00], cx
mov word [eax + 0xc06], cx
movzx ecx, word [eax + 0xc00]
shr ecx, 8
xor byte [esi - 1], cl
test edi, edi
jne 0x428b70
pop esi
pop ebx
pop edi
ret 8

Function at 0x428c10
Capabilities:
Encode data using add xor sub operations

Disassembly:
mov eax, dword [esp + 4]
inc eax
mov edx, 4
push esi
jmp 0x428c20
movzx esi, byte [eax - 1]
mov esi, dword [ecx + esi*4 + 0x6ec]
xor dword [ecx + 0xbec], esi
movzx esi, byte [eax]
mov esi, dword [ecx + esi*4 + 0x6ec]
xor dword [ecx + 0xbf0], esi
movzx esi, byte [eax + 1]
mov esi, dword [ecx + esi*4 + 0x6ec]
xor dword [ecx + 0xbf4], esi
movzx esi, byte [eax + 2]
mov esi, dword [ecx + esi*4 + 0x6ec]
xor dword [ecx + 0xbf8], esi
add eax, 4
sub edx, 1
jne 0x428c20
pop esi
ret 4
Function at 0x429100
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
sub esp, 0x1d8
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x1d4], eax
mov eax, dword [esp + 0x1ec]
push ebx
mov ebx, dword [esp + 0x1e8]
push esi
mov esi, dword [esp + 0x1e8]
push edi
mov edi, dword [esp + 0x1e8]
mov dword [esp + 0xc], eax
cmp esi, 0x40
jbe 0x429179
lea ecx, [esp + 0xf0]
push ecx
call fcn.0047eb80
push esi
push edi
lea edx, [esp + 0xf8]
push edx
call fcn.0047f030
lea eax, [esp + 0x1a0]
push eax
lea ecx, [esp + 0xf4]
push ecx
call fcn.0047f0e0
lea edi, [esp + 0x1a0]
mov esi, 0x20
xor eax, eax
test esi, esi
jbe 0x4291a5
push ebp
mov ebp, edi
lea edx, [esp + 0x164]
sub ebp, edx
jmp 0x429190
lea ecx, [esp + eax + 0x164]
mov dl, byte [ecx + ebp]
xor dl, 0x36
inc eax
mov byte [ecx], dl
cmp eax, esi
jb 0x429190
pop ebp
cmp esi, 0x40
jae 0x4291c4
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x164]
push 0x36
push eax
call fcn.004c2670
add esp, 0xc
lea edx, [esp + 0x10]
push edx
call fcn.0047eb80
push 0x40
lea eax, [esp + 0x164]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.0047f030
mov edx, dword [esp + 0x1f4]
push edx
push ebx
lea eax, [esp + 0x18]
push eax
call fcn.0047f030
lea ecx, [esp + 0x1c0]
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.0047f0e0
lea eax, [esp + 0x80]
push eax
call fcn.0047eb80
xor eax, eax
test esi, esi
jbe 0x429237
lea ecx, [esp + 0x160]
sub edi, ecx
lea ecx, [esp + eax + 0x160]
mov dl, byte [edi + ecx]
xor dl, 0x5c
inc eax
mov byte [ecx], dl
cmp eax, esi
jb 0x429223
cmp esi, 0x40
jae 0x429256
mov ecx, 0x40
sub ecx, esi
push ecx
lea eax, [esp + esi + 0x164]
push 0x5c
push eax
call fcn.004c2670
add esp, 0xc
push 0x40
lea edx, [esp + 0x164]
push edx
lea eax, [esp + 0x88]
push eax
call fcn.0047f030
push 0x20
lea ecx, [esp + 0x1c4]
push ecx
lea edx, [esp + 0x88]
push edx
call fcn.0047f030
mov eax, dword [esp + 0xc]
push eax
lea ecx, [esp + 0x84]
push ecx
call fcn.0047f0e0
mov ecx, dword [esp + 0x1e0]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x1d8
ret 0x14
Function at 0x4292b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc8
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0xc4], eax
mov ecx, dword [esp + 0xe4]
mov eax, dword [esp + 0xd4]
push ebx
mov ebx, dword [esp + 0xe4]
push ebp
mov ebp, dword [esp + 0xe4]
push esi
mov esi, dword [esp + 0xe4]
push edi
mov edi, dword [esp + 0xdc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov ecx, esi
cmp esi, 0x40
jb 0x429306
mov ecx, 0x40
push ecx
push eax
lea edx, [esp + 0x78]
push edx
call fcn.004c2da0
mov edx, dword [esp + 0xec]
add esp, 0xc
lea eax, [esp + 0x50]
push eax
mov byte [esp + esi + 0x74], 0
mov byte [esp + esi + 0x75], 0
mov byte [esp + esi + 0x76], 0
mov byte [esp + esi + 0x77], 1
add esi, 4
push esi
lea ecx, [esp + 0x78]
push ecx
push edx
push edi
call fcn.00429100
mov eax, dword [esp + 0xf8]
dec eax
mov ecx, 8
lea esi, [esp + 0x50]
lea edi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, 0x10
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ecx
xor ebx, ebx
nop
mov eax, dword [esp + ebx + 0x24]
test eax, eax
jbe 0x429401
mov ebp, eax
lea ebx, [ebx]
mov ecx, dword [esp + 0xe0]
lea edx, [esp + 0xb4]
push edx
mov edx, dword [esp + 0x18]
push 0x20
lea eax, [esp + 0x58]
push eax
push ecx
push edx
call fcn.00429100
mov ecx, 8
lea esi, [esp + 0xb4]
lea edi, [esp + 0x50]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x4293d0
movzx ecx, byte [esp + eax + 0x50]
movzx edx, byte [esp + eax + 0x51]
xor byte [esp + eax + 0x30], cl
xor byte [esp + eax + 0x31], dl
movzx ecx, byte [esp + eax + 0x52]
movzx edx, byte [esp + eax + 0x53]
xor byte [esp + eax + 0x32], cl
xor byte [esp + eax + 0x33], dl
add eax, 4
cmp eax, 0x20
jb 0x4293d0
sub ebp, 1
jne 0x429390
mov edi, dword [esp + ebx + 0x18]
add ebx, 4
mov ecx, 8
lea esi, [esp + 0x30]
rep movsd dword es:[edi], dword [esi]
cmp ebx, 0xc
jb 0x429380
push 0x44
lea eax, [esp + 0x74]
push eax
call fcn.00479130
push 0x20
lea ecx, [esp + 0x34]
push ecx
call fcn.00479130
push 0x20
lea edx, [esp + 0x54]
push edx
call fcn.00479130
push 0x20
lea eax, [esp + 0xb8]
push eax
call fcn.00479130
mov ecx, dword [esp + 0xd4]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0xc8
ret 0x20
Function at 0x4298c0
Capabilities:
Encode data using xor
Generate random numbers via winapi

Disassembly:
sub esp, 0xc
push ebx
push ebp
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x429913
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 8]
push ecx
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
cmp eax, 1
mov eax, dword [esp + 8]
push 0
push eax
sete bl
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test bl, bl
jne 0x429977
push esi
push edi
lea ecx, [esp + 0x14]
call fcn.00482f00
lea ecx, [esp + 0x14]
call fcn.00482e50
lea ecx, [esp + 0x14]
call fcn.00482e30
mov esi, eax
mov edi, edx
call fcn.004c3655
cdq
add esi, eax
adc edi, edx
xor ebx, ebx
test ebp, ebp
jbe 0x429975
mov ecx, ebx
and ecx, 7
add ecx, ecx
add ecx, ecx
add ecx, ecx
mov eax, esi
mov edx, edi
call fcn.004c4ad0
mov edx, dword [esp + 0x20]
mov cl, al
mov eax, dword [0x4fa790]
xor cl, bl
add cl, al
mov byte [ebx + edx], cl
inc eax
inc ebx
mov dword [0x4fa790], eax
cmp ebx, ebp
jb 0x429944
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8