joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100228e0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call dword [0x540b104]
cmp eax, 1
je 0x10022901
mov eax, 0x1000000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x74]
push eax
push edi
call dword [0x540b100]
test eax, eax
jne 0x1002291d
mov eax, 0x200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x30]
push ecx
call dword [0x540b0f8]
lea edx, [ebp - 0x40]
push edx
call dword [0x540b10c]
mov esi, dword [0x540b110]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x30]
push ecx
call esi
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sbb ecx, dword [ebp - 0x14]
sub dword [ebp - 0x60], eax
sbb dword [ebp - 0x5c], ecx
sub dword [ebp - 0x68], eax
sbb dword [ebp - 0x64], ecx
sub dword [ebp - 0x70], eax
sbb dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x74]
mov eax, ecx
xor esi, esi
and eax, 1
je 0x1002297f
mov dword [ebp - 8], 1
mov esi, dword [ebp - 8]
test cl, 2
je 0x10022987
or esi, 2
test cl, 4
je 0x1002298f
or esi, 4
mov edx, ecx
and edx, 0x10
je 0x10022999
or esi, 0x10
test cl, 0x20
je 0x100229a1
or esi, 0x20
test edx, edx
je 0x100229ad
or esi, 0x40000000
jmp 0x100229b3
or esi, 0x80000000
or esi, 0x1000000
mov dword [ebp - 8], esi
test eax, eax
jne 0x100229c9
or esi, 0x800000
mov dword [ebp - 8], esi
push 0
push edi
call dword [0x540b118]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x10022a70
mov esi, dword [0x540b114]
push 0
push 0
push 0
push edi
call esi
mov ebx, dword [0x540b210]
push 0
lea ecx, [ebp - 0xc]
push ecx
push 2
lea edx, [ebp - 4]
push edx
push edi
call ebx
push 0
push 0
push 0x24
push edi
call esi
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea ecx, [ebp - 0x14]
push ecx
push edi
call ebx
mov edx, 0x54ad
cmp word [ebp - 4], dx
jne 0x10022a6d
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x10022a6d
push 0
push 0
push eax
push edi
call esi
push 0
lea edx, [ebp - 0xc]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
push edi
call ebx
mov eax, dword [ebp - 0x1c]
cmp eax, 0x5a4d
je 0x10022a66
cmp eax, 0x454e
je 0x10022a66
cmp eax, 0x454c
je 0x10022a66
cmp eax, 0x4550
jne 0x10022a6d
or dword [ebp - 8], 0x400000
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x10022a7b
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x10022a87
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x10022a96
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ecx
je 0x10022abe
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x540b11c]
movzx eax, word [ebp + 8]
movzx ecx, word [ebp + 0xc]
shl eax, 0x10
or eax, ecx
mov dword [esi], eax
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10027147
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov eax, dword [eax + 0x340]
test eax, eax
jne 0x10027165
mov eax, 0x541092c
push 0x5410918
push eax
lea eax, [ebp - 0x20c]
push 0x5410934
push eax
call dword [0x540b4a4]
lea eax, [ebp - 0x20c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027189
mov ecx, dword [ebx + 0x75c4]
sub eax, edx
lea eax, [ecx + eax + 0xd]
cmp eax, 0x7530
jbe 0x100271b2
mov eax, ebx
call fcn.100296a4
test al, al
je 0x10027288
mov al, byte [0x5414065]
xor ecx, ecx
test al, al
sete cl
dec ecx
and ecx, 0x302fefc
add ecx, 0xfffe0003
mov dword [ebp - 4], ecx
xor ecx, ecx
test al, al
lea eax, [ebp - 0x20c]
mov word [ebp - 0xc], cx
mov word [ebp - 0xa], cx
lea edx, [eax + 1]
je 0x10027206
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100271e5
sub eax, edx
lea ecx, [eax + 1]
shr ecx, 8
and ecx, 0xff
inc eax
shl eax, 8
xor ecx, eax
mov word [ebp - 8], cx
jmp 0x10027214
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027206
sub eax, edx
inc eax
mov word [ebp - 8], ax
push esi
push edi
xor eax, eax
mov word [ebp - 6], ax
mov eax, dword [ebx + 0x75c4]
push 0xc
lea edi, [eax + ebx + 0x94]
lea esi, [ebp - 0xc]
pop ecx
rep movsb byte es:[edi], byte [esi]
add dword [ebx + 0x75c4], 0xc
mov edi, dword [ebx + 0x75c4]
lea eax, [ebp - 0x20c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10027247
sub eax, esi
lea ecx, [eax + 1]
lea esi, [ebp - 0x20c]
lea edi, [edi + ebx + 0x94]
lea eax, [ebp - 0x20c]
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1002726b
sub eax, esi
inc eax
add dword [ebx + 0x75c4], eax
mov eax, ebx
call fcn.100296a4
neg al
pop edi
sbb al, al
pop esi
pop ebx
leave
ret 4
Function at 0x1002f0be
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, edx
shr eax, 0x10
xor eax, ecx
and eax, 0xffff
xor ecx, eax
shl eax, 0x10
xor edx, eax
mov eax, ecx
shr eax, 2
xor eax, edx
and eax, 0x33333333
xor edx, eax
shl eax, 2
xor ecx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor eax, ecx
rol eax, 1
mov ecx, eax
xor ecx, edx
and ecx, 0xaaaaaaaa
push ebx
xor eax, ecx
xor ecx, edx
push esi
rol ecx, 1
push edi
mov edi, 0x5422f50
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 8
mov esi, eax
ror esi, 4
xor esi, dword [edi]
push 0x3f
mov ecx, esi
shr ecx, 0x18
and ecx, 0x3f
mov edx, dword [ecx*4 + 0x54136b0]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
or edx, dword [ebx*4 + 0x54138b0]
mov ecx, esi
shr ecx, 8
and ecx, 0x3f
or edx, dword [ecx*4 + 0x5413ab0]
and esi, 0x3f
or edx, dword [esi*4 + 0x5413cb0]
mov esi, dword [edi + 4]
xor esi, eax
mov ecx, esi
shr ecx, 0x18
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x54137b0]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x54139b0]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x5413bb0]
add edi, 0x10
mov ebx, ecx
pop ecx
and esi, ecx
or ebx, dword [esi*4 + 0x5413db0]
or ebx, edx
xor dword [ebp - 4], ebx
mov esi, dword [ebp - 4]
ror esi, 4
xor esi, dword [edi - 8]
mov edx, esi
shr edx, 0x18
and edx, ecx
mov edx, dword [edx*4 + 0x54136b0]
mov ebx, esi
shr ebx, 0x10
and ebx, ecx
or edx, dword [ebx*4 + 0x54138b0]
mov ebx, esi
shr ebx, 8
and ebx, ecx
or edx, dword [ebx*4 + 0x5413ab0]
and esi, ecx
or edx, dword [esi*4 + 0x5413cb0]
mov esi, dword [edi - 4]
xor esi, dword [ebp - 4]
mov ebx, esi
shr ebx, 0x18
and ebx, ecx
mov ebx, dword [ebx*4 + 0x54137b0]
mov ecx, esi
shr ecx, 0x10
and ecx, 0x3f
or ebx, dword [ecx*4 + 0x54139b0]
mov ecx, esi
shr ecx, 8
and ecx, 0x3f
or ebx, dword [ecx*4 + 0x5413bb0]
and esi, 0x3f
or ebx, dword [esi*4 + 0x5413db0]
or ebx, edx
xor eax, ebx
dec dword [ebp - 8]
jne 0x1002f13c
ror eax, 1
mov edx, eax
xor edx, dword [ebp - 4]
pop edi
and edx, 0xaaaaaaaa
xor eax, edx
xor edx, dword [ebp - 4]
ror edx, 1
mov ecx, edx
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor edx, ecx
mov ecx, edx
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
shl ecx, 2
xor edx, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, edx
and ecx, 0xffff
xor edx, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, eax
shr ecx, 4
xor ecx, edx
and ecx, 0xf0f0f0f
mov esi, ecx
shl esi, 4
xor esi, eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
xor ecx, edx
pop esi
mov dword [eax + 4], ecx
pop ebx
leave
ret 4
Function at 0x10031abd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [esi + 0x2c]
push edi
mov edi, dword [esi + 0x3c]
sub edi, dword [esi + 0x74]
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x2c]
sub edi, eax
lea ecx, [ebx + ecx - 0x106]
mov dword [ebp - 8], edi
cmp eax, ecx
jb 0x10031b4c
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.1003a952
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x44]
sub dword [esi + 0x70], ebx
sub dword [esi + 0x6c], ebx
add esp, 0xc
sub dword [esi + 0x5c], ebx
mov dword [ebp - 4], eax
lea eax, [ecx + eax*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x10031b0a
mov eax, dword [esi + 0x40]
mov dword [ebp - 4], ebx
lea eax, [eax + ebx*2]
sub eax, 2
movzx ecx, word [eax]
mov edx, ecx
sub edx, ebx
cmp ecx, ebx
sbb ecx, ecx
not ecx
and ecx, edx
dec dword [ebp - 4]
mov word [eax], cx
jne 0x10031b2d
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x10031c63
mov eax, dword [esi + 0x74]
add eax, dword [esi + 0x6c]
mov ecx, dword [edi + 4]
add eax, dword [esi + 0x38]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
cmp ecx, edx
jbe 0x10031b74
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x10031b7e
xor eax, eax
jmp 0x10031bb6
sub ecx, dword [ebp - 4]
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + 0x18], 1
jne 0x10031ba0
push dword [ebp - 4]
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
call fcn.10039973
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.1003a952
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x74], eax
mov edx, dword [esi + 0x74]
cmp edx, 3
jb 0x10031bde
mov edi, dword [esi + 0x6c]
add edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x58]
movzx eax, byte [edi]
mov dword [esi + 0x48], eax
shl eax, cl
movzx ecx, byte [edi + 1]
xor eax, ecx
and eax, dword [esi + 0x54]
mov dword [esi + 0x48], eax
cmp edx, 0x106
jae 0x10031bf2
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x10031ac8
mov ecx, dword [esi + 0x16c0]
mov eax, dword [esi + 0x3c]
cmp ecx, eax
jae 0x10031c63
mov edi, dword [esi + 0x6c]
add edi, edx
cmp ecx, edi
jae 0x10031c32
sub eax, edi
mov ebx, eax
mov eax, 0x102
cmp ebx, eax
jbe 0x10031c17
mov ebx, eax
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.1003a958
add esp, 0xc
add ebx, edi
mov dword [esi + 0x16c0], ebx
jmp 0x10031c63
lea edx, [edi + 0x102]
cmp ecx, edx
jae 0x10031c63
sub edi, ecx
add edi, 0x102
sub eax, ecx
cmp edi, eax
jbe 0x10031c4c
mov edi, eax
mov eax, dword [esi + 0x38]
push edi
add eax, ecx
push 0
push eax
call fcn.1003a958
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebx
leave
ret
Function at 0x1003a920
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
xor eax, 0xffffffff
test ecx, ecx
mov esi, dword [ebp + 8]
je 0x1003a949
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + 0x5413100]
inc esi
xor eax, edx
dec ecx
jne 0x1003a934
xor eax, 0xffffffff
pop esi
leave
ret 0xc
Function at 0x102a8bfc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1031df60]
jne 0x102a8c06
repz ret
jmp fcn.102a8ead

