joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x469032
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
add dword [ebp + 8], 5
push ebx
lea ebx, [edx - 4]
add ebx, ecx
mov dword [ebp - 0xc], ebx
nop
lea eax, [edi + ecx]
cmp eax, ebx
jae 0x469059
mov cl, byte [eax]
and cl, 0xfe
cmp cl, 0xe8
je 0x469056
inc eax
cmp eax, ebx
jb 0x469047
mov ecx, dword [ebp - 4]
mov edx, eax
sub edx, edi
mov edi, eax
sub edx, ecx
sub edi, ecx
cmp eax, ebx
jae 0x46915d
cmp edx, 2
jbe 0x4690e2
xor esi, esi
movzx edx, byte [eax + 4]
lea ecx, [edx + 1]
test cl, 0xfe
jne 0x469149
movzx ecx, byte [eax + 3]
mov ebx, dword [ebp + 8]
shl edx, 8
add ebx, edi
or edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + 1]
shl edx, 8
or edx, ecx
mov ecx, edx
add edx, ebx
sub ecx, ebx
cmp dword [ebp + 0x10], 0
cmove edx, ecx
mov dword [ebp - 8], edx
mov ebx, edx
test esi, esi
je 0x469119
and esi, 6
shl esi, 2
mov ecx, esi
shr edx, cl
inc edx
test dl, 0xfe
jne 0x469117
mov ebx, 0x100
shl ebx, cl
mov ecx, dword [ebp + 8]
dec ebx
xor ebx, dword [ebp - 8]
add ecx, edi
cmp dword [ebp + 0x10], 0
je 0x469115
add ebx, ecx
jmp 0x469117
mov ecx, edx
shr esi, cl
test esi, esi
je 0x469072
cmp esi, 4
ja 0x469107
cmp esi, 3
je 0x469107
mov ecx, esi
shr ecx, 1
movzx ecx, byte [ecx + eax + 1]
inc ecx
test cl, 0xfe
jne 0x469072
mov ecx, dword [ebp - 4]
or esi, 8
shr esi, 1
inc edi
jmp 0x469040
sub ebx, ecx
xor esi, esi
mov ecx, ebx
mov byte [eax + 1], bl
shr ecx, 8
mov byte [eax + 2], cl
mov ecx, ebx
shr ebx, 0x18
and bl, 1
shr ecx, 0x10
neg bl
mov byte [eax + 3], cl
mov ecx, dword [ebp - 4]
mov byte [eax + 4], bl
mov eax, 5
mov ebx, dword [ebp - 0xc]
add edi, eax
jmp 0x469040
mov ecx, dword [ebp - 4]
or esi, 8
mov eax, 1
shr esi, 1
add edi, eax
jmp 0x469040
mov eax, dword [ebp + 0xc]
mov ecx, edx
shr esi, cl
xor ecx, ecx
cmp edx, 2
pop ebx
cmovbe ecx, esi
mov dword [eax], ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x469630
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, 0x100
mov dword [ebp - 4], ecx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
or edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
add ecx, esi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 4]
movzx ecx, word [ecx + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
sar eax, 4
and eax, 0x7f
xor ecx, eax
mov eax, dword [ebp + 0xc]
add ebx, dword [eax + ecx*4]
mov ecx, edx
xor ecx, edi
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x469646
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4697e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
xor eax, eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
push edi
lea edi, [eax + 1]
test edx, edx
je 0x46982f
push ebx
mov ebx, dword [ebp + 8]
push esi
nop dword [eax + eax]
movzx edx, word [ecx + edi*2]
mov esi, ebx
and esi, 1
shr edx, 4
mov ecx, esi
shr ebx, 1
neg ecx
add edi, edi
sar ecx, 4
or edi, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx + edx*4]
sub dword [ebp - 4], 1
mov ecx, dword [ebp - 8]
jne 0x469800
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4699b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], edi
movzx esi, word [edi]
movzx ecx, word [edi + 2]
mov eax, esi
shr eax, 4
xor esi, 0x7f0
shr esi, 4
mov eax, dword [ebx + eax*4]
mov dword [ebp - 0xc], eax
mov eax, ecx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [ebx + eax*4]
add eax, dword [ebx + esi*4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + ecx*4]
add eax, dword [ebx + esi*4]
xor esi, esi
mov dword [ebp - 0x18], eax
mov dword [ebp + 0x10], esi
cmp esi, dword [ebp + 8]
jae 0x469b24
mov edx, esi
mov dword [ebp - 8], 0
mov esi, dword [ebp - 8]
or edx, 8
nop dword [eax]
mov eax, dword [ebp - 4]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 4]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x469a20
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
add eax, esi
mov esi, dword [ebp + 0x10]
mov dword [ecx + esi*4], eax
inc esi
mov dword [ebp + 0x10], esi
cmp esi, 8
jb 0x469a04
cmp esi, 0x10
jae 0x469aca
lea eax, [esi - 8]
mov dword [ebp - 8], eax
nop dword [eax + eax]
cmp esi, dword [ebp + 8]
jae 0x469b24
mov edx, eax
xor esi, esi
or edx, 8
mov eax, dword [ebp - 4]
mov ecx, edx
shr ecx, 1
and edx, 1
neg edx
sar edx, 4
and edx, 0x7f
lea eax, [ecx + eax*8]
movzx eax, word [edi + eax*2 + 0x104]
shr eax, 4
xor eax, edx
mov edx, ecx
add esi, dword [ebx + eax*4]
cmp edx, 1
jne 0x469a80
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add eax, esi
mov esi, dword [ebp + 0x10]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp + 0x10], esi
mov dword [ebp - 8], eax
cmp esi, 0x10
jb 0x469a70
cmp esi, dword [ebp + 8]
jae 0x469b24
lea eax, [esi - 0x10]
mov dword [ebp - 8], eax
mov esi, dword [ebp - 0x14]
xor edi, edi
or eax, 0x100
nop
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [esi + edx*2 + 0x204]
shr ecx, 4
xor ecx, eax
mov eax, edx
add edi, dword [ebx + ecx*4]
cmp eax, 1
jne 0x469ae0
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x18]
add eax, edi
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp + 0x10], esi
mov dword [ebp - 8], eax
cmp esi, dword [ebp + 8]
jb 0x469ad5
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b5d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
mov dword [ebp - 0x10], ecx
lea edx, [ecx + 0x325c8]
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0xc], edx
push edi
nop word [eax + eax]
xor ebx, ebx
mov dword [ebp - 4], 4
mov edi, eax
lea eax, [ebx + 1]
nop
movzx edx, word [ecx + eax*2 + 0x32c4c]
mov esi, edi
and esi, 1
shr edx, 4
mov ecx, esi
shr edi, 1
neg ecx
add eax, eax
sar ecx, 4
or eax, esi
and ecx, 0x7f
xor edx, ecx
mov ecx, dword [ebp - 0x10]
add ebx, dword [ecx + edx*4 + 0x30f34]
sub dword [ebp - 4], 1
jne 0x46b600
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
mov dword [edx], ebx
add edx, 4
mov dword [ebp - 0xc], edx
cmp eax, 0x10
jb 0x46b5f0
pop edi
pop esi
mov dword [ecx + 0x84], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46b660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, 4
mov ebx, ecx
push edi
mov dword [ebp - 0x208], eax
movzx edi, byte [ebx + eax + 0x30734]
mov edx, edi
mov esi, edi
shr edx, 1
and esi, 1
dec edx
or esi, 2
mov ecx, edx
shl esi, cl
lea ecx, [ebx + 0x30f34]
sub eax, esi
sub esi, edi
push ecx
lea ecx, [ebx + 0x32b66]
push eax
lea ecx, [ecx + esi*2]
call fcn.004697e0
mov ecx, dword [ebp - 0x208]
add esp, 8
mov dword [ebp + ecx*4 - 0x204], eax
mov eax, ecx
inc eax
mov dword [ebp - 0x208], eax
cmp eax, 0x80
jb 0x46b683
lea ecx, [ebp - 0x204]
mov dword [ebp - 0x21c], 4
sub ecx, ebx
lea esi, [ebx + 0x319c8]
lea eax, [ebx + 0x32968]
mov dword [ebp - 0x20c], esi
lea edx, [ebx + 0x31dd0]
mov dword [ebp - 0x208], eax
sub ecx, 0x31dc8
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x218], ecx
nop dword [eax + eax]
mov eax, dword [ebx + 0x88]
xor edi, edi
mov dword [ebp - 0x214], edi
test eax, eax
je 0x46b792
mov eax, edi
xor esi, esi
mov edi, dword [ebp - 0x208]
or eax, 0x40
nop
mov edx, eax
and eax, 1
shr edx, 1
neg eax
sar eax, 4
and eax, 0x7f
movzx ecx, word [edi + edx*2]
shr ecx, 4
xor ecx, eax
mov eax, edx
add esi, dword [ebx + ecx*4 + 0x30f34]
cmp eax, 1
jne 0x46b740
mov edi, dword [ebp - 0x214]
mov eax, dword [ebp - 0x20c]
mov dword [eax + edi*4], esi
inc edi
mov eax, dword [ebx + 0x88]
mov dword [ebp - 0x214], edi
cmp edi, eax
jb 0x46b732
mov esi, dword [ebp - 0x20c]
mov edx, dword [ebp - 0x210]
mov ecx, 0xe
cmp eax, ecx
jbe 0x46b7b6
nop dword [eax + eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [esi + ecx*4], eax
inc ecx
cmp ecx, dword [ebx + 0x88]
jb 0x46b7a0
mov eax, dword [esi]
mov ecx, 4
mov edi, dword [ebp - 0x218]
mov dword [edx - 8], eax
mov eax, dword [esi + 4]
mov dword [edx - 4], eax
mov eax, dword [esi + 8]
mov dword [edx], eax
mov eax, dword [esi + 0xc]
mov dword [edx + 4], eax
add edx, 8
nop word [eax + eax]
movzx eax, byte [ebx + ecx + 0x30734]
lea edx, [edx + 4]
inc ecx
mov eax, dword [esi + eax*4]
add eax, dword [edx + edi - 4]
mov dword [edx - 4], eax
cmp ecx, 0x80
jb 0x46b7e0
mov edx, dword [ebp - 0x210]
add esi, 0x100
sub dword [ebp - 0x208], 0xffffff80
add edx, 0x200
sub edi, 0x200
mov dword [ebp - 0x20c], esi
sub dword [ebp - 0x21c], 1
mov dword [ebp - 0x210], edx
mov dword [ebp - 0x218], edi
jne 0x46b720
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov dword [ebx + 0x80], 0
xor ecx, ebp
pop ebx
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret
Function at 0x46b860
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
push ebx
mov ebx, ecx
xor edx, edx
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [ebx + 0xbc], 0
lea edi, [ebx + 0x250]
mov dword [ebx + 0xb8], 0
lea esi, [ebx + 0x2b0]
mov dword [ebx + 0x284], 0
mov word [ebx + 0x26e], 0
mov dword [ebx + 0x274], 0
mov dword [ebx + 0x280], 0x20
mov byte [ebx + 0x26d], 1
mov dword [ebx + 0x298], 4
nop dword [eax]
mov ecx, edx
lea esi, [esi + 4]
and ecx, 1
mov eax, edx
shr eax, 1
neg ecx
and ecx, 0xedb88320
inc edx
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
shr eax, 1
and ecx, 1
neg ecx
and ecx, 0xedb88320
xor ecx, eax
mov eax, ecx
shr ecx, 1
and eax, 1
neg eax
and eax, 0xedb88320
xor eax, ecx
mov dword [esi - 4], eax
cmp edx, 0x100
jb 0x46b8d0
mov dword [ebx + 0x1cc], 0
lea ecx, [esp + 0x18]
mov dword [ebx + 0x1fc], 0
mov dword [ebx + 0x224], 0
mov dword [ebx + 0x228], 0
mov dword [ebx + 0x20c], 0
mov dword [ebx + 0x210], 0
mov dword [ebx + 0x214], 0
mov dword [ebx + 0x218], 0
mov dword [ebx + 0x21c], 0
mov dword [ebx + 0x220], 0
mov dword [ebx + 0x100], 0
mov dword [ebx + 0x128], 0
mov dword [ebx + 0x12c], 0
mov dword [ebx + 0x110], 0
mov dword [ebx + 0x114], 0
mov dword [ebx + 0x118], 0
mov dword [ebx + 0x11c], 0
mov dword [ebx + 0x120], 0
mov dword [ebx + 0x124], 0
mov dword [ebx + 0x24c], edi
call fcn.00469180
mov edx, ecx
mov ecx, ebx
call fcn.00469320
lea edx, [ebx + 0x30734]
mov ebx, 2
mov word [edx], 0x100
add edx, 2
mov dword [esp + 0xc], edx
mov ecx, ebx
mov eax, 1
shr ecx, 1
dec ecx
shl eax, cl
mov dword [esp + 0x10], eax
test eax, eax
je 0x46ba8d
mov ecx, eax
mov edi, edx
mov al, bl
mov edx, dword [esp + 0xc]
movzx eax, al
mov esi, ecx
imul eax, eax, 0x1010101
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, esi
add edx, eax
inc ebx
mov dword [esp + 0xc], edx
cmp ebx, 0x16
jb 0x46ba56
mov ebx, dword [esp + 0x14]
mov edi, 8
xor edx, edx
mov eax, edi
lea esi, [edx + 4]
nop dword [eax]
imul eax, eax
add edx, edx
cmp eax, 0x10000
jb 0x46baca
nop dword [eax]
shr eax, 1
inc edx
cmp eax, 0x10000
jae 0x46bac0
sub esi, 1
jne 0x46bab0
mov eax, edi
mov ecx, 0xa1
shr eax, 4
sub ecx, edx
add edi, 0x10
mov dword [ebx + eax*4 + 0x30f34], ecx
cmp edi, 0x800
jb 0x46baa2
pop edi
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x3bcfc], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x471f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, ecx
push ebx
push esi
mov dword [esp + 8], eax
mov ebx, edx
mov esi, dword [eax]
mov edx, esi
push edi
xor edi, edi
movzx eax, word [esi]
cmp eax, 0x30
jb 0x471f72
cmp ax, 0x39
ja 0x471f72
cmp edi, 0x19999999
ja 0x471fbe
lea ecx, [edi + edi*4]
movzx edi, ax
mov eax, 0x2f
add ecx, ecx
sub eax, edi
cmp ecx, eax
ja 0x471fbe
movzx eax, word [esi + 2]
add esi, 2
add edi, 0xffffffd0
add edi, ecx
cmp eax, 0x30
jae 0x471f40
mov edx, esi
mov ecx, dword [esp + 0xc]
mov esi, dword [ecx]
sub edx, esi
sar edx, 1
je case.0x472013.99
mov ecx, dword [ecx + 4]
lea eax, [edx + 1]
cmp ecx, eax
ja case.0x472013.99
cmp ecx, edx
jne 0x471fe9
cmp edi, 0x40
jae case.0x472013.99
cmp edi, 0x20
jae 0x471fc2
mov ecx, edi
mov eax, 1
shl eax, cl
mov ecx, ebx
push eax
call fcn.00452760
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor edi, edi
jmp 0x471f74
xor ecx, ecx
xor eax, eax
bts ecx, edi
cmp edi, 0x20
cmovae eax, ecx
xor ecx, eax
cmp edi, 0x40
cmovae eax, ecx
push eax
push ecx
mov ecx, ebx
call fcn.00452790
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx esi, word [esi + edx*2]
mov eax, esi
lea ecx, [eax - 0x41]
add eax, 0x20
movzx edx, ax
cmp cx, 0x19
mov eax, esi
cmova edx, eax
movzx eax, dx
add eax, 0xffffff9e
cmp eax, 0xb
ja case.0x472013.99
movzx eax, byte [eax + 0x4720a0]
jmp dword [eax*4 + 0x47208c]
push edi
mov ecx, ebx
call fcn.00452760
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, 0xa
jmp 0x47203e
mov esi, 0x14
jmp 0x47203e
mov esi, 0x1e
mov ecx, 0x20
mov eax, 1
sub ecx, esi
shl eax, cl
mov ecx, esi
cmp edi, eax
jae 0x472065
shl edi, cl
mov ecx, ebx
push edi
call fcn.00452760
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
xor edx, edx
call fcn.004ceb30
push edx
push eax
mov ecx, ebx
call fcn.00452790
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0x80070057
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47c810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d61f0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x508164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [esi + 0x44]
movzx eax, byte [ebx + 9]
push eax
call fcn.0045ffc0
movzx eax, byte [ebx + 8]
lea ecx, [esi + 0x50]
push eax
call fcn.0045ffc0
push 0x40
call fcn.0048d8f9
mov edi, eax
lea ecx, [esi + 0x68]
mov dword [ebp + 8], edi
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov word [edi + 0x38], 0
call fcn.00403f20
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x6c]
mov eax, dword [ebx + 0xc]
mov dword [edi + 8], eax
mov esi, dword [ebx]
test esi, esi
je 0x47c8c7
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi]
test ecx, ecx
je 0x47c8d3
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi], esi
mov esi, dword [ebx + 4]
test esi, esi
je 0x47c8e2
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x47c8ef
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 4], esi
mov esi, dword [ebx]
test esi, esi
jne 0x47c8fb
mov esi, dword [ebx + 4]
mov dword [ebp + 8], 0
lea ecx, [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [esi]
push ecx
push 0x4e9944
push esi
call dword [eax]
mov eax, dword [ebp + 8]
test eax, eax
setne cl
mov byte [edi + 0x38], cl
mov dword [ebp - 4], 1
test eax, eax
je 0x47c933
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
mov eax, dword [esi]
push ecx
push 0x4e9934
push esi
call dword [eax]
mov eax, dword [ebp - 0x10]
test eax, eax
setne cl
mov byte [edi + 0x39], cl
mov dword [ebp - 4], 3
test eax, eax
je 0x47c96b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47dc50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
movzx eax, byte [ebx + 9]
push eax
lea ecx, [esi + 0x44]
mov dword [ebp - 4], esi
call fcn.0045ffc0
movzx eax, byte [ebx + 8]
lea ecx, [esi + 0x50]
push eax
call fcn.0045ffc0
push 0x88
call fcn.0048d8f9
mov edi, eax
lea ecx, [esi + 0x74]
add esp, 4
mov dword [ebp + 8], edi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi], vtable.NCoderMixer2::CCoderMT.0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov byte [edi + 0x68], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
call fcn.00403f20
mov ecx, dword [esi + 0x78]
mov eax, dword [esi + 0x74]
mov dword [eax + ecx*4], edi
inc dword [esi + 0x78]
mov eax, dword [ebx + 0xc]
mov dword [edi + 0x20], eax
mov esi, dword [ebx]
test esi, esi
je 0x47dd62
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x18]
test ecx, ecx
je 0x47dd6f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [edi + 0x18], esi
mov esi, dword [ebx + 4]
test esi, esi
je 0x47dd7f
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x47dd8c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [ebp - 4]
mov dword [edi + 0x1c], esi
mov al, byte [eax + 0x5c]
mov byte [edi + 0x68], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47e610
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventW]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, ecx
push edi
mov edi, 1
cmp dword [esi + 4], 0
jne 0x47e65b
push 0
push 0
push 0
push 0
call eax
mov dword [esi + 4], eax
test eax, eax
jne 0x47e656
call ebx
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
je 0x47e656
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventW]
cmp dword [esi + 8], 0
jne 0x47e67f
push 0
push 0
push 0
push 0
call eax
mov dword [esi + 8], eax
test eax, eax
jne 0x47e67f
call ebx
test eax, eax
mov ecx, edi
cmovne ecx, eax
test ecx, ecx
jne 0x47e64d
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x47e68e
call ebx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
test eax, eax
jne 0x47e69d
call ebx
cmp dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
je 0x47e6b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push eax
push 0
push esi
push 0x47e5c0
push 0
push 0
call fcn.004b3b90
add esp, 0x18
mov dword [esi + 0xc], eax
test eax, eax
je 0x47e6da
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call ebx
test eax, eax
cmovne edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x480f50
Capabilities:
Check if file exists
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6616
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x224], eax
test ebx, ebx
jne 0x480f97
mov al, 1
jmp 0x481109
cmp byte [edi + 0x2c], 0
jne 0x4810c8
cmp byte [edi], 0
je 0x480fe6
mov esi, dword [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x480fd0
test al, 0x10
jne 0x480fd0
test al, 1
je 0x480fd0
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x480fd0
mov al, 1
jmp 0x480fdc
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sete al
mov byte [edi], al
test al, al
jne 0x48109d
push 8
call fcn.0048d929
add esp, 4
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x228], 3
mov dword [ebp - 4], 0
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x220]
push eax
push 0x105
mov dword [ebp - 0x22c], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x220]
push eax
call fcn.004522f0
lea eax, [esi - 1]
cmp eax, 0x103
ja 0x48108f
push 0x4f3588
lea edx, [ebp - 0x230]
lea ecx, [ebp - 0x240]
call fcn.00452160
add esp, 4
mov byte [ebp - 4], 1
lea esi, [edi + 0x10]
mov ecx, dword [eax]
lea eax, [edi + 4]
push esi
push eax
call fcn.004538e0
push dword [ebp - 0x240]
mov bl, al
call fcn.0048d8c3
add esp, 0xc
test bl, bl
jne 0x4810a1
push dword [ebp - 0x230]
call fcn.0048d8c3
add esp, 4
xor al, al
jmp 0x481109
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x230]
mov byte [edi], 1
call fcn.0048d8c3
mov ebx, dword [ebp + 0xc]
add esp, 4
mov eax, dword [ebp - 0x224]
mov byte [edi + 0x2c], 1
jmp 0x4810cb
lea esi, [edi + 0x10]
lea ecx, [ebp - 0x234]
push ecx
push ebx
push eax
mov ecx, esi
call fcn.00452980
test al, al
je 0x48109d
mov esi, dword [ebp - 0x234]
mov edx, dword [ebp - 0x224]
mov ecx, dword [edi + 0x28]
push 0x50ff20
push esi
call dword [0x50ff00]
add dword [edi + 0x20], esi
mov dword [edi + 0x28], eax
adc dword [edi + 0x24], 0
cmp esi, ebx
sete al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret 8