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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov esi, dword [ebp + 8]
mov eax, 0xfffffffe
nop word cs:[eax + eax]
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x29bac40
mov edi, eax
sar edi, 1
and eax, 8
mov ecx, edi
xor ecx, 4
lea ebx, [ecx + eax]
add eax, ecx
inc eax
lea ecx, [ebx + ebx]
add ecx, 2
test eax, eax
mov eax, 0xffffffff
cmovns eax, ecx
push eax
call fcn.02989550
add esp, 4
lea edx, [eax + 8]
movsd xmm0, qword [0x29bf1e0]
movsd qword [eax], xmm0
mov word [eax + 8], 0
movzx ecx, word [esi]
test cx, cx
je 0x29bacb1
add esi, 2
nop word cs:[eax + eax]
mov word [edx], cx
add edx, 2
movzx ecx, word [esi]
add esi, 2
test cx, cx
jne 0x29baca0
mov word [edx], 0
and edi, 2
mov edx, edi
xor edx, 2
mov ecx, ebx
and ecx, 0xfffd
imul ecx, edx
or ebx, 2
imul ebx, edi
lea edx, [ebx + ecx]
mov word [esp + 0x18], dx
add ecx, ebx
add ecx, 2
mov word [esp + 0x1a], cx
mov esi, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0x40
lea eax, [esp + 0x18]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 8], 0x8a959497
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x29bad9e
nop word cs:[eax + eax]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + ecx]
add edx, 0x7a1e7fed
add eax, 0x7a1e7fed
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
mov ecx, eax
xor ecx, 0x84
and eax, 4
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x29bad50
mov edi, dword [esp + 8]
mov eax, dword [0x29ca800]
test eax, eax
je 0x29bae01
xor ecx, ecx
mov edx, dword [0x29ca804]
nop word cs:[eax + eax]
cmp dword [edx + ecx*8], 0x366ceda
je 0x29badd0
inc ecx
cmp eax, ecx
jne 0x29badc0
jmp 0x29bae01
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x29bae01
lea ecx, [esp + 8]
lea edx, [esp + 0x24]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ecx
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 6
push dword [0x29ca808]
push eax
call fcn.029b7d60
add esp, 0x24
mov edi, eax
push esi
call fcn.02989560
add esp, 4
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x29bae20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x58
mov ebx, dword [ebp + 8]
mov eax, 0xfffffffe
nop word cs:[eax + eax]
cmp word [ebx + eax + 2], 0
lea eax, [eax + 2]
jne 0x29bae40
mov edi, eax
sar edi, 1
lea ecx, [eax + 0xa]
cmp eax, 0xfffffff5
mov eax, 0xffffffff
cmovge eax, ecx
push eax
call fcn.02989550
add esp, 4
mov esi, eax
lea ecx, [eax + 8]
movsd xmm0, qword [0x29bf1e0]
movsd qword [eax], xmm0
lea eax, [edi + 4]
mov word [esi + 8], 0
movzx edx, word [ebx]
test dx, dx
je 0x29baea1
add ebx, 2
nop dword [eax + eax]
mov word [ecx], dx
add ecx, 2
movzx edx, word [ebx]
add ebx, 2
test dx, dx
jne 0x29bae90
mov word [ecx], 0
and edi, 2
mov ecx, edi
xor ecx, 2
mov edx, eax
and edx, 0xfffd
imul edx, ecx
or eax, 2
imul eax, edi
lea ecx, [eax + edx]
mov word [esp + 4], cx
add eax, edx
add eax, 2
mov word [esp + 6], ax
mov dword [esp + 8], esi
mov dword [esp + 0x10], 0x18
mov dword [esp + 0x14], 0
mov dword [esp + 0x1c], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0x8a959497
mov dword [esp + 0x30], 0
mov dword [esp + 0x2c], 0
mov byte [esp + 0x34], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x29baf89
nop word cs:[eax + eax]
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x28]
lea edx, [eax + ecx]
add edx, 0x7a1e7fed
add eax, 0x7a1e7fed
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
mov ecx, eax
xor ecx, 0x84
and eax, 4
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x28], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x29baf40
mov edi, dword [esp + 0x28]
mov eax, dword [0x29ca800]
test eax, eax
je 0x29bafd5
xor ecx, ecx
mov edx, dword [0x29ca804]
nop
cmp dword [edx + ecx*8], 0xb5b385c7
je 0x29bafb0
inc ecx
cmp eax, ecx
jne 0x29bafa0
jmp 0x29bafd5
mov eax, dword [edx + ecx*8 + 4]
cmp eax, edi
je 0x29bafd5
lea ecx, [esp + 0x28]
lea edx, [esp + 0x10]
push ecx
push edx
push 2
push dword [0x29ca808]
push eax
call fcn.029b7d60
add esp, 0x14
mov edi, eax
push esi
call fcn.02989560
add esp, 4
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x29bafeb
mov eax, dword [esp + 0x48]
mov dword [ecx], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x29bb000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x30
mov dword [esp + 8], 0x8a959497
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x29bb08e
nop word [eax + eax]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + ecx]
add edx, 0x7a1e7fed
add eax, 0x7a1e7fed
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
mov ecx, eax
xor ecx, 0x84
and eax, 4
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x29bb040
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [0x29ca800]
test edx, edx
je 0x29bb0e8
mov ecx, dword [ebp + 8]
xor edi, edi
mov ebx, dword [0x29ca804]
nop word [eax + eax]
cmp dword [ebx + edi*8], 0x3bebd150
je 0x29bb0c0
inc edi
cmp edx, edi
jne 0x29bb0b0
jmp 0x29bb0e8
mov edx, dword [ebx + edi*8 + 4]
cmp edx, eax
je 0x29bb0e8
lea eax, [esp + 8]
lea edi, [esp + 0x24]
push 5
push 0x18
push eax
push edi
push ecx
push 5
push dword [0x29ca808]
push edx
call fcn.029b7d60
add esp, 0x20
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x29bb0f5
mov edx, dword [esp + 0x10]
mov dword [esi], edx
test ecx, ecx
je 0x29bb101
cmp byte [esp + 0x1d], 0
setne byte [ecx]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x29bb110
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 8], 0x8a959497
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x29bb199
nop dword [eax + eax]
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + ecx]
add edx, 0x7a1e7fed
add eax, 0x7a1e7fed
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov ecx, eax
xor ecx, 0x84
and eax, 4
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x29bb150
mov eax, dword [esp + 8]
mov edi, dword [0x29ca800]
test edi, edi
je 0x29bb1fd
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [0x29ca804]
nop word cs:[eax + eax]
cmp dword [esi + ebx*8], 0xb0852ef6
je 0x29bb1d0
inc ebx
cmp edi, ebx
jne 0x29bb1c0
jmp 0x29bb1fd
mov edi, dword [esi + ebx*8 + 4]
cmp edi, eax
je 0x29bb1fd
lea eax, [esp + 0x1c]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [ebp + 8]
push 9
push dword [0x29ca808]
push edi
call fcn.029b7d60
add esp, 0x30
mov edi, dword [ebp + 0x14]
cmp eax, 0x103
jne 0x29bb2e8
mov dword [esp + 8], 0x8a959497
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x29bb28c
nop dword [eax]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + ecx]
add edx, 0x7a1e7fed
add eax, 0x7a1e7fed
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp], edx
mov eax, dword [esp]
mov ecx, eax
xor ecx, 0x84
and eax, 4
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x29bb240
mov eax, dword [esp + 8]
mov ecx, dword [0x29ca800]
test ecx, ecx
je 0x29bb2e0
xor edx, edx
mov esi, dword [0x29ca804]
nop word cs:[eax + eax]
cmp dword [esi + edx*8], 0xb33e16a3
je 0x29bb2c0
inc edx
cmp ecx, edx
jne 0x29bb2b0
jmp 0x29bb2e0
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x29bb2e0
push 0
push 0
push dword [ebp + 8]
push 3
push dword [0x29ca808]
push ecx
call fcn.029b7d60
add esp, 0x18
test eax, eax
js 0x29bb2e8
mov eax, dword [esp + 0x1c]
test edi, edi
je 0x29bb2fb
xor ecx, ecx
cmp eax, 0xc0000011
je 0x29bb2f9
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x29bb310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov dword [esp + 8], 0x8a959497
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x14], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x29bb399
nop dword [eax + eax]
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + ecx]
add edx, 0x7a1e7fed
add eax, 0x7a1e7fed
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
mov ecx, eax
xor ecx, 0x84
and eax, 4
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x29bb350
mov eax, dword [esp + 8]
mov edi, dword [0x29ca800]
test edi, edi
je 0x29bb3fd
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [0x29ca804]
nop word cs:[eax + eax]
cmp dword [esi + ebx*8], 0x58c2bab5
je 0x29bb3d0
inc ebx
cmp edi, ebx
jne 0x29bb3c0
jmp 0x29bb3fd
mov edi, dword [esi + ebx*8 + 4]
cmp edi, eax
je 0x29bb3fd
lea eax, [esp + 0x1c]
push 0
push 0
push edx
push ecx
push eax
push 0
push 0
push 0
push dword [ebp + 8]
push 9
push dword [0x29ca808]
push edi
call fcn.029b7d60
add esp, 0x30
mov edi, dword [ebp + 0x14]
cmp eax, 0x103
jne 0x29bb4e8
mov dword [esp + 8], 0x8a959497
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x14], 0
mov dword [esp + 4], 0
mov eax, dword [esp + 4]
cmp eax, 0xc
ja 0x29bb48c
nop dword [eax]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 4]
movzx ecx, byte [esp + ecx + 8]
lea edx, [eax + ecx]
add edx, 0x7a1e7fed
add eax, 0x7a1e7fed
and eax, ecx
add eax, eax
sub edx, eax
mov dword [esp], edx
mov eax, dword [esp]
mov ecx, eax
xor ecx, 0x84
and eax, 4
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp + 4]
mov byte [esp + ecx + 8], al
inc dword [esp + 4]
mov eax, dword [esp + 4]
cmp eax, 0xd
jb 0x29bb440
mov eax, dword [esp + 8]
mov ecx, dword [0x29ca800]
test ecx, ecx
je 0x29bb4e0
xor edx, edx
mov esi, dword [0x29ca804]
nop word cs:[eax + eax]
cmp dword [esi + edx*8], 0xb33e16a3
je 0x29bb4c0
inc edx
cmp ecx, edx
jne 0x29bb4b0
jmp 0x29bb4e0
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x29bb4e0
push 0
push 0
push dword [ebp + 8]
push 3
push dword [0x29ca808]
push ecx
call fcn.029b7d60
add esp, 0x18
test eax, eax
js 0x29bb4e8
mov eax, dword [esp + 0x1c]
test edi, edi
je 0x29bb4f2
mov ecx, dword [esp + 0x20]
mov dword [edi], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x29bb500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [ebp + 0x18]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
xor ebx, ebx
nop word [eax + eax]
cmp word [edi + ebx], 0
lea ebx, [ebx + 2]
jne 0x29bb520
add ebx, 0xfffffffe
and ebx, 0xfffe
mov word [esp + 4], bx
add ebx, 2
mov word [esp + 6], bx
mov dword [esp + 8], edi
mov dword [esp + 0x24], 0x18
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x10], 0x8a959497
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov byte [esp + 0x1c], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xc
ja 0x29bb5e9
nop dword [eax]
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 0x10]
lea edi, [eax + ecx]
add edi, 0x7a1e7fed
add eax, 0x7a1e7fed
and eax, ecx
add eax, eax
sub edi, eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0xc]
mov ecx, eax
xor ecx, 0x84
and eax, 4
lea eax, [ecx + eax*2]
inc al
mov ecx, dword [esp]
mov byte [esp + ecx + 0x10], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xd
jb 0x29bb5a0
mov eax, dword [esp + 0x10]
mov edi, dword [0x29ca800]
test edi, edi
je 0x29bb633
xor ebx, ebx
mov ecx, dword [0x29ca804]
nop
cmp dword [ecx + ebx*8], 0x850a6e6
je 0x29bb610
inc ebx
cmp edi, ebx
jne 0x29bb600
jmp 0x29bb633
mov ecx, dword [ecx + ebx*8 + 4]
cmp ecx, eax
je 0x29bb633
lea eax, [esp + 0x24]
push esi
push eax
push edx
push dword [ebp + 0xc]
push 4
push dword [0x29ca808]
push ecx
call fcn.029b7d60
add esp, 0x1c
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4011c4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1d3c
call fcn.0040c170
push ebx
push esi
xor esi, esi
cmp dword [0x4bb914], 0x93
push edi
jne 0x401248
push esi
push esi
call dword [0x4a5038]
push esi
push esi
push esi
push esi
call dword [0x4a500c]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [section.sect_1]
call dword [0x4a519c]
push esi
call fcn.004017f3
push esi
push esi
push esi
push esi
call fcn.00401f1a
push esi
push 0x4a894f
push 0x4b0d10
call fcn.004018a5
push esi
call fcn.00401c40
push esi
push esi
call fcn.00401c6f
add esp, 0x2c
call fcn.004011b6
push esi
call fcn.00402217
pop ecx
push esi
call fcn.004024c7
add dword [0x4bb914], 0x1134b
push dword [0x4bb914]
mov eax, dword [0x4aefe0]
push esi
mov dword [0x4bc378], eax
call dword [0x4a5034]
lea ecx, [ebp - 4]
push ecx
push 0x40
push dword [0x4bb914]
mov dword [0x4bb86c], eax
push eax
call dword [0x4a5080]
mov edi, dword [0x4a5190]
mov ebx, 0x29156e
push esi
lea eax, [ebp - 0x1538]
push eax
call edi
dec ebx
jne 0x40128c
cmp dword [0x4bb914], esi
jbe 0x4012ec
mov eax, dword [0x4bc378]
mov al, byte [eax + ebx + 0x1134b]
mov ecx, dword [0x4bb86c]
mov byte [ecx + ebx], al
cmp dword [0x4bb914], 0x490
jne 0x4012e3
push 0x4a8990
call dword [0x4a5068]
push esi
push esi
push esi
call dword [0x4a5060]
call dword [0x4a5028]
push esi
call dword [fcn.004a5044]
inc ebx
cmp ebx, dword [0x4bb914]
jb 0x4012a1
xor ebx, ebx
mov eax, dword [0x4bb914]
add eax, ebx
cmp eax, 0x8d
jne 0x401360
push 0x4a8994
call dword [0x4a5064]
push esi
lea eax, [ebp - 0x1d38]
push eax
call edi
lea eax, [ebp - 8]
push eax
call dword [0x4a5014]
push esi
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x1138]
push eax
push esi
call dword [0x4a503c]
push 0x4a89a8
call dword [0x4a506c]
push esi
push esi
push esi
call dword [0x4a501c]
lea eax, [ebp - 0xd38]
push eax
push esi
call dword [0x4a5018]
inc ebx
cmp ebx, 0x38681
jl 0x4012ee
mov eax, dword [0x4bb914]
mov ecx, dword [0x4bb86c]
shr eax, 3
cmp eax, esi
jbe 0x4013ae
mov edi, ecx
mov ebx, eax
cmp dword [0x4bb914], 0x959
jne 0x4013a2
push esi
lea eax, [ebp - 0xd38]
push eax
call dword [0x4a507c]
push esi
push esi
push esi
call dword [0x4a5078]
push edi
call fcn.0040107e
add edi, 8
dec ebx
jne 0x40137f
xor edi, edi
push esi
call dword [0x4a5094]
cmp edi, 0x62
jne 0x4013cf
mov dword [ebp - 8], esi
add dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add dword [0x4bb86c], eax
inc edi
cmp edi, 0x674db
jl 0x4013b0
push 0x7b
pop edi
cmp dword [0x4bb914], 0x86
jne 0x401445
push esi
lea eax, [ebp - 0xd38]
push eax
push esi
call dword [0x4a5074]
push esi
push esi
push esi
lea eax, [ebp - 0x138]
push eax
call dword [0x4a5050]
call dword [0x4a5070]
push esi
push esi
call dword [0x4a508c]
lea eax, [ebp - 0x1138]
push eax
push esi
push esi
call dword [0x4a5084]
push esi
push 0x4a8a28
push 0x4a8a78
call dword [0x4a5030]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x538]
push eax
call dword [0x4a5098]
dec edi
jne 0x4013db
call fcn.00401000
call dword [0x4bb86c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x61e2e0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4e5518]
xor edx, edx
cmp eax, edx
jne 0x61e306
xor eax, eax
mov byte [eax + 0x4e5418], al
inc eax
cmp eax, 0x100
jl 0x61e2ee
mov dword [0x4e5518], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4e5418
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x61e397
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x61e36a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x61e338
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x61e3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x61e3f3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x61e3da
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x622760
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x622981
cmp eax, 8
jg 0x622981
cmp dword [esp + 0x8c], 2
jl 0x622981
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x622981
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x622981
mov eax, dword [esp + 0x80]
test eax, eax
je 0x6227e7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x62296a
mov ebp, dword [fcn.004a74e0]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x622819
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x622951
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x622839
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [fcn.004a74cc]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x622878
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [fcn.004a74d4]
lea ecx, [esp + 0x28]
push ecx
call dword [fcn.004a7514]
test eax, eax
jne 0x622938
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.00621d70
cmp eax, 1
jne 0x622962
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00622620
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x62282d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x62296a
jmp 0x622804
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.00621970
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x625400
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x625598
cmp ebp, ebx
jle 0x625598
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x62545e
dec eax
or eax, 0xfffffff8
inc eax
je 0x625465
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x625474
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x62547b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0068b4d5
add esp, 4
cmp eax, ebx
je 0x62549c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0068b4d5
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x62558e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x625575
mov al, byte [edx]
cmp al, 0xc0
jbe 0x625561
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x625556
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x625564
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x625564
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x625500
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x6254f1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret