joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b7cd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4b7e5b
sub esp, 0x50
lea edi, [esp + 0x64]
xor eax, eax
call fcn.00471d4b
mov ecx, dword [esp + 0x58]
cmp ecx, 0x19
je 0x4b7cff
xor edx, edx
jmp 0x4b7d2a
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x735f16]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x19
call fcn.00402e10
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
xor eax, eax
test dl, dl
je 0x4b7d35
mov edx, 1
jmp 0x4b7d69
cmp ecx, 0x23
je 0x4b7d3e
xor edx, edx
jmp 0x4b7d69
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x73b4ff]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x23
call fcn.00402e10
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
xor eax, eax
test dl, dl
je 0x4b7dc3
lea edi, [esp + 0x3c]
call fcn.00471d4b
mov ecx, dword [0x95f884]
lea edx, [0x7a5000]
mov dword [esp], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004c3780
movzx ecx, byte [esp + 0x24]
mov byte [esp + 0x37], cl
lea edi, [esp + 0x3c]
lea esi, [esp + 0x10]
call fcn.0047222e
movzx ecx, byte [esp + 0x37]
test cl, cl
jne 0x4b7e3a
xor eax, eax
mov ecx, dword [esp + 0x58]
lea edi, [esp + 0x3c]
call fcn.00471d4b
mov ecx, dword [0x95f880]
mov edx, dword [0x95f884]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.004b7e70
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x3c]
lea esi, [esp + 0x18]
call fcn.0047222e
lea edi, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.0047222e
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x50
ret
lea edi, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.0047222e
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
call fcn.004706b0
jmp fcn.004b7cd0
Function at 0x4c16a0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4c188a
sub esp, 0x48
mov eax, dword [0x95f880]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 2]
movzx ebx, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call fcn.004bd960
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.0047222e
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.0047222e
call fcn.004bbaa0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
mov dword [esp], eax
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x93a80
mov dword [esp + 0xc], 0
call fcn.00462ca0
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
mov eax, ebp
sar ebp, 0x1f
add eax, edx
sar eax, 0x10
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x4c1777
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x4c1791
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x4c1808
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x4c17de
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x4c17da
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x4c17d3
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x4c17e0
mov ebx, 0x1d
jmp 0x4c17fe
mov ebp, eax
jmp 0x4c17e0
mov ebp, eax
cmp ebp, 0xd
jae 0x4c187d
lea eax, [ebp - 1]
lea edx, [0x931ca0]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x4c1873
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x4c1808
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x4c183a
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x4c1842
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
mov dword [esp + 0x54], eax
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
add esp, 0x48
ret
mov ecx, 0xd
call fcn.00471b30
mov eax, ebp
mov ecx, 0xd
call fcn.00471b30
nop
call fcn.004706b0
jmp fcn.004c16a0
Function at 0x4e2e90
Capabilities:
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e303c
sub esp, 0x14
mov ebx, dword [esp + 0x1c]
test ebx, ebx
je 0x4e2ec1
cmp ebx, 0x19
jg 0x4e2ec1
mov ebp, dword [esp + 0x18]
xor eax, eax
mov ecx, 0x81cdf10e
jmp 0x4e2edb
mov dword [esp + 0x24], 0
add esp, 0x14
ret
movzx esi, byte [ebp + eax]
xor ecx, esi
inc eax
imul ecx, ecx, 0x1000193
cmp ebx, eax
jg 0x4e2ecd
mov esi, ecx
and ecx, 0x1ff
lea edi, [0x93e9e0]
mov ecx, dword [edi + ecx*4]
mov eax, ecx
and ecx, 0xff
cmp ebx, ecx
jne 0x4e2f48
mov edx, eax
shr edx, 8
lea edi, [edx + ecx]
cmp edi, 0x72a
ja 0x4e302f
cmp edx, edi
ja 0x4e3026
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov edi, ecx
xchg edi, ebx
neg ebx
xchg edi, ebx
sar edi, 0x1f
and edi, edx
mov edx, esi
lea esi, [0x747ccc]
add edi, esi
xor esi, esi
mov dword [esp + 8], esi
lea esi, [0x747ccc]
jmp 0x4e2ff0
shr esi, 0x10
and esi, 0x1ff
mov ecx, dword [edi + esi*4]
mov eax, ecx
and ecx, 0xff
cmp ebx, ecx
jne 0x4e2f8d
mov esi, eax
shr esi, 8
lea edi, [esi + ecx]
cmp edi, 0x72a
ja 0x4e2fcf
cmp esi, edi
ja 0x4e2fc6
mov dword [esp + 0x10], eax
mov edx, ecx
neg edx
sar edx, 0x1f
and edx, esi
lea esi, [0x747ccc]
add edx, esi
xor esi, esi
jmp 0x4e2f9e
mov dword [esp + 0x24], 0
add esp, 0x14
ret
inc esi
mov eax, dword [esp + 0x10]
cmp ebx, esi
jle 0x4e2fb7
movzx edi, byte [esi + ebp]
cmp esi, ecx
jae 0x4e2fbf
lea eax, [esi + edx]
xchg edi, ebx
cmp byte [eax], bl
xchg edi, ebx
je 0x4e2f99
jmp 0x4e2f8d
mov dword [esp + 0x24], eax
add esp, 0x14
ret
mov eax, esi
call fcn.00471b30
mov eax, esi
mov ecx, edi
call fcn.00471ba0
mov ecx, edi
mov edx, 0x72a
call fcn.00471b60
lea eax, [esi + 1]
mov edx, dword [esp + 0xc]
lea esi, [0x747ccc]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 8]
cmp ebx, esi
jle 0x4e3017
movzx eax, byte [ebp + esi]
cmp esi, ecx
jae 0x4e301f
lea edx, [esi + edi]
cmp byte [edx], al
je 0x4e2fdb
mov esi, dword [esp + 0xc]
lea edi, [0x93e9e0]
jmp 0x4e2f48
mov dword [esp + 0x24], eax
add esp, 0x14
ret
mov eax, esi
call fcn.00471b30
mov eax, edx
mov ecx, edi
call fcn.00471ba0
mov ecx, edi
mov edx, 0x72a
call fcn.00471b60
nop
call fcn.004706b0
jmp fcn.004e2e90
Function at 0x572990
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x572b6c
sub esp, 0x7c
lea edi, [esp + 0x1c]
mov esi, dword [esp + 0x80]
call fcn.004721fc
lea eax, [esp + 0x1c]
mov dword [esp], eax
call fcn.00571f50
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
lea edi, [esp + 0x54]
xor eax, eax
call fcn.00471d46
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
xor ecx, ecx
jmp 0x572a40
mov edx, dword [esp + 0x48]
lea ecx, [edx + 1]
cmp ecx, 5
jge 0x572b0a
mov dword [esp + 0x48], ecx
lea edx, [esp + ecx*8 + 0x54]
mov ebx, dword [edx]
mov dword [esp + 0x44], ebx
mov edx, dword [edx + 4]
imul ebp, ecx, 0x33
mov esi, ebp
sar ebp, 0x1f
shr ebp, 0x1d
add ebp, esi
mov dword [esp + 0x50], ebp
and ebp, 0xfffffff8
sub esi, ebp
mov ecx, esi
shl ebx, cl
shl edx, cl
mov dword [esp + 0x4c], edx
lea ebp, [ecx - 0x20]
mov ecx, ebp
mov edi, dword [esp + 0x44]
shl edi, cl
neg ecx
mov edx, dword [esp + 0x44]
shr edx, cl
cmp ebp, 0x20
sbb ebp, ebp
and edi, ebp
cmp esi, 0x20
sbb ebp, ebp
and ebx, ebp
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
mov esi, dword [esp + 0x4c]
and esi, ebp
mov ebp, ebx
shr ebx, 8
shr ebp, 0x10
mov dword [esp + 0x4c], ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
cmp ecx, 0x20
sbb ecx, ecx
and edx, ecx
or esi, edx
or edi, esi
mov edx, edi
shl edi, 0x18
or edi, ebx
xchg edi, eax
mov byte [esp + 9], al
xchg edi, eax
mov ebx, edx
shl edx, 0x10
mov esi, dword [esp + 0x4c]
or esi, edx
xchg esi, eax
mov byte [esp + 0xa], al
xchg esi, eax
mov edx, ebx
shl ebx, 8
or ebp, ebx
xchg ebp, eax
mov byte [esp + 0xb], al
xchg ebp, eax
mov dword [esp + 0xc], edx
mov ebx, dword [esp + 8]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x50]
xor ecx, ecx
jmp 0x572b44
test byte [eax], al
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 0x20
mov dword [esp + 0x90], 0x20
add esp, 0x7c
ret
test byte [eax], al
movzx ebp, byte [esp + ecx + 0x10]
movzx esi, byte [eax + edx]
or esi, ebp
xchg esi, ebx
mov byte [eax + edx], bl
xchg esi, ebx
inc ecx
mov edx, ebx
cmp ecx, 8
jge 0x572a39
mov ebx, edx
sar edx, 3
add edx, ecx
cmp edx, 0x20
jge 0x572a39
jb 0x572b2d
mov eax, edx
mov ecx, 0x20
call fcn.00471b30
nop
call fcn.004706b0
jmp fcn.00572990
Function at 0x572d70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x572ef4
sub esp, 0x6c
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00471d46
mov ecx, dword [0x95fc90]
lea edx, [esp + 0x40]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 8], ecx
call fcn.00572140
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x68], ecx
lea edi, [esp + 0x14]
xor eax, eax
call fcn.00471d48
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
lea edx, [esp + 0x14]
mov dword [esp + 4], edx
call fcn.00572990
mov ecx, dword [esp + 0xc]
test ecx, ecx
jbe 0x572eea
mov eax, dword [esp + 0x68]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [esp + 8]
movzx edi, byte [edi]
and edi, 1
mov dword [esp + 0x38], edi
sar edi, 0x1f
nop
xor ebx, ebx
mov eax, dword [esp + 0x38]
sub ebx, eax
mov dword [esp + 0x34], ebx
mov eax, 0
sbb eax, edi
mov dword [esp + 0x3c], eax
and ecx, ebx
and edx, eax
mov edi, ebx
not ebx
not eax
and ebp, ebx
or ecx, ebp
mov ebp, dword [esp + 0x70]
mov dword [ebp], ecx
and esi, eax
or edx, esi
mov dword [ebp + 4], edx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 8]
and edx, edi
mov esi, dword [ecx + 0xc]
mov edi, dword [esp + 0x3c]
and esi, edi
mov edi, dword [esp + 0x74]
mov ecx, dword [edi + 8]
and ecx, ebx
or ecx, edx
mov edx, dword [edi + 0xc]
mov dword [ebp + 8], ecx
and edx, eax
or edx, esi
mov dword [ebp + 0xc], edx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x10]
mov esi, dword [esp + 0x34]
and edx, esi
mov esi, dword [ecx + 0x14]
mov ecx, dword [esp + 0x3c]
and esi, ecx
mov ecx, dword [edi + 0x10]
and ecx, ebx
or ecx, edx
mov edx, dword [edi + 0x14]
mov dword [ebp + 0x10], ecx
and edx, eax
or edx, esi
mov dword [ebp + 0x14], edx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x34]
and edx, esi
mov esi, dword [ecx + 0x1c]
mov ecx, dword [esp + 0x3c]
and esi, ecx
mov ecx, dword [edi + 0x18]
and ecx, ebx
or ecx, edx
mov edx, dword [edi + 0x1c]
mov dword [ebp + 0x18], ecx
and edx, eax
or edx, esi
mov dword [ebp + 0x1c], edx
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx + 0x20]
mov esi, dword [esp + 0x34]
and esi, edx
mov ecx, dword [ecx + 0x24]
mov edx, dword [esp + 0x3c]
and edx, ecx
mov ecx, dword [edi + 0x20]
and ebx, ecx
or ebx, esi
mov ecx, dword [edi + 0x24]
mov dword [ebp + 0x20], ebx
and eax, ecx
or eax, edx
mov dword [ebp + 0x24], eax
mov dword [esp + 0x78], ebp
add esp, 0x6c
ret
xor eax, eax
mov ecx, eax
call fcn.00471b30
nop
call fcn.004706b0
jmp fcn.00572d70
Function at 0x574f30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x575184
sub esp, 0xa0
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xb4]
cmp ecx, edx
jne 0x57516b
cmp ecx, 0x48
jg 0x575153
lea edi, [esp + 0x50]
xor eax, eax
call fcn.00471d3e
lea edi, [esp + 8]
call fcn.00471d3e
mov ecx, dword [esp + 0xa8]
mov ebx, dword [esp + 0xa4]
mov ebp, dword [esp + 0xb0]
xor eax, eax
jmp 0x574fb3
movzx esi, byte [ebx + edi - 1]
xchg esi, ebx
mov byte [esp + eax + 0x50], bl
xchg esi, ebx
mov byte [esp + eax + 8], dl
inc eax
mov edx, dword [esp + 0xb4]
cmp ecx, eax
jle 0x574fdb
mov esi, edx
sub edx, eax
lea edi, [edx - 1]
cmp esi, edi
jbe 0x57514a
mov edi, ecx
sub edi, eax
lea esi, [edi - 1]
movzx edx, byte [ebp + edx - 1]
cmp ecx, esi
ja 0x574f9a
jmp 0x575143
xor eax, eax
xor ecx, ecx
jmp 0x575102
movzx ebx, byte [esp + edx + 0x50]
movzx ebp, byte [esp + edx + 0x51]
mov esi, ebp
shr ebp, 0x18
shl esi, 8
or esi, ebx
movzx ebx, byte [esp + edx + 0x52]
mov edi, ebx
shr ebx, 0x10
or ebx, ebp
shl edi, 0x10
or edi, esi
movzx ebp, byte [esp + edx + 0x53]
mov esi, ebp
shr ebp, 8
or ebp, ebx
shl esi, 0x18
or esi, edi
mov dword [esp + 0x9c], esi
movzx ebx, byte [esp + edx + 0x54]
or ebx, ebp
movzx ebp, byte [esp + edx + 0x55]
shl ebp, 8
or ebp, ebx
movzx ebx, byte [esp + edx + 0x56]
shl ebx, 0x10
or ebx, ebp
movzx ebp, byte [esp + edx + 0x57]
shl ebp, 0x18
or ebp, ebx
movzx ebx, byte [esp + edx + 8]
movzx edi, byte [esp + edx + 9]
mov dword [esp + 0x98], edi
shr edi, 0x18
mov esi, dword [esp + 0x98]
shl esi, 8
or esi, ebx
movzx ebx, byte [esp + edx + 0xa]
mov dword [esp + 0x98], ebx
shr ebx, 0x10
or ebx, edi
mov edi, dword [esp + 0x98]
shl edi, 0x10
or edi, esi
movzx esi, byte [esp + edx + 0xb]
mov dword [esp + 0x98], esi
shr esi, 8
or esi, ebx
mov ebx, dword [esp + 0x98]
shl ebx, 0x18
or ebx, edi
movzx edi, byte [esp + edx + 0xc]
or edi, esi
movzx esi, byte [esp + edx + 0xd]
shl esi, 8
or esi, edi
movzx edi, byte [esp + edx + 0xe]
shl edi, 0x10
or edi, esi
movzx edx, byte [esp + edx + 0xf]
shl edx, 0x18
or edx, edi
mov esi, ebp
xchg ebp, ebx
not ebx
xchg ebp, ebx
and ebp, edx
mov dword [esp + 0x98], ebp
mov edi, esi
xor esi, edx
xchg esi, ebx
not ebx
xchg esi, ebx
add eax, 8
nop
mov ebp, dword [esp + 0x9c]
sub ebp, ebx
sbb edi, edx
sub ebp, ecx
sbb edi, 0
and edi, esi
mov ecx, dword [esp + 0x98]
or ecx, edi
shr ecx, 0x1f
cmp eax, 0x48
jge 0x575120
lea edx, [eax - 0x48]
neg edx
mov ebx, edx
neg edx
sar edx, 0x1f
and edx, eax
cmp ebx, 7
ja 0x574fe4
jmp 0x575137
cmp ecx, 1
sete al
and eax, 1
mov byte [esp + 0xbc], al
add esp, 0xa0
ret
mov eax, 7
mov ecx, ebx
call fcn.00471b30
mov eax, esi
call fcn.00471b30
mov eax, edi
mov ecx, esi
call fcn.00471b30
lea eax, [0x6e0660]
mov dword [esp], eax
lea eax, [0x7a4078]
mov dword [esp + 4], eax
call fcn.0046ae10
lea eax, [0x6e0660]
mov dword [esp], eax
lea eax, [0x7a4070]
mov dword [esp + 4], eax
call fcn.0046ae10
nop
call fcn.004706b0
jmp fcn.00574f30
Function at 0x58e370
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x58e584
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xcc]
cmp ecx, 6
jne 0x58e407
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 0x58e565
cmp ecx, 0xe
jne 0x58e480
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 0x58e565
cmp ecx, 0xf
jne 0x58e4f6
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 0x58e565
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.004706b0
jmp fcn.0058e370
Function at 0x591d40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x591f1c
sub esp, 0x68
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00471d4b
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.0046d270
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], edx
lea edi, [esp + 0x50]
xor eax, eax
call fcn.00471d4b
lea ecx, [0x738a46]
mov dword [esp], ecx
mov dword [esp + 4], 0x1d
mov ebx, dword [esp + 0x3c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
call fcn.004b7cd0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x28]
lea edi, [esp + 0x50]
lea esi, [esp + 0x10]
call fcn.0047222e
lea edi, [esp + 0x78]
lea esi, [esp + 0x50]
call fcn.0047222e
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x591f0a
mov dword [esp + 0x64], edx
lea edi, [esp]
lea esi, [esp + 0x50]
call fcn.0047222e
lea eax, [0x738a46]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], 0x1d
call fcn.004b52e0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x30]
cmp eax, edx
jne 0x591e5a
mov dword [esp], ecx
mov edx, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00402e10
movzx eax, byte [esp + 0xc]
test al, al
je 0x591e56
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x64]
jmp 0x591ef8
mov edx, dword [esp + 0x30]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x3c]
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.00466330
mov eax, dword [esp + 8]
lea ecx, [0x6e0660]
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
call fcn.00466330
mov eax, dword [esp + 8]
lea ecx, [0x6e0660]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
lea eax, [0x74621d]
mov dword [esp], eax
mov dword [esp + 4], 0x6a
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004d28d0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x68
ret
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], edx
add esp, 0x68
ret
call fcn.004706b0
jmp fcn.00591d40
Function at 0x59e800
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x98cddc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x59e9a7
sub esp, 0x30
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [esp + 0x34]
mov dword [esp], eax
lea eax, [esp + 0x24]
mov dword [esp + 4], eax
mov byte [esp + 8], 2
call fcn.0059f300
movzx eax, byte [esp + 0xc]
test al, al
je 0x59e88f
mov eax, dword [esp + 0x28]
test eax, eax
je 0x59e88f
mov edx, dword [esp + 0x24]
cmp eax, 1
je 0x59e882
movzx ebx, byte [edx]
test bl, bl
jne 0x59e874
movzx ebp, byte [edx + 1]
xchg ebp, eax
test al, 0x80
xchg ebp, eax
je 0x59e88f
cmp bl, 0xff
jne 0x59e882
movzx ebx, byte [edx + 1]
test bl, 0x80
jne 0x59e88f
cmp eax, 8
jg 0x59e898
mov ebx, dword [esp + 0x38]
xor ecx, ecx
jmp 0x59e8c3
mov byte [esp + 0x3c], 0
add esp, 0x30
ret
jg 0x59e88f
mov byte [esp + 0x3c], 1
add esp, 0x30
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
inc ecx
cmp ecx, eax
jl 0x59e8a3
mov dword [esp + 0x14], eax
mov edx, dword [ebx]
mov dword [esp + 0x20], edx
mov ebp, dword [ebx + 4]
shl eax, 3
lea ecx, [eax - 0x40]
neg ecx
mov byte [esp + 0x13], cl
shl ebp, cl
mov dword [esp + 0x1c], ebp
mov edi, edx
shl edx, cl
add eax, 0xffffffe0
mov byte [esp + 0x12], al
mov ecx, eax
shr edi, cl
mov dword [esp + 0x18], edi
neg eax
mov ecx, eax
mov esi, dword [esp + 0x20]
shl esi, cl
movzx edi, byte [esp + 0x13]
xchg edi, eax
shr al, 5
xchg edi, eax
xchg edi, eax
movzx eax, al
xchg edi, eax
mov dword [esp + 0x20], edi
cmp al, 0x20
sbb edi, edi
sbb ebp, ebp
and edi, esi
xchg ebp, ebx
not ebx
xchg ebp, ebx
or ebp, eax
xchg ebp, eax
mov byte [esp + 0x11], al
xchg ebp, eax
movzx ecx, byte [esp + 0x13]
cmp cl, 0x20
sbb eax, eax
sbb esi, esi
and edx, esi
mov dword [ebx], edx
mov ebp, dword [esp + 0x1c]
and ebp, esi
not eax
or eax, ecx
mov byte [esp + 0x13], al
shr edx, cl
and edx, esi
mov esi, dword [esp + 0x20]
cmp esi, 1
sbb esi, esi
xor esi, 0xffffffff
mov dword [esp + 0x20], esi
movzx ecx, byte [esp + 0x12]
cmp cl, 0x20
sbb eax, eax
mov esi, dword [esp + 0x18]
and esi, eax
or ebp, esi
or ebp, edi
mov dword [ebx + 4], ebp
mov esi, ebp
shl ebp, cl
and ebp, eax
or edx, ebp
movzx ecx, byte [esp + 0x11]
mov eax, esi
sar esi, cl
mov ebp, dword [esp + 0x20]
and ebp, esi
or ebp, edx
mov dword [ebx], ebp
movzx ecx, byte [esp + 0x13]
sar eax, cl
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
cmp eax, 8
jmp 0x59e898
call fcn.004706b0
jmp fcn.0059e800