joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x41560d1b
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1f3d073b
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4093c5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
clc
call fcn.0040919a
mov byte [eax], dl
mov ebx, 0x478b666c
push es
cmp ax, bx
jbe 0x4093f4
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x4093ee
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x4093df
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0040919a
add ch, al
pop ebp
pop esp
lea eax, [ebp - 0x58]
push eax
call fcn.004091aa
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.0040915f
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x409488
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
retf
push edx
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040919a
int3

Function at 0x40978e
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax + 4], ebx
jne 0x40973f
cmp dword [eax + 0xc], ebx
je 0x4097e2
mov edi, dword [eax + 0xc]
add edi, esi
push edi
call dword [ebp - 0xc0]
mov dword [ebp + 0xc], eax
call fcn.0040919a
bound ebp, qword [esi + 0x5d399f02]
or al, 0x75
adc dl, byte [edi - 1]
xchg ebp, eax
dec eax
invalid
sbb dh, bl
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp eax, ebx
je 0x4097d0
test eax, 0x80000000
lea ecx, [eax + esi]
je 0x4097ab
and eax, 0xffff
push eax
jmp 0x4097af
add ecx, 2
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040915f
add esp, 0xc
cmp edi, ebx
mov dword [edi], eax
je 0x409989
add edi, 4
add dword [ebp + 0x10], 4
jmp 0x409790
add dword [ebp - 0x44], 0x14
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp - 0x44]
jmp 0x409731
invalid
invalid
Function at 0x40983d
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x40984e
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x409849
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x409833
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x40983b
cmp edx, ebx
jne 0x409989
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add al, 0x83
inc ebp
or byte [edx], al
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x40980a
add eax, dword [eax + 4]
jmp 0x4097f7
mov dword [ebp + 0xc], ebx
jmp 0x409859
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x409871
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x40988f
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4098ed
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4098d4
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4098dd
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4098e7
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x4098c9
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x409853
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40993a
dec eax
je 0x409931
sub eax, 3
je 0x409928
mov dword [ebp - 4], 0x40
jmp 0x409957
mov dword [ebp - 4], 4
jmp 0x40993d
mov dword [ebp - 4], 0x20
jmp 0x40993d
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x409989
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x409909
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0040919a
or ebx, dword [eax + 0x75fffe95]
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x409995

Function at 0x409a60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
invalid
test dword [eax - 4], ecx
Function at 0x40a0b2
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
stosd dword es:[edi], eax
stosb byte es:[edi], al
call fcn.00409178
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
xor dh, al
test dword [ebp + 0x36fffffc], esp
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.004091aa
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0040915f
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.0040919a
inc eax
outsd dx, dword [esi]
js 0x40a139
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.0040919a
invalid

