joyce8/EMBER2024-capa huggingface dataset:
Function at 0xb74267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0xb8b00c], esi
jne 0xb742be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0xb72c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0xb8b00c], eax
cmp eax, esi
je 0xb7e4ec
push 0xffffffffffffffff
push dword [0xb8b014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0xb8b014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0xb8b018], esi
jl 0xb7e50a
pop esi
leave
ret

Function at 0xb74441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0xb74498
call fcn.00b72712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0xb74490
cmp ecx, 0xffffffff
je 0xb74490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0xb74489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0xb74489
cmp edx, 0x10000000
jae 0xb74489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0xb7e892
mov dword [ebp - 4], 0xfffffffe
call fcn.00b72757
ret 4

Function at 0xb7681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0xb8b004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0xb76933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0xb7ed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00b721cb
test eax, eax
jl 0xb76932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0xb768c3
push 0xb76994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00b72436
test eax, eax
jl 0xb76932
push 0xb76980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00b72436
test eax, eax
jl 0xb76932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0xb7ed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xb76970
push eax
call edi
push 0xb7695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0xb76948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0xb76940
cmp dword [esi + 0x34], 0
je 0xb76940
test eax, eax
je 0xb76940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00b720d4
leave
ret
mov eax, 0x8007007f
jmp 0xb76932
Function at 0xb771f8
Capabilities:
Identify system language via api

Disassembly:
push 0x2c
mov eax, 0xb8608c
call fcn.00b739dd
lea ecx, [ebp - 0x34]
call fcn.00b76c55
and dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
push 0
call fcn.00b7758b
test eax, eax
jl 0xb7722c
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00b772a7
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx esi, ax
mov eax, 0x409
mov edi, 0xb77298
cmp ax, si
jne 0xb7e4b4
and esi, 0x3ff
push esi
push edi
lea eax, [ebp - 0x30]
push 8
push eax
call fcn.00b71451
add esp, 0x10
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00b7758b
mov esi, eax
test esi, esi
jl 0xb77280
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00b772a7
mov esi, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.00b7760b
mov eax, esi
call fcn.00b72b9f
ret

Function at 0xb7791d
Capabilities:
Identify system language via api

Disassembly:
lea eax, [ebp - 0x30]
push eax
call esi
push 8
pop eax
push dword [ebp + 0x10]
mov word [ebp - 0x30], ax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x28], eax
cmp eax, ebx
je 0xb7dc4f
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 0x82
lea edx, [ebp - 0x30]
push edx
push 0xb77900
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x30]
push eax
call edi
cmp esi, ebx
jl 0xb779a8
push 1
lea ecx, [ebp - 0x20]
call fcn.00b779e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xb778ec
push eax
call dword [ecx + 0x10]
mov esi, eax
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00b771e0
cmp esi, ebx
jl 0xb779a8
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
push 3
movzx eax, ax
pop ecx
mov word [ebp - 0x20], cx
mov dword [ebp - 0x18], eax
jmp 0xb77992
push 0x24
mov eax, 0xb85c85
call fcn.00b726dd
mov esi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea eax, [ebp - 0x20]
push eax
call esi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [ebp - 0x10], ebx
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp dword [ebp + 0xc], ebx
je 0xb77854
push 1
lea ecx, [ebp - 0x20]
call fcn.00b779e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
lea edx, [ebp - 0x20]
push edx
push 0xb73984
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0xb779a6
push 3
pop eax
mov word [ebp - 0x20], ax
mov dword [ebp - 0x18], 0x409
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20]
push edx
push 0xb779d0
push eax
call dword [ecx + 0x10]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.00b77455
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x20]
push eax
call edi
push eax
call fcn.00b771e0
mov eax, esi
call fcn.00b71390
ret 0xc
Function at 0xb77b05
Capabilities:
Identify system language via api

