joyce8/EMBER2024-capa huggingface dataset:
Function at 0x433f1d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
push eax
push 1
xor esi, esi
push esi
push str.SoftwarekingsoftOffice6.0CommonApplication_Settings
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x433f7f
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push esi
push esi
push str.oleForceShowSplash
push eax
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x433f75
xor ecx, ecx
cmp dword [ebp - 8], esi
setne cl
mov esi, ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x433ff9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515381
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
fld qword [0x5279c8]
xor ebx, ebx
mov dword [esi], vtable.KHostSplashShow.0
fstp qword [esi + 0x28]
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 4
mov dword [esi + 0x30], ebx
push ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, esi
mov dword [esi + 4], eax
call fcn.004167f1
test byte [0x567a50], 1
mov dword [ebp - 4], ebx
mov dword [esi], vtable.KWpsOfficeHostSplashShow.0
mov dword [esi + 0x50], ebx
jne 0x4340a9
or dword [0x567a50], 1
push 0x527a10
push str.KWpsOfficeHostSplashShow
mov ecx, 0x567a44
mov byte [ebp - 4], 1
call fcn.00416a83
mov byte [ebp - 4], bl
mov al, byte [0x55f474]
test al, al
je 0x4340e1
mov eax, dword [0x567a44]
mov ecx, 1
mov word [ebp - 0x18], cx
mov cx, word [0x567a46]
movzx edx, cx
mov word [ebp - 0x16], ax
movzx eax, ax
push edx
push eax
push 1
mov word [ebp - 0x14], cx
call fcn.0043d253
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [esi + 0x48], cl
mov dword [esi + 0x4c], ebx
cmp cl, bl
je 0x4340f6
mov edx, dword [eax + 8]
mov dword [esi + 0x4c], edx
xor ecx, ecx
cmp byte [eax + 1], bl
setne cl
mov dword [esi + 0x20], ecx
cmp dword [eax + 0x18c], ebx
jne 0x434119
cmp dword [eax + 0x154], ebx
jne 0x434119
cmp dword [eax + 0x140], ebx
je 0x43411c
mov dword [esi + 0x20], ebx
mov dl, byte [0x55f474]
test dl, dl
je 0x43413a
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x16]
mov edx, dword [ebp - 0x18]
push eax
push ecx
push edx
call fcn.0043d264
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x435862
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor ebx, ebx
push ebx
push str.d2d1.dll
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x435885
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push esi
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.004357f6
mov edi, dword [ebp - 0x18]
push edi
push esi
push ebx
push str.d2d1.dll
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4358f9
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x520f74
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4358f9
cmp dword [ebp - 4], ebx
je 0x4358f9
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + 8]
cmp eax, 0x60002
ja 0x4358e6
jne 0x4358e8
cmp dword [ecx + 0xc], 0x23f0406c
jb 0x4358e8
mov bl, 1
lea ecx, [ebp - 0x18]
call fcn.00429553
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, ebx
je 0x435906
push edi
call fcn.00404f7d
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4360f2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5158d6
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x81]
xor ebx, ebx
push edx
mov dword [ebp - 0x88], ecx
push 0x104
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x94], ebx
mov byte [ebp - 0x81], bl
call fcn.0043562e
mov esi, dword [ebp - 0x9c]
push 0x104
push esi
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, eax
cmp edi, 0x104
jbe 0x43619c
push edi
lea ecx, [ebp - 0x9c]
call fcn.004357f6
mov esi, dword [ebp - 0x9c]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov eax, esi
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4361b2
sub eax, edx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403e06
push 0x52ae34
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x80]
push ecx
mov byte [ebp - 4], 1
call fcn.00435fd3
mov edx, dword [ebp - 0x8c]
push edx
push eax
lea eax, [ebp - 0x48]
push eax
mov byte [ebp - 4], 2
call fcn.004360a8
push str..dll
push eax
lea ecx, [ebp - 0x64]
push ecx
mov byte [ebp - 4], 3
call fcn.004360a8
add esp, 0x24
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.0040bbd3
mov edi, 0x10
cmp dword [ebp - 0x50], edi
jb 0x436229
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404f7d
add esp, 4
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], bl
cmp dword [ebp - 0x34], edi
jb 0x436247
mov eax, dword [ebp - 0x48]
push eax
call fcn.00404f7d
add esp, 4
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
cmp dword [ebp - 0x6c], edi
jb 0x436265
mov ecx, dword [ebp - 0x80]
push ecx
call fcn.00404f7d
add esp, 4
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x436270
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
jne 0x4362aa
cmp dword [ebp - 0x18], edi
jb 0x43628c
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f7d
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp esi, ebx
je 0x4362a6
push esi
call fcn.00404f7d
add esp, 4
xor eax, eax
jmp 0x4362ef
mov ecx, dword [ebp - 0x88]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x18], edi
jb 0x4362cf
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f7d
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
cmp esi, ebx
je 0x4362e9
push esi
call fcn.00404f7d
add esp, 4
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x436b65
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515a5d
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push esi
xor eax, eax
mov edi, 7
push 0x523b80
lea ecx, [ebp - 0x84]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], esi
mov word [ebp - 0x84], ax
call fcn.0040392d
xor ecx, ecx
push 0x13
mov word [ebp - 0x2c], cx
push str.HardwareAccelerated
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
call fcn.0040392d
push 0x35
xor edx, edx
push str.SoftwarekingsoftOffice6.0wppApplication_Settings
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 1
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
call fcn.0040392d
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x64]
push 0x80000001
push eax
mov byte [ebp - 4], 2
call fcn.00410b67
add esp, 0x14
mov ebx, 8
cmp dword [ebp - 0x34], ebx
jb 0x436c2e
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.00404f7d
add esp, 4
xor edx, edx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], esi
mov word [ebp - 0x48], dx
cmp dword [ebp - 0x18], ebx
jb 0x436c4b
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00404f7d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], esi
mov word [ebp - 0x2c], cx
mov byte [ebp - 4], 6
cmp dword [ebp - 0x70], ebx
jb 0x436c6f
mov edx, dword [ebp - 0x84]
push edx
call fcn.00404f7d
add esp, 4
mov ecx, dword [ebp - 0x54]
push 0x10
push str.AccelerationNone
push ecx
xor eax, eax
push esi
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x74], esi
mov word [ebp - 0x84], ax
call fcn.00407955
test eax, eax
jne 0x436cab
cmp dword [ebp - 0x50], ebx
jb 0x436ca7
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404f7d
add esp, 4
xor al, al
jmp 0x436cdb
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push 0x436a84
push esi
push esi
mov dword [ebp - 0x68], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x50], ebx
jb 0x436cd9
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.00404f7d
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x43b4d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push ecx
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43b50b
mov eax, 0x80004005
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0x18]
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0
push ecx
push edx
mov dword [ebp - 8], 3
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 8], 3
je 0x43b547
mov eax, 0x80004005
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
push ecx
mov dword [esi], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43b55d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push 0
push 0x2001f
push 0
push 0
push 0
push edx
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43b59e
xor al, al
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 4]
push esi
push 4
lea ecx, [ebp + 0x14]
push ecx
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x43b78d
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x43b8a9
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x43b8a8
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
push ebx
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ebx, dword [ebp - 0x28]
test ebx, ebx
jne 0x43b7e2
mov ebx, 0x1000
mov dword [ebp - 0x28], ebx
mov edx, dword [ebp + 0x10]
lea ecx, [edi + esi - 1]
mov dword [ebp - 8], ecx
xor esi, esi
xor ecx, ecx
mov dword [ebp - 4], edi
test edx, edx
je 0x43b804
mov eax, dword [edx]
mov ecx, dword [eax]
cmp ecx, eax
jne 0x43b804
mov dword [ebp + 0x10], esi
mov edx, esi
cmp edi, dword [ebp - 8]
jae 0x43b89a
mov edi, ebx
test edx, edx
je 0x43b87c
mov eax, dword [ecx + 0xc]
cmp esi, eax
seta byte [ebp + 0xb]
cmp eax, esi
jae 0x43b835
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ecx]
cmp ecx, eax
sete dl
test dl, dl
jne 0x43b897
cmp dword [ecx + 0xc], esi
jb 0x43b825
cmp byte [ebp + 0xb], 0
je 0x43b860
mov eax, dword [ecx + 8]
lea edx, [esi + ebx]
cmp edx, eax
jae 0x43b860
sub eax, esi
xor edx, edx
div ebx
test eax, eax
jne 0x43b854
mov eax, 1
mov edx, dword [ebp + 0x10]
imul eax, ebx
mov edi, eax
add esi, edi
jmp 0x43b884
lea eax, [esi + ebx]
cmp eax, dword [ecx + 8]
jb 0x43b875
cmp esi, dword [ecx + 0xc]
ja 0x43b875
mov edx, dword [ebp - 4]
mov al, byte [edx]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp + 0x10]
add esi, edi
jmp 0x43b884
mov eax, dword [ebp - 4]
mov al, byte [eax]
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, edi
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 8]
jb 0x43b80d
jmp 0x43b89a
mov edx, dword [ebp + 0x10]
pop ebx
test edx, edx
je 0x43b8a3
cmp ecx, dword [edx]
je 0x43b8a8
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x43b909
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x516357
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ecx + 0x40]
lea edi, [ecx + 0x40]
test eax, eax
jne 0x43b95e
mov eax, dword [0x561290]
push eax
call fcn.0043b3e6
mov esi, eax
mov eax, dword [edi]
add esp, 4
cmp esi, eax
je 0x43b95e
push eax
mov ecx, edi
call fcn.0043b3fe
mov dword [edi], esi
cmp dword [edi], 0
je 0x43ba4f
push 0x14
call fcn.00403b92
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
xor eax, eax
push eax
mov dword [esi], eax
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push eax
mov dword [esi + 0xc], eax
push eax
mov dword [ebp - 4], 0
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x10], ebx
mov dword [esi + 8], ecx
cmp dword [edi], 0
mov byte [ebp - 4], 1
jne 0x43b9d3
mov edx, dword [0x561290]
push edx
call fcn.0043b3e6
mov ecx, dword [edi]
add esp, 4
mov dword [ebp + 0xc], eax
cmp eax, ecx
je 0x43b9d3
push ecx
mov ecx, edi
call fcn.0043b3fe
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov ecx, dword [ebp + 0x10]
mov edi, dword [edi]
push esi
push 0
push ecx
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43ba14
push edi
push str._ld_not_overlapped
call fcn.004172cb
add esp, 8
test ebx, ebx
je 0x43ba09
cmp ebx, 0xffffffff
je 0x43ba09
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00404f7d
add esp, 4
jmp 0x43ba8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x43ba65
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push 0x52b4a8
call fcn.004172cb
add esp, 0xc
test ebx, ebx
je 0x43ba46
cmp ebx, 0xffffffff
je 0x43ba46
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.00404f7d
add esp, 4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [ebp + 0xc], esi
mov esi, dword [ebp - 0x14]
lea edx, [ebp + 0xc]
xor edi, edi
push edx
lea ecx, [esi + 0x10]
mov dword [ebp - 0x10], edi
call fcn.00409767
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0x20]
mov dword [ebp - 0x18], edi
mov dword [ebp + 0xc], ebx
call fcn.00409767
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43cd65
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5164dc
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x34], eax
mov ax, word [0x561294]
cmp ax, 0xffff
je 0x43cdb2
xor ecx, ecx
cmp ax, 1
sete cl
mov eax, ecx
jmp 0x43cdce
push 0
push 0
push 6
call fcn.0043b41a
xor edx, edx
add esp, 0xc
test eax, eax
setne dl
mov word [0x561294], dx
xor edi, edi
cmp eax, edi
je 0x43cec9
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x30], edi
call fcn.0043cbbf
mov dword [ebp - 4], edi
cmp ebx, edi
jne 0x43ce49
mov edx, dword [ebp - 0x34]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, edx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], edi
lea esi, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x43ce05
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x2c]
call fcn.0040392d
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0043caf0
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0
jb 0x43ce74
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00404f7d
add esp, 4
jmp 0x43ce74
mov ecx, dword [ebx]
mov ebx, dword [ecx]
sub esp, 0xc
mov eax, esp
lea edx, [ebp - 0x30]
mov dword [eax], edx
lea esi, [ebp - 0x78]
mov dword [eax + 4], esi
push ecx
lea edi, [ebp - 0x34]
mov dword [eax + 8], edi
lea eax, [ebp - 0x84]
push ebx
push eax
call fcn.0043cc79
add esp, 0x18
lea ecx, [ebp - 0x78]
call fcn.0043bc09
lea ecx, [ebp - 0x58]
push ecx
mov esi, eax
call fcn.0043b632
mov ecx, dword [ebp - 0x30]
xor edx, edx
test al, al
setne dl
push edx
push esi
push ecx
push str.count:__ld__real:__ld__wait:__ld
call fcn.004172cb
mov ecx, dword [ebp - 0x30]
add esp, 0x14
test ecx, ecx
je 0x43ceb4
cmp esi, ecx
jne 0x43ceb4
test al, al
je 0x43ceb4
mov bl, 1
jmp 0x43ceb6
xor bl, bl
lea ecx, [ebp - 0x78]
mov dword [ebp - 4], 0xffffffff
call fcn.0043c71c
mov al, bl
jmp 0x43cf24
mov edx, dword [ebp - 0x34]
push 9
push edi
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
cmp esi, edi
jne 0x43cee0
xor al, al
jmp 0x43cf24
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x43cedc
mov eax, dword [esi + 0x3c]
add eax, esi
cmp dword [eax], 0x4550
jne 0x43cedc
mov edx, 0xe0
cmp word [eax + 0x14], dx
jne 0x43cedc
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x43cedc
mov edx, dword [eax + 0x50]
push ebx
push edx
push esi
call fcn.0043b78d
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
Function at 0x43d2d5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x14]
xor edx, edx
push 0x206
mov dword [ebp - 0x214], eax
push edx
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x210], 0
push eax
mov dword [ebp - 0x218], ecx
mov word [ebp - 0x20c], dx
call fcn.00402e70
mov ecx, 8
add esp, 0xc
mov dword [ebp - 0x210], 0x208
cmp dword [edi + 0x14], ecx
jb 0x43d346
mov eax, dword [edi]
jmp 0x43d348
mov eax, edi
cmp dword [ebx + 0x14], ecx
jb 0x43d34f
mov ebx, dword [ebx]
lea ecx, [ebp - 0x210]
push ecx
lea edx, [ebp - 0x20c]
push edx
xor edi, edi
push edi
push eax
mov eax, dword [ebp - 0x214]
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor ecx, ecx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
test eax, eax
je 0x43d3a6
mov edx, dword [ebp - 0x218]
push 0xffffffffffffffff
push edi
mov word [esi], cx
push edx
mov ecx, esi
call fcn.00404e84
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040330b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x210]
shr eax, 1
dec eax
push eax
lea edx, [ebp - 0x20c]
mov word [esi], cx
push edx
mov ecx, esi
call fcn.0040392d
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040330b
mov esp, ebp
pop ebp
ret

Function at 0x43e23a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push edx
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x43e270
xor al, al
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x14]
cmp ecx, 8
jb 0x43e27f
mov edx, dword [eax]
jmp 0x43e281
mov edx, eax
push esi
cmp ecx, 8
jb 0x43e28b
mov esi, dword [eax]
jmp 0x43e28d
mov esi, eax
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 4]
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
mov esp, ebp
pop ebp
ret