Function at 0x40a7c6
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add eax, esi
push eax
lea eax, [ebp - 0x400]
push eax
call fcn.0040910b
add esp, 0xc
movsx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0x400]
sub ecx, eax
mov dword [ebp - 0x400], ecx
call fcn.0040919a
sti
mov edx, dword [ebx]
or ebp, dword [edx + 4]
push 4
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0xc]
push eax
lea eax, [ebp - 0x54c]
push eax
call fcn.0040910b
add esp, 0xc
movsx eax, byte [ebp - 8]
mov ecx, dword [ebp - 0x54c]
sub ecx, eax
invalid
invalid
Function at 0x4023a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
fld qword [0x452588]
sub esp, 0x14
fsub qword [0x452308]
fstp qword [0x452588]
fld qword [0x452308]
cmp dword [0x4547f0], 0
fadd qword [0x44b7f0]
fstp qword [0x452308]
jne 0x402401
call fcn.0040ba20
mov dword [0x4547f0], eax
inc dword [0x45233c]
mov ecx, dword [0x45233c]
movzx edx, word [0x452028]
mov eax, 0x8eb301db
sub eax, ecx
imul edx, eax
mov word [0x452028], dx
push ebx
push esi
push edi
push 3
push 0x188
call fcn.00407770
mov edi, eax
mov ax, word [0x452050]
movsx ecx, ax
mov eax, dword [0x452350]
sub eax, ecx
mov ecx, dword [0x4525a4]
add ecx, eax
mov dword [ebp - 4], ecx
add esp, 8
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld dword [0x45236c]
mov dx, word [0x452020]
fstp qword [ebp - 0xc]
movsx eax, dx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fsubr qword [ebp - 0xc]
fsub dword [0x44bc94]
fld qword [ebp - 0x14]
fucompp
fnstsw ax
fld dword [0x45236c]
fld1
fld st(0)
faddp st(2)
fxch st(1)
fstp dword [0x45236c]
inc dword [0x4525a4]
test ah, 0x44
jnp 0x4024aa
fld dword [0x452370]
fadd dword [0x44bc90]
fstp qword [ebp - 0x14]
fld qword [0x452298]
fadd qword [ebp - 0x14]
fstp qword [0x452298]
fsubr dword [0x452370]
fstp dword [0x452370]
jmp 0x4024ac
fstp st(0)
mov ebx, dword [ebp + 8]
push edi
push ebx
call fcn.00421546
mov cx, word [0x452244]
movsx edx, cx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [0x4521b4]
fild dword [ebp - 4]
mov dword [ebp - 4], eax
fstp qword [ebp - 0xc]
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [0x4520b0]
fadd qword [ebp - 0x14]
fsubr qword [ebp - 0xc]
call fcn.00420a9c
push edi
push 3
mov word [0x452244], ax
call fcn.004164d0
add esp, 0x10
test esi, esi
jne 0x40255f
push 0x3e8
call dword [0x453c40]
push 3
push 0x188
call fcn.00407770
mov cx, word [0x452244]
movsx edx, cx
sub edx, 0x588ddc2a
mov dword [ebp - 4], edx
mov edi, eax
push edi
fild dword [ebp - 4]
push ebx
fstp qword [ebp - 0x14]
fld qword [0x452378]
fmul qword [ebp - 0x14]
fstp qword [0x452378]
dec word [0x452244]
call fcn.00421546
push edi
push 3
mov esi, eax
call fcn.004164d0
add esp, 0x18
test esi, esi
je 0x4025d8
push esi
push 1
push 4
push 0x4547f0
call fcn.00421410
dec dword [0x452034]
movzx eax, word [0x452160]
mov cx, word [0x4523c8]
movsx edx, cx
mov ecx, dword [0x452034]
cwde
add eax, edx
movzx edx, word [0x452020]
add eax, ecx
imul edx, eax
mov word [0x452020], dx
inc word [0x4523c8]
push esi
call fcn.00421245
movzx eax, word [0x452388]
movsx ecx, ax
mov dword [ebp - 4], ecx
add esp, 0x14
fild dword [ebp - 4]
fstp qword [ebp - 0x14]
fld qword [0x452158]
fsubr qword [ebp - 0x14]
call fcn.00420a9c
mov word [0x452388], ax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x407770
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 0xc]
mov eax, 0xffffe01b
mov word [0x452028], ax
fld dword [0x452564]
fsub dword [0x44ba28]
push ebx
push esi
add ecx, 4
fstp qword [ebp - 0xc]
push edi
fld qword [0x452040]
push ecx
fmul qword [ebp - 0xc]
fstp qword [0x452040]
fld dword [0x452564]
fld1
faddp st(1)
fstp dword [0x452564]
call fcn.00420ba4
mov edi, dword [ebp + 8]
fld1
mov esi, eax
add esp, 4
mov dword [0x452098], 0x97eb59b1
mov dword [ebp - 4], esi
mov al, byte [edi + 0x447540]
mov byte [esi], al
mov edx, dword [0x4544a0]
mov cl, byte [edx + edi]
xor cl, al
mov byte [esi], cl
mov edx, dword [0x452488]
mov dword [ebp + 8], edx
fild dword [ebp + 8]
fstp qword [ebp - 0x1c]
fld dword [0x452060]
fstp qword [ebp - 0x14]
fld qword [0x4523b8]
fsubr qword [ebp - 0x14]
fsubr qword [ebp - 0x1c]
call fcn.00420a9c
mov dword [0x452488], eax
fsubr dword [0x452060]
movzx eax, byte [edi + 0x447541]
or ecx, 0xffffffff
fstp dword [0x452060]
mov byte [esi + 1], al
add word [0x45247c], cx
movzx edx, word [0x452508]
movsx eax, dx
movzx edx, word [0x45247c]
movsx edx, dx
add eax, 0x7287f116
cmp eax, edx
jge 0x4078b5
fld qword [0x452500]
fsub qword [0x44b7f0]
fstp qword [0x452500]
mov ax, word [0x452118]
movsx edx, ax
mov eax, dword [0x452500]
add edx, 0x4f549aa4
mov dword [ebp + 8], edx
mov edx, dword [0x452504]
mov dword [ebp - 0xc], eax
fild dword [ebp + 8]
mov dword [ebp - 8], edx
fstp qword [ebp - 0x1c]
fld dword [0x4521ac]
fadd qword [ebp - 0xc]
fcomp qword [ebp - 0x1c]
fnstsw ax
test ah, 1
jne 0x4078b5
fld qword [0x452348]
fmul qword [0x44ba20]
fstp qword [0x452348]
mov eax, dword [0x4544a0]
mov dl, byte [eax + edi + 1]
xor byte [esi + 1], dl
mov eax, dword [0x452398]
mov dword [ebp + 8], eax
fild dword [ebp + 8]
add edi, 2
lea edx, [edi + 0x447540]
fstp qword [ebp - 0x1c]
fld dword [0x452310]
fmul qword [ebp - 0x1c]
fstp dword [0x452310]
add dword [0x452398], ecx
movzx ebx, word [esi]
fld qword [0x452538]
fsub qword [0x44ba18]
lea ecx, [ebx + 3]
push ecx
push edx
fstp qword [0x452538]
push esi
call fcn.004201e0
add esp, 0xc
fld dword [0x45216c]
fld1
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [0x45216c]
fld dword [0x45216c]
fld dword [0x44ba10]
fcompp
fnstsw ax
test ah, 1
jne 0x40794d
fld qword [0x4520b8]
fsub qword [0x44ba08]
fstp qword [0x4520b8]
jmp 0x407963
mov eax, dword [0x452074]
add eax, 0x3561693c
mov word [0x4524ec], ax
inc dword [0x452074]
add edi, dword [0x4544a0]
lea eax, [ebx + esi + 3]
mov ecx, esi
mov dword [0x452294], 0x16ae9989
cmp esi, eax
je 0x407989
sub edi, esi
mov dl, byte [edi + ecx]
xor byte [ecx], dl
inc ecx
cmp ecx, eax
jne 0x40797f
cmp dword [ebp + 0xc], ebx
je 0x40799f
sub dword [ebp + 0xc], ebx
mov byte [eax], 0
mov edi, dword [eax - 3]
lea esi, [eax - 3]
jmp 0x4077d5
mov eax, dword [ebp - 4]
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40aa20
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
fld dword [0x4520fc]
sub esp, 8
fsub dword [0x44bca0]
fstp dword [0x4520fc]
mov dword [ecx], 0
mov eax, dword [0x45217c]
cmp eax, 0xb691d469
je 0x40aa68
fld qword [0x452078]
fsub qword [0x44bc98]
fstp qword [ebp - 8]
fld dword [0x452060]
fmul qword [ebp - 8]
fstp dword [0x452060]
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov esp, ebp
pop ebp
ret
Function at 0x422c00
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4527b0]
jne 0x422c0a
repz ret
jmp fcn.00433e4c