Function at 0x102aa4d0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov dword [0x1031df38], 0x100e
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0x104
setl al
mov byte [ebp - 0x15], al
mov al, byte [ebp - 0x15]
test al, 1
jne 0x102aa5a6
jmp 0x102aa5be
jmp 0x102aa53d
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x102aa50c
jmp 0x102aa64c
jmp 0x102aa645
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
movzx ecx, word [eax - 0x18]
cmp ecx, 0x6f
je 0x102aa5d6
jmp 0x102aa538
mov dword [0x1031df38], 0x1b1e
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x102aa608
jmp 0x102aa53d
mov dword [0x1031df38], 0x305
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
je 0x102aa5f0
jmp 0x102aa647
jmp 0x102aa538
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x102aa5b9
jmp 0x102aa5be
jmp 0x102aa52b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x1a]
cmp eax, 0x6c
je 0x102aa542
jmp 0x102aa64c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0x16]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
cmp eax, 0x61
je 0x102aa583
jmp 0x102aa5a4
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
movzx eax, word [ecx + eax*2 - 0x12]
cmp eax, 0x64
je 0x102aa561
jmp 0x102aa645
mov eax, dword [0x1031df38]
sub eax, 0x1261
mov dword [0x1031df38], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + ecx*2 - 0xe]
cmp eax, 0x6c
jne 0x102aa529
mov eax, dword [0x1031df38]
add eax, 0x85e
mov dword [0x1031df38], eax
mov dword [ebp - 4], 1
jmp 0x102aa65d
jmp 0x102aa647
jmp 0x102aa5a4
mov dword [0x1031df38], 0x1405
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x20
pop ebp
ret
Function at 0x102aaf40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.102aaf40]
mov ecx, dword [0x1031df38]
sub ecx, 0x1ff7
mov dword [0x1031df38], ecx
mov dword [ebp - 8], eax
mov dword [0x1031df34], 0x224
jmp 0x102aaf8e
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov eax, dword [0x1031df38]
sub eax, 0x488
mov dword [0x1031df34], eax
jmp 0x102aafbc
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x102aaf6d
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x102aafba
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x102aafcd
jmp 0x102aaf6d
mov al, 1
test al, 1
jne 0x102aaf8e
jmp 0x102aafc4
mov dword [ebp - 4], 0
jmp 0x102aafcd
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add esp, 0x10
pop ebp
ret

