joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412565
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x37c
push ebx
push esi
mov esi, eax
push edi
lea eax, [ebp - 0x270]
call fcn.004110ee
push 0
push dword [esi + 4]
xor edi, edi
push dword [esi]
inc edi
mov dword [ebp - 0xc], edi
call fcn.004508e3
add esp, 0xc
lea eax, [ebp - 0x378]
push eax
push str.___AUTOIT_SCRIPT___
call fcn.004126d5
test eax, eax
je 0x4125b0
push 6
pop eax
jmp 0x4126ce
push dword [esi]
lea eax, [ebp - 1]
push edi
push edi
push eax
call fcn.0045019d
push dword [esi]
lea eax, [ebp - 8]
push edi
push 4
push eax
call fcn.0045019d
push dword [esi]
mov edi, dword [ebp - 8]
push 1
lea eax, [ebp - 8]
push 4
mov ebx, 0x87bc
push eax
xor edi, ebx
call fcn.0045019d
push dword [esi]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
xor eax, ebx
push 1
mov dword [ecx], eax
lea eax, [ebp - 8]
push 4
push eax
call fcn.0045019d
mov ebx, dword [ebp - 8]
add esp, 0x40
push 1
push 0x10
push dword [esi]
xor ebx, 0xa685
call fcn.004508e3
mov eax, dword [ebp + 0xc]
add esp, 0xc
push dword [eax]
call fcn.0044f212
pop ecx
push edi
mov dword [ebp + 0xc], eax
call fcn.0044f212
pop ecx
push dword [esi]
mov dword [ebp - 0x10], eax
push 1
push edi
push eax
call fcn.0045019d
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x10]
add esp, 0x10
add eax, 0x2477
push eax
push edi
push esi
call fcn.00412236
push edi
push esi
lea edi, [ebp - 0xc]
call fcn.0041109a
cmp ebx, dword [ebp - 0xc]
je 0x412676
push dword [ebp + 0xc]
call fcn.0044f2d5
pop ecx
push esi
call fcn.0044f2d5
pop ecx
push 0xa
jmp 0x4125aa
cmp byte [ebp - 1], 1
jne 0x4126b8
lea eax, [ebp - 0x270]
call fcn.004110ee
xor eax, eax
inc eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x270], eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x26c], esi
call fcn.0041111a
push esi
call fcn.0044f2d5
jmp 0x4126c3
push dword [ebp + 0xc]
call fcn.0044f2d5
mov dword [ebp + 0xc], esi
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4126d5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x330
push ebx
push edi
mov byte [ebp - 1], 1
push dword [esi]
lea eax, [ebp - 0x14]
push 4
push 1
push eax
call fcn.0045019d
add esp, 0x10
push 0x18ee
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.00412236
lea eax, [ebp - 0x14]
push str.FILE
push eax
mov byte [ebp - 0x10], 0
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
jne 0x412853
push dword [esi]
lea eax, [ebp - 0xc]
push 1
push 4
push eax
call fcn.0045019d
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0xadbc
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x228]
push 1
push eax
call fcn.0045019d
add esp, 0x20
add edi, 0xb33f
push edi
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.00412236
and word [ebp + ebx - 0x228], 0
lea eax, [ebp - 0x228]
push eax
or eax, 0xffffffff
call fcn.0040d6f7
pop ecx
mov edi, eax
lea eax, [ebp - 0x330]
push edi
push eax
call fcn.0044cf30
push edi
call fcn.0044d0f0
add esp, 0xc
push dword [esi]
lea eax, [ebp - 0xc]
push 1
push 4
push eax
call fcn.0045019d
mov edi, dword [ebp - 0xc]
push dword [esi]
xor edi, 0xf820
lea ebx, [edi + edi]
push ebx
lea eax, [ebp - 0x228]
push 1
push eax
call fcn.0045019d
add esp, 0x20
add edi, 0xf479
push edi
push ebx
lea eax, [ebp - 0x228]
push eax
call fcn.00412236
and word [ebp + ebx - 0x228], 0
lea eax, [ebp - 0x228]
push eax
or eax, 0xffffffff
call fcn.0040d6f7
pop ecx
mov edi, eax
push edi
push dword [ebp + 0xc]
call fcn.0044cf30
push edi
call fcn.0044d0f0
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x330]
push eax
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
je 0x41286a
xor edi, edi
inc edi
push edi
push edi
push dword [esi]
call fcn.004508e3
add esp, 0xc
push dword [esi]
lea eax, [ebp - 8]
push edi
push 4
push eax
call fcn.0045019d
xor dword [ebp - 8], 0x87bc
mov eax, dword [ebp - 8]
push edi
add eax, 0x18
push eax
push dword [esi]
call fcn.004508e3
add esp, 0x1c
jmp 0x412857
mov byte [ebp - 1], 0
cmp byte [ebp - 1], 1
je 0x4126e4
push 6
pop eax
pop edi
pop ebx
leave
ret 8
xor eax, eax
jmp 0x412864
Function at 0x419c47
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
cmp byte [ebp + 0xc], 0
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18c]
push edi
lea edi, [esi + 0x56c]
mov ebx, dword [edi]
mov dword [esp + 0x10], esi
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], ebx
je 0x419c7e
call fcn.0040d8ef
cmp byte [ebp + 0x10], 0
je 0x419de9
lea eax, [esi + 0x5b0]
push eax
lea ebx, [esp + 0x7c]
mov dword [esp + 0x18], eax
call fcn.0040efef
lea edi, [esi + 0x5c0]
lea esi, [esp + 0x5c]
mov dword [esp + 0x18], edi
call fcn.0040daff
mov ebx, dword [esp + 0x10]
mov eax, dword [ebx + 0x670]
mov dword [esp + 0x1c], eax
lea eax, [ebx + 0x5cc]
mov dword [esp + 0x24], eax
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x678]
lea edi, [ebx + 0x6c4]
lea esi, [esp + 0x50]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
call fcn.0040daff
mov eax, dword [ebx + 0x6d0]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x6d4]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x254]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x258]
add ebx, 0x240
push ebx
mov dword [esp + 0x44], ebx
lea ebx, [esp + 0x6c]
mov dword [esp + 0x40], eax
call fcn.0040efef
mov edi, dword [esp + 0x10]
push dword [ebp + 8]
mov eax, edi
call fcn.004189cc
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
call fcn.0040f6ba
mov eax, dword [esp + 0x18]
lea ebx, [esp + 0x5c]
call fcn.0040db95
mov eax, dword [esp + 0x1c]
push dword [esp + 0x20]
mov esi, dword [esp + 0x28]
mov dword [edi + 0x670], eax
call fcn.00403398
mov eax, dword [esp + 0x28]
mov dword [edi + 0x678], eax
mov eax, dword [esp + 0x2c]
lea ebx, [esp + 0x50]
call fcn.0040db95
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x40]
mov dword [edi + 0x6d0], eax
mov eax, dword [esp + 0x34]
mov dword [edi + 0x6d4], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x254], eax
mov eax, dword [esp + 0x3c]
mov dword [edi + 0x258], eax
lea eax, [esp + 0x68]
push eax
call fcn.0040f6ba
lea ecx, [esp + 0x68]
call fcn.0040f241
push dword [esp + 0x50]
call fcn.0044d0f0
push dword [esp + 0x60]
call fcn.0044d0f0
pop ecx
pop ecx
lea ecx, [esp + 0x78]
call fcn.0040f241
mov edi, dword [esp + 0x44]
mov ebx, dword [esp + 0x48]
mov esi, dword [esp + 0x10]
jmp 0x419df3
push dword [ebp + 8]
mov eax, esi
call fcn.004189cc
cmp byte [ebp + 0xc], 0
je 0x419e05
call fcn.0040d949
jmp 0x419e05
call fcn.00419e77
cmp ebx, dword [edi]
jl 0x419e00
mov eax, dword [esp + 0x4c]
pop edi
mov dword [esi + 0x18c], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41b03f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, eax
xor eax, eax
mov ecx, ebx
call fcn.0040545c
cmp dword [eax + 8], 4
jne 0x41b0ba
push 0x60
call fcn.0044d086
test eax, eax
pop ecx
je 0x41b06e
call fcn.0040abf4
mov edi, eax
jmp 0x41b070
xor edi, edi
xor eax, eax
mov ecx, ebx
call fcn.0040545c
mov esi, eax
call fcn.0040f2f1
xor ebx, ebx
push eax
inc ebx
mov eax, ebx
mov ecx, edi
call fcn.0040ac04
test al, al
jne 0x41b146
test edi, edi
je 0x41b0a7
mov esi, edi
call fcn.0040adcf
push edi
call fcn.0044d0f0
pop ecx
mov esi, dword [ebp + 0xc]
push 0
call fcn.0040f86e
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0xc
xor eax, eax
mov ecx, ebx
call fcn.0040545c
call fcn.0040f3c3
mov esi, eax
dec esi
js 0x41b0a7
xor eax, eax
mov ecx, ebx
call fcn.0040545c
call fcn.00410606
test al, al
je 0x41b0a7
cmp esi, dword [edi + 0x580]
jge 0x41b0a7
jb 0x41b0f0
call fcn.00419ebc
jmp 0x41b0f9
mov eax, dword [edi + 0x57c]
mov eax, dword [eax + esi*4]
cmp dword [eax], 0
je 0x41b0a7
cmp esi, dword [edi + 0x580]
jb 0x41b10d
call fcn.00419ebc
jmp 0x41b116
mov eax, dword [edi + 0x57c]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x41b0a7
cmp esi, dword [edi + 0x580]
jb 0x41b12c
call fcn.00419ebc
jmp 0x41b135
mov eax, dword [edi + 0x57c]
mov eax, dword [eax + esi*4]
mov eax, dword [eax]
mov edi, dword [eax + 4]
test byte [edi], 3
je 0x41b0a7
xor ebx, ebx
inc ebx
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.0040545c
cmp dword [eax + 8], 0xb
je 0x41b1e5
test byte [edi], 0x10
jne 0x41b1e5
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.0040545c
mov esi, eax
call fcn.0040f2f1
mov ecx, eax
mov esi, edi
call fcn.0040ae91
cmp byte [ebp + 0x10], 0
je 0x41b22b
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.0040545c
mov esi, eax
call fcn.0040f2f1
push eax
call fcn.0044d720
mov ebx, eax
test ebx, ebx
pop ecx
je 0x41b1d7
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
call fcn.0040545c
mov esi, eax
call fcn.0040f2f1
cmp byte [eax + ebx - 1], 0xd
je 0x41b22b
mov ecx, dword [ebp + 8]
xor eax, eax
inc eax
call fcn.0040545c
mov esi, eax
call fcn.0040f2f1
cmp byte [eax + ebx - 1], 0xa
je 0x41b22b
mov ecx, 0x469b38
mov esi, edi
call fcn.0040ae91
jmp 0x41b22b
mov ecx, dword [ebp + 8]
mov eax, ebx
call fcn.0040545c
call fcn.0040f333
mov ecx, dword [ebp + 8]
mov esi, eax
mov eax, ebx
call fcn.0040545c
mov ecx, eax
call fcn.0040f2b9
push dword [edi + 4]
push eax
push ebx
push esi
call fcn.00450b32
push dword [edi + 4]
call fcn.004501e7
add esp, 0x14
test eax, eax
je 0x41b22b
mov esi, dword [ebp + 0xc]
push 0
call fcn.0040f86e
mov ecx, dword [ebp + 8]
xor eax, eax
call fcn.0040545c
cmp dword [eax + 8], 4
jne 0x41b0b1
mov esi, edi
call fcn.0040adcf
call fcn.0040adcf
push edi
call fcn.0044d0f0
pop ecx
jmp 0x41b0b1
Function at 0x41b6f0
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
push edi
lea eax, [ebp - 0x148]
push eax
push dword [ebp + 8]
mov ebx, ecx
call esi
mov edi, eax
cmp edi, 0xffffffff
je 0x41b770
lea eax, [ebp - 0x11c]
push 0x469a60
push eax
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
je 0x41b75e
lea eax, [ebp - 0x11c]
push 0x46b2dc
push eax
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
je 0x41b75e
push dword [ebp + 0x10]
lea eax, [ebp - 0x11c]
push dword [ebp + 0xc]
push eax
call fcn.0040baaa
add esp, 0xc
test al, al
je 0x41b788
lea eax, [ebp - 0x148]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x41b717
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_FindClose]
call edi
cmp byte [ebp + 0x14], 0
jne 0x41b793
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 0x10
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
jmp 0x41b781
lea eax, [ebp - 0x148]
push eax
push 0x46b2d8
call esi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
je 0x41b821
mov esi, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
test byte [ebp - 0x148], 0x10
je 0x41b80d
lea eax, [ebp - 0x11c]
push 0x469a60
push eax
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
je 0x41b80d
lea eax, [ebp - 0x11c]
push 0x46b2dc
push eax
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
je 0x41b80d
lea eax, [ebp - 0x11c]
push eax
call esi
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041b6f0
test al, al
je 0x41b825
push 0x46b2dc
call esi
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x41b7af
mov bl, 1
jmp 0x41b827
xor bl, bl
push dword [ebp - 4]
call edi
mov al, bl
jmp 0x41b781
Function at 0x41cd9e
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push ebx
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push str.___s
push eax
call fcn.0044d7ab
lea eax, [ebp - 0x104]
lea esi, [ebp - 0x104]
push eax
dec esi
call fcn.0044d720
add esp, 0x10
xor ebx, ebx
cmp byte [eax + esi], 0x5c
jne 0x41ce06
lea eax, [ebp - 0x104]
push eax
call fcn.0044d720
pop ecx
lea ecx, [ebp - 0x104]
dec ecx
dec ecx
cmp byte [eax + ecx], 0x3a
je 0x41ce06
lea eax, [ebp - 0x104]
push eax
call fcn.0044d720
pop ecx
mov byte [eax + esi], bl
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
test eax, eax
jne 0x41ce1e
cmp byte [ebp + 8], bl
jne 0x41ce1e
xor eax, eax
jmp 0x41ceed
push ebx
push 0x2200000
push 3
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41ce44
push edi
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
jmp 0x41ce17
push 0x14
lea eax, [ebp - 0x410]
push ebx
push eax
call fcn.0044fdd0
lea eax, [ebp - 0x104]
push eax
mov dword [ebp - 0x410], 0xa0000003
call fcn.0044d720
add eax, eax
mov word [ebp - 0x406], ax
mov eax, dword [ebp - 0x406]
add esp, 0x10
add eax, 2
push 0x104
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x400]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x104]
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
mov eax, dword [ebp - 0x406]
push ebx
add eax, 0xc
mov word [ebp - 0x40c], ax
lea ecx, [ebp + 0xc]
push ecx
push ebx
movzx eax, ax
push ebx
add eax, 8
push eax
lea eax, [ebp - 0x410]
push eax
push 0x900a4
push esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
push esi
jne 0x41cee4
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
jmp 0x41ce3b
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret 8
Function at 0x41dab6
Capabilities:
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
push edi
lea eax, [esp + 0x18]
push eax
push dword [ebp + 8]
mov dword [esp + 0x1c], ecx
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x41daeb
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ebx, dword [sym.imp.KERNEL32.DLL_FindNextFileA]
lea eax, [esp + 0x44]
push 0x469a60
push eax
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
je 0x41db40
lea eax, [esp + 0x44]
push 0x46b2dc
push eax
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
je 0x41db40
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
or eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
not ecx
and eax, ecx
push eax
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
test eax, eax
je 0x41db5f
lea eax, [esp + 0x18]
push eax
push edi
call ebx
test eax, eax
jne 0x41daf1
push edi
mov edi, dword [sym.imp.KERNEL32.DLL_FindClose]
call edi
cmp byte [ebp + 0x14], 0
jne 0x41db6b
mov al, 1
jmp 0x41dae2
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
jmp 0x41dae0
lea eax, [esp + 0x18]
push eax
push 0x46b2d8
call esi
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x41dbed
mov esi, dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
test byte [esp + 0x18], 0x10
je 0x41dbde
lea eax, [esp + 0x44]
push 0x469a60
push eax
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
je 0x41dbde
lea eax, [esp + 0x44]
push 0x46b2dc
push eax
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
je 0x41dbde
lea eax, [esp + 0x44]
push eax
call esi
push dword [ebp + 0x14]
mov ecx, dword [esp + 0x18]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041dab6
test al, al
je 0x41dbf1
push 0x46b2dc
call esi
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
call ebx
test eax, eax
jne 0x41db86
mov bl, 1
jmp 0x41dbf3
xor bl, bl
push dword [esp + 0x10]
call edi
mov al, bl
jmp 0x41dae2
Function at 0x41e6d8
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
push ebx
push esi
push edi
push dword [ebp + 8]
lea esi, [ebp - 0xc]
mov dword [ebp - 0x10], ecx
call fcn.0040daad
mov edi, esi
lea esi, [ebp - 0x20]
call fcn.0040daff
push 0x46b2d8
mov eax, edi
call fcn.0040dc7c
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0xc]
mov byte [ebp + 0xb], 1
call dword [sym.imp.KERNEL32.DLL_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
je 0x41e82b
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp - 0x10]
call fcn.00418911
cmp eax, 1
je 0x41e827
cmp eax, 0xb
jne 0x41e74b
push 0xa
call dword [sym.imp.KERNEL32.DLL_Sleep]
jmp 0x41e72b
lea eax, [ebp - 0x134]
push 0x469a60
push eax
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
je 0x41e80d
lea eax, [ebp - 0x134]
push 0x46b2dc
push eax
call fcn.0044d5b0
test eax, eax
pop ecx
pop ecx
je 0x41e80d
lea ebx, [ebp - 0x20]
lea eax, [ebp - 0xc]
call fcn.0040db95
lea eax, [ebp - 0x134]
push eax
lea eax, [ebp - 0xc]
call fcn.0040dc7c
test byte [ebp - 0x160], 0x10
je 0x41e7e5
mov esi, dword [ebp + 0x14]
xor ebx, ebx
cmp byte [ebp + 0x18], bl
je 0x41e7b4
add dword [esi], 1
adc dword [esi + 4], ebx
cmp byte [ebp + 0x1c], bl
je 0x41e80d
push 0x469344
lea eax, [ebp - 0xc]
call fcn.0040dc7c
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x10]
push dword [ebp + 0x18]
push esi
push edi
push dword [ebp + 0xc]
push dword [ebp - 0xc]
call fcn.0041e6d8
cmp al, bl
mov byte [ebp + 0xb], al
je 0x41e82b
jmp 0x41e80d
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x144]
xor ecx, ecx
xor esi, esi
or ecx, eax
mov eax, dword [ebp + 0xc]
or edx, esi
add dword [eax], ecx
adc dword [eax + 4], edx
cmp byte [ebp + 0x18], 0
je 0x41e80d
add dword [edi], 1
adc dword [edi + 4], esi
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_FindNextFileA]
test eax, eax
jne 0x41e72b
jmp 0x41e82b
mov byte [ebp + 0xb], 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_FindClose]
push dword [ebp - 0x20]
call fcn.0044d0f0
pop ecx
push dword [ebp - 0xc]
call fcn.0044d0f0
mov al, byte [ebp + 0xb]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x426d0f
Capabilities:
Set socket configuration