Disassembly:
push 0x50
mov eax, 0xb85fc0
call fcn.00b739dd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor esi, esi
push esi
mov dword [ebp - 0x5c], ecx
push eax
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x54], esi
call fcn.00b77c2b
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x58]
mov ebx, eax
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, si
jne 0xb77b34
sub eax, ecx
sar eax, 1
mov edi, eax
je 0xb77b63
movzx eax, word [ebx + esi*2]
push eax
call dword [sym.imp.msvcrt.dll_iswxdigit]
pop ecx
test eax, eax
je 0xb77b5b
inc esi
cmp esi, edi
jb 0xb77b46
cmp esi, edi
jb 0xb77c0e
xor eax, eax
mov edx, ebx
test edi, edi
jbe 0xb77c0e
cmp word [edx], 0x30
jne 0xb77b7c
inc eax
inc edx
inc edx
cmp eax, edi
jb 0xb77b6f
cmp eax, edi
jae 0xb77c0e
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0xb77b89
sub eax, esi
sar eax, 1
cmp eax, 3
ja 0xb77c0e
push 0x10
push 0
push edx
call dword [sym.imp.msvcrt.dll_wcstoul]
add esp, 0xc
movzx esi, ax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
cmp cx, si
jne 0xb77c03
movzx eax, ax
movzx eax, ax
push eax
push 0xb77c18
lea eax, [ebp - 0x50]
push 0x20
push eax
call fcn.00b71451
mov ecx, dword [ebp - 0x5c]
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
call fcn.00b76c60
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00b7760b
mov eax, dword [ebp - 0x54]
call fcn.00b72b9f
ret 8
or esi, 0x400
movzx eax, si
jmp 0xb77bc6
mov dword [ebp - 0x54], 0x80041001
jmp 0xb77be9
Function at 0xb77f3e
Capabilities:
Create directory

Disassembly:
push 0x10
mov eax, 0xb86a7d
call fcn.00b71350
mov dword [ebp - 0x1c], ecx
xor esi, esi
mov ebx, 0x8007000e
mov dword [ebp - 0x14], esi
cmp dword [ebp + 8], esi
je 0xb78046
push 1
call fcn.00b7227c
mov dword [ebp - 0x18], eax
cmp eax, esi
je 0xb7803c
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b713e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0xb77fcd
push dword [ebp - 0x18]
inc edi
push edi
push eax
call fcn.00b721cb
mov ebx, eax
test ebx, ebx
jl 0xb78024
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call fcn.00b72436
mov ebx, eax
test ebx, ebx
jl 0xb78024
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xb78024
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0xb77ff6
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0xb7
jne 0xb7f33c
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xb78024
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push 1
push 0x40000000
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x44], eax
cmp eax, 0xffffffff
je 0xb7f353
cmp dword [ebp - 0x14], 0
je 0xb78033
push dword [ebp - 0x14]
call fcn.00b713c0
pop ecx
push dword [ebp - 0x18]
call fcn.00b713c0
pop ecx
mov eax, ebx
call fcn.00b71390
ret 4
mov ebx, 0x80070057
jmp 0xb7803c