Function at 0x8003b3f
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x80043b4], 0x30
mov dword [0x80043bc], 0x8003351
mov dword [0x80043b8], 2
mov dword [0x80043c0], 0
mov dword [0x80043c4], 0
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
jmp 0x8003b82
mov dword [0x80043c8], eax
mov dword [0x80043dc], 0x80041e0
mov dword [0x80043d4], 0xf
mov dword [0x8004102], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x80043cc], eax
mov dword [0x80043e0], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x800410a], ebp
mov dword [0x80043d0], eax
push 0x80043b4
call dword [sym.imp.user32.dll_RegisterClassExA]
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x8004434], eax
push 0
push dword [0x8004102]
push 0
push 0
push 0x1ef
push 0x21c
push 0xffffe688
push 0xfffff524
push 0xcf0000
push str.uno_momento
push str.verba
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x800442c], eax
push 1
push dword [0x800442c]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x800442c]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x8003c40
xor edi, edi
lea ebx, [0x80043e4]
jmp 0x8003c58
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x8003c4a
jmp 0x8003c6c
mov eax, dword [0x80043ec]
call fcn.08002ae4
ret
Function at 0x10e37058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.10e371a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x10e3707e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e3706a
add dl, dl
jne 0x10e37089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e370dc
xor eax, eax
add dl, dl
jne 0x10e37096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x10e3717d
add dl, dl
jne 0x10e370a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e370b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e370bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e370c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x10e370d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10e37075
mov eax, 1
add dl, dl
jne 0x10e370ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x10e370f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e370e1
sub eax, ebx
mov ebx, 1
jne 0x10e37128
mov ecx, 1
add dl, dl
jne 0x10e3710e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10e37119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e37105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e37075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x10e3713f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10e3714a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10e37136
cmp eax, 0x7d00
jae 0x10e3716d
cmp eax, 0x500
jb 0x10e37168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e37075
cmp eax, 0x7f
ja 0x10e37170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10e37075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x10e3719e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10e37075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x429a40
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5e4800]
xor edx, edx
cmp eax, edx
jne 0x429a66
xor eax, eax
mov byte [eax + 0x5e4700], al
inc eax
cmp eax, 0x100
jl 0x429a4e
mov dword [0x5e4800], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5e4700
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x429af7
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 0x429aca
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 0x429a98
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x429b70
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 0x429bc3
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 0x429baa
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 0x42df60
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 0x42e181
cmp eax, 8
jg 0x42e181
cmp dword [esp + 0x8c], 2
jl 0x42e181
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 0x42e181
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x42e181
mov eax, dword [esp + 0x80]
test eax, eax
je 0x42dfe7
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 0x42e16a
mov ebp, dword [0x4b7520]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x42e019
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x42e151
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x42e039
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 [0x4b750c]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x42e078
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [0x4b7514]
lea ecx, [esp + 0x28]
push ecx
call dword [0x4b7550]
test eax, eax
jne 0x42e138
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.0042d570
cmp eax, 1
jne 0x42e162
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.0042de20
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x42e02d
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x42e16a
jmp 0x42e004
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.0042d140
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