Disassembly:
push ebx
push edi
push dword [esp + 0x10]
mov word [esi], 2
call fcn.0040ceec
pop ecx
mov ebx, eax
push ebx
call sub.WSOCK32.dll_inet_addr
push ebx
mov edi, eax
call fcn.0044d0f0
cmp edi, 0xffffffff
pop ecx
jne 0x426d3d
xor ecx, ecx
push 0
inc ecx
jmp 0x426d62
mov eax, dword [esp + 0x14]
lea ecx, [eax - 1]
cmp ecx, 0xfffe
mov dword [esi + 4], edi
ja 0x426d5d
push eax
call sub.WSOCK32.dll_htons
mov word [esi + 2], ax
mov al, 1
jmp 0x426d6d
push 0
push 2
pop ecx
mov eax, dword [esp + 0x10]
call fcn.00419e1c
xor al, al
pop edi
pop ebx
ret 0xc

Function at 0x4279a6
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
and dword [ebp - 8], 0
push ebx
push esi
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xc], 0x80004002
mov dword [ebp - 4], 0x28
call fcn.0040da90
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 0x10]
push eax
mov ebx, 0x20019
push ebx
push 0
push str.interface
mov edi, SysReAllocString
push edi
call esi
test eax, eax
je 0x427a04
mov esi, 0x80004002
push dword [ebp - 0x24]
call fcn.0044d0f0
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x2c]
push eax
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp - 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x427ae3
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x54], 0
push str.interface_
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0xff
call fcn.0040dbbe
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x24]
call fcn.0040dc7c
lea eax, [ebp - 0x14]
push eax
push ebx
push 0
push dword [ebp - 0x24]
push edi
call esi
test eax, eax
jne 0x427ace
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x160]
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x427ac5
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov byte [ebp + eax - 0x160], 0
lea eax, [ebp - 0x160]
push eax
call fcn.0044ced6
test eax, eax
pop ecx
pop ecx
jne 0x427ac5
lea eax, [ebp - 0x54]
push eax
or eax, 0xffffffff
call fcn.0040d688
pop ecx
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
push eax
call dword [sym.imp.ole32.dll_IIDFromString]
push dword [ebp - 0x18]
mov dword [ebp - 0xc], eax
call fcn.0044d0f0
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
je 0x427ae3
inc dword [ebp - 8]
mov dword [ebp - 4], 0x28
jmp 0x427a04
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0xc]
jmp 0x4279f4
Function at 0x427af4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
push ebx
push esi
push edi
lea ecx, [ebp - 0x20]
call fcn.0040da90
fld1
lea eax, [ebp - 0xc]
fstp qword [ebp - 0x28]
push eax
push dword [ebp + 8]
call dword [sym.imp.ole32.dll_StringFromIID]
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jl 0x427c89
push dword [ebp - 0xc]
or eax, 0xffffffff
call fcn.0040d6f7
mov esi, eax
lea eax, [ebp - 0x20]
mov dword [esp], str.interface_
call fcn.0040dbbe
push esi
lea eax, [ebp - 0x20]
call fcn.0040dc7c
push str.TypeLib
lea eax, [ebp - 0x20]
call fcn.0040dc7c
push esi
call fcn.0044d0f0
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea eax, [ebp - 8]
push eax
push 0x20019
push ebx
push dword [ebp - 0x20]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
cmp esi, ebx
jne 0x427c89
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x140]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], 0xff
call edi
mov esi, eax
cmp esi, ebx
jne 0x427c80
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x140], bl
lea eax, [ebp - 0x140]
push eax
or eax, 0xffffffff
call fcn.0040d688
pop ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
push dword [ebp - 0x14]
mov esi, eax
call fcn.0044d0f0
cmp esi, ebx
pop ecx
jl 0x427c80
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x140]
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 8]
mov dword [ebp - 4], 0xff
call edi
test eax, eax
jne 0x427c2b
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x140], bl
lea eax, [ebp - 0x140]
push eax
call fcn.0044fef3
fstp qword [ebp - 0x28]
pop ecx
fld1
lea eax, [ebp - 0x10]
push eax
push ebx
sub esp, 0x10
fstp qword [esp + 8]
fld qword [ebp - 0x28]
fstp qword [esp]
call fcn.00451dd0
add esp, 0x10
call fcn.004634e6
fld qword [ebp - 0x28]
push eax
call fcn.004634e6
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_RegisterTypeLib]
mov esi, eax
cmp esi, ebx
jl 0x427c80
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
push dword [ebp + 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x20]
call fcn.0044d0f0
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret