joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4675b0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x86c
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x868], eax
push esi
mov esi, dword [esp + 0x878]
lea eax, [esp + 0x6c]
push edi
push 0x200
push 0x558718
push eax
push 0x567b88
push dword [0x589dec]
call fcn.004d0210
cmp word [esp + 0x70], 0
lea eax, [esp + 0xc]
mov edi, dword [esp + 0x878]
push edi
je 0x467648
push 0x567b90
push 0x32
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [esp + 0x70]
push 0x200
push 0x558718
push eax
lea eax, [esp + 0x18]
push eax
push dword [0x589dec]
call fcn.004d0210
cmp word [esp + 0x70], 0
je 0x467691
lea eax, [esp + 0x70]
mov ecx, esi
push eax
call fcn.004baf20
jmp 0x4676ee
push str.PE_d
push 0x32
push eax
call fcn.00404ce0
push 0x400
lea eax, [esp + 0x484]
push 0
push eax
call fcn.00532770
add esp, 0x1c
lea eax, [esp + 0x470]
push 0x400
push 0
push eax
lea eax, [esp + 0x18]
push eax
push dword [0x589dec]
call fcn.004d0040
mov edx, eax
test edx, edx
jne 0x467698
xor al, al
jmp 0x4677cc
xor ecx, ecx
test edx, edx
jle 0x4676af
mov edi, edi
lea eax, [ecx + 0x49]
xor byte [esp + ecx + 0x470], al
inc ecx
cmp ecx, edx
jl 0x4676a0
push 0x200
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x478]
push eax
call fcn.004c1590
xor eax, eax
mov ecx, esi
mov word [esp + 0x46e], ax
lea eax, [esp + 0x70]
push eax
call fcn.004baf20
push 0x400
lea eax, [esp + 0x474]
push eax
call fcn.004baf90
push ebx
push edi
push 0x567ba4
lea eax, [esp + 0x18]
push 0x32
push eax
call fcn.00404ce0
add esp, 0x10
lea ebx, [esi + 0x10]
lea eax, [esp + 0x10]
push 0xc8
push 0x558718
push ebx
push eax
push dword [0x589dec]
call fcn.004d0210
push edi
push 0x567bac
lea eax, [esp + 0x18]
push 0x32
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [esi + 0x1a0]
push 0x800
push 0x558718
push eax
lea eax, [esp + 0x1c]
push eax
push dword [0x589dec]
call fcn.004d0210
push edi
push 0x567bb4
lea eax, [esp + 0x18]
push 0x32
push eax
call fcn.00404ce0
add esp, 0x10
lea eax, [esp + 0x10]
push 0
push eax
push dword [0x589dec]
call fcn.004cffa0
test eax, eax
lea edi, [esi + 0x11a0]
setne al
cmp word [ebx], 0
mov byte [esi + 0x11b0], al
je 0x4677a0
push ebx
mov ecx, edi
call fcn.004baf20
jmp 0x4677ba
cmp edi, esi
je 0x4677b4
push dword [esp + 0xc]
mov ecx, edi
push dword [esi + 4]
push dword [esi]
call fcn.00404d10
mov al, byte [esi + 0xc]
mov byte [edi + 0xc], al
push 0x400
lea eax, [esp + 0x78]
push eax
call fcn.004baf90
mov al, 1
pop ebx
mov ecx, dword [esp + 0x870]
pop edi
pop esi
xor ecx, esp
call fcn.00530218
add esp, 0x86c
ret 8

Function at 0x472630
Capabilities:
Check if file exists

Disassembly:
mov byte [ecx + 0x2428], 0
jmp fcn.0048f900
Function at 0x47b6b0
Capabilities:
Hash data using sha256

