joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ca50
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, eax
xor eax, eax
mov dword [ebp - 4], eax
test esi, esi
je 0x1001cc76
cmp dword [ebp + 8], eax
je 0x1001cc76
cmp dword [ebp + 0xc], eax
je 0x1001cc76
push ebx
mov ebx, dword [0x361921c]
push edi
xor edi, edi
push esi
call fcn.1001d320
test eax, eax
jne 0x1001ca99
push 0xc8
call ebx
inc edi
cmp edi, 0x14
jl 0x1001ca82
push esi
call fcn.1001d320
test eax, eax
je 0x1001cc71
push esi
push 0
push 0x1f0fff
call dword [0x36191ac]
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x1001cc71
push 0x36195e4
mov dword [ebp + 0xc], 0
call dword [0x3619170]
mov esi, dword [0x3619168]
test eax, eax
je 0x1001caf9
push 0x361dbfc
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x1001caf9
lea eax, [ebp + 0xc]
push eax
call dword [0x3619184]
push eax
call ebx
cmp dword [ebp + 0xc], 0
je 0x1001cb32
push 0x36195e4
mov dword [ebp + 0xc], 0
call dword [0x3619170]
test eax, eax
je 0x1001cb28
push 0x361dbfc
push eax
call esi
test eax, eax
je 0x1001cb28
lea ecx, [ebp + 0xc]
push ecx
push edi
call eax
cmp dword [ebp + 0xc], 0
je 0x1001cc6a
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x3c]
xor edx, edx
push 0x40
add ebx, eax
mov word [eax], dx
mov eax, dword [ebx + 0x50]
push 0x3000
push eax
push edx
push edi
mov dword [ebx], edx
call dword [0x36190c0]
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x1001cc6a
mov edx, dword [ebx + 0x54]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push edx
push eax
push esi
push edi
mov dword [ebx + 0x58], 0
call dword [0x36190b8]
movzx ecx, word [ebx + 0x14]
xor edx, edx
lea eax, [ecx + ebx + 0x18]
mov dword [ebp + 0xc], 0
cmp dx, word [ebx + 6]
jae 0x1001cc01
lea esi, [eax + 8]
mov eax, dword [esi]
push 4
push 0x3000
push eax
push 0
call dword [0x3619198]
mov edi, eax
test edi, edi
je 0x1001cbe9
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 8]
add edx, dword [ebp + 8]
push ecx
push edx
push edi
call fcn.10038202
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add edx, dword [ebp - 8]
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push ecx
push edi
push edx
push eax
call dword [0x36190b8]
push 0x8000
push 0
push edi
call dword [0x3619190]
mov eax, dword [ebp + 0xc]
movzx ecx, word [ebx + 6]
inc eax
add esi, 0x28
mov dword [ebp + 0xc], eax
cmp eax, ecx
jl 0x1001cb96
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebx + 0x28]
push 0
push 0
push edi
add ebx, esi
call dword [0x36190f8]
push 0
push 0
push 0
push ebx
push 0
push 0
push edi
call dword [0x36190cc]
test eax, eax
je 0x1001cc48
push eax
call dword [0x36191c0]
push edi
mov dword [ebp - 4], 1
call dword [0x36191c0]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
push 0
push 0
push 0
push ebx
push 0
push 0
push 0
push 0
push 0
push edi
call dword [0x3619558]
xor edx, edx
test eax, eax
setns dl
mov dword [ebp - 4], edx
push edi
call dword [0x36191c0]
mov eax, dword [ebp - 4]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x1001f280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, eax
xor ebx, ebx
push edi
mov dword [ebp - 4], 0
mov dword [esi + 0x6af80], 2
cmp dword [esi + 0x6af90], ebx
je 0x1001f49b
lea ebx, [ebx]
cmp dword [esi + 0x6af90], 3
jb 0x1001f307
mov ecx, dword [esi + 0x6af84]
movzx eax, byte [ecx + esi + 0x1af72]
mov edx, dword [esi + 0x6af7c]
shl edx, 5
xor eax, edx
and eax, 0x7fff
mov dword [esi + 0x6af7c], eax
mov eax, dword [esi + eax*4 + 0x4af70]
and ecx, 0x7fff
mov dword [esi + ecx*4 + 0x2af70], eax
mov ecx, dword [esi + 0x6af84]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x6af7c]
mov dword [esi + eax*4 + 0x4af70], ecx
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x1001f347
mov edx, dword [esi + 0x6af84]
sub edx, ecx
cmp edx, 0x7efa
ja 0x1001f347
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x1001f332
mov dword [esi + 0x6afa0], eax
mov eax, ecx
call fcn.1001efa0
mov ebx, eax
mov eax, dword [esi + 0x6af90]
cmp ebx, eax
jbe 0x1001f347
mov ebx, eax
mov eax, dword [esi + 0x6af84]
push esi
cmp ebx, 3
jb 0x1001f42b
sub eax, dword [esi + 0x6af88]
lea edx, [ebx - 3]
call fcn.1001e770
sub dword [esi + 0x6af90], ebx
mov ecx, dword [esi + 0x6af90]
mov dword [ebp - 8], eax
cmp ebx, dword [esi + 0x6af98]
ja 0x1001f3f4
cmp ecx, 3
jb 0x1001f3f4
mov edi, 1
sub ebx, edi
jmp 0x1001f390
add dword [esi + 0x6af84], edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [esi + edx + 0x1af72]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ecx, dword [esi + ecx*4 + 0x4af70]
and edx, 0x7fff
sub ebx, edi
mov dword [esi + edx*4 + 0x2af70], ecx
mov edx, dword [esi + 0x6af84]
mov dword [ebp - 4], ecx
mov ecx, dword [esi + 0x6af7c]
mov dword [esi + ecx*4 + 0x4af70], edx
jne 0x1001f390
add dword [esi + 0x6af84], edi
mov eax, dword [ebp - 8]
jmp 0x1001f446
add dword [esi + 0x6af84], ebx
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx edx, byte [edx + esi + 0x1af71]
shl ecx, 5
xor edx, ecx
xor ebx, ebx
and edx, 0x7fff
mov dword [esi + 0x6af7c], edx
jmp 0x1001f446
movzx edx, byte [eax + esi + 0x1af70]
xor eax, eax
call fcn.1001e770
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
test eax, eax
je 0x1001f47d
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x1001f45d
lea ecx, [eax + esi + 0x1af70]
jmp 0x1001f45f
xor ecx, ecx
mov edi, dword [esi + 0x6af84]
push 0
sub edi, eax
push ecx
mov eax, esi
call fcn.1001e5c0
mov ecx, dword [esi + 0x6af84]
mov dword [esi + 0x6af74], ecx
cmp dword [esi + 0x6af90], 0x106
jae 0x1001f48e
call fcn.1001f140
cmp dword [esi + 0x6af90], 0
jne 0x1001f2b0
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x1001f4ae
lea ecx, [eax + esi + 0x1af70]
jmp 0x1001f4b0
xor ecx, ecx
mov edi, dword [esi + 0x6af84]
push 1
sub edi, eax
push ecx
mov eax, esi
call fcn.1001e5c0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10020080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x10020090
xor eax, eax
pop ebp
ret 4
push esi
not eax
cmp edx, 8
jb 0x1002015f
mov esi, edx
shr esi, 3
push edi
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x361bab0]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x361bab0]
movzx edi, byte [ecx + 2]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x361bab0]
movzx edi, byte [ecx + 3]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x361bab0]
movzx edi, byte [ecx + 4]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x361bab0]
movzx edi, byte [ecx + 5]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x361bab0]
movzx edi, byte [ecx + 6]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x361bab0]
movzx edi, byte [ecx + 7]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x361bab0]
add ecx, 8
sub edx, 8
dec esi
jne 0x100200a2
pop edi
test edx, edx
je 0x1002017c
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x361bab0]
inc ecx
dec edx
jne 0x10020163
not eax
pop esi
pop ebp
ret 4
Function at 0x10020190
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
call dword [0x361909c]
cmp eax, 1
je 0x100201b1
mov eax, 0x1000000
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea eax, [ebp - 0x74]
push eax
push edi
call dword [0x3619098]
test eax, eax
jne 0x100201cd
mov eax, 0x200
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
lea ecx, [ebp - 0x30]
push ecx
call dword [0x3619090]
lea edx, [ebp - 0x40]
push edx
call dword [0x36190a4]
mov esi, dword [0x36190a8]
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 0x1002022f
mov dword [ebp - 8], 1
mov esi, dword [ebp - 8]
test cl, 2
je 0x10020237
or esi, 2
test cl, 4
je 0x1002023f
or esi, 4
mov edx, ecx
and edx, 0x10
je 0x10020249
or esi, 0x10
test cl, 0x20
je 0x10020251
or esi, 0x20
test edx, edx
je 0x1002025d
or esi, 0x40000000
jmp 0x10020263
or esi, 0x80000000
or esi, 0x1000000
mov dword [ebp - 8], esi
test eax, eax
jne 0x10020279
or esi, 0x800000
mov dword [ebp - 8], esi
push 0
push edi
call dword [0x36190b0]
mov dword [ebp - 0x10], eax
cmp eax, 0x28
jbe 0x10020320
mov esi, dword [0x36190ac]
push 0
push 0
push 0
push edi
call esi
mov ebx, dword [0x36191ec]
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 0x1002031d
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x34]
cmp dword [ebp - 0x10], ecx
jbe 0x1002031d
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 0x10020316
cmp eax, 0x454e
je 0x10020316
cmp eax, 0x454c
je 0x10020316
cmp eax, 0x4550
jne 0x1002031d
or dword [ebp - 8], 0x400000
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x1002032b
mov dword [eax], esi
mov eax, dword [ebp + 0xc]
cmp eax, ecx
je 0x10020337
mov edx, dword [ebp - 0x10]
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
cmp eax, ecx
je 0x10020346
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov esi, dword [ebp + 0x14]
cmp esi, ecx
je 0x1002036e
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call dword [0x36190b4]
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 0x100249f6
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 0x10024a14
mov eax, 0x361e6b4
push 0x361e6a0
push eax
lea eax, [ebp - 0x20c]
push 0x361e6bc
push eax
call dword [0x3619468]
lea eax, [ebp - 0x20c]
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10024a38
mov ecx, dword [ebx + 0x75c4]
sub eax, edx
lea eax, [ecx + eax + 0xd]
cmp eax, 0x7530
jbe 0x10024a61
mov eax, ebx
call fcn.10026f51
test al, al
je 0x10024b37
mov al, byte [0x3622065]
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 0x10024ab5
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10024a94
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 0x10024ac3
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10024ab5
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 0x10024af6
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 0x10024b1a
sub eax, esi
inc eax
add dword [ebx + 0x75c4], eax
mov eax, ebx
call fcn.10026f51
neg al
pop edi
sbb al, al
pop esi
pop ebx
leave
ret 4
Function at 0x1002c96b
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, 0x3630d30
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 + 0x36216b0]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
or edx, dword [ebx*4 + 0x36218b0]
mov ecx, esi
shr ecx, 8
and ecx, 0x3f
or edx, dword [ecx*4 + 0x3621ab0]
and esi, 0x3f
or edx, dword [esi*4 + 0x3621cb0]
mov esi, dword [edi + 4]
xor esi, eax
mov ecx, esi
shr ecx, 0x18
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x36217b0]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x36219b0]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x3621bb0]
add edi, 0x10
mov ebx, ecx
pop ecx
and esi, ecx
or ebx, dword [esi*4 + 0x3621db0]
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 + 0x36216b0]
mov ebx, esi
shr ebx, 0x10
and ebx, ecx
or edx, dword [ebx*4 + 0x36218b0]
mov ebx, esi
shr ebx, 8
and ebx, ecx
or edx, dword [ebx*4 + 0x3621ab0]
and esi, ecx
or edx, dword [esi*4 + 0x3621cb0]
mov esi, dword [edi - 4]
xor esi, dword [ebp - 4]
mov ebx, esi
shr ebx, 0x18
and ebx, ecx
mov ebx, dword [ebx*4 + 0x36217b0]
mov ecx, esi
shr ecx, 0x10
and ecx, 0x3f
or ebx, dword [ecx*4 + 0x36219b0]
mov ecx, esi
shr ecx, 8
and ecx, 0x3f
or ebx, dword [ecx*4 + 0x3621bb0]
and esi, 0x3f
or ebx, dword [esi*4 + 0x3621db0]
or ebx, edx
xor eax, ebx
dec dword [ebp - 8]
jne 0x1002c9e9
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 0x1002f36a
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 0x1002f3f9
mov eax, dword [esi + 0x38]
push ebx
lea ecx, [eax + ebx]
push ecx
push eax
call fcn.10038202
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 0x1002f3b7
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 0x1002f3da
add edi, ebx
mov dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x1002f510
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 0x1002f421
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
jne 0x1002f42b
xor eax, eax
jmp 0x1002f463
sub ecx, dword [ebp - 4]
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0x1c]
cmp dword [ecx + 0x18], 1
jne 0x1002f44d
push dword [ebp - 4]
mov ecx, dword [edi]
mov eax, dword [edi + 0x30]
call fcn.10037220
mov dword [edi + 0x30], eax
mov eax, dword [ebp - 0xc]
push dword [ebp - 4]
push dword [edi]
push eax
call fcn.10038202
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 0x1002f48b
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 0x1002f49f
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x1002f375
mov ecx, dword [esi + 0x16c0]
mov eax, dword [esi + 0x3c]
cmp ecx, eax
jae 0x1002f510
mov edi, dword [esi + 0x6c]
add edi, edx
cmp ecx, edi
jae 0x1002f4df
sub eax, edi
mov ebx, eax
mov eax, 0x102
cmp ebx, eax
jbe 0x1002f4c4
mov ebx, eax
mov eax, dword [esi + 0x38]
push ebx
add eax, edi
push 0
push eax
call fcn.10038208
add esp, 0xc
add ebx, edi
mov dword [esi + 0x16c0], ebx
jmp 0x1002f510
lea edx, [edi + 0x102]
cmp ecx, edx
jae 0x1002f510
sub edi, ecx
add edi, 0x102
sub eax, ecx
cmp edi, eax
jbe 0x1002f4f9
mov edi, eax
mov eax, dword [esi + 0x38]
push edi
add eax, ecx
push 0
push eax
call fcn.10038208
add esp, 0xc
add dword [esi + 0x16c0], edi
pop edi
pop ebx
leave
ret
Function at 0x100381d0
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 0x100381f9
xor al, byte [esi]
movzx edx, al
shr eax, 8
mov edx, dword [edx*4 + 0x3621100]
inc esi
xor eax, edx
dec ecx
jne 0x100381e4
xor eax, 0xffffffff
pop esi
leave
ret 0xc