Function at 0x435747
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4527b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00425833
and dword [ebp - 0x14], 0
cmp dword [0x455644], 0
mov dword [ebp - 0x18], eax
jne 0x4357fa
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4358a2
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4358a2
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x455644], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x455648], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x45564c], eax
call edi
push eax
call esi
mov dword [0x455654], eax
test eax, eax
je 0x4357fa
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x455650], eax
mov eax, dword [0x455650]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x435853
cmp dword [0x455654], ecx
je 0x435853
push eax
call esi
push dword [0x455654]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x435853
test ebx, ebx
je 0x435853
call edi
test eax, eax
je 0x43584a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x43584a
test byte [ebp - 8], 1
jne 0x435853
or dword [ebp + 0x10], 0x200000
jmp 0x435886
mov eax, dword [0x455648]
cmp eax, dword [ebp - 0x18]
je 0x435886
push eax
call esi
test eax, eax
je 0x435886
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x435886
mov eax, dword [0x45564c]
cmp eax, dword [ebp - 0x18]
je 0x435886
push eax
call esi
test eax, eax
je 0x435886
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x455644]
call esi
test eax, eax
je 0x4358a2
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4358a4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00422c00
leave
ret
Function at 0x10025fe0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x21c
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x218], eax
cmp dword [0x10039504], 0
mov eax, dword [esp + 0x220]
mov ecx, dword [esp + 0x224]
je 0x1002602a
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.10026ae6
add esp, 0x21c
ret 8
push esi
push eax
push ecx
lea ecx, [esp + 0xc]
call fcn.10025120
mov eax, dword [esp + 0x218]
push dword [esp + 8]
add eax, eax
shr eax, 1
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 4]
call fcn.100252c0
mov esi, eax
test esi, esi
jle 0x1002605c
dec esi
lea ecx, [esp + 4]
call fcn.100252c0
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
cmp eax, ecx
je 0x1002608a
mov ecx, eax
shr ecx, 0x10
test ecx, ecx
je 0x1002608a
cmp dword [esp + 4], 0xffffffff
je 0x1002608a
push eax
call fcn.1002943b
add esp, 4
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10026ae6
add esp, 0x21c
ret 8
Function at 0x10026470
Capabilities:
Delete directory