Disassembly:
cmp dword [0x5ded64], 2
jl 0x47b6d5
movaps xmm0, xmmword [0x567e40]
movaps xmmword [0x5cd110], xmm0
movaps xmm0, xmmword [0x567e30]
movaps xmmword [0x5cd120], xmm0
push esi
mov esi, dword [esp + 8]
push 0xf0
push 0
push esi
call fcn.00532770
mov dword [esi + 0x100], 0
add esp, 0xc
mov byte [esi + 0x104], 0
mov eax, dword [esi + 0xf4]
mov dword [eax], 0x6a09e667
mov eax, dword [esi + 0xf4]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi + 0xf4]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi + 0xf4]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi + 0xf4]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi + 0xf4]
xor dword [eax], 0x2080020
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0xc]
xor dword [ecx + 8], eax
mov ecx, dword [esi + 0xf4]
mov eax, dword [esp + 0x10]
or eax, 0x2000
shl eax, 0x10
xor dword [ecx + 0xc], eax
pop esi
ret 0xc

Function at 0x47b940
Capabilities:
Hash data using sha256

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
push 0x200
push 0
lea eax, [edi + 0x948]
push eax
call fcn.00532770
add esp, 0xc
mov dword [edi + 0xb48], 0
lea eax, [edi + 0x840]
push 1
push 0
push eax
call fcn.0047b6b0
mov dword [esp + 8], 0
lea esi, [edi + 0xf4]
cmp dword [0x5ded64], 2
jl 0x47b9aa
movaps xmm0, xmmword [0x567e40]
movaps xmmword [0x5cd110], xmm0
movaps xmm0, xmmword [0x567e30]
movaps xmmword [0x5cd120], xmm0
push 0xf0
lea eax, [esi - 0xf4]
push 0
push eax
call fcn.00532770
mov dword [esi + 0xc], 0
add esp, 0xc
mov byte [esi + 0x10], 0
mov eax, dword [esi]
mov ecx, dword [esp + 8]
mov dword [eax], 0x6a09e667
mov eax, dword [esi]
mov dword [eax + 4], 0xbb67ae85
mov eax, dword [esi]
mov dword [eax + 8], 0x3c6ef372
mov eax, dword [esi]
mov dword [eax + 0xc], 0xa54ff53a
mov eax, dword [esi]
mov dword [eax + 0x10], 0x510e527f
mov eax, dword [esi]
mov dword [eax + 0x14], 0x9b05688c
mov eax, dword [esi]
mov dword [eax + 0x18], 0x1f83d9ab
mov eax, dword [esi]
mov dword [eax + 0x1c], 0x5be0cd19
mov eax, dword [esi]
xor dword [eax], 0x2080020
mov eax, dword [esi]
xor dword [eax + 8], ecx
inc ecx
mov eax, dword [esi]
add esi, 0x108
mov dword [esp + 8], ecx
xor dword [eax + 0xc], 0x20000000
cmp ecx, 8
jb 0x47b985
mov byte [edi + 0x944], 1
mov byte [edi + 0x83c], 1
pop edi
pop esi
pop ecx
ret 4
Function at 0x47bc40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5508e0
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x58cb30]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 0x14]
call fcn.004a5cd0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x14]
mov eax, dword [ebp + 8]
push 0x40000
push eax
push 0x47c270
mov dword [edi], eax
mov dword [edi + 0x3c], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 1
mov dword [edi + 4], 0
call fcn.004a5fe0
lea ecx, [edi + 0x14]
call fcn.004a5de0
mov dword [edi + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x480570
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, ecx
xor ecx, ecx
push edi
mov word [esi + 0xd432], cx
mov byte [esi + 0xd429], cl
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ebp, eax
mov byte [esp + 0x13], 1
push 0
push 0
push ebp
call fcn.004bd250
mov edi, eax
test edi, edi
je 0x4806a9
sub edi, ebp
sar edi, 1
add edi, 2
lea ecx, [edi + edi]
push ecx
call fcn.005398b8
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4806a9
push edi
push ebx
push ebp
call fcn.004bd250
mov ebp, eax
test ebp, ebp
je 0x4806a9
cmp byte [esp + 0x13], 0
jne 0x480696
cmp byte [esp + 0x18], 0
je 0x48068e
movzx eax, word [ebx]
cmp eax, 0x2d
je 0x4805f9
cmp eax, 0x2f
jne 0x48065c
cmp byte [esi + 0xd429], 0
jne 0x48065c
cmp word [ebx + 2], 0x2d
lea edi, [ebx + 2]
jne 0x48061a
cmp word [edi + 2], 0
jne 0x48061a
mov byte [esi + 0xd429], 1
push 0x567f18
push edi
call fcn.004c1ba0
test eax, eax
jne 0x480630
mov byte [esi + 0x2014], 1
push 2
push 0x567f24
push edi
call fcn.004c1bf0
test eax, eax
jne 0x480696
push edi
mov ecx, esi
call fcn.00480820
push ebx
call fcn.0053867f
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x480593
cmp word [esi + 0xd432], 0
lea eax, [esi + 0xd432]
jne 0x480696
push 0x810
push ebx
push eax
call fcn.005396c7
add esp, 0xc
push ebx
call fcn.0053867f
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x480593
push ebx
mov ecx, esi
call fcn.00480250
push ebx
call fcn.0053867f
add esp, 4
mov byte [esp + 0x13], 0
jmp 0x480593
cmp byte [esp + 0x18], 0
jne 0x480726
cmp dword [esi + 0xf468], 0
jne 0x4806d2
cmp byte [esi + 0xd428], 0
jne 0x4806d2
push 0x5588cc
lea ecx, [esi + 0xf454]
call fcn.004bdbd0
movzx eax, word [esi + 0xd432]
push eax
call fcn.004c1b20
movzx eax, ax
cmp eax, 0x58
je 0x4806f5
cmp eax, 0x45
je 0x4806f5
cmp eax, 0x50
je 0x4806f5
xor cl, cl
jmp 0x4806f7
mov cl, 1
cmp byte [esi + 0x7309], 0
je 0x48070b
test cl, cl
je 0x48070b
mov byte [esi + 0x7309], 0
cmp eax, 0x4c
je 0x480715
cmp eax, 0x56
jne 0x480726
cmp word [esi + 0xd434], 0x42
jne 0x480726
mov byte [esi + 0xd430], 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc
Function at 0x482e80
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
test esi, esi
je 0x482eb3
test bl, 7
je 0x482eb3
movzx edx, byte [ebx]
inc ebx
movzx ecx, al
xor edx, ecx
shr eax, 8
mov dword [esp + 0x10], ebx
xor eax, dword [edx*4 + 0x5cd740]
sub esi, 1
jne 0x482e92
cmp esi, 8
jb 0x482f49
push edi
mov edi, esi
shr edi, 3
xor eax, dword [ebx]
sub esi, 8
mov ebx, dword [ebx + 4]
mov ecx, ebx
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x5cdb40]
xor edx, dword [ecx*4 + 0x5cdf40]
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0x5ceb40]
mov ecx, eax
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x5cef40]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5cd740]
mov ecx, eax
shr ecx, 0x18
movzx eax, al
xor edx, dword [ecx*4 + 0x5ce740]
movzx ecx, bl
mov ebx, dword [esp + 0x14]
add ebx, 8
mov dword [esp + 0x14], ebx
xor edx, dword [ecx*4 + 0x5ce340]
xor edx, dword [eax*4 + 0x5cf340]
mov eax, edx
sub edi, 1
jne 0x482ec2
pop edi
test esi, esi
je 0x482f6a
lea ecx, [ecx]
movzx edx, byte [ebx]
lea ebx, [ebx + 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x5cd740]
sub esi, 1
jne 0x482f50
pop esi
pop ebx
ret 0xc
Function at 0x482f70
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x482fbb
test cl, 7
je 0x482fbb
movzx ecx, byte [ecx]
dec ebp
movzx eax, bl
xor ecx, eax
mov dword [esp + 0x1c], ebp
shrd ebx, edx, 8
shr edx, 8
xor ebx, dword [ecx*8 + 0x5cf740]
xor edx, dword [ecx*8 + 0x5cf744]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
test ebp, ebp
jne 0x482f87
mov eax, ebp
shr eax, 3
lea eax, [ecx + eax*8]
mov dword [esp + 8], eax
cmp ecx, eax
jae 0x4830ab
push esi
mov ebp, eax
push edi
xor ebx, dword [ecx]
mov ecx, dword [ecx + 4]
xor ecx, edx
mov eax, ecx
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x10]
shr eax, 0x10
movzx edx, al
mov eax, ecx
shr eax, 8
movzx eax, al
mov edi, dword [edx*8 + 0x5cff40]
mov edx, dword [edx*8 + 0x5cff44]
xor edx, dword [eax*8 + 0x5d0744]
xor edi, dword [eax*8 + 0x5d0740]
movzx eax, cl
mov ecx, ebx
xor edx, dword [eax*8 + 0x5d0f44]
xor edi, dword [eax*8 + 0x5d0f40]
mov eax, esi
shrd ecx, eax, 0x18
movzx eax, cl
mov ecx, ebx
xor edx, dword [eax*8 + 0x5d1744]
xor edi, dword [eax*8 + 0x5d1740]
mov eax, esi
shrd ecx, eax, 0x10
movzx eax, cl
mov ecx, ebx
xor edx, dword [eax*8 + 0x5d1f44]
xor edi, dword [eax*8 + 0x5d1f40]
mov eax, esi
shrd ecx, eax, 8
shr esi, 0x18
movzx eax, cl
mov ecx, dword [esp + 0x20]
add ecx, 8
mov dword [esp + 0x20], ecx
xor edx, dword [eax*8 + 0x5d2744]
xor edi, dword [eax*8 + 0x5d2740]
xor edi, dword [esi*8 + 0x5cf740]
xor edx, dword [esi*8 + 0x5cf744]
movzx eax, bl
mov ebx, edi
mov dword [esp + 0x10], edi
xor ebx, dword [eax*8 + 0x5d2f40]
xor edx, dword [eax*8 + 0x5d2f44]
cmp ecx, ebp
jb 0x482fd3
mov ebp, dword [esp + 0x24]
pop edi
pop esi
and ebp, 7
jbe 0x4830db
movzx ecx, byte [ecx]
movzx eax, bl
xor ecx, eax
shrd ebx, edx, 8
shr edx, 8
xor ebx, dword [ecx*8 + 0x5cf740]
xor edx, dword [ecx*8 + 0x5cf744]
mov ecx, dword [esp + 0x18]
inc ecx
mov dword [esp + 0x18], ecx
sub ebp, 1
jne 0x4830b0
pop ebp
mov eax, ebx
pop ebx
pop ecx
ret 0x10
Function at 0x483800
Capabilities:
Authenticate hmac
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
sub esp, 0x164
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
mov ebx, dword [esp + 0x16c]
push esi
mov esi, dword [esp + 0x174]
push edi
cmp dword [ebx], 2
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], esi
jne 0x4838fb
mov eax, dword [ebx + 4]
push ebp
push 0
push 0
push 0
push 0
mov dword [esp + 0x20], eax
lea eax, [esp + 0x140]
push eax
push 4
lea eax, [esp + 0x28]
push eax
push 0x20
push esi
call fcn.00484c70
lea eax, [esp + 0x131]
xor ebp, ebp
mov esi, 2
mov dword [esp + 0x10], ebp
sub esi, eax
lea ecx, [esp + 0x131]
mov eax, 3
sub eax, ecx
lea ebx, [ebp + 1]
mov dword [esp + 0x14], eax
jmp 0x483890
lea edx, [esp + 0x131]
add edx, ebp
movzx edi, byte [edx + 2]
lea ecx, [edx + eax]
movzx eax, byte [edx + 1]
and ecx, 3
shl ecx, 3
shl edi, cl
lea ecx, [edx + esi]
and ecx, 3
shl ecx, 3
shl eax, cl
mov ecx, ebp
xor edi, eax
and ecx, 3
movzx eax, byte [edx - 1]
add ebp, 4
shl ecx, 3
shl eax, cl
mov ecx, ebx
xor edi, eax
and ecx, 3
movzx eax, byte [edx]
add ebx, 4
shl ecx, 3
shl eax, cl
xor edi, eax
mov eax, dword [esp + 0x14]
xor edi, dword [esp + 0x10]
mov dword [esp + 0x10], edi
cmp ebx, 0x21
jb 0x483890
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
pop ebp
mov dword [ebx + 4], edi
cmp dword [ebx], 3
jne 0x483a8d
lea eax, [esp + 0xec]
xor edx, edx
sub esi, eax
nop
lea ecx, [esp + 0xec]
add ecx, edx
inc edx
mov al, byte [esi + ecx]
xor al, 0x36
mov byte [ecx], al
cmp edx, 0x20
jb 0x483910
lea eax, [esp + 0x1c]
mov dword [esp + 0x10c], 0x36363636
push eax
mov dword [esp + 0x114], 0x36363636
mov dword [esp + 0x118], 0x36363636
mov dword [esp + 0x11c], 0x36363636
mov dword [esp + 0x120], 0x36363636
mov dword [esp + 0x124], 0x36363636
mov dword [esp + 0x128], 0x36363636
mov dword [esp + 0x12c], 0x36363636
call fcn.004bcac0
push 0x40
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004bcb10
push 0x20
lea edi, [ebx + 4]
push edi
lea eax, [esp + 0x24]
push eax
call fcn.004bcb10
lea eax, [esp + 0x12c]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004bc9b0
xor eax, eax
lea edx, [esp + 0xec]
add edx, eax
inc eax
mov cl, byte [esi + edx]
xor cl, 0x5c
mov byte [edx], cl
cmp eax, 0x20
jb 0x4839c0
lea eax, [esp + 0x84]
mov dword [esp + 0x10c], 0x5c5c5c5c
push eax
mov dword [esp + 0x114], 0x5c5c5c5c
mov dword [esp + 0x118], 0x5c5c5c5c
mov dword [esp + 0x11c], 0x5c5c5c5c
mov dword [esp + 0x120], 0x5c5c5c5c
mov dword [esp + 0x124], 0x5c5c5c5c
mov dword [esp + 0x128], 0x5c5c5c5c
mov dword [esp + 0x12c], 0x5c5c5c5c
call fcn.004bcac0
push 0x40
lea eax, [esp + 0xf0]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.004bcb10
push 0x20
lea eax, [esp + 0x130]
push eax
lea eax, [esp + 0x8c]
push eax
call fcn.004bcb10
lea eax, [esp + 0x14c]
push eax
lea eax, [esp + 0x88]
push eax
call fcn.004bc9b0
mov ecx, 8
lea esi, [esp + 0x14c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x164
ret 8
Function at 0x483ab0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x2c
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
mov dword [esp + 0x24], edi
mov eax, dword [edi]
xor eax, dword [ecx + 0x914]
mov ebp, dword [edi + 8]
xor ebp, dword [ecx + 0x91c]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 4]
xor eax, dword [ecx + 0x918]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
xor eax, dword [ecx + 0x920]
mov dword [esp + 0x1c], eax
mov eax, dword [edi]
mov dword [esp + 0x28], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 8]
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov eax, 0x1f
mov dword [esp + 0x18], eax
and eax, 3
mov edx, edi
rol edx, 0xb
add edx, ebp
mov esi, dword [ecx + eax*4 + 0x914]
xor edx, esi
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ebx, byte [eax + ecx + 0x814]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0x814]
shl eax, 8
or ebx, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl ebx, 8
movzx eax, byte [eax + ecx + 0x814]
or ebx, eax
movzx eax, dl
mov edx, ebp
shl ebx, 8
ror edx, 0xf
xor edx, edi
movzx eax, byte [eax + ecx + 0x814]
add edx, esi
or ebx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
xor ebx, dword [esp + 0x14]
movzx esi, byte [eax + ecx + 0x814]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + ecx + 0x814]
shl eax, 8
or esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + ecx + 0x814]
or esi, eax
movzx eax, dl
shl esi, 8
mov edx, ebp
mov dword [esp + 0x14], edx
mov ebp, ebx
movzx eax, byte [eax + ecx + 0x814]
or esi, eax
mov eax, dword [esp + 0x18]
xor esi, dword [esp + 0x10]
sub eax, 1
mov dword [esp + 0x10], edi
mov edi, esi
mov dword [esp + 0x18], eax
jns 0x483b21
mov ebp, dword [ecx + 0x914]
mov edi, dword [esp + 0x24]
xor ebp, ebx
mov dword [edi], ebp
mov eax, dword [ecx + 0x918]
xor eax, esi
mov dword [edi + 4], eax
mov eax, dword [ecx + 0x91c]
xor eax, edx
mov dword [edi + 8], eax
mov eax, dword [ecx + 0x920]
xor eax, dword [esp + 0x10]
mov dword [edi + 0xc], eax
lea eax, [esp + 0x28]
push eax
call fcn.00484be0
mov ecx, dword [esp + 0x38]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x2c
ret 4
Function at 0x483c50
Capabilities:
Encode data using xor

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x308]
dec eax
cmp eax, 4
ja case.default.0x483c67
push ebx
push ebp
push edi
jmp dword [eax*4 + 0x483db0]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
test edx, edx
je 0x483da6
mov edi, edi
movzx eax, byte [esi + 0x926]
lea ecx, [ecx + 1]
add byte [esi + 0x925], al
movzx eax, byte [esi + 0x925]
add byte [esi + 0x924], al
movzx eax, byte [esi + 0x924]
sub byte [ecx - 1], al
sub edx, 1
jne 0x483c80
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
test ebp, ebp
je 0x483da6
mov ecx, 0x1234
lea ecx, [ecx]
add cx, word [esi + 0x928]
movzx eax, cx
mov word [esi + 0x928], ax
movzx ebx, cx
mov eax, ebx
shr eax, 1
movzx eax, al
lea ecx, [esi + eax*4]
movzx eax, word [ecx + 0x414]
xor word [esi + 0x92a], ax
movzx eax, word [ecx + 0x416]
mov ecx, 1
sub word [esi + 0x92c], ax
movzx eax, word [esi + 0x92e]
movzx edx, word [esi + 0x92a]
movzx edi, word [esi + 0x92c]
ror ax, cl
xor ax, dx
ror ax, cl
mov ecx, dword [esp + 0x10]
movzx eax, ax
mov word [esi + 0x92e], ax
xor eax, edi
xor eax, ebx
movzx eax, ax
mov word [esi + 0x928], ax
shr eax, 8
xor byte [ecx], al
inc ecx
mov dword [esp + 0x10], ecx
mov ecx, 0x1234
sub ebp, 1
jne 0x483cd0
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8
mov ebx, dword [esp + 0x1c]
xor edi, edi
test ebx, ebx
je 0x483da6
mov ebp, dword [esp + 0x18]
lea eax, [edi + ebp]
mov ecx, esi
push eax
call fcn.00483ab0
add edi, 0x10
cmp edi, ebx
jb 0x483d77
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8
mov eax, dword [esp + 0x18]
lea ecx, [esi + 0x30c]
push eax
push dword [esp + 0x20]
push eax
call fcn.004b78b0
pop edi
pop ebp
pop ebx
pop esi
pop ecx
ret 8

