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

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push dword [esp + 0x20]
call fcn.10054760
mov esi, dword [esp + 0x1c]
mov ebx, eax
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov edx, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea ecx, [ecx + edx*2]
add ecx, 0xc
push ecx
call dword [0x100d5030]
mov edi, eax
add esp, 8
test edi, edi
je 0x10084fb8
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x10084ecc
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push ebp
push dword [edi + 4]
call eax
mov ebp, dword [edi + 8]
push dword [edi + 4]
add ebp, dword [esi + 0xc]
mov eax, dword [esi + 8]
push ebp
call eax
mov eax, dword [esi + 0x14]
add esp, 0x18
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push ecx
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [esp + 0x18]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x10084f31
mov dword [esp + 0x18], eax
mov ebx, eax
nop dword [eax + eax]
movzx eax, byte [ebp]
xor al, 0x36
mov byte [esp + 0x1c], al
lea eax, [esp + 0x1c]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebp]
lea ebp, [ebp + 1]
xor al, 0x5c
mov byte [esp + 0x28], al
lea eax, [esp + 0x28]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub ebx, 1
jne 0x10084ef0
mov ebx, dword [esp + 0x18]
cmp ebx, dword [esi + 0x10]
jae 0x10084f5d
mov eax, dword [esi + 4]
push 1
push 0x100bdb40
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x100bdb41
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x10084f36
push dword [esp + 0x28]
call fcn.10054760
mov ecx, dword [edi]
push eax
push dword [esp + 0x2c]
push dword [edi + 4]
mov eax, dword [ecx + 4]
call eax
mov esi, dword [esp + 0x3c]
add esp, 0x10
mov ebx, dword [edi]
test esi, esi
jne 0x10084f88
mov esi, dword [ebx + 0xc]
add esi, dword [edi + 8]
push dword [edi + 4]
mov eax, dword [ebx + 8]
push esi
call eax
push dword [ebx + 0x14]
mov eax, dword [ebx + 4]
push esi
push dword [edi + 8]
call eax
push dword [edi + 8]
mov eax, dword [ebx + 8]
push esi
call eax
push edi
call dword [0x100d5034]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
pop ecx
ret
Function at 0x1008aa81
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10045d10
mov eax, dword [0x100d5018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.1009c3b3
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x1008aac3
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x1008ac1f
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.100acea0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x100d6ab0]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.1009a132
mov ecx, dword [esi*4 + 0x100d6ab0]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x1008ac18
cmp eax, dword [edi + ecx + 0x24]
jne 0x1008ac18
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1008ac18
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1009a132
add esp, 0x14
test edx, edx
jl 0x1008ac18
jg 0x1008ab8e
test eax, eax
jb 0x1008ac18
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x1008ac18
jl 0x1008aba8
cmp dword [ebp - 0x1008], eax
ja 0x1008ac18
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x1008abc6
test ebx, ebx
je 0x1008abff
cmp ecx, edi
jae 0x1008abff
mov al, byte [ecx]
cmp al, 0xd
jne 0x1008abe0
lea eax, [edi - 1]
cmp ecx, eax
jae 0x1008abec
cmp byte [ecx + 1], 0xa
jne 0x1008abec
inc ecx
jmp 0x1008abec
movzx eax, al
movsx eax, byte [eax + 0x100d5280]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x1008abc6
cmp edx, ebx
jne 0x1008abc6
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x1008ac1d
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10044b19
leave
ret
Function at 0x1009991e
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x100d5018]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0x100c0068
push esi
call fcn.100a5a9d
pop ecx
pop ecx
test eax, eax
jne 0x1009994c
xor al, al
jmp 0x100999c9
push ebx
lea eax, [ebp - 0x210]
xor ebx, ebx
push eax
push 0x104
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x210], ebx
push esi
push eax
call fcn.10099655
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x10099986
push dword [ebp - 0x210]
call fcn.1008dfdd
xor al, al
jmp 0x100999c7
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1009998c
sub ecx, edi
sar ecx, 1
pop edi
cmp ecx, 3
je 0x100999ac
push edx
call fcn.10099854
pop ecx
test al, al
je 0x10099977
push esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x100999ba
mov bl, 1
push dword [ebp - 0x210]
call fcn.1008dfdd
mov al, bl
pop ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10044b19
leave
ret
Function at 0x1009c3da
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x100d6ab0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1009c41a
cmp byte [ebx], 0xa
jne 0x1009c41a
or byte [eax + edi + 0x28], 4
jmp 0x1009c41f
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x1009c51d
mov al, byte [edx]
cmp al, 0x1a
je 0x1009c4ff
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x1009c44e
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x1009c473
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x1009c47d
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x1009c430
jmp 0x1009c51d
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1009c4fa
cmp dword [ebp - 0xc], 0
je 0x1009c4fa
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x100d6ab0]
test byte [eax + edi + 0x28], 0x48
je 0x1009c4d4
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x1009c4bf
mov byte [esi], dl
jmp 0x1009c4d0
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x100d6ab0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x1009c51d
cmp byte [ebp - 1], 0xa
jne 0x1009c4e3
cmp esi, ebx
jne 0x1009c4e3
mov byte [esi], 0xa
jmp 0x1009c51c
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.1009a150
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x1009c51d
mov byte [esi], 0xd
jmp 0x1009c51c
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x100d6ab0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1009c519
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1009c51d
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1009c526
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x100d6ab0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1009c569
cmp word [esi], dx
jne 0x1009c569
or byte [edi + eax + 0x28], 4
jmp 0x1009c56e
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x1009c6a7
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x1009c687
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x1009c5b0
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1009c5e6
cmp eax, edx
jae 0x1009c5f2
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x1009c588
jmp 0x1009c6a7
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1009c683
cmp dword [ebp - 0x14], 0
je 0x1009c683
mov eax, dword [ebx*4 + 0x100d6ab0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x1009c65b
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x1009c6a1
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x100d6ab0]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x100d6ab0]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x100d6ab0]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x1009c6a4
pop ebx
cmp word [ebp - 4], bx
jne 0x1009c66c
cmp esi, dword [ebp + 0xc]
jne 0x1009c66c
mov word [esi], bx
jmp 0x1009c6a4
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1009a150
add esp, 0x10
cmp word [ebp - 4], bx
je 0x1009c6a7
push 0xd
jmp 0x1009c6a0
mov ecx, dword [ebx*4 + 0x100d6ab0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x1009c69e
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x1009c6a7
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1009deb9
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100c1144
push 0x100c113c
push str.FlsAlloc
push 0x1e
call fcn.1009dce6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009deed
push dword [ebp + 8]
mov ecx, esi
call dword [0x100b2394]
call esi
jmp 0x1009def3
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1009df37
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100c1154
push 0x100c114c
push str.FlsGetValue
push 0x20
call fcn.1009dce6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1009df6e
push dword [ebp + 8]
mov ecx, esi
call dword [0x100b2394]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x100a0312
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a0183
Function at 0x100a4fb0
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100a504d
push ebx
push esi
call fcn.100a4f79
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100a358f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100a4ffa
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100a504c
push edi
push eax
call fcn.1009e633
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100a501a
call fcn.1009da0b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100a504b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100a358f
add esp, 0x20
test eax, eax
jne 0x100a5039
push edi
call fcn.1009da0b
jmp 0x100a5041
push ebx
call fcn.1009da0b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100a5050
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x100a5061
pop esi
ret
push ebx
push edi
push esi
call fcn.100a4f79
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.1009e633
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x100a5089
push ebx
push esi
push edi
call fcn.10087620
add esp, 0xc
push 0
call fcn.1009da0b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x100a544d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100a509e
Function at 0x100abe21
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100abd9d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100abf99
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100abf99
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100abf48
jg 0x100abe7a
test eax, eax
je 0x100abf3e
push 1
push 0x1000
call fcn.1009d9ae
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100abea0
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x100abf35
push 0x8000
push ebx
call fcn.100abcce
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100abecc
jg 0x100abec7
cmp ecx, 0x1000
jb 0x100abecc
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.1009ff83
add esp, 0x10
cmp eax, 0xffffffff
je 0x100abf11
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100abec7
jl 0x100abef8
test ecx, ecx
jne 0x100abeb9
push dword [ebp - 0xc]
push ebx
call fcn.100abcce
push esi
call fcn.1009da0b
add esp, 0xc
xor edi, edi
jmp 0x100abfaa
cmp byte [edi + 0x24], 0
je 0x100abf28
cmp dword [edi + 0x20], 5
jne 0x100abf28
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100abf33
mov edi, dword [edi + 0x18]
jmp 0x100abf35
xor edi, edi
push esi
call fcn.1009da0b
pop ecx
jmp 0x100abfaa
test ecx, ecx
jg 0x100abf0a
jl 0x100abf48
test eax, eax
jae 0x100abf0a
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.1009a150
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100abf6b
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100abf0a
jmp 0x100abfa2
push ebx
call fcn.100a5eb5
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100abf0a
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100abfaa
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100abfa7
mov edi, dword [edi + 0x18]
jmp 0x100abfaa
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.1009a150
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424650
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x424656
ret

Function at 0x447614
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4477c5
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00405548
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4477dc
call fcn.004051ac
mov eax, ebx
call fcn.004225e0
mov edi, eax
dec edi
test edi, edi
jl 0x4476cc
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.004225b4
mov edx, dword [0x433d3c]
call fcn.004041a4
test al, al
je 0x4476c8
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.004225b4
lea edx, [ebp - 0x14]
call fcn.0044f6e4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00405548
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405220
inc esi
dec edi
jne 0x44767a
mov al, byte [0x4477e0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x4477ec
mov eax, dword [ebp - 0xc]
call fcn.0040f37c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404f40
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044f6e4
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4477dc
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f0]
call fcn.0044f6e4
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4477dc
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4477dc
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x4477f8
call fcn.0040af20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4477cc
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404ecc
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404ecc
lea eax, [ebp - 0x14]
call fcn.00404ea8
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404ecc
ret
Function at 0x1002d870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x1002d87f
pop dword [ebp - 0x20]
mov eax, 0x24a915cc
sub eax, 0x14a63d4d
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xf04346cb
add dword [ebp - 0x30], 0x5e0efe80
mov dword [ebp - 0x2c], 0x71b8a50a
sub dword [ebp - 0x2c], 0x3f8558c5
mov dword [ebp - 0x28], 0xeebb47f4
add dword [ebp - 0x28], 0x5d90fc3a
mov dword [ebp - 0x24], 0x30a1d013
sub dword [ebp - 0x24], 0x30a1d013
lea eax, [ebp - 0x30]
push eax
mov eax, 0xd4449efd
sub eax, 0xc4409ec1
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0xb4b78afc
sub dword [ebp - 0x30], 0x404521a6
mov dword [ebp - 0x2c], 0x7e9e1223
add dword [ebp - 0x2c], 0xc2ce4f52
mov dword [ebp - 0x28], 0xa7d4ad96
sub dword [ebp - 0x28], 0x4465412a
mov dword [ebp - 0x24], 0x5ccba23a
add dword [ebp - 0x24], 0xa3345dc6
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x4f0ac198
sub eax, 0x3f06c168
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x455c3
push 0
call eax
mov ecx, 0x86aea7dd
add ecx, 0x79519bb1
xor esi, esi
add esi, eax
mov edi, 0xb059d71c
sub edi, 0xa054691c
add edi, dword [ebp - 0x20]
mov ebx, 0xe60dd054
sub ebx, 0xba85f9af
add dword [ebp - 0x1c], edi
mov edx, dword [edi]
sub dword [ebp - 0x18], 0xeb7371f1
sub edx, ebx
xor dword [ebp - 0x10], ecx
mov dword [esi], edx
add esi, 4
add edi, 4
loop 0x1002d9a3
add eax, 0x2a664aee
sub eax, 0x2a6549e3
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xd9081b0e
add ecx, 0x36f7e4f2
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x402350
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x4023bf
mov eax, dword [esi + 0x80]
test eax, eax
je 0x4023c6
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4023c6
mov ecx, dword [esi + 0xc8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4023c6
lea eax, [esp + 8]
push eax
push 4
push esi
push 0x402010
push 0
push 0
call dword [sym.imp.MSVCR71.dll__beginthreadex]
add esp, 0x18
test eax, eax
mov dword [esi + 0xa8], eax
je 0x4023bf
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop esi
add esp, 8
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x4023bf
mov ecx, dword [eax]
push edi
lea edx, [esp + 0xc]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
call dword [ecx + 0x1c]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call dword [edx + 0x20]
test eax, eax
pop edi
jne 0x4023bf
mov edx, dword [esi + 0x20]
push eax
push eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop esi
add esp, 8
ret