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

Disassembly:
push ebx
push esi
push edi
mov edi, 0x415170
push ebp
mov ebp, edx
cmp dword [edi + 4], 0
mov esi, ecx
mov ebx, eax
jne 0x4083b2
call fcn.00408360
mov eax, ebp
jmp 0x4083ca
mov edx, ebx
xor ecx, ecx
xor dl, byte [eax]
dec esi
mov cl, dl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
inc eax
mov ebx, edx
test esi, esi
jbe 0x4083d2
test al, 7
jne 0x4083b6
cmp esi, 8
jb 0x40845b
xor ebx, dword [eax]
xor ecx, ecx
mov cl, bl
sub esi, 8
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
xor ebx, dword [eax + 4]
add eax, 8
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
cmp esi, 8
mov ebx, edx
jae 0x4083db
xor edx, edx
jmp 0x408475
mov ecx, ebx
xor cl, byte [eax + edx]
and ecx, 0xff
shr ebx, 8
mov ecx, dword [edi + ecx*4]
xor ecx, ebx
mov ebx, ecx
inc edx
cmp esi, edx
ja 0x40845f
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x408ac8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x408adf
test esi, esi
jg 0x408ae6
xor eax, eax
jmp 0x408b98
mov edx, dword [ebp - 4]
add edx, 4
lea eax, [ebp - 0x2c]
mov ecx, 0x10
call fcn.0040e9e8
test esi, esi
jns 0x408b00
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jle 0x408b7f
lea ecx, [ebp - 0x1c]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00408e54
lea edx, [ebp - 0x2c]
mov eax, edx
mov ecx, dword [eax]
xor dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 4]
xor dword [ebp - 0x18], ecx
mov ecx, dword [eax + 8]
xor dword [ebp - 0x14], ecx
mov eax, dword [eax + 0xc]
xor dword [ebp - 0x10], eax
mov eax, edx
mov edx, ebx
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov edx, dword [edx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0
jg 0x408b12
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 4]
add eax, 4
mov ecx, 0x10
call fcn.0040e9e8
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x408dbc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffec
mov dword [esp], eax
mov esi, 1
xor eax, eax
xor ecx, ecx
mov edx, esi
mov ebx, ecx
shl edx, 4
add edx, dword [esp]
shl ebx, 2
add edx, ebx
xor ebx, ebx
add edx, 0x14
movzx edi, byte [edx + 1]
mov bl, byte [edx]
lea edi, [edi*4 + 0x417e32]
lea ebx, [ebx*4 + 0x417a32]
mov bl, byte [ebx + eax]
xor bl, byte [edi + eax]
movzx edi, byte [edx + 2]
movzx edx, byte [edx + 3]
lea edi, [edi*4 + 0x418232]
lea edx, [edx*4 + 0x418632]
xor bl, byte [edi + eax]
xor bl, byte [edx + eax]
lea edx, [esp + ecx*4 + 4]
mov byte [edx + eax], bl
inc ecx
cmp ecx, 4
jl 0x408dce
inc eax
cmp eax, 4
jl 0x408dcc
mov eax, esi
lea edx, [esp + 4]
shl eax, 4
mov ecx, 0x10
add eax, dword [esp]
add eax, 0x14
call fcn.0040e9e8
inc esi
cmp esi, 0xa
jl 0x408dca
add esp, 0x14
pop edi
pop esi
pop ebx
ret
Function at 0x40a0c8
Capabilities:
Hash data using sha1

Disassembly:
mov dword [eax], 0x67452301
xor edx, edx
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], edx
ret
Function at 0x40d6f8
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov ebx, eax
push edi
mov dword [ebp - 4], edx
xor edx, edx
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0xc18], edx
cmp byte [ebx + 0x15], 0
mov esi, ecx
je 0x40d71b
mov al, 1
cmp byte [ebp + 8], 0
mov edi, 0x80000000
je 0x40d72c
or edi, 0x40000000
mov dword [ebp - 8], 1
test al, al
je 0x40d73b
or dword [ebp - 8], 2
call fcn.00405254
test eax, eax
je 0x40d767
test esi, esi
je 0x40d767
cmp word [esi], 0
je 0x40d767
push 0
push 0x8000000
push 3
push 0
push dword [ebp - 8]
push edi
push esi
call sub.KERNEL32.DLL_CreateFileW
mov edi, eax
jmp 0x40d780
push 0
push 0x8000000
push 3
push 0
push dword [ebp - 8]
push edi
push dword [ebp - 4]
call sub.KERNEL32.DLL_CreateFileA
mov edi, eax
cmp edi, 0xffffffff
jne 0x40d799
call sub.KERNEL32.DLL_GetLastError
cmp eax, 2
jne 0x40d799
mov dword [ebx + 0xc18], 1
xor eax, eax
cmp edi, 0xffffffff
mov byte [ebx + 0x12], 0
setne dl
mov dword [ebx + 0xc], eax
and edx, 1
mov byte [ebx + 0x10], 0
mov byte [ebp - 9], dl
cmp byte [ebp - 9], 0
je 0x40d803
mov dword [ebx + 4], edi
test esi, esi
je 0x40d7ce
lea eax, [ebx + 0x416]
mov edx, esi
call fcn.0040f190
jmp 0x40d7d7
mov word [ebx + 0x416], 0
cmp dword [ebp - 4], 0
je 0x40d7ea
lea eax, [ebx + 0x16]
mov edx, dword [ebp - 4]
call fcn.0040ead4
jmp 0x40d7f9
lea edx, [ebx + 0x16]
mov ecx, 0x10000000
mov eax, esi
call fcn.0040f100
mov edx, dword [ebx + 4]
mov eax, ebx
call fcn.0040d8e8
mov al, byte [ebp - 9]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x40d9f0
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, ecx
test esi, esi
mov edi, eax
mov dword [esp], edx
je 0x40dad9
mov eax, dword [edi + 0xc]
test eax, eax
je 0x40da2b
dec eax
je 0x40da15
dec eax
je 0x40da21
jmp 0x40da2b
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
jmp 0x40da2b
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov dword [edi + 4], eax
cmp dword [edi + 0xc], 0
je 0x40da7d
xor ebp, ebp
cmp esi, ebp
jle 0x40da99
push 0
lea eax, [esp + 8]
push eax
mov edx, esi
sub edx, ebp
cmp edx, 0x4000
jge 0x40da50
mov ecx, esi
sub ecx, ebp
jmp 0x40da55
mov ecx, 0x4000
push ecx
mov eax, dword [esp + 0xc]
add eax, ebp
push eax
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
je 0x40da99
add ebp, 0x4000
cmp esi, ebp
jg 0x40da37
jmp 0x40da99
push 0
lea eax, [esp + 8]
push eax
push esi
push dword [esp + 0xc]
push dword [edi + 4]
call sub.KERNEL32.DLL_WriteFile
test eax, eax
setne bl
and ebx, 1
test bl, bl
jne 0x40dad5
cmp byte [edi + 0x14], 0
je 0x40dad5
cmp dword [edi + 0xc], 0
jne 0x40dad5
lea ebp, [edi + 0x16]
mov eax, 0x4190f8
mov edx, ebp
call fcn.0040c004
test al, al
jne 0x40da2b
mov ecx, ebp
mov eax, 0x4190f8
xor edx, edx
call fcn.0040bfec
jmp 0x40dad5
mov byte [edi + 8], 1
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x40dbc4
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, eax
push esi
push edi
push ecx
mov edi, edx
cmp dword [ebx + 0xc], 1
mov esi, ecx
jne 0x40dbeb
cmp esi, 0x4e20
jle 0x40dbe1
mov esi, 0x4e20
push 0xfffffffffffffff6
call sub.KERNEL32.DLL_GetStdHandle
mov dword [ebx + 4], eax
push 0
lea eax, [esp + 4]
push eax
push esi
push edi
push dword [ebx + 4]
call sub.KERNEL32.DLL_ReadFile
test eax, eax
jne 0x40dc3c
mov eax, ebx
call fcn.0040df04
test al, al
je 0x40dc23
cmp esi, 0x4e20
jle 0x40dc23
mov ecx, 0x4e20
mov edx, edi
mov eax, ebx
call fcn.0040dbc4
jmp 0x40dc3f
cmp dword [ebx + 0xc], 1
jne 0x40dc37
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x6d
jne 0x40dc37
xor eax, eax
jmp 0x40dc3f
or eax, 0xffffffff
jmp 0x40dc3f
mov eax, dword [esp]
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40f090
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x41372c], 0
jne 0x40f0a9
call fcn.0040ec70
mov dword [0x413728], eax
inc byte [0x41372c]
call fcn.0040ec70
sub eax, dword [0x413728]
cmp eax, 0x64
jle 0x40f0e5
cmp dword [0x4138ac], 0
je 0x40f0e0
mov eax, 0x4190f8
mov edx, 0xff
call fcn.0040c1a0
mov eax, 0x4190f8
mov edx, 0xff
call fcn.0040c198
call fcn.004029a4
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
mov ecx, 0x309159c7
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x6f40802
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40208a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4020c9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4020c9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4020c9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4020c9
cmp dword [ecx + 0x74], 0xe
jbe 0x4020c9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4080c4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155c0
push 0x4155b8
push str.FlsAlloc
push 0x1e
call fcn.00407f85
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4080f8
push dword [ebp + 8]
mov ecx, esi
call dword [0x414138]
call esi
jmp 0x4080fe
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x408142
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4155d0
push 0x4155c8
push str.FlsGetValue
push 0x20
call fcn.00407f85
mov esi, eax
add esp, 0x10
test esi, esi
je 0x408179
push dword [ebp + 8]
mov ecx, esi
call dword [0x414138]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40b67d
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 0x40b71a
push ebx
push esi
call fcn.0040b646
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.0040b58f
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40b6c7
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b719
push edi
push eax
call fcn.00408877
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40b6e7
call fcn.00407e18
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40b718
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040b58f
add esp, 0x20
test eax, eax
jne 0x40b706
push edi
call fcn.00407e18
jmp 0x40b70e
push ebx
call fcn.00407e18
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 0x413690
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4136bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4136bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x410623
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x43fa46
call fcn.0042dbe5
mov ebx, ecx
cmp dword [ebx + 0x3c], 0
mov dword [ebp - 0x38], ebx
je 0x410738
cmp byte [ebx + 0x41], 0
je 0x410738
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x41065b
xor al, al
jmp 0x41073a
push 0
push 8
pop edi
lea esi, [ebp - 0x30]
call fcn.0040ef3d
and dword [ebp - 4], 0
lea eax, [ebx + 0x44]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.00411f15
mov esi, eax
call fcn.00410489
mov edi, eax
add edi, dword [ebp - 0x40]
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.00411f15
mov esi, eax
call fcn.00410489
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
push edi
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
sub eax, 0
je 0x4106d0
dec eax
je 0x4106d4
dec eax
dec eax
je 0x410734
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00408339
mov al, bl
jmp 0x41073a
mov byte [ebx + 0x41], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.00411f15
mov esi, eax
call fcn.00410489
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x410712
push dword [ebx + 0x4c]
lea eax, [ebp - 0x50]
push edi
push 1
lea ecx, [ebp - 0x30]
call fcn.00411f15
mov esi, eax
call fcn.00410489
push eax
call fcn.0042babc
add esp, 0x10
cmp edi, eax
jne 0x4106be
cmp byte [ebx + 0x41], 0
je 0x410734
test edi, edi
jne 0x410672
push edi
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.00410162
mov ebx, dword [ebp - 0x38]
jmp 0x410672
mov bl, 1
jmp 0x4106c0
mov al, 1
call fcn.0042dc68
ret
Function at 0x4138ad
Capabilities:
Create thread