Function at 0x483e00
Capabilities:
Generate random numbers via winapi

Disassembly:
push ecx
push 0xf0000040
push 1
push 0
push 0
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x483e4a
push esi
push dword [esp + 0xc]
push dword [esp + 0x14]
push dword [esp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push 0
push dword [esp + 8]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
cmp esi, 1
pop esi
je 0x483e57
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.00484b60
pop ecx
ret 8
Function at 0x483e80
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x610
mov eax, dword [0x58cb30]
xor eax, esp
mov dword [esp + 0x60c], eax
mov eax, dword [esp + 0x624]
push ebx
mov ebx, dword [esp + 0x61c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x630]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x634]
mov dword [esp + 4], eax
push ebp
mov ebp, dword [esp + 0x628]
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x62c]
test ebx, ebx
je 0x48409c
cmp byte [edi + 0xc], 0
je 0x48409c
push 0x200
lea eax, [esp + 0x220]
mov dword [esi + 0x308], ebx
push eax
mov ecx, edi
call fcn.004babd0
xor eax, eax
mov word [esp + 0x31a], ax
lea eax, [esp + 0x1c]
push 0x200
push eax
lea eax, [esp + 0x224]
push eax
call fcn.004c1790
dec ebx
mov byte [esp + 0x9b], 0
cmp ebx, 4
ja case.default.0x483f2f
jmp dword [ebx*4 + 0x4840bc]
mov cl, byte [esp + 0x1c]
mov word [esi + 0x925], 0
mov byte [esi + 0x924], 0
test cl, cl
je case.default.0x483f2f
xor dl, dl
lea edi, [esp + 0x1c]
xor bl, bl
xor al, al
lea esp, [esp]
add al, cl
lea edi, [edi + 1]
add dl, cl
rol al, 1
xor bl, cl
mov cl, byte [edi]
test cl, cl
jne 0x483f60
mov byte [esi + 0x926], al
mov byte [esi + 0x925], bl
mov byte [esi + 0x924], dl
jmp case.default.0x483f2f
lea eax, [esi + 0x414]
push eax
call fcn.00483130
lea ecx, [esp + 0x1c]
lea edx, [ecx + 1]
jmp 0x483fa0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x483fa0
sub ecx, edx
lea eax, [esp + 0x1c]
push ecx
push eax
push 0xffffffffffffffff
call fcn.00482e80
mov cl, byte [esp + 0x1c]
mov word [esi + 0x928], ax
shr eax, 0x10
mov word [esi + 0x92a], ax
xor eax, eax
mov dword [esi + 0x92c], eax
test cl, cl
je case.default.0x483f2f
xor ebx, ebx
lea edi, [esp + 0x1c]
xor ebp, ebp
movzx eax, cl
lea edi, [edi + 1]
movzx ecx, cl
mov dx, word [esi + eax*4 + 0x414]
xor dx, cx
xor dx, bx
mov word [esi + 0x92c], dx
mov ax, word [esi + eax*4 + 0x416]
add ax, cx
movzx ebx, dx
mov cl, byte [edi]
add ax, bp
mov word [esi + 0x92e], ax
movzx ebp, ax
test cl, cl
jne 0x483fe3
jmp case.default.0x483f2f
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004840d0
jmp case.default.0x483f2f
push ebp
lea eax, [esp + 0x220]
mov ecx, esi
push eax
push edi
push dword [esp + 0x630]
call fcn.004843c0
jmp case.default.0x483f2f
push dword [esp + 0x10]
lea eax, [esp + 0x220]
mov ecx, esi
push dword [esp + 0x18]
push dword [esp + 0x640]
push dword [esp + 0x24]
push ebp
push eax
push edi
push dword [esp + 0x640]
call fcn.00484770
push 0x200
lea eax, [esp + 0x20]
push eax
call fcn.004baf90
push 0x400
lea eax, [esp + 0x220]
push eax
call fcn.004baf90
mov al, 1
jmp 0x48409e
xor al, al
mov ecx, dword [esp + 0x61c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00530218
add esp, 0x610
ret 0x20