Function at 0xb785f1
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0xb8b004]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 8], 0
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
test eax, eax
je 0xb78684
cmp eax, 0xffffffff
je 0xb78684
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0xb78684
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
and dword [ebp - 0xc], 0
push ebx
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
lea esi, [eax + eax + 2]
mov eax, esi
call fcn.00b785b5
mov eax, esp
push esi
push ebx
push eax
call fcn.00b78692
mov esi, dword [ebp - 0x10]
mov edi, dword [edi + 0x44]
push 0
lea ecx, [ebp - 0xc]
push ecx
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xb7f2da
cmp esi, dword [ebp - 0xc]
jne 0xb7f2f6
mov eax, dword [ebp - 8]
lea esp, [ebp - 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00b720d4
leave
ret 4
mov dword [ebp - 8], 0x80070057
jmp 0xb7866d
Function at 0xb788ef
Capabilities:
Get geographical location

Disassembly:
push 0x210
mov eax, 0xb86be9
call fcn.00b720e6
xor eax, eax
push 0x1fe
mov word [ebp - 0x214], ax
xor ebx, ebx
lea eax, [ebp - 0x212]
push ebx
push eax
call sub.msvcrt.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push 0x100
lea eax, [ebp - 0x214]
push eax
push 0x1001
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
lea eax, [ebp - 0x214]
and esi, 0x3ff
push eax
mov dword [ebp - 0x21c], esi
mov dword [ebp - 0x218], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 7
xor ecx, ecx
push 2
pop edx
mov eax, esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00b713e0
mov edi, eax
pop ecx
cmp edi, ebx
je 0xb78999
lea eax, [ebp - 0x214]
push eax
push dword [ebp - 0x21c]
push 0xb789a4
push esi
push edi
call fcn.00b71451
add esp, 0x14
mov eax, edi
call fcn.00b72126
ret 4
Function at 0xb80d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0xb80dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0xb80db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0xb80dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0xb80da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x401120
Capabilities:
Get common file path

Disassembly:
push ebx
sub esp, 0x38
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004316f0
sub esp, 4
call fcn.00431690
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.00431730
call fcn.00431730
call fcn.00431780
mov dword [esp + 4], eax
mov dword [esp], 0x104
call fcn.0042f070
sub esp, 8
call fcn.00431780
mov dword [esp + 4], eax
lea eax, [esp + 0x2c]
mov dword [esp], eax
call fcn.00431900
sub esp, 8
lea eax, [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], 0
call sub.SHELL32.dll_SHGetFolderLocation
sub esp, 0x14
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.SHELL32.dll_SHGetPathFromIDListW
sub esp, 8
call fcn.00431730
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00431990
sub esp, 4
call fcn.00431880
mov ebx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.004319f0
sub esp, 4
mov eax, ebx
add esp, 0x38
pop ebx
ret 8
Function at 0x402200
Capabilities:
Get disk information

Disassembly:
push edi
push ebx
sub esp, 0x224
mov eax, dword [esp + 0x234]
mov dword [esp], eax
call fcn.004316f0
sub esp, 4
call fcn.00431690
mov eax, dword [esp + 0x230]
mov dword [esp + 4], eax
lea eax, [esp + 0x230]
mov dword [esp], eax
call fcn.00431ad0
sub esp, 8
lea edi, [esp + 0x18]
mov ecx, 0x82
xor eax, eax
rep stosd dword es:[edi], eax
call fcn.00431730
call fcn.00431730
call fcn.00431780
mov dword [esp + 4], eax
mov dword [esp], 0x104
call fcn.0042f070
sub esp, 8
call fcn.00431b20
call fcn.00431780
mov dword [esp + 8], eax
mov dword [esp + 4], 0x104
lea ebx, [esp + 0x18]
mov dword [esp], ebx
call fcn.00431b90
sub esp, 0xc
call fcn.00431730
call fcn.00431730
call fcn.00431780
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x43f468
mov dword [esp + 4], 0x43d590
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call fcn.0042f7c0
sub esp, 0x10
call fcn.00431780
mov dword [esp + 4], eax
lea eax, [esp + 0x230]
mov dword [esp], eax
call fcn.00431900
sub esp, 8
call fcn.00431730
call fcn.00431730
call fcn.00431780
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x43f0f4
mov dword [esp + 4], 0x43cc64
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call fcn.0042f7c0
sub esp, 0x10
call fcn.00431780
mov dword [esp + 4], eax
lea eax, [esp + 0x230]
mov dword [esp], eax
call fcn.00431900
sub esp, 8
call fcn.00431730
call fcn.00431730
call fcn.00431780
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x441c28
mov dword [esp + 4], str.__
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call fcn.0042f7c0
sub esp, 0x10
call fcn.00431780
mov dword [esp + 4], eax
lea eax, [esp + 0x230]
mov dword [esp], eax
call fcn.00431900
sub esp, 8
call fcn.00431730
call fcn.00431730
call fcn.00431780
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x441c28
mov dword [esp + 4], str.._
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call fcn.0042f7c0
sub esp, 0x10
call fcn.00431780
mov dword [esp + 4], eax
lea eax, [esp + 0x230]
mov dword [esp], eax
call fcn.00431900
sub esp, 8
mov dword [esp + 8], 0x104
mov dword [esp + 4], ebx
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call sub.KERNEL32.dll_QueryDosDeviceW
sub esp, 0xc
call fcn.00431730
call fcn.00431730
call fcn.00431730
mov dword [esp + 4], 0x104
mov dword [esp], ebx
call fcn.00431c00
sub esp, 8
call fcn.00431880
mov ebx, eax
call fcn.00431780
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0042f3d0
sub esp, 8
call fcn.00431880
mov ebx, eax
mov eax, dword [esp + 0x230]
mov dword [esp], eax
call fcn.004319f0
sub esp, 4
mov eax, ebx
add esp, 0x224
pop ebx
pop edi
ret 8
Function at 0x402460
Capabilities:
Get disk information

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [esp + 0x44]
mov dword [esp], eax
call fcn.004316f0
sub esp, 4
call fcn.00431690
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.00431ad0
sub esp, 8
mov dword [esp + 0x1a], 0
xor eax, eax
mov word [esp + 0x1e], ax
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.00431730
call fcn.00431730
call fcn.00431780
mov dword [esp + 4], eax
mov dword [esp], 0x104
call fcn.0042f070
sub esp, 8
call fcn.00431780
mov dword [esp + 4], eax
lea eax, [esp + 0x10]
mov dword [esp], eax
call fcn.00431900
sub esp, 8
mov dword [esp + 8], 0x441c28
mov dword [esp + 4], 3
lea edi, [esp + 0x1a]
mov dword [esp], edi
call fcn.00431bd0
sub esp, 0xc
mov dword [esp + 4], 0x441c28
lea eax, [esp + 0x14]
mov dword [esp], eax
call fcn.00431a20
sub esp, 8
mov eax, dword [esp + 0x10]
mov dword [esp + 4], eax
mov dword [esp], 0x104
call sub.KERNEL32.dll_GetLogicalDriveStringsW
sub esp, 8
lea ebp, [eax + 3]
test eax, eax
cmovns ebp, eax
sar ebp, 2
cmp eax, 3
jle 0x4025f2
xor esi, esi
nop
call fcn.00431730
call fcn.00431730
mov eax, dword [esp + 0x10]
lea ebx, [eax + esi*8]
call fcn.00431780
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00431330
sub esp, 8
call fcn.00431780
mov dword [esp + 8], eax
mov dword [esp + 4], 3
mov dword [esp], edi
call fcn.00431b90
sub esp, 0xc
call fcn.00431730
call fcn.00431730
call fcn.00431730
mov dword [esp + 4], 3
mov dword [esp], edi
call fcn.00431c00
sub esp, 8
call fcn.00431880
mov ebx, eax
call fcn.00431780
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00402200
sub esp, 8
mov ebx, dword [esp + 0x40]
call fcn.00431830
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.00431b50
test eax, eax
jne 0x4025f2
add esi, 1
cmp esi, ebp
jl 0x402550
call fcn.00431730
mov dword [esp + 4], 3
mov dword [esp], edi
call fcn.00431c00
sub esp, 8
call fcn.00431880
mov ebx, eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.004319f0
sub esp, 4
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.004319f0
sub esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.004319f0
sub esp, 4
mov eax, ebx
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret 8
Function at 0x405cf0
Capabilities:
Set registry value

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov edi, dword [esp + 0x50]
mov dword [esp + 0x28], str.SoftwareWimInfoREG
call fcn.00431690
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
lea eax, [esp + 0x28]
mov dword [esp], eax
call fcn.00431ad0
sub esp, 8
mov eax, dword [esp + 0x48]
mov dword [esp + 4], eax
lea eax, [esp + 0x48]
mov dword [esp], eax
call fcn.00431ad0
sub esp, 8
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
lea eax, [esp + 0x4c]
mov dword [esp], eax
call fcn.00431ad0
sub esp, 8
mov dword [esp + 0x2c], 0
mov dword [esp + 0x2c], 0
lea eax, [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp], SysReAllocString
call sub.ADVAPI32.dll_RegCreateKeyW
sub esp, 0xc
xor esi, esi
test eax, eax
jne 0x405dac
mov ebx, eax
mov eax, edi
movsx eax, al
mov ecx, edi
cmp cl, 1
je 0x405de8
cmp eax, 7
je 0x405e40
mov esi, 1
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call sub.ADVAPI32.dll_RegCloseKey
sub esp, 4
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.004319f0
sub esp, 4
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.004319f0
sub esp, 4
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.004319f0
sub esp, 4
mov eax, esi
add esp, 0x30
pop ebx
pop esi
pop edi
ret 0x14
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00430060
sub esp, 4
mov edx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegSetValueExW
sub esp, 0x18
mov esi, 2
test eax, eax
je 0x405d9d
jmp 0x405d98
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00431430
sub esp, 4
lea eax, [eax + eax + 4]
mov dword [esp], eax
call fcn.004313d0
sub esp, 4
mov edi, eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00431460
sub esp, 8
mov esi, 1
jmp 0x405eba
add ebx, 1
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x43f830
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.00430090
sub esp, 0xc
mov ebx, eax
mov dword [esp + 4], 0
lea eax, [edi + eax*2 - 2]
mov dword [esp], eax
call fcn.004314a0
sub esp, 8
add esi, 1
mov dword [esp + 4], 0x43f830
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call fcn.0042ffd0
sub esp, 8
cmp eax, esi
jge 0x405e80
mov dword [esp], edi
call fcn.004314b0
sub esp, 4
mov edx, eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 7
mov dword [esp + 8], 0
mov edx, dword [esp + 0x48]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.ADVAPI32.dll_RegSetValueExW
sub esp, 0x18
cmp eax, 1
mov esi, 1
adc esi, 0
mov dword [esp], edi
call fcn.004313f0
sub esp, 4
jmp 0x405d9d
Function at 0x41ccae
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
push dword [esp + 0x50]
push dword [0x44345c]
call fcn.00430ab1
mov esi, eax
test esi, esi
je 0x41cd65
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebp, ebp
push ebp
push dword [esp + 0x58]
push 0x419
push dword [esi]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41cd65
lea eax, [esp + 0x10]
push eax
push ebx
push 0x41d
push dword [esi]
call edi
mov dword [esp + 0x20], 0x2c
mov dword [esp + 0x24], 0x10
mov eax, dword [esi]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x20]
push eax
push ebp
push 0x433
mov dword [esp + 0x38], ebx
mov dword [esp + 0x4c], ebp
push dword [esi + 4]
call edi
lea eax, [esp + 0x20]
push eax
push ebp
push 0x432
push dword [esi + 4]
call edi
xor eax, eax
inc eax
jmp 0x41cd67
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret 0xc

Function at 0x41cd71
Capabilities:
Create thread

Disassembly:
push ecx
push ebp
push esi
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebp, eax
test ebp, ebp
je 0x41ce09
push edi
push 0x443468
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x441c70]
test edi, edi
je 0x41cddd
push ebx
push esi
lea ebx, [edi + 8]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x41cdd6
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [edi]
push ebx
push 0x441c70
call fcn.00431284
pop ecx
pop ecx
jmp 0x41cdd8
mov edi, dword [edi]
test edi, edi
jne 0x41cdad
pop ebx
mov eax, dword [0x43f884]
mov esi, eax
inc eax
push 0x10
push 0x441c70
mov dword [0x43f884], eax
call fcn.004312c4
pop ecx
pop ecx
push 0x443468
mov dword [eax], ebp
mov dword [eax + 4], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x41dc9a
Capabilities:
Enumerate gui resources

Disassembly:
cmp dword [esp + 4], 0
push ebx
push esi
push edi
je 0x41dcef
push dword [esp + 0x10]
push 0x41dc19
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [0x441e90]
test esi, esi
je 0x41dd48
xor edi, edi
mov ebx, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 8], eax
jne 0x41dce7
cmp byte [esi + 0x10], 0
je 0x41dce7
push 3
push edi
push edi
push edi
push edi
push 0xfffffffffffffffe
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov esi, ebx
test ebx, ebx
jne 0x41dcc3
jmp 0x41dd48
mov esi, dword [0x441e90]
test esi, esi
je 0x41dd48
xor edi, edi
push ebp
mov ebx, dword [esi]
lea ebp, [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp], eax
jne 0x41dd41
cmp byte [esi + 0x11], 0
je 0x41dd1d
push 1
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp byte [esi + 0x10], 0
je 0x41dd34
push 3
push edi
push edi
push edi
push edi
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebp
push 0x441e90
call fcn.00431284
pop ecx
pop ecx
mov esi, ebx
test ebx, ebx
jne 0x41dcfc
pop ebp
pop edi
pop esi
pop ebx
ret 4