joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ae10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword fs:[0x14]
mov edx, esp
sub esp, 0x24c
mov dword [esp], esp
mov dword [esp + 4], 0x24c
call fcn.0044a8a0
lea ecx, [esp + 0x30]
mov dword fs:[0x14], ecx
mov ebx, esp
sub esp, 0xe4
mov dword [ecx], esp
mov dword [ebx], esp
mov dword [esp], esp
mov dword [esp + 4], 0xe4
call fcn.0044a8a0
lea ebx, [esp + 0xe4]
mov dword [esp + 0x18], ebx
lea ecx, [esp - 0x8000]
mov dword [esp], ecx
add ecx, 0xb70
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 4], edx
push eax
push dword [ebp + 0x10]
call dword [ebp + 8]
pop ecx
pop eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov esp, dword [ecx + 4]
pop dword fs:[0x14]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x44aeb0
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov eax, esp
mov dword [edx + 4], eax
sub eax, 0x10000
mov dword [edx], eax
add eax, 0xb70
mov dword [edx + 8], eax
mov dword [edx + 0xc], eax
lea esi, [ecx + 0x30]
mov dword fs:[0x14], esi
mov dword [edx + 0x18], ecx
mov dword [esi], edx
cld
call fcn.00449ab0
call fcn.00429940
ret
Function at 0x460ea0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x460fe0
sub esp, 0x50
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x460fd9
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x44], ecx
mov edx, dword [0x872448]
mov dword [esp], edx
call fcn.0045cff0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x48], ecx
mov dword [esp], eax
mov dword [esp + 4], 7
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.0043d440
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x34]
test eax, eax
jne 0x460fd3
test ecx, ecx
je 0x460fa7
cmp ecx, 0x3e5
jne 0x460f7f
mov ecx, dword [0x86e484]
mov edx, dword [0x86e480]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], ecx
add esp, 0x50
ret
mov dword [esp + 0x40], ecx
lea ecx, [0x848d60]
mov dword [esp], ecx
lea ecx, [esp + 0x40]
mov dword [esp + 4], ecx
call fcn.0040a900
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x38]
jmp 0x460f6f
mov dword [esp + 0x3c], 0x20000027
lea ecx, [0x848d60]
mov dword [esp], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 4], ecx
call fcn.0040a900
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov eax, dword [esp + 0x38]
jmp 0x460f6f
xor edx, edx
mov ecx, edx
jmp 0x460f6f
xor ecx, ecx
jmp 0x460ec9
call fcn.004486b0
jmp fcn.00460ea0
Function at 0x464420
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x46450f
sub esp, 0x54
mov eax, dword [0x872528]
mov dword [esp], eax
call fcn.0045cff0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
mov dword [esp + 4], 8
mov eax, dword [esp + 0x58]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
call fcn.0043d440
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x4644eb
xor eax, eax
mov ecx, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
add esp, 0x54
ret
mov dword [esp + 0x38], eax
lea eax, [0x848d60]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040a900
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
jmp 0x4644df
call fcn.004486b0
jmp fcn.00464420
Function at 0x464910
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x464a35
sub esp, 0x50
mov eax, dword [0x87241c]
mov dword [esp], eax
call fcn.0045cff0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x40], ecx
mov dword [esp], eax
mov dword [esp + 4], 8
mov eax, dword [esp + 0x54]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
call fcn.0043d440
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
test eax, eax
jne 0x464a2f
test ecx, ecx
je 0x464a07
cmp ecx, 0x3e5
jne 0x4649e3
mov eax, dword [0x86e480]
mov ecx, dword [0x86e484]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
add esp, 0x50
ret
mov dword [esp + 0x3c], ecx
lea eax, [0x848d60]
mov dword [esp], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
call fcn.0040a900
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
jmp 0x4649d7
mov dword [esp + 0x38], 0x20000027
lea eax, [0x848d60]
mov dword [esp], eax
lea eax, [esp + 0x38]
mov dword [esp + 4], eax
call fcn.0040a900
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 8]
jmp 0x4649d7
xor ecx, ecx
mov eax, ecx
jmp 0x4649d7
call fcn.004486b0
jmp fcn.00464910
Function at 0x489450
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x48948e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
xor ebx, ebx
cmp ebx, eax
jge 0x489489
lea ebp, [edx + 1]
inc ebx
movzx esi, byte [edx]
imul ecx, ecx, 0x1000193
xor ecx, esi
mov edx, ebp
cmp ebx, eax
jl 0x489474
mov dword [esp + 0x14], ecx
ret
call fcn.004486b0
jmp fcn.00489450
Function at 0x4d47e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d49e7
sub esp, 0x6c
mov eax, dword [esp + 0x70]
test eax, eax
je 0x4d49e0
mov ecx, dword [eax]
lea edx, [0x6b4960]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.00437440
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x34], edx
lea edi, [esp + 0x3c]
xor eax, eax
call fcn.0044a374
lea eax, [0x6b6d20]
mov dword [esp], eax
mov ecx, dword [esp + 0x70]
mov dword [esp + 4], ecx
lea ebp, [esp + 0x3c]
mov dword [esp + 8], ebp
call fcn.00407550
xor eax, eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
je 0x4d48c1
mov ecx, dword [esp + 0x40]
mov ecx, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
mov ebx, dword [esp + 0x20]
cmp eax, ebx
jae 0x4d49d9
mov ebp, eax
shl eax, 3
mov esi, dword [esp + 0x34]
mov dword [esi + eax + 4], edx
lea edx, [esi + ebp*8]
mov edi, dword [0x884700]
test edi, edi
jne 0x4d49bc
mov dword [esi + eax], ecx
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.00407a40
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
test ecx, ecx
jne 0x4d486c
mov eax, dword [esp + 0x34]
mov dword [esp], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x24]
mov dword [esp + 8], edx
call fcn.004d3130
lea eax, [0x698860]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.00437440
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x30], edx
xor ebx, ebx
mov ebp, dword [esp + 0x34]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x20]
cmp ebx, esi
jge 0x4d49ac
mov edi, dword [ebp + 4]
mov eax, dword [ebp]
lea esi, [0x6b6d20]
mov dword [esp], esi
mov esi, dword [esp + 0x70]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edi
call fcn.00409500
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
cmp ecx, edx
jae 0x4d49a5
mov ebx, dword [0x884700]
mov ebp, dword [esp + 0x30]
lea esi, [ebp + ecx*4]
test ebx, ebx
jne 0x4d498b
mov dword [ebp + ecx*4], eax
mov esi, dword [esp + 0x38]
add esi, 8
lea ebx, [ecx + 1]
mov eax, dword [esp + 0x1c]
mov ecx, edx
mov edx, ebp
mov ebp, esi
jmp 0x4d4915
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.0040d5a0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x30]
jmp 0x4d4975
call fcn.00424680
ud2
mov dword [esp + 0x74], edx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
add esp, 0x6c
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040d5a0
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
jmp 0x4d48a4
call fcn.00424680
ud2
xor ecx, ecx
jmp 0x4d4807
call fcn.004486b0
jmp fcn.004d47e0
Function at 0x4e7920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e7a4c
sub esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4e7a2b
mov ecx, dword [esp + 0xc]
movzx edx, byte [ecx]
cmp dl, 0x30
jb 0x4e7a2b
cmp dl, 0x39
ja 0x4e7a2b
cmp eax, 2
jl 0x4e797a
cmp dl, 0x30
jne 0x4e797a
movzx edx, byte [ecx + 1]
cmp dl, 0x30
jb 0x4e797a
cmp dl, 0x39
jbe 0x4e7a0a
mov edx, eax
mov ebx, ecx
test eax, eax
je 0x4e79a6
movzx ebp, byte [ecx]
xchg ebp, eax
cmp al, 0x30
xchg ebp, eax
jb 0x4e79a6
xchg ebp, eax
cmp al, 0x39
xchg ebp, eax
ja 0x4e79a6
lea ebp, [eax - 2]
sar ebp, 0x1f
xor ebp, 0xffffffff
and ebp, 1
add ecx, ebp
dec eax
test eax, eax
jne 0x4e7982
mov ebp, edx
sub edx, eax
cmp edx, ebp
ja 0x4e7a03
xor ebp, ebp
xor esi, esi
cmp ebp, edx
jge 0x4e79de
cmp esi, 0x5f5e100
jge 0x4e79fc
cmp ebp, edx
jae 0x4e79f5
lea edi, [ebp + 1]
mov dword [esp], edi
movzx edi, byte [ebx + ebp]
mov ebp, edi
lea edi, [esi + esi*4]
lea esi, [ebp + edi*2 - 0x30]
mov edi, dword [esp]
mov ebp, edi
cmp ebp, edx
jl 0x4e79b6
mov edx, esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 1
add esp, 4
ret
call fcn.00424680
ud2
mov edx, 0xffffffff
jmp 0x4e79e0
call fcn.004246e0
ud2
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x20], 0
add esp, 4
ret
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov byte [esp + 0x20], 0
add esp, 4
ret
call fcn.004486b0
jmp fcn.004e7920
Function at 0x50b700
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50b7a8
mov eax, dword [esp + 4]
movzx ecx, byte [eax + 0x6c]
test cl, cl
je 0x50b76f
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
ret
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
jmp 0x50b759
call fcn.004486b0
jmp fcn.0050b700
Function at 0x5307f0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x530a0d
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xcc]
cmp ecx, 6
jne 0x5308a7
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0
mov dword [eax + 0xc8], 0
ret
cmp ecx, 0xe
jne 0x530920
mov dword [eax], 0x19544da2
mov dword [eax + 4], 0x8c3d37c8
mov dword [eax + 8], 0x89dcd4d6
mov dword [eax + 0xc], 0x73e19966
mov dword [eax + 0x10], 0x32ff9c82
mov dword [eax + 0x14], 0x1dfab7ae
mov dword [eax + 0x18], 0x582f9fcf
mov dword [eax + 0x1c], 0x679dd514
mov dword [eax + 0x20], 0x7bd44da8
mov dword [eax + 0x24], 0xf6d2b69
mov dword [eax + 0x28], 0x4c48942
mov dword [eax + 0x2c], 0x77e36f73
mov dword [eax + 0x30], 0x6a1d36c8
mov dword [eax + 0x34], 0x3f9d85a8
mov dword [eax + 0x38], 0x91d692a1
mov dword [eax + 0x3c], 0x1112e6ad
jmp 0x530888
cmp ecx, 0xf
jne 0x530999
mov dword [eax], 0xfc2bf72c
mov dword [eax + 4], 0x22312194
mov dword [eax + 8], 0xc84c64c2
mov dword [eax + 0xc], 0x9f555fa3
mov dword [eax + 0x10], 0x6f53b151
mov dword [eax + 0x14], 0x2393b86b
mov dword [eax + 0x18], 0x5940eabd
mov dword [eax + 0x1c], 0x96387719
mov dword [eax + 0x20], 0xa88effe3
mov dword [eax + 0x24], 0x96283ee2
mov dword [eax + 0x28], 0x53863992
mov dword [eax + 0x2c], 0xbe5e1e25
mov dword [eax + 0x30], 0x2c85b8aa
mov dword [eax + 0x34], 0x2b0199fc
mov dword [eax + 0x38], 0x81c52ca2
mov dword [eax + 0x3c], 0xeb72ddc
jmp 0x530888
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
jmp 0x530888
call fcn.004486b0
jmp fcn.005307f0
Function at 0x581a60
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x581c1e
movzx eax, byte [esp + 4]
lea ecx, [eax - 0x41]
cmp cl, 0x19
ja 0x581a89
mov byte [esp + 0xc], 0
ret
lea ecx, [eax - 0x61]
cmp cl, 0x19
jbe 0x581a83
lea ecx, [eax - 0x30]
cmp cl, 9
jbe 0x581a83
mov ecx, dword [esp + 8]
cmp ecx, 3
jne 0x581c10
cmp al, 0x2c
ja 0x581bed
lea edx, [eax - 0x21]
cmp dl, 1
ja 0x581abd
mov byte [esp + 0xc], 0
ret
cmp al, 0x24
je 0x581ab7
lea edx, [eax - 0x26]
cmp dl, 6
jbe 0x581ab7
cmp al, 0x2f
ja 0x581bb2
cmp al, 0x26
ja 0x581b8a
cmp al, 0x24
jne 0x581b80
cmp ecx, 2
jg 0x581b34
cmp ecx, 1
je 0x581b29
cmp ecx, 2
jne 0x581b23
cmp al, 0x2f
jne 0x581b03
mov eax, 1
mov byte [esp + 0xc], al
ret
cmp al, 0x3b
jne 0x581b0f
mov eax, 1
jmp 0x581afe
cmp al, 0x2c
jne 0x581b1b
mov eax, 1
jmp 0x581afe
cmp al, 0x3f
sete al
jmp 0x581afe
mov byte [esp + 0xc], 1
ret
cmp al, 0x3f
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 5
jne 0x581b68
cmp al, 0x40
jne 0x581b48
mov eax, 1
mov byte [esp + 0xc], al
ret
cmp al, 0x2f
jne 0x581b54
mov eax, 1
jmp 0x581b43
cmp al, 0x3f
jne 0x581b60
mov eax, 1
jmp 0x581b43
cmp al, 0x3a
sete al
jmp 0x581b43
cmp ecx, 6
je 0x581b7a
cmp ecx, 7
je 0x581b74
jmp 0x581b23
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
cmp al, 0x26
jne 0x581b23
jmp 0x581ae5
lea edx, [eax - 0x2b]
cmp dl, 1
jbe 0x581ae5
lea edx, [eax - 0x2d]
cmp dl, 1
ja 0x581ba4
mov byte [esp + 0xc], 0
ret
cmp al, 0x2f
jne 0x581b23
jmp 0x581ae5
cmp al, 0x3d
ja 0x581bd1
lea edx, [eax - 0x3a]
cmp dl, 1
jbe 0x581ae5
cmp al, 0x3d
jne 0x581b23
jmp 0x581ae5
lea edx, [eax - 0x3f]
cmp dl, 1
jbe 0x581ae5
cmp al, 0x5f
je 0x581b9e
cmp al, 0x7e
jne 0x581b23
jmp 0x581b9e
lea edx, [eax - 0x3a]
cmp dl, 4
jbe 0x581ab7
cmp al, 0x5b
je 0x581ab7
cmp al, 0x5d
jne 0x581aca
jmp 0x581ab7
cmp ecx, 4
jne 0x581aca
jmp 0x581aa6
call fcn.004486b0
jmp fcn.00581a60
Function at 0x58f680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58f7da
sub esp, 0x14
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x18c]
test edx, edx
jne 0x58f7d6
mov ecx, dword [eax + 0x10]
movzx edx, word [esp + 0x1c]
movzx edx, dx
mov ebx, edx
shl edx, cl
cmp ecx, 0x20
sbb ebp, ebp
and ebp, edx
mov edx, dword [eax + 8]
mov esi, dword [eax + 0xc]
or ebp, edx
mov dword [eax + 8], ebp
add ecx, 0xffffffe0
mov edx, ebx
shl ebx, cl
cmp ecx, 0x20
sbb ebp, ebp
and ebp, ebx
neg ecx
shr edx, cl
cmp ecx, 0x20
sbb ebx, ebx
and ebx, edx
or ebp, ebx
or esi, ebp
mov dword [eax + 0xc], esi
mov edx, dword [eax + 0x10]
movzx ebx, word [esp + 0x1e]
movzx ebx, bx
add edx, ebx
mov dword [eax + 0x10], edx
cmp edx, 0x30
jb 0x58f7ab
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x10], ecx
mov edx, dword [eax + 8]
mov ebx, ecx
shr ecx, 0x10
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 0
mov ecx, dword [eax + 0x10]
add ecx, 0xffffffd0
mov dword [eax + 0x10], ecx
lea ecx, [eax + 0x14]
test byte [ecx], al
mov ebp, dword [eax + 0x158]
lea esi, [ebp + 6]
cmp ebp, esi
ja 0x58f7cf
cmp esi, 0xf8
ja 0x58f7cf
lea edi, [ebp - 0xf8]
xchg edi, ebx
neg ebx
xchg edi, ebx
dec edi
sar edi, 0x1f
xor edi, 0xffffffff
and ebp, edi
mov byte [eax + ebp + 0x14], dl
mov edi, edx
shr edx, 8
shl ebx, 0x18
or edx, ebx
mov byte [eax + ebp + 0x15], dl
mov edx, edi
shr edi, 0x10
mov ebx, dword [esp + 0x10]
shl ebx, 0x10
or edi, ebx
xchg edi, ebx
mov byte [eax + ebp + 0x16], bl
xchg edi, ebx
shr edx, 0x18
mov ebx, dword [esp + 0x10]
mov edi, ebx
shl ebx, 8
or edx, ebx
mov byte [eax + ebp + 0x17], dl
mov word [eax + ebp + 0x18], di
cmp esi, 0xf0
jge 0x58f7af
mov dword [eax + 0x158], esi
add esp, 0x14
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], esi
mov dword [esp + 0xc], 0xf8
call fcn.0058ed30
mov eax, dword [esp + 0x18]
xor esi, esi
jmp 0x58f7a5
call fcn.004246e0
ud2
add esp, 0x14
ret
call fcn.004486b0
jmp fcn.0058f680
Function at 0x591680
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x591801
sub esp, 0x24
xor eax, eax
mov ecx, dword [esp + 0x2c]
xor edx, edx
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
mov ebp, dword [esp + 0x30]
cmp eax, ebp
jge 0x5917fd
mov esi, dword [ecx]
shl edx, 1
mov word [esp + 0x12], dx
test eax, eax
jne 0x5916cc
add ecx, 4
inc eax
jmp 0x5916a5
test esi, esi
jne 0x5916d2
jmp 0x5916c6
mov edi, ebx
sub ebx, esi
mov dword [esp + 0x3c], ebx
cmp ebx, edi
ja 0x5917f6
mov esi, dword [esp + 0x28]
test byte [esi], al
lea ebp, [esi + 0x5c]
mov dword [esp], ebp
mov ebp, dword [esp + 0x40]
sub ebp, ebx
shl ebx, 3
lea ecx, [ebp - 1]
sar ecx, 0x1f
xor ecx, 0xffffffff
and ebx, ecx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x38]
lea esi, [ebx + ecx]
mov dword [esp + 4], esi
mov esi, dword [esp + 0x3c]
sub edi, esi
mov dword [esp + 0x18], edi
mov dword [esp + 8], edi
mov dword [esp + 0xc], ebp
call fcn.00591a60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x38]
lea eax, [ecx + eax]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
movzx esi, word [esp + 0x12]
xor edi, edi
mov word [esp + 0x10], si
cmp edi, ebx
jge 0x5917c7
lea ebx, [edx - 0x10]
neg ebx
mov ecx, ebx
shl esi, cl
cmp cl, 0x20
sbb ebx, ebx
and ebx, esi
mov esi, ebx
and ebx, 0xff
mov ecx, edi
lea edi, [0x84f180]
movzx ebx, byte [edi + ebx]
shr si, 8
movzx esi, si
movzx esi, byte [edi + esi]
mov edi, dword [ebp]
shl ebx, 8
or ebx, esi
movzx esi, word [eax]
mov ebp, dword [ebp + 4]
cmp esi, ebp
jae 0x5917ef
shl esi, 2
mov word [edi + esi], bx
mov word [edi + esi + 2], dx
add eax, 8
lea edi, [ecx + 1]
movzx ecx, word [esp + 0x10]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0x18]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x28]
mov word [esp + 0x10], si
cmp edi, ebx
jl 0x59174f
mov eax, dword [esp + 0x3c]
mov ebx, dword [esp + 0x40]
cmp eax, ebx
ja 0x5917e8
mov eax, edx
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x30]
mov edx, esi
mov ebx, dword [esp + 0x3c]
jmp 0x5916c6
call fcn.004246e0
ud2
call fcn.00424680
ud2
call fcn.004246e0
ud2
add esp, 0x24
ret
call fcn.004486b0
jmp fcn.00591680
Function at 0x595f20
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x595f6b
mov eax, dword [esp + 4]
not eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
xor ebp, ebp
cmp ebp, ecx
jge 0x595f64
test byte [edx], al
movzx esi, byte [ebx]
inc ebx
inc ebp
xor esi, eax
xchg esi, eax
movzx eax, al
xchg esi, eax
mov esi, dword [edx + esi*4]
shr eax, 8
xor eax, esi
cmp ebp, ecx
jl 0x595f4a
not eax
mov dword [esp + 0x18], eax
ret
call fcn.004486b0
jmp fcn.00595f20