Disassembly:
push 0x64
mov eax, 0x441a22
call fcn.0042dbe5
mov eax, dword [ebp + 8]
mov edi, edx
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0xc]
test eax, eax
lea ebx, [edi + 0x18]
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x70], ecx
mov esi, ebx
jne 0x4138d8
mov eax, 0x404988
call fcn.004089f9
mov eax, dword [ebp - 0x6c]
and dword [edi + 0x14], 0
lea esi, [edi + 0x50]
mov byte [edi + 9], 0
mov byte [edi + 0xa], 1
mov dword [edi + 0x10], 1
call fcn.004089f9
cmp dword [edi + 0x2c], 0
je 0x4139ce
cmp dword [ebx + 0x18], 8
jb 0x413910
mov ebx, dword [ebx + 4]
jmp 0x413913
add ebx, 4
mov ecx, dword [ebp - 0x70]
lea esi, [edi + 0x34]
push 0
push esi
xor edi, edi
call fcn.00427113
pop ecx
pop ecx
push 7
pop eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], di
mov dword [ebp - 4], edi
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edi
mov word [ebp - 0x60], di
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], di
mov byte [ebp - 4], 2
cmp dword [esi + 0x18], 8
jb 0x413958
mov esi, dword [esi + 4]
jmp 0x41395b
add esi, 4
push edi
push edi
lea eax, [ebp - 0x64]
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00427014
mov ebx, dword [ebp - 0x60]
add esp, 0x10
cmp dword [ebp - 0x4c], 8
jae 0x413979
lea ebx, [ebp - 0x60]
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x413985
lea eax, [ebp - 0x44]
push edi
lea ecx, [ebp - 0x2c]
push ecx
xor ecx, ecx
mov edi, eax
call fcn.00427113
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x4139a1
lea eax, [ebp - 0x28]
push eax
call fcn.00426d44
pop ecx
xor edi, edi
push edi
push 1
lea esi, [ebp - 0x2c]
call fcn.00408d21
push edi
push 1
lea esi, [ebp - 0x64]
call fcn.00408d21
push edi
push 1
lea esi, [ebp - 0x48]
call fcn.00408d21
mov edi, dword [ebp - 0x68]
lea eax, [edi + 0x6c]
push eax
xor eax, eax
push eax
push edi
push 0x413c69
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x70], eax
call fcn.0042dc68
ret 8
Function at 0x416150
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441016
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x448138]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x448138]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
add edi, 0xc
lea esi, [esp + 0x20]
mov dword [esp + 0x3c], eax
mov byte [esp + 0x17], 1
mov dword [esp + 0x38], edi
call fcn.00416e41
lea esi, [esp + 0x40]
call fcn.004176a3
mov edi, eax
lea esi, [esp + 0x20]
call fcn.0040c70d
test al, al
je 0x416336
xor ebx, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x7c], 7
mov dword [esp + 0x78], ebx
mov word [esp + 0x68], bx
lea esi, [esp + 0x20]
mov byte [esp + 0x90], 1
call fcn.0041a8d0
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.0041a51d
mov esi, dword [esp + 0x2c]
cmp esi, dword [esp + 0x30]
jbe 0x416218
call fcn.0042b0a4
lea eax, [esp + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x2c], esi
jbe 0x416233
call fcn.0042b0a4
cmp dword [esp + 0x18], ebx
je 0x416243
lea eax, [esp + 0x28]
cmp dword [esp + 0x18], eax
je 0x416248
call fcn.0042b0a4
cmp dword [esp + 0x1c], esi
je 0x4162f0
lea esi, [esp + 0x18]
call fcn.0041a8d0
cmp dword [eax + 0x18], 0x10
jb 0x416266
mov edi, dword [eax + 4]
jmp 0x416269
lea edi, [eax + 4]
lea esi, [esp + 0x20]
call fcn.0041a8d0
mov eax, dword [eax]
push ebx
push ebx
lea ecx, [esp + 0x6c]
push ecx
push edi
push dword [eax + 0xc]
call fcn.0041407a
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x416293
lea eax, [esp + 0x68]
call fcn.00426c21
test al, al
jne 0x4162e2
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x4162ab
lea eax, [esp + 0x68]
lea ecx, [esp + 0x48]
call fcn.00416d5b
mov esi, dword [esp + 0x3c]
lea eax, [esp + 0x48]
push eax
mov byte [esp + 0x94], 2
call fcn.00417170
push ebx
push 1
lea esi, [esp + 0x50]
mov byte [esp + 0x98], 1
call fcn.00408d21
mov byte [esp + 0x17], bl
lea esi, [esp + 0x18]
call fcn.00410077
jmp 0x416224
push ebx
push 1
lea esi, [esp + 0x6c]
call fcn.00408d21
or dword [esp + 0x90], 0xffffffff
lea esi, [esp + 0x28]
call fcn.00415483
lea esi, [esp + 0x20]
call fcn.00417150
mov edi, dword [esp + 0x38]
lea esi, [esp + 0x40]
call fcn.004176a3
mov edi, eax
lea esi, [esp + 0x20]
call fcn.0040c70d
test al, al
jne 0x4161c6
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0042acb7
mov esp, ebp
pop ebp
ret 4
Function at 0x41635d
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x441925
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x448138]
xor eax, esp
mov dword [esp + 0xa8], eax
push ebx
push esi
push edi
mov eax, dword [0x448138]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [0x449634]
push eax
push 0x4055c8
mov dword [esp + 0x24], eax
call fcn.004088a8
xor eax, eax
pop ecx
pop ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov edi, dword [ebp + 8]
add edi, 0xc
lea esi, [esp + 0x14]
mov dword [esp + 0xc8], 1
mov dword [esp + 0x20], edi
call fcn.00416e41
jmp 0x4164bc
lea esi, [esp + 0x14]
call fcn.0041a8d0
mov ebx, dword [eax]
lea edi, [esp + 0x6c]
call fcn.004154d1
mov esi, edi
mov eax, ebx
mov byte [esp + 0xc8], 2
call fcn.0041a3ac
push 0xf
pop esi
push 0
lea ecx, [esp + 0x54]
mov dword [esp + 0x6c], esi
call fcn.00408384
push 0xffffffffffffffff
push 0
add ebx, 0x10
push ebx
lea ecx, [esp + 0x5c]
mov byte [esp + 0xd4], 3
call fcn.004083a0
lea ebx, [esp + 0x24]
call fcn.0040ec28
cmp dword [esp + 0x68], 0x10
mov eax, dword [esp + 0x54]
jae 0x416460
lea eax, [esp + 0x54]
push eax
push 0x40556c
lea ebx, [esp + 0x2c]
call fcn.0040eb9a
mov eax, dword [esp + 0x6c]
and eax, esi
cmp al, 3
jne 0x416488
push 0x405610
push 0x405574
call fcn.0040eb9a
lea ebx, [esp + 0x24]
call fcn.0040ed15
push 0
push 1
lea ecx, [esp + 0x58]
call fcn.00408339
lea esi, [esp + 0x6c]
mov byte [esp + 0xc8], 1
call fcn.004154f7
lea esi, [esp + 0x14]
call fcn.00417150
mov edi, dword [esp + 0x20]
lea esi, [esp + 0x48]
call fcn.004176a3
mov edi, eax
lea esi, [esp + 0x14]
call fcn.0040c70d
test al, al
jne 0x4163f8
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
call fcn.0040ee00
lea esi, [esp + 0x38]
call fcn.00415483
lea eax, [esp + 0x24]
call fcn.00418d50
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.0042acb7
mov esp, ebp
pop ebp
ret 8
Function at 0x41a9a3
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4403c7
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x448138]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x448138]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor ebx, ebx
lea eax, [esp + 0x18]
push eax
xor eax, eax
lea edi, [esp + 0x30]
mov byte [esp + 0x1b], bl
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x1c], ebx
call fcn.0040ad7a
lea eax, [esp + 0x1c]
push eax
push 1
push ebx
push 0x4059e8
push 0x80000001
mov dword [esp + 0x7c], ebx
call dword [0x449768]
test eax, eax
jne 0x41aafd
push ebx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [esp + 0x48]
call dword [0x44976c]
test eax, eax
jne 0x41aafd
cmp dword [esp + 0x20], ebx
je 0x41aafd
mov eax, dword [esp + 0x24]
push 0xe
pop edi
cmp eax, edi
jb 0x41aafd
lea ecx, [esp + 0x2c]
call fcn.00420ac4
cmp dword [esp + 0x20], ebx
mov dword [esp + 0x18], ebx
jbe 0x41aafd
mov eax, dword [esp + 0x24]
push ebx
push ebx
push ebx
mov dword [esp + 0x34], eax
push ebx
lea eax, [esp + 0x38]
push eax
lea esi, [esp + 0x40]
call fcn.0040ac2f
push eax
push dword [esp + 0x30]
push dword [esp + 0x38]
call dword [0x449764]
test eax, eax
je 0x41aae3
cmp dword [esp + 0x28], edi
jbe 0x41aae3
call fcn.0040ac2f
lea ecx, [esp + 0x3c]
call fcn.00416d5b
push 0x4059c8
mov ecx, edi
lea eax, [esp + 0x40]
mov byte [esp + 0x6c], 1
call fcn.00420c14
test eax, eax
push ebx
lea esi, [esp + 0x40]
push 1
je 0x41aaf3
mov byte [esp + 0x70], bl
call fcn.00408d21
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
jb 0x41aa79
jmp 0x41aafd
mov byte [esp + 0x1f], 1
call fcn.00408d21
cmp dword [esp + 0x1c], ebx
je 0x41ab0d
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea esi, [esp + 0x2c]
call fcn.00420b6d
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0042acb7
mov esp, ebp
pop ebp
ret