Disassembly:
sub esp, 0x218
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10039504], 0
mov eax, dword [esp + 0x21c]
je 0x100264b2
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.10025330
cmp dword [esp + 0x214], 0x104
jl 0x100264eb
push 0xa1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x100264f7
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov esi, eax
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
cmp edx, eax
je 0x1002651c
mov ecx, edx
shr ecx, 0x10
test ecx, ecx
je 0x1002651c
cmp dword [esp + 4], 0xffffffff
je 0x1002651c
push edx
call fcn.1002943b
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4

Function at 0x10026540
Capabilities:
Set current directory

Disassembly:
sub esp, 0x218
mov eax, dword [0x10037d20]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x10039504], 0
mov eax, dword [esp + 0x21c]
je 0x10026582
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4
push esi
push 0xffffffffffffffff
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.10025330
cmp dword [esp + 0x214], 0x104
jl 0x100265bb
push 0xa1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x100265c7
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov esi, eax
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
cmp edx, eax
je 0x100265ec
mov ecx, edx
shr ecx, 0x10
test ecx, ecx
je 0x100265ec
cmp dword [esp + 4], 0xffffffff
je 0x100265ec
push edx
call fcn.1002943b
add esp, 4
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.10026ae6
add esp, 0x218
ret 4
Function at 0x100414e7
Capabilities:
Encode data using xor

Disassembly:
call 0x10041460
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10041490
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x100414ac
xor edx, 0
jmp 0x100414b7
xor edx, edx
jmp 0x100414ce
jmp 0x100414da
xor eax, eax
push 0x8427d7c0
call 0x100414e7
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10041523
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x100414fc
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1004153a
add eax, 0
jno 0x1004153f
add esi, 0
ret 0x10

Function at 0x100422a8
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x100422ca
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1004246c
cmp edi, dword [ebp + 0x10]
jb 0x1004246c
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10041d94
inc edi
jmp 0x10042353
jmp 0x10042360
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10041d94
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10041d94
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100423b4
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x10042398
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.100423e2
add dword [eax], 0x39
jle 0x100423be
sub al, 0xf5
mov ch, al
call fcn.100423f7
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10