joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c56f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c58b0
sub esp, 0x14
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + 1]
mov edx, ecx
shl ecx, 8
shr edx, 0x18
movzx ebx, byte [eax]
add ebx, ecx
adc edx, 0
movzx ecx, byte [eax + 2]
mov ebp, ecx
shl ecx, 0x10
shr ebp, 0x10
add ecx, ebx
adc edx, ebp
movzx ebx, byte [eax + 3]
mov ebp, ebx
shl ebx, 0x18
shr ebp, 8
add ebx, ecx
adc edx, ebp
movzx ecx, byte [eax + 4]
add ebx, 0
adc ecx, edx
movzx edx, byte [eax + 5]
shl edx, 8
add ebx, 0
adc edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
add ebx, 0
adc ecx, edx
movzx edx, byte [eax + 7]
shl edx, 0x18
add ebx, 0
adc edx, ecx
movzx ecx, byte [eax + 9]
mov ebp, ecx
shl ecx, 8
shr ebp, 0x18
movzx esi, byte [eax + 8]
add esi, ecx
adc ebp, 0
movzx ecx, byte [eax + 0xa]
mov edi, ecx
shl ecx, 0x10
shr edi, 0x10
add ecx, esi
adc ebp, edi
movzx esi, byte [eax + 0xb]
mov edi, esi
shl esi, 0x18
shr edi, 8
add esi, ecx
adc ebp, edi
movzx ecx, byte [eax + 0xc]
add esi, 0
adc ecx, ebp
movzx ebp, byte [eax + 0xd]
shl ebp, 8
add esi, 0
adc ebp, ecx
movzx ecx, byte [eax + 0xe]
shl ecx, 0x10
add esi, 0
adc ecx, ebp
movzx ebp, byte [eax + 0xf]
shl ebp, 0x18
add esi, 0
mov dword [esp + 4], esi
adc ebp, ecx
mov dword [esp + 0x10], ebp
movzx ecx, byte [eax + 0x11]
mov edi, ecx
shl ecx, 8
shr edi, 0x18
movzx ebp, byte [eax + 0x10]
add ebp, ecx
adc edi, 0
movzx ecx, byte [eax + 0x12]
mov dword [esp + 0xc], ecx
shl ecx, 0x10
mov esi, dword [esp + 0xc]
shr esi, 0x10
add ecx, ebp
adc edi, esi
movzx ebp, byte [eax + 0x13]
mov esi, ebp
shl ebp, 0x18
shr esi, 8
add ebp, ecx
adc edi, esi
movzx ecx, byte [eax + 0x14]
add ebp, 0
adc ecx, edi
movzx esi, byte [eax + 0x15]
shl esi, 8
add ebp, 0
adc esi, ecx
movzx ecx, byte [eax + 0x16]
shl ecx, 0x10
add ebp, 0
adc ecx, esi
movzx esi, byte [eax + 0x17]
shl esi, 0x18
add ebp, 0
mov dword [esp], ebp
adc esi, ecx
mov dword [esp + 8], esi
movzx ecx, byte [eax + 0x19]
mov edi, ecx
shl ecx, 8
shr edi, 0x18
movzx esi, byte [eax + 0x18]
add esi, ecx
adc edi, 0
movzx ecx, byte [eax + 0x1a]
mov dword [esp + 0xc], ecx
shl ecx, 0x10
mov ebp, dword [esp + 0xc]
shr ebp, 0x10
add ecx, esi
adc edi, ebp
movzx eax, byte [eax + 0x1b]
mov ebp, eax
shr eax, 8
shl ebp, 0x18
add ebp, ecx
adc edi, eax
mov eax, dword [esp + 0x18]
mov dword [eax], ebx
mov dword [eax + 4], edx
mov ecx, dword [esp + 4]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ebp
mov dword [eax + 0x1c], edi
add esp, 0x14
ret
call fcn.0045dbb0
jmp fcn.004c56f0
Function at 0x4cc380
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4cc56d
sub esp, 0x14
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + 1]
mov edx, ecx
shl ecx, 8
shr edx, 0x18
movzx ebx, byte [eax]
add ebx, ecx
adc edx, 0
movzx ecx, byte [eax + 2]
mov ebp, ecx
shl ecx, 0x10
shr ebp, 0x10
add ecx, ebx
adc edx, ebp
movzx ebx, byte [eax + 3]
mov ebp, ebx
shl ebx, 0x18
shr ebp, 8
add ebx, ecx
adc edx, ebp
movzx ecx, byte [eax + 4]
add ebx, 0
adc ecx, edx
movzx edx, byte [eax + 5]
shl edx, 8
add ebx, 0
adc edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
add ebx, 0
adc ecx, edx
movzx edx, byte [eax + 7]
shl edx, 0x18
add ebx, 0
adc edx, ecx
movzx ecx, byte [eax + 9]
mov ebp, ecx
shl ecx, 8
shr ebp, 0x18
movzx esi, byte [eax + 8]
add esi, ecx
adc ebp, 0
movzx ecx, byte [eax + 0xa]
mov edi, ecx
shl ecx, 0x10
shr edi, 0x10
add ecx, esi
adc ebp, edi
movzx esi, byte [eax + 0xb]
mov edi, esi
shl esi, 0x18
shr edi, 8
add esi, ecx
adc ebp, edi
movzx ecx, byte [eax + 0xc]
add esi, 0
adc ecx, ebp
movzx ebp, byte [eax + 0xd]
shl ebp, 8
add esi, 0
adc ebp, ecx
movzx ecx, byte [eax + 0xe]
shl ecx, 0x10
add esi, 0
adc ecx, ebp
movzx ebp, byte [eax + 0xf]
shl ebp, 0x18
add esi, 0
mov dword [esp + 4], esi
adc ebp, ecx
mov dword [esp + 0x10], ebp
movzx ecx, byte [eax + 0x11]
mov edi, ecx
shl ecx, 8
shr edi, 0x18
movzx ebp, byte [eax + 0x10]
add ebp, ecx
adc edi, 0
movzx ecx, byte [eax + 0x12]
mov dword [esp + 0xc], ecx
shl ecx, 0x10
mov esi, dword [esp + 0xc]
shr esi, 0x10
add ecx, ebp
adc edi, esi
movzx ebp, byte [eax + 0x13]
mov esi, ebp
shl ebp, 0x18
shr esi, 8
add ebp, ecx
adc edi, esi
movzx ecx, byte [eax + 0x14]
add ebp, 0
adc ecx, edi
movzx esi, byte [eax + 0x15]
shl esi, 8
add ebp, 0
adc esi, ecx
movzx ecx, byte [eax + 0x16]
shl ecx, 0x10
add ebp, 0
adc ecx, esi
movzx esi, byte [eax + 0x17]
shl esi, 0x18
add ebp, 0
mov dword [esp], ebp
adc esi, ecx
mov dword [esp + 8], esi
movzx ecx, byte [eax + 0x19]
mov edi, ecx
shl ecx, 8
shr edi, 0x18
movzx esi, byte [eax + 0x18]
add esi, ecx
adc edi, 0
movzx ecx, byte [eax + 0x1a]
mov dword [esp + 0xc], ecx
shl ecx, 0x10
mov ebp, dword [esp + 0xc]
shr ebp, 0x10
add ecx, esi
adc edi, ebp
movzx ebp, byte [eax + 0x1b]
mov esi, ebp
shl ebp, 0x18
shr esi, 8
add ebp, ecx
adc edi, esi
movzx ecx, byte [eax + 0x1c]
add ebp, 0
adc ecx, edi
movzx esi, byte [eax + 0x1d]
shl esi, 8
add ebp, 0
adc esi, ecx
movzx ecx, byte [eax + 0x1e]
shl ecx, 0x10
add ebp, 0
adc ecx, esi
movzx eax, byte [eax + 0x1f]
shl eax, 0x18
add ebp, 0
adc eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 4]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 0xc], edx
mov edx, dword [esp]
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 8]
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x1c], eax
add esp, 0x14
ret
call fcn.0045dbb0
jmp fcn.004cc380
Function at 0x511e00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x511fdc
add esp, 0xffffff80
lea edi, [esp + 0x30]
mov esi, dword [esp + 0x84]
call fcn.0045f56c
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.005113f0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0045f0b6
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x88]
xor ecx, ecx
jmp 0x511eb2
mov edx, dword [esp + 0x10]
lea ecx, [edx + 1]
cmp ecx, 5
jge 0x511f88
mov dword [esp + 0x10], ecx
imul edx, ecx, 0x33
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1d
add edx, ebx
mov dword [esp + 0x1c], edx
and edx, 0xfffffff8
sub ebx, edx
cmp ebx, 0x20
sbb edx, edx
lea esi, [ebx - 0x20]
mov dword [esp + 0x18], esi
cmp esi, 0x20
sbb edi, edi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb eax, eax
mov dword [esp + 0x14], eax
lea ebp, [esp + ecx*8 + 0x58]
mov eax, dword [ebp]
mov dword [esp + 0xc], eax
mov ebp, dword [ebp + 4]
mov ecx, ebx
shl eax, cl
and eax, edx
mov dword [esp + 8], eax
mov byte [esp + 0x20], al
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
shl eax, cl
and eax, edi
mov ecx, esi
mov esi, dword [esp + 0xc]
shr esi, cl
mov edi, dword [esp + 0x14]
and esi, edi
mov ecx, ebx
shl ebp, cl
and ebp, edx
or ebp, esi
or eax, ebp
mov edx, dword [esp + 8]
mov ebx, edx
shr edx, 8
mov ebp, eax
shl eax, 0x18
or eax, edx
mov byte [esp + 0x21], al
mov eax, ebx
shr ebx, 0x10
mov edx, ebp
shl ebp, 0x10
or ebp, ebx
xchg ebp, eax
mov byte [esp + 0x22], al
xchg ebp, eax
mov ebx, edx
shl edx, 8
shr eax, 0x18
or edx, eax
mov byte [esp + 0x23], dl
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x1c]
xor ecx, ecx
jmp 0x511fbd
test byte [eax], al
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x20
mov dword [esp + 0x94], 0x20
sub esp, 0xffffff80
ret
test byte [eax], al
movzx esi, byte [eax + edx]
or esi, ebx
xchg esi, ebx
mov byte [eax + edx], bl
xchg esi, ebx
inc ecx
mov edx, ebp
cmp ecx, 8
jge 0x511eab
movzx ebx, byte [esp + ecx + 0x28]
mov ebp, edx
sar edx, 3
add edx, ecx
cmp edx, 0x20
jl 0x511fab
jmp 0x511eab
call fcn.0045dbb0
jmp fcn.00511e00
Function at 0x514380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x514576
sub esp, 0xa0
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xa8]
cmp ecx, edx
jne 0x51455d
cmp edx, 0x48
jg 0x514545
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0045f0ae
lea edi, [esp + 0x10]
call fcn.0045f0ae
mov ecx, dword [esp + 0xb4]
mov ebx, dword [esp + 0xb0]
mov ebp, dword [esp + 0xa4]
xor eax, eax
jmp 0x514418
sub edx, eax
movzx edi, byte [ebp + edx - 1]
mov edx, ecx
sub ecx, eax
movzx esi, byte [ebx + ecx - 1]
xchg edi, ebx
mov byte [esp + eax + 0x58], bl
xchg edi, ebx
xchg esi, ebx
mov byte [esp + eax + 0x10], bl
xchg esi, ebx
inc eax
mov esi, dword [esp + 0xa8]
mov ecx, edx
mov edx, esi
cmp edx, eax
jg 0x5143ec
xor eax, eax
xor ecx, ecx
jmp 0x514525
lea edx, [eax - 0x48]
neg edx
neg edx
sar edx, 0x1f
and edx, eax
movzx ebx, byte [esp + edx + 0x58]
movzx ebp, byte [esp + edx + 0x59]
mov esi, ebp
shl ebp, 8
or ebp, ebx
shr esi, 0x18
movzx ebx, byte [esp + edx + 0x5a]
mov edi, ebx
shl ebx, 0x10
or ebx, ebp
shr edi, 0x10
or edi, esi
movzx ebp, byte [esp + edx + 0x5b]
mov esi, ebp
shl ebp, 0x18
or ebp, ebx
shr esi, 8
or esi, edi
movzx ebx, byte [esp + edx + 0x5c]
or ebx, esi
movzx esi, byte [esp + edx + 0x5d]
shl esi, 8
or esi, ebx
movzx ebx, byte [esp + edx + 0x5e]
shl ebx, 0x10
or ebx, esi
movzx esi, byte [esp + edx + 0x5f]
shl esi, 0x18
or esi, ebx
mov dword [esp + 0xc], esi
movzx ebx, byte [esp + edx + 0x10]
movzx edi, byte [esp + edx + 0x11]
mov dword [esp + 8], edi
shl edi, 8
or edi, ebx
mov ebx, dword [esp + 8]
shr ebx, 0x18
movzx esi, byte [esp + edx + 0x12]
mov dword [esp + 8], esi
shr esi, 0x10
or esi, ebx
mov ebx, dword [esp + 8]
shl ebx, 0x10
or ebx, edi
movzx edi, byte [esp + edx + 0x13]
mov dword [esp + 8], edi
shr edi, 8
or edi, esi
mov esi, dword [esp + 8]
shl esi, 0x18
or esi, ebx
movzx ebx, byte [esp + edx + 0x14]
or ebx, edi
movzx edi, byte [esp + edx + 0x15]
shl edi, 8
or edi, ebx
movzx ebx, byte [esp + edx + 0x16]
shl ebx, 0x10
or ebx, edi
movzx edx, byte [esp + edx + 0x17]
shl edx, 0x18
or edx, ebx
sub ebp, esi
mov ebx, dword [esp + 0xc]
mov esi, ebx
sbb ebx, edx
sub ebp, ecx
sbb ebx, 0
add eax, 8
nop
mov ecx, esi
not ecx
and ecx, edx
xor esi, edx
xchg esi, ebx
not ebx
xchg esi, ebx
and ebx, esi
or ecx, ebx
shr ecx, 0x1f
cmp eax, 0x48
jl 0x514425
cmp ecx, 1
sete al
and eax, 1
mov byte [esp + 0xbc], al
add esp, 0xa0
ret
lea eax, [0x63eda0]
mov dword [esp], eax
lea eax, [0x6d27c8]
mov dword [esp + 4], eax
call fcn.00433470
lea eax, [0x63eda0]
mov dword [esp], eax
lea eax, [0x6d27e8]
mov dword [esp + 4], eax
call fcn.00433470
nop
call fcn.0045dbb0
jmp fcn.00514380
Function at 0x52f830
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 0x52fa46
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xcc]
cmp ecx, 6
jne 0x52f8c9
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
jmp 0x52fa27
cmp ecx, 0xe
jne 0x52f942
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 0x52fa27
cmp ecx, 0xf
jne 0x52f9b8
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 0x52fa27
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
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0
mov dword [eax + 0xc8], 0
ret
call fcn.0045dbb0
jmp fcn.0052f830
Function at 0x532ef0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5330d2
sub esp, 0x68
lea edi, [esp + 0x78]
xor eax, eax
call fcn.0045f0bb
mov dword [esp], 0
mov ecx, dword [esp + 0x6c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x70]
mov dword [esp + 8], ecx
call fcn.0044afd0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
lea edi, [esp + 0x54]
xor eax, eax
call fcn.0045f0bb
lea ecx, [0x67744d]
mov dword [esp], ecx
mov dword [esp + 4], 0x13
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.0049dd50
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x24]
mov ebx, dword [esp + 0x28]
lea edi, [esp + 0x54]
lea esi, [esp + 0x10]
call fcn.0045f59e
lea edi, [esp + 0x78]
lea esi, [esp + 0x54]
call fcn.0045f59e
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x5330c0
mov dword [esp + 0x40], ebx
lea edi, [esp]
lea esi, [esp + 0x54]
call fcn.0045f59e
lea eax, [0x67744d]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x13
call fcn.0049b740
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0x30]
cmp ecx, edx
jne 0x533010
mov dword [esp], eax
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00402870
movzx eax, byte [esp + 0xc]
test al, al
je 0x53300c
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
jmp 0x5330ae
mov edx, dword [esp + 0x30]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00408970
mov eax, dword [esp + 8]
lea ecx, [0x63eda0]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00408970
mov eax, dword [esp + 8]
lea ecx, [0x63eda0]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], eax
lea eax, [0x686f86]
mov dword [esp], eax
mov dword [esp + 4], 0x6a
lea eax, [esp + 0x44]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b2970
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], ebx
add esp, 0x68
ret
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], ebx
add esp, 0x68
ret
call fcn.0045dbb0
jmp fcn.00532ef0
Function at 0x53da70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x53dc1f
sub esp, 0x34
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov byte [esp + 8], 2
call fcn.0053e4e0
movzx eax, byte [esp + 0xc]
test al, al
je 0x53db01
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
test eax, eax
je 0x53db01
cmp eax, 1
je 0x53daf4
movzx ebx, byte [edx]
test bl, bl
jne 0x53dae6
movzx ebp, byte [edx + 1]
xchg ebp, eax
test al, 0x80
xchg ebp, eax
je 0x53db01
cmp bl, 0xff
jne 0x53daf4
movzx ebx, byte [edx + 1]
test bl, 0x80
jne 0x53db01
cmp eax, 8
jg 0x53db0a
mov ebx, dword [esp + 0x3c]
xor ecx, ecx
jmp 0x53db38
mov byte [esp + 0x40], 0
add esp, 0x34
ret
jg 0x53db01
mov byte [esp + 0x40], 1
add esp, 0x34
ret
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, ebp
shl ebp, 8
mov dword [ebx], ebp
shl esi, 8
shr edi, 0x18
or edi, esi
mov dword [ebx + 4], edi
movzx esi, byte [edx + ecx]
or esi, ebp
mov dword [ebx], esi
mov dword [ebx + 4], edi
inc ecx
cmp ecx, eax
jl 0x53db15
mov dword [esp + 0x14], eax
shl eax, 3
lea ecx, [eax - 0x40]
neg ecx
mov byte [esp + 0x13], cl
cmp cl, 0x20
sbb ebp, ebp
mov dword [esp + 0x24], ebp
add eax, 0xffffffe0
mov esi, eax
neg eax
cmp al, 0x20
sbb edi, edi
xchg esi, eax
cmp al, 0x20
xchg esi, eax
sbb edx, edx
mov dword [esp + 0x20], edx
cmp al, 0x20
sbb edx, edx
mov byte [esp + 0x12], dl
shr cl, 5
movzx edx, cl
cmp edx, 1
sbb edx, edx
mov dword [esp + 0x1c], edx
movzx ecx, byte [esp + 0x13]
cmp cl, 0x20
sbb edx, edx
mov byte [esp + 0x11], dl
mov edx, dword [ebx]
mov dword [esp + 0x18], edx
mov ebx, dword [ebx + 4]
shl ebx, cl
and ebx, ebp
mov ecx, eax
shl edx, cl
and edx, edi
mov ecx, esi
mov edi, dword [esp + 0x18]
shr edi, cl
mov esi, dword [esp + 0x20]
and edi, esi
or edi, ebx
or edi, edx
mov edx, dword [esp + 0x3c]
mov dword [edx + 4], edi
mov ebx, ecx
movzx ecx, byte [esp + 0x13]
mov edx, dword [esp + 0x18]
shl edx, cl
and edx, ebp
movzx ebp, byte [esp + 0x12]
xchg ebp, ebx
not ebx
xchg ebp, ebx
or ebp, eax
shr edx, cl
mov eax, ecx
mov ecx, ebx
mov ebx, edi
shl edi, cl
and edi, esi
mov esi, dword [esp + 0x24]
and edx, esi
or edx, edi
mov ecx, ebp
mov ebp, ebx
sar ebx, cl
mov esi, dword [esp + 0x1c]
xor esi, 0xffffffff
and esi, ebx
or esi, edx
mov edx, dword [esp + 0x3c]
mov dword [edx], esi
movzx ecx, byte [esp + 0x11]
not ecx
or ecx, eax
sar ebp, cl
mov dword [edx + 4], ebp
mov eax, dword [esp + 0x14]
cmp eax, 8
jmp 0x53db0a
call fcn.0045dbb0
jmp fcn.0053da70
Function at 0x5488a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x548a8d
sub esp, 0x14
mov eax, dword [esp + 0x1c]
movzx ecx, byte [eax + 1]
mov edx, ecx
shl ecx, 8
shr edx, 0x18
movzx ebx, byte [eax]
add ebx, ecx
adc edx, 0
movzx ecx, byte [eax + 2]
mov ebp, ecx
shl ecx, 0x10
shr ebp, 0x10
add ecx, ebx
adc edx, ebp
movzx ebx, byte [eax + 3]
mov ebp, ebx
shl ebx, 0x18
shr ebp, 8
add ebx, ecx
adc edx, ebp
movzx ecx, byte [eax + 4]
add ebx, 0
adc ecx, edx
movzx edx, byte [eax + 5]
shl edx, 8
add ebx, 0
adc edx, ecx
movzx ecx, byte [eax + 6]
shl ecx, 0x10
add ebx, 0
adc ecx, edx
movzx edx, byte [eax + 7]
shl edx, 0x18
add ebx, 0
adc edx, ecx
movzx ecx, byte [eax + 9]
mov ebp, ecx
shl ecx, 8
shr ebp, 0x18
movzx esi, byte [eax + 8]
add esi, ecx
adc ebp, 0
movzx ecx, byte [eax + 0xa]
mov edi, ecx
shl ecx, 0x10
shr edi, 0x10
add ecx, esi
adc ebp, edi
movzx esi, byte [eax + 0xb]
mov edi, esi
shl esi, 0x18
shr edi, 8
add esi, ecx
adc ebp, edi
movzx ecx, byte [eax + 0xc]
add esi, 0
adc ecx, ebp
movzx ebp, byte [eax + 0xd]
shl ebp, 8
add esi, 0
adc ebp, ecx
movzx ecx, byte [eax + 0xe]
shl ecx, 0x10
add esi, 0
adc ecx, ebp
movzx ebp, byte [eax + 0xf]
shl ebp, 0x18
add esi, 0
mov dword [esp + 4], esi
adc ebp, ecx
mov dword [esp + 0x10], ebp
movzx ecx, byte [eax + 0x11]
mov edi, ecx
shl ecx, 8
shr edi, 0x18
movzx ebp, byte [eax + 0x10]
add ebp, ecx
adc edi, 0
movzx ecx, byte [eax + 0x12]
mov dword [esp + 0xc], ecx
shl ecx, 0x10
mov esi, dword [esp + 0xc]
shr esi, 0x10
add ecx, ebp
adc edi, esi
movzx ebp, byte [eax + 0x13]
mov esi, ebp
shl ebp, 0x18
shr esi, 8
add ebp, ecx
adc edi, esi
movzx ecx, byte [eax + 0x14]
add ebp, 0
adc ecx, edi
movzx esi, byte [eax + 0x15]
shl esi, 8
add ebp, 0
adc esi, ecx
movzx ecx, byte [eax + 0x16]
shl ecx, 0x10
add ebp, 0
adc ecx, esi
movzx esi, byte [eax + 0x17]
shl esi, 0x18
add ebp, 0
mov dword [esp], ebp
adc esi, ecx
mov dword [esp + 8], esi
movzx ecx, byte [eax + 0x19]
mov edi, ecx
shl ecx, 8
shr edi, 0x18
movzx esi, byte [eax + 0x18]
add esi, ecx
adc edi, 0
movzx ecx, byte [eax + 0x1a]
mov dword [esp + 0xc], ecx
shl ecx, 0x10
mov ebp, dword [esp + 0xc]
shr ebp, 0x10
add ecx, esi
adc edi, ebp
movzx ebp, byte [eax + 0x1b]
mov esi, ebp
shl ebp, 0x18
shr esi, 8
add ebp, ecx
adc edi, esi
movzx ecx, byte [eax + 0x1c]
add ebp, 0
adc ecx, edi
movzx esi, byte [eax + 0x1d]
shl esi, 8
add ebp, 0
adc esi, ecx
movzx ecx, byte [eax + 0x1e]
shl ecx, 0x10
add ebp, 0
adc ecx, esi
movzx eax, byte [eax + 0x1f]
shl eax, 0x18
add ebp, 0
adc eax, ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], edx
mov edx, dword [esp + 4]
mov dword [ecx + 8], edx
mov edx, dword [esp + 0x10]
mov dword [ecx + 0xc], edx
mov edx, dword [esp]
mov dword [ecx + 0x10], edx
mov edx, dword [esp + 8]
mov dword [ecx + 0x14], edx
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x1c], eax
add esp, 0x14
ret
call fcn.0045dbb0
jmp fcn.005488a0