Function at 0x4515f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3b000]
push edi
or ebp, 0xffffffff
jmp 0x451612
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x451619
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x451608
mov eax, 1
add ebx, ebx
jne 0x45162b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x451620
jne 0x45163c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x451620
xor ecx, ecx
sub eax, 3
jb 0x451650
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4516c2
mov ebp, eax
add ebx, ebx
jne 0x45165b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x451668
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45168c
inc ecx
add ebx, ebx
jne 0x451678
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45166d
jne 0x451689
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45166d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4516ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45169d
jmp 0x45160e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4516ac
add edi, ecx
jmp 0x45160e
pop esi
mov edi, esi
mov ecx, 6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4516ca
cmp byte [edi], 0x32
jne 0x4516ca
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x4516cf
lea edi, [esi + 0x4f000]
mov eax, dword [edi]
or eax, eax
je 0x451747
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x51a80]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x51abc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4516fc
mov ecx, edi
jns 0x45172b
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 + 0x51ac0]
or eax, eax
je 0x451741
mov dword [ebx], eax
add ebx, 4
jmp 0x451719
call dword [esi + 0x51ad0]
mov ebp, dword [esi + 0x51ac4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x45177b
sub esp, 0xffffff80
jmp 0x401094
Function at 0x403fb2
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00402edd
xor ebx, ebx
cmp dword [0x40e9fc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x404087
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x403ff2
xor eax, eax
jmp 0x40414b
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x403feb
push eax
call fcn.00402e7a
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e9fc], eax
call esi
push eax
call fcn.00402e7a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40ea00], eax
call esi
push eax
call fcn.00402e7a
mov dword [0x40ea04], eax
lea eax, [ebp - 8]
push eax
call fcn.004022a3
test eax, eax
pop ecx
pop ecx
je 0x404055
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040389b
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x404087
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402e7a
cmp eax, ebx
pop ecx
mov dword [0x40ea0c], eax
je 0x404087
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402e7a
pop ecx
mov dword [0x40ea08], eax
mov eax, dword [0x40ea08]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x404100
cmp dword [0x40ea0c], esi
je 0x404100
push eax
call fcn.00402ee6
pop ecx
call eax
cmp eax, ebx
je 0x4040cd
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x40ea0c]
call fcn.00402ee6
pop ecx
call eax
test eax, eax
je 0x4040cd
test byte [ebp - 0x18], 1
jne 0x404100
lea eax, [ebp - 0xc]
push eax
call fcn.004022da
test eax, eax
pop ecx
je 0x4040e8
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040389b
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x4040f7
or dword [ebp + 0x10], 0x200000
jmp 0x404131
or dword [ebp + 0x10], 0x40000
jmp 0x404131
mov eax, dword [0x40ea00]
cmp eax, esi
je 0x404131
push eax
call fcn.00402ee6
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x404131
mov eax, dword [0x40ea04]
cmp eax, esi
je 0x404131
push dword [ebp - 4]
push eax
call fcn.00402ee6
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x40e9fc]
call fcn.00402ee6
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x405e1b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40e078]
jne 0x405e25
repz ret
jmp fcn.00407455