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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x24
mov eax, dword [ecx + 4]
push ebx
push esi
mov dword [esp + 0x14], edx
lea esi, [ecx + 4]
mov edx, dword [ecx]
add esi, 4
xor eax, edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], eax
push edi
movd xmm0, edx
mov edi, eax
pshufd xmm0, xmm0, 0
movdqa xmmword [esp + 0x20], xmm0
test al, 3
je 0x283480
and edi, 0xfffffffc
add edi, 4
mov eax, dword [0x28e0bc]
test eax, eax
jne 0x2834a4
mov ecx, 0xf05fc174
call fcn.00284190
mov edx, 0x93231e3
mov ecx, eax
call fcn.002840f0
mov dword [0x28e0bc], eax
call eax
mov ebx, eax
mov eax, dword [0x28dddc]
test eax, eax
jne 0x2834cc
mov ecx, 0xf05fc174
call fcn.00284190
mov edx, 0xe96e8f4f
mov ecx, eax
call fcn.002840f0
mov dword [0x28dddc], eax
push edi
push 8
push ebx
call eax
mov dword [esp + 0xc], eax
test eax, eax
je 0x283582
shr edi, 2
xor edx, edx
lea ecx, [esi + edi*4]
mov edi, eax
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
mov ecx, eax
cmova ebx, edx
test ebx, ebx
je 0x283572
cmp ebx, 8
jb 0x283557
lea eax, [esi - 4]
lea eax, [eax + ebx*4]
cmp ecx, eax
ja 0x283516
lea eax, [ecx - 4]
lea eax, [eax + ebx*4]
cmp eax, esi
jae 0x283557
movdqa xmm1, xmmword [esp + 0x20]
mov eax, ebx
and eax, 7
mov dword [esp + 0xc], ebx
sub dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
lea ecx, [ecx]
movdqu xmm0, xmmword [esi]
add edx, 8
pxor xmm0, xmm1
movdqu xmmword [edi], xmm0
movdqu xmm0, xmmword [esi + 0x10]
add esi, 0x20
pxor xmm0, xmm1
movdqu xmmword [edi + 0x10], xmm0
add edi, 0x20
cmp edx, eax
jb 0x283530
cmp edx, ebx
jae 0x283572
sub edi, esi
lea ecx, [ecx]
mov eax, dword [esi]
lea esi, [esi + 4]
xor eax, dword [esp + 0x14]
inc edx
mov dword [edi + esi - 4], eax
cmp edx, ebx
jb 0x283560
mov edx, dword [esp + 0x18]
test edx, edx
je 0x283580
mov eax, dword [esp + 0x1c]
mov dword [edx], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x2835f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push esi
lea esi, [ecx + 4]
mov dword [esp + 8], edx
lea ebx, [eax + 1]
mov dword [esp + 0x10], eax
add esi, 4
push edi
test bl, 3
je 0x283619
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x28e0bc]
test eax, eax
jne 0x28363d
mov ecx, 0xf05fc174
call fcn.00284190
mov edx, 0x93231e3
mov ecx, eax
call fcn.002840f0
mov dword [0x28e0bc], eax
call eax
mov edi, eax
mov eax, dword [0x28dddc]
test eax, eax
jne 0x283665
mov ecx, 0xf05fc174
call fcn.00284190
mov edx, 0xe96e8f4f
mov ecx, eax
call fcn.002840f0
mov dword [0x28dddc], eax
lea ecx, [ebx + ebx]
push ecx
push 8
push edi
call eax
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
je 0x2836e5
shr ebx, 2
xor eax, eax
push ebp
xor ebp, ebp
mov edx, edi
lea ecx, [esi + ebx*4]
mov ebx, ecx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, ecx
cmova ebx, eax
test ebx, ebx
je 0x2836da
mov edi, dword [esp + 0x10]
lea esp, [esp]
mov ecx, dword [esi]
lea edx, [edx + 8]
xor ecx, edi
lea esi, [esi + 4]
movzx eax, cl
inc ebp
mov word [edx - 8], ax
mov eax, ecx
shr eax, 8
movzx eax, al
mov word [edx - 6], ax
shr ecx, 0x10
movzx eax, cl
mov word [edx - 4], ax
shr ecx, 8
movzx eax, cl
mov word [edx - 2], ax
cmp ebp, ebx
jb 0x2836a0
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
xor ecx, ecx
pop ebp
mov word [edi + eax*2], cx
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x2836f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
mov eax, dword [ecx + 4]
mov edx, dword [ecx]
xor eax, edx
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0xc], edx
lea ebx, [eax + 1]
mov dword [esp + 0x14], eax
add esi, 4
push edi
test bl, 3
je 0x28371a
and ebx, 0xfffffffc
add ebx, 4
mov eax, dword [0x28e0bc]
test eax, eax
jne 0x28373e
mov ecx, 0xf05fc174
call fcn.00284190
mov edx, 0x93231e3
mov ecx, eax
call fcn.002840f0
mov dword [0x28e0bc], eax
call eax
mov edi, eax
mov eax, dword [0x28dddc]
test eax, eax
jne 0x283766
mov ecx, 0xf05fc174
call fcn.00284190
mov edx, 0xe96e8f4f
mov ecx, eax
call fcn.002840f0
mov dword [0x28dddc], eax
push ebx
push 8
push edi
call eax
mov ebp, eax
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x2837d2
shr ebx, 2
xor eax, eax
xor edi, edi
mov ecx, ebp
lea edx, [esi + ebx*4]
mov ebx, edx
sub ebx, esi
add ebx, 3
shr ebx, 2
cmp esi, edx
cmova ebx, eax
test ebx, ebx
je 0x2837ca
mov ebp, dword [esp + 0x10]
lea esp, [esp]
mov edx, dword [esi]
lea ecx, [ecx + 4]
xor edx, ebp
lea esi, [esi + 4]
mov byte [ecx - 4], dl
mov eax, edx
shr eax, 8
inc edi
shr edx, 0x10
mov byte [ecx - 3], al
mov byte [ecx - 2], dl
shr edx, 8
mov byte [ecx - 1], dl
cmp edi, ebx
jb 0x2837a0
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov byte [eax + ebp], 0
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x283ce0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov dword [esp + 4], 0x3d42
shr dword [esp + 4], 4
imul eax, dword [esp + 4], 0x5d
push ebx
mov ebx, ecx
mov dword [esp + 8], eax
imul eax, dword [esp + 8], 0x57
mov dword [esp + 8], eax
xor dword [esp + 8], 0x4ecad597
or dword [esp + 8], 0x3c04465
mov eax, dword [esp + 8]
shl eax, 6
mov dword [esp + 8], eax
shr dword [esp + 8], 7
add dword [esp + 8], 0xffff768f
xor dword [esp + 8], 0x1f8ad06
mov dword [esp + 4], 0x727d
imul eax, dword [esp + 4], 0x6d
mov dword [esp + 4], eax
mov eax, 0x6c16c16d
shl dword [esp + 4], 0xf
xor dword [esp + 4], 0xf3d1e7b4
mov ecx, dword [esp + 4]
mul ecx
mov eax, 0xf0f0f0f1
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [esp + 4], ecx
shr dword [esp + 4], 1
add dword [esp + 4], 0xb65
mov ecx, dword [esp + 4]
mul ecx
shr edx, 5
mov dword [esp + 4], edx
xor dword [esp + 4], 0xe6a8e
mov dword [esp + 4], 0x5917
add dword [esp + 4], 0xac1f
shr dword [esp + 4], 3
shl dword [esp + 4], 0xa
xor dword [esp + 4], 0xbfc66964
xor dword [esp + 4], 0x8e435246
shl dword [esp + 4], 0xc
imul eax, dword [esp + 4], 0x35
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov dword [esp + 4], ecx
xor dword [esp + 4], 0xd874a010
cmp byte [ebx], 0
je 0x283ed7
push esi
push edi
jmp 0x283df0
mov edi, dword [esp + 0x10]
lea ebx, [ebx + 1]
mov dword [esp + 0xc], 0x727d
imul eax, dword [esp + 0xc], 0x6d
mov dword [esp + 0xc], eax
mov eax, 0x6c16c16d
shl dword [esp + 0xc], 0xf
xor dword [esp + 0xc], 0xf3d1e7b4
mov ecx, dword [esp + 0xc]
mul ecx
mov eax, 0xf0f0f0f1
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [esp + 0xc], ecx
shr dword [esp + 0xc], 1
add dword [esp + 0xc], 0xb65
mov ecx, dword [esp + 0xc]
mul ecx
shr edx, 5
mov dword [esp + 0xc], edx
xor dword [esp + 0xc], 0xe6a8e
movzx ecx, byte [esp + 0xc]
mov esi, dword [esp + 0x10]
mov dword [esp + 0xc], 0x5917
add dword [esp + 0xc], 0xac1f
shr dword [esp + 0xc], 3
shl dword [esp + 0xc], 0xa
xor dword [esp + 0xc], 0xbfc66964
xor dword [esp + 0xc], 0x8e435246
shl dword [esp + 0xc], 0xc
imul eax, dword [esp + 0xc], 0x35
shl esi, cl
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov ecx, eax
shl ecx, 5
add ecx, eax
mov dword [esp + 0xc], ecx
xor dword [esp + 0xc], 0xd874a010
movzx ecx, byte [esp + 0xc]
mov edx, dword [esp + 0x10]
movsx eax, byte [ebx - 1]
mov dword [esp + 0x10], eax
add dword [esp + 0x10], esi
shl edx, cl
add dword [esp + 0x10], edx
sub dword [esp + 0x10], edi
cmp byte [ebx], 0
jne 0x283df0
pop edi
pop esi
mov eax, dword [esp + 8]
pop ebx
add esp, 8
ret
Function at 0x2840f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x28414c
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.00283ce0
xor eax, 0x4d07de46
cmp eax, dword [esp + 0x10]
je 0x284156
inc esi
cmp esi, dword [edi + 0x18]
jb 0x284130
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x284184
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x284184
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x284400
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x284426
cmp al, 0x2e
je 0x284423
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x284413
jmp 0x284426
mov byte [edx], 0
mov eax, dword [0x28dc34]
test eax, eax
jne 0x28444a
mov ecx, 0xf05fc174
call fcn.00284190
mov edx, 0xba3f6171
mov ecx, eax
call fcn.002840f0
mov dword [0x28dc34], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x284491
mov eax, dword [0x28dd68]
test eax, eax
jne 0x28447b
mov ecx, 0xf05fc174
call fcn.00284190
mov edx, 0x922c65aa
mov ecx, eax
call fcn.002840f0
mov dword [0x28dd68], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x284491
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.00283ce0
xor eax, 0x4d07de46
mov ecx, edi
mov edx, eax
call fcn.002840f0
pop edi
pop esi
add esp, 0x104
ret
Function at 0x2846c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x28485e
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x28485e
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x28485e
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x28485e
mov eax, dword [0x28db70]
test eax, eax
jne 0x28472b
mov ecx, 0xf05fc174
call fcn.00284190
mov edx, 0x74d6780c
mov ecx, eax
call fcn.002840f0
mov dword [0x28db70], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x284855
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [str._vw]
test eax, eax
jne 0x28478b
mov ecx, 0xad0f0712
call fcn.00284190
mov edx, 0x70ba0131
mov ecx, eax
call fcn.002840f0
mov dword [str._vw], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x28480e
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [str._vw]
test eax, eax
jne 0x2847f6
mov ecx, 0xad0f0712
call fcn.00284190
mov edx, 0x70ba0131
mov ecx, eax
call fcn.002840f0
mov dword [str._vw], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x2847b5
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.00284990
mov edx, edi
mov ecx, ebx
call fcn.002848a0
pop esi
test eax, eax
jne 0x284855
mov eax, dword [0x28dcc0]
test eax, eax
jne 0x284849
mov ecx, 0xf05fc174
call fcn.00284190
mov edx, 0xb7f50111
mov ecx, eax
call fcn.002840f0
mov dword [0x28dcc0], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0xd0c720
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0xc0f015
lea edi, [esi - 0x80e015]
push edi
or ebp, 0xffffffff
jmp 0xd0c742
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xd0c749
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd0c738
mov eax, 1
add ebx, ebx
jne 0xd0c75b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xd0c76c
jne 0xd0c78b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd0c78b
dec eax
add ebx, ebx
jne 0xd0c778
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xd0c750
add ebx, ebx
jne 0xd0c787
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xd0c7dd
xor ecx, ecx
sub eax, 3
jb 0xd0c7a3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xd0c812
sar eax, 1
mov ebp, eax
jmp 0xd0c7ae
add ebx, ebx
jne 0xd0c7ae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd0c77c
inc ecx
add ebx, ebx
jne 0xd0c7bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xd0c77c
add ebx, ebx
jne 0xd0c7c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xd0c7be
jne 0xd0c7da
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xd0c7be
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xd0c7fc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xd0c7ee
jmp 0xd0c73e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xd0c7fc
add edi, ecx
jmp 0xd0c73e
pop esi
mov edi, esi
mov ecx, 0x30a2a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xd0c81a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0xd0c81f
lea edi, [esi + 0x90a000]
mov eax, dword [edi]
or eax, eax
je 0xd0c890
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x90c484]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x90c4c0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xd0c845
mov ecx, edi
jns 0xd0c874
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x90c4c8]
or eax, eax
je 0xd0c88a
mov dword [ebx], eax
add ebx, 4
jmp 0xd0c862
call dword [esi + 0x90c4c4]
mov ebp, dword [esi + 0x90c4cc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xd0c8c4
sub esp, 0xffffff80
jmp 0x4091e8
Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
mov ebx, 0x407ef8
mov ecx, 0x44235e6d
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e024
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x45a15bf1
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401520
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
lea eax, [ebx*4]
mov esi, ecx
push eax
mov dword [esi + 4], ebx
call fcn.0043e620
mov ecx, dword [esi + 4]
mov dword [esi], eax
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x401561
jmp 0x401550
mov ecx, dword [esi]
mov dword [ecx + eax*4], 0
mov ecx, dword [esi + 4]
inc eax
cmp eax, ecx
jl 0x401550
test ebx, ebx
jle 0x4015b2
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebp, ebx
lea ecx, [ecx]
mov edx, dword [edi]
xor ecx, ecx
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x401598
lea esp, [esp]
mov ebx, eax
shl ebx, 4
and ecx, 0xff
add ebx, eax
add ecx, ebx
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x401580
xor edx, edx
div dword [esi + 4]
mov eax, dword [esi]
mov ecx, dword [eax + edx*4]
mov dword [edi + 8], ecx
mov eax, dword [esi]
mov dword [eax + edx*4], edi
add edi, 0xc
dec ebp
jne 0x401570
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x403f60
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push edi
xor eax, eax
jmp 0x403f70
mov byte [eax + esi], al
inc eax
cmp eax, 0x100
jl 0x403f70
xor dl, dl
xor edi, edi
lea ecx, [esi + 1]
mov dword [esp + 0x10], 0x40
lea ebx, [ebx]
movzx eax, dl
mov dl, byte [ecx - 1]
mov dword [esp + 0xc], eax
movzx eax, byte [eax + ebp]
mov byte [esp + 0xb], dl
movzx edx, dl
add eax, edi
add eax, edx
and eax, 0x800000ff
jns 0x403fb7
dec eax
or eax, 0xffffff00
inc eax
mov dl, byte [esp + 0xb]
movzx edi, al
mov al, byte [edi + esi]
mov byte [ecx - 1], al
mov eax, dword [esp + 0xc]
inc eax
mov byte [edi + esi], dl
cdq
idiv ebx
movzx eax, dl
mov dl, byte [ecx]
mov dword [esp + 0xc], eax
movzx eax, byte [eax + ebp]
mov byte [esp + 0xb], dl
movzx edx, dl
add eax, edi
add eax, edx
and eax, 0x800000ff
jns 0x403ff5
dec eax
or eax, 0xffffff00
inc eax
mov dl, byte [esp + 0xb]
movzx edi, al
mov al, byte [edi + esi]
mov byte [ecx], al
mov eax, dword [esp + 0xc]
inc eax
mov byte [edi + esi], dl
cdq
idiv ebx
movzx eax, dl
mov dl, byte [ecx + 1]
mov dword [esp + 0xc], eax
movzx eax, byte [eax + ebp]
mov byte [esp + 0xb], dl
movzx edx, dl
add eax, edi
add eax, edx
and eax, 0x800000ff
jns 0x404033
dec eax
or eax, 0xffffff00
inc eax
mov dl, byte [esp + 0xb]
movzx edi, al
mov al, byte [edi + esi]
mov byte [ecx + 1], al
mov eax, dword [esp + 0xc]
inc eax
mov byte [edi + esi], dl
cdq
idiv ebx
movzx eax, dl
mov dl, byte [ecx + 2]
mov dword [esp + 0xc], eax
movzx eax, byte [eax + ebp]
mov byte [esp + 0xb], dl
movzx edx, dl
add eax, edi
add eax, edx
and eax, 0x800000ff
jns 0x404072
dec eax
or eax, 0xffffff00
inc eax
mov dl, byte [esp + 0xb]
movzx edi, al
mov al, byte [edi + esi]
mov byte [ecx + 2], al
mov eax, dword [esp + 0xc]
inc eax
mov byte [edi + esi], dl
cdq
idiv ebx
mov eax, dword [esp + 0x10]
add ecx, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x403f90
pop edi
pop ebp
add esp, 0xc
ret
Function at 0x42be40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push esi
mov esi, dword [esp + 8]
xor edx, edx
mov dl, byte [esi]
xor eax, eax
test dl, dl
je 0x42be69
push edi
mov edi, eax
shl edi, 4
and edx, 0xff
add edi, eax
add edx, edi
inc esi
mov eax, edx
mov dl, byte [esi]
test dl, dl
jne 0x42be50
pop edi
xor edx, edx
div dword [ecx + 4]
pop esi
mov eax, edx
ret 4

Function at 0x42be80
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
mov ecx, dword [edi + 8]
mov eax, esi
cdq
sub eax, edx
sar eax, 1
cmp ecx, eax
jl 0x42bf4d
mov ebp, dword [edi]
lea eax, [esi + esi + 1]
mov dword [edi + 4], eax
shl eax, 3
push eax
mov dword [esp + 0x14], ebp
call fcn.0043e620
mov ecx, dword [edi + 4]
mov dword [edi], eax
add esp, 4
xor eax, eax
test ecx, ecx
jle 0x42bed1
mov ecx, dword [edi]
mov dword [ecx + eax*8], 0
mov ecx, dword [edi + 4]
inc eax
cmp eax, ecx
jl 0x42bec0
test esi, esi
jle 0x42bf44
mov edx, dword [ebp]
test edx, edx
je 0x42bf3a
xor ecx, ecx
mov cl, byte [edx]
xor eax, eax
test cl, cl
je 0x42bf08
jmp 0x42bef0
mov ebx, eax
shl ebx, 4
and ecx, 0xff
add ebx, eax
add ecx, ebx
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x42bef0
mov ecx, dword [edi + 4]
xor edx, edx
div ecx
mov eax, dword [edi]
cmp dword [eax + edx*8], 0
je 0x42bf2d
mov ebx, eax
lea esp, [esp]
inc edx
cmp edx, ecx
jne 0x42bf27
xor edx, edx
cmp dword [ebx + edx*8], 0
jne 0x42bf20
mov ecx, dword [ebp]
mov dword [eax + edx*8], ecx
mov ecx, dword [ebp + 4]
mov dword [eax + edx*8 + 4], ecx
add ebp, 8
dec esi
jne 0x42bed5
mov ebp, dword [esp + 0x10]
push ebp
call fcn.0043e6b0
add esp, 4
mov esi, dword [esp + 0x18]
xor ecx, ecx
mov cl, byte [esi]
xor eax, eax
test cl, cl
mov edx, esi
je 0x42bf78
lea ecx, [ecx]
mov ebx, eax
shl ebx, 4
and ecx, 0xff
add ebx, eax
add ecx, ebx
inc edx
mov eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x42bf60
mov ecx, dword [edi + 4]
xor edx, edx
div ecx
mov ebp, edx
mov edx, dword [edi]
cmp dword [edx + ebp*8], 0
je 0x42bfdc
jmp 0x42bf90
mov esi, dword [esp + 0x18]
nop
mov eax, dword [edx + ebp*8]
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x42bfb7
test cl, cl
je 0x42bfb3
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x42bfb7
add eax, 2
add esi, 2
test cl, cl
jne 0x42bf93
xor eax, eax
jmp 0x42bfbc
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x42bfd2
mov eax, dword [edi + 4]
inc ebp
cmp ebp, eax
jne 0x42bfca
xor ebp, ebp
mov eax, dword [edi]
cmp dword [eax + ebp*8], 0
jne 0x42bf8b
cmp dword [edx + ebp*8], 0
mov esi, dword [esp + 0x18]
jne 0x42bfea
push esi
call fcn.0043e6d0
mov ecx, dword [edi]
add esp, 4
mov dword [ecx + ebp*8], eax
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
mov dword [edx + ebp*8 + 4], eax
inc dword [edi + 8]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
Function at 0x437270
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
fld qword [0x450118]
push esi
mov esi, ecx
push edi
fstp qword [esi + 0x28]
xor edi, edi
cmp eax, edi
mov dword [esi], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
jne 0x4372d2
push ebx
push ebp
lea ebx, [esi + 0x3c]
mov ebp, 4
push 0x14
call fcn.0043f7ed
add esp, 4
cmp eax, edi
je 0x4372c6
or ecx, 0xffffffff
mov dword [eax], edi
mov dword [eax + 4], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ecx
jmp 0x4372c8
xor eax, eax
mov dword [ebx], eax
add ebx, 4
dec ebp
jne 0x4372a5
pop ebp
pop ebx
push 0x10
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
call fcn.0043f7ed
add esp, 4
cmp eax, edi
je 0x4372f5
mov ecx, eax
call fcn.0043ed30
jmp 0x4372f7
xor eax, eax
fld qword [0x450118]
mov dword [esi + 0x80], edi
fstp qword [esi + 0x78]
mov dword [esi + 0x68], eax
fld qword [0x450118]
pop edi
fstp qword [esi + 0x70]
mov eax, esi
pop esi
ret 4