Function at 0x595f80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59602b
sub esp, 0xc
lea eax, [0x6b7ee0]
mov dword [esp], eax
call fcn.0040cd70
mov eax, dword [esp + 4]
mov dword [esp + 8], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x10]
mov dword [esp], ecx
call fcn.00595eb0
mov eax, dword [esp + 8]
xor ecx, ecx
cmp ecx, 0x100
jge 0x596015
test byte [eax], al
cmp ecx, 0x100
jae 0x596024
mov edx, dword [eax + ecx*4]
mov ebx, 1
cmp ebx, 8
jge 0x59600c
mov ebp, edx
and edx, 0xff
mov edx, dword [eax + edx*4]
shr ebp, 8
xor edx, ebp
cmp ebx, 8
jae 0x59601d
mov ebp, ebx
shl ebx, 0xa
lea esi, [eax + ebx]
mov dword [esi + ecx*4], edx
lea ebx, [ebp + 1]
cmp ebx, 8
jl 0x595fe4
inc ecx
cmp ecx, 0x100
jl 0x595fcd
mov dword [esp + 0x14], eax
add esp, 0xc
ret
call fcn.00424680
ud2
call fcn.00424680
ud2
call fcn.004486b0
jmp fcn.00595f80
Function at 0x59fd80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59fe5f
sub esp, 0x20
mov eax, dword [esp + 0x24]
lea ecx, [eax + 0x100]
test byte [ecx], al
movzx ecx, byte [eax + 0x180]
mov byte [esp + 0x17], cl
movzx edx, cl
cmp edx, 0x80
ja 0x59fe58
lea ebx, [edx - 0x80]
neg ebx
lea ebp, [ebx - 1]
sar ebp, 0x1f
xor ebp, 0xffffffff
and edx, ebp
lea edx, [eax + edx + 0x100]
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
call fcn.0044e3a0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x24]
movzx edx, byte [ecx + 0x180]
add edx, 4
mov byte [ecx + 0x180], dl
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
movzx edx, byte [esp + 0x17]
mov byte [esp + 0x18], dl
mov byte [esp + 0x19], al
mov eax, dword [ecx + 0x184]
cmp eax, 0x20
jae 0x59fe51
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
shl eax, 3
mov dword [ecx + eax], edx
mov dword [ecx + eax + 4], ebx
mov eax, dword [ecx + 0x184]
inc eax
mov dword [ecx + 0x184], eax
add esp, 0x20
ret
call fcn.00424680
ud2
call fcn.004246e0
ud2
call fcn.004486b0
jmp fcn.0059fd80