joyce8/EMBER2024-capa huggingface dataset:
Function at 0x432380
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x60f360
push 0x572790
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x623fe8]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, ecx
mov dword [ebp - 4], 0
mov edx, esi
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4323c1
sub edx, ecx
sar edx, 1
lea eax, [edx*2 + 2]
push eax
call fcn.005788c1
add esp, 4
mov edi, eax
mov dword [ebp - 0x24], edi
test edi, edi
je 0x432550
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4323f2
sub ecx, edx
sar ecx, 1
lea edx, [ecx + 1]
test edx, edx
je 0x43241a
cmp edx, 0x7fffffff
ja 0x43241a
push ecx
push esi
push ecx
mov ecx, edi
call fcn.00431660
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp word [edi], 0x5c
jne 0x432485
cmp word [edi + 2], 0x5c
jne 0x432485
lea esi, [edi + 2]
mov dword [ebp - 0x1c], esi
add esi, 2
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
nop
movzx eax, word [esi]
test ax, ax
je 0x432457
cmp eax, 0x5c
je 0x432457
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x432440
cmp word [esi], 0
je 0x432463
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x432477
cmp eax, 0x5c
je 0x432477
push esi
call ebx
mov esi, eax
jmp 0x432460
cmp word [esi], 0
je 0x4324b1
add esi, 2
mov dword [ebp - 0x1c], esi
jmp 0x4324b1
cmp word [edi + 2], 0x3a
jne 0x4324ab
lea esi, [edi + 2]
mov dword [ebp - 0x1c], esi
add esi, 2
mov dword [ebp - 0x1c], esi
movzx eax, word [esi]
test ax, ax
je 0x4324ab
cmp eax, 0x5c
jne 0x4324ab
add esi, 2
mov dword [ebp - 0x1c], esi
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
movzx eax, word [esi]
test ax, ax
je 0x432502
cmp eax, 0x5c
jne 0x4324f8
xor eax, eax
mov word [esi], ax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4324ec
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4324f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x4324f0
push edi
jmp 0x432548
test al, 0x10
je 0x4324e9
mov eax, 0x5c
mov word [esi], ax
push esi
call ebx
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x4324b1
mov dword [ebp - 4], 0xfffffffe
push edi
call fcn.00574bc7
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00574bc7
add esp, 4
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432570
Capabilities:
List tcp connections and listeners

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetExtendedTcpTable]
lea eax, [ebp - 8]
push 0
push 5
push 2
push 1
push eax
push 0
mov word [ebp - 2], cx
mov dword [ebp - 8], 0
call esi
cmp eax, 0x7a
je 0x4325a4
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push edi
push dword [ebp - 8]
call fcn.0043624a
mov edi, eax
add esp, 4
test edi, edi
je 0x4325d2
push 0
push 5
push 2
push 1
lea eax, [ebp - 8]
push eax
push edi
call esi
test eax, eax
je 0x4325da
push edi
call fcn.00436253
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
push ebx
cmp dword [edi], esi
jbe 0x4325fc
lea ebx, [edi + 0xc]
movzx eax, word [ebx]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp ax, word [ebp - 2]
je 0x43260e
inc esi
add ebx, 0x18
cmp esi, dword [edi]
jb 0x4325e4
push edi
call fcn.00436253
add esp, 4
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [esi + esi*2]
mov esi, dword [edi + eax*8 + 0x18]
push edi
call fcn.00436253
add esp, 4
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x432700
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x620
mov eax, dword [0x623fe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x414]
mov esi, ecx
push 0
push eax
call fcn.00571ca0
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00571ca0
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00571ca0
add esp, 0x24
lea eax, [ebp - 0x20c]
push 0x104
push eax
push 0xffffffffffffffff
push 0x634434
push 0
push 0x3a8
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
push 0
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0057a2ef
push 0x5f92d8
push 0x104
push esi
call fcn.00579e03
add esp, 0x20
lea eax, [ebp - 0x620]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x4327c5
push esi
push dword [ebp - 0x620]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0x5fce54
push 0x104
push esi
call fcn.005788cc
lea eax, [ebp - 0x414]
push eax
push 0x104
push esi
call fcn.005788cc
push 0x5fdfc8
push 0x104
push esi
call fcn.005788cc
mov ecx, dword [ebp - 4]
add esp, 0x24
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0056c3d1
mov esp, ebp
pop ebp
ret
Function at 0x432810
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x623fe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [ebp - 0x210]
push eax
push 0x5ebb68
push 1
push 0
push 0x5ebe88
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x4328e2
mov eax, dword [ebp - 0x210]
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x210]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x210]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov eax, dword [ebp - 0x210]
lea edx, [ebp - 0x214]
push edx
push 0x5ebe38
push eax
mov ecx, dword [eax]
call dword [ecx]
mov esi, eax
test esi, esi
js 0x4328d6
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00579e03
mov eax, dword [ebp - 0x214]
lea edx, [ebp - 0x20c]
add esp, 0xc
mov ecx, dword [eax]
push 1
push edx
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056c3d1
mov esp, ebp
pop ebp
ret
Function at 0x4336c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov esi, edx
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5fc94c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x43372b
mov edx, dword [ebp + 8]
mov ecx, edx
push edi
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4336f7
sub ecx, edi
sar ecx, 1
lea eax, [ecx*2 + 2]
push eax
push edx
push 1
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
push dword [ebp - 4]
test eax, eax
je 0x433732
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433790
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 0
push eax
push fcn.00433790
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 2
push 0x5fdfe0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4337ca
pop esi
mov esp, ebp
pop ebp
ret
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [ebp - 4]
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4337ee
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x433803
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [ebp - 8]
call fcn.005788c1
push dword [ebp - 8]
mov esi, eax
push ebx
push esi
call fcn.005721d0
lea ebx, [esi + 0x8bfe]
add esp, 0x10
xor esi, esi
test dword [0x6344f8], 0xfffffff8
jbe 0x43386b
nop
mov eax, 0x2040811
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 6
imul eax, eax, 0x7f
sub ecx, eax
mov eax, dword [ecx*8 + 0x634500]
sub dword [ebx + esi*8], eax
mov eax, dword [ecx*8 + 0x634504]
sbb dword [ebx + esi*8 + 4], eax
inc esi
mov eax, dword [0x6344f8]
shr eax, 3
cmp esi, eax
jl 0x433830
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov esi, dword [ebp + 8]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x433958
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push dword [ebp - 0x14]
call fcn.005788c1
add esp, 4
mov dword [ebp - 8], eax
lea ecx, [ebp - 0xc]
push 0
push ecx
push dword [ebp - 0x14]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x6344f8]
mov ecx, dword [ebp - 0x14]
cmp ecx, edx
jne 0x43392f
cmp dword [ebp - 0x10], 0
jne 0x43392f
mov esi, dword [ebp - 8]
mov edi, ebx
sub ecx, 4
jb 0x4338f8
mov eax, dword [esi]
cmp eax, dword [edi]
jne 0x4338fd
add esi, 4
add edi, 4
sub ecx, 4
jae 0x4338e7
cmp ecx, 0xfffffffc
je 0x43393c
mov al, byte [esi]
cmp al, byte [edi]
jne 0x43392a
cmp ecx, 0xfffffffd
je 0x43393c
mov al, byte [esi + 1]
cmp al, byte [edi + 1]
jne 0x43392a
cmp ecx, 0xfffffffe
je 0x43393c
mov al, byte [esi + 2]
cmp al, byte [edi + 2]
jne 0x43392a
cmp ecx, 0xffffffff
je 0x43393c
mov al, byte [esi + 3]
cmp al, byte [edi + 3]
je 0x43393c
mov ecx, dword [ebp + 8]
jmp 0x433931
mov ecx, esi
push edx
mov edx, ebx
call fcn.004321c0
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x43396a
push eax
call fcn.00574bc7
add esp, 4
mov eax, 1
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push dword [0x6344f8]
mov edx, ebx
mov ecx, esi
call fcn.004321c0
add esp, 4
pop ebx
pop edi
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x433980
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0bb0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x623fe8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
push fcn.00433980
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x634d0c]
mov edx, dword [ecx]
mov dword [ecx], eax
cmp edx, dword [0x634d0c]
jb 0x433ab8
push 2
push 0x5fdfec
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x433ab8
push esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [ebp - 0x14]
mov ebx, eax
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x433ab8
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x433ab8
push ebx
call fcn.0043624a
add esp, 4
mov ebx, eax
push dword [ebp + 0xc]
push esi
push ebx
call fcn.005721d0
mov ecx, dword [0x634d0c]
lea edx, [ebx + 0x8bfe]
add esp, 0xc
xor esi, esi
test ecx, 0xfffffff8
jbe 0x433a9b
mov eax, 0x2040811
mov ecx, esi
mul esi
mov eax, esi
sub eax, edx
shr eax, 1
add eax, edx
lea edx, [ebx + 0x8bfe]
shr eax, 6
imul eax, eax, 0x7f
sub ecx, eax
mov eax, dword [ecx*8 + 0x634500]
sub dword [edx + esi*8], eax
mov eax, dword [ecx*8 + 0x634504]
sbb dword [edx + esi*8 + 4], eax
inc esi
mov ecx, dword [0x634d0c]
mov eax, ecx
shr eax, 3
cmp esi, eax
jl 0x433a57
push ecx
push edx
push dword [ebp + 8]
call fcn.005721d0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push ebx
call fcn.00436253
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x433ae0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
lea eax, [ebp - 4]
push eax
push fcn.00433ae0
push 4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleExW]
push 2
push 0x5fe034
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x433b13
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [ebp - 4]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
test eax, eax
jne 0x433b37
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x433b4c
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push ebx
call fcn.005788c1
push ebx
mov esi, eax
push edi
push esi
call fcn.005721d0
add esi, 0x8bfe
mov ecx, 0x38a
mov edi, 0x633ef0
add esp, 0x10
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
mov ecx, 0x634308
nop dword [eax + eax]
mov eax, 0x2040811
lea edi, [ebx + 2]
mul ebx
mov eax, ebx
lea esi, [edi - 1]
sub eax, edx
shr eax, 1
add eax, edx
mov edx, ebx
shr eax, 6
imul eax, eax, 0x7f
sub edx, eax
mov eax, dword [edx*8 + 0x633ef0]
sub dword [ecx - 0x18], eax
mov eax, dword [edx*8 + 0x633ef4]
sbb dword [ecx - 0x14], eax
mov eax, 0x2040811
mul esi
sub esi, edx
shr esi, 1
add esi, edx
mov edx, ebx
shr esi, 6
imul eax, esi, 0x7f
lea esi, [edi + 1]
sub edx, eax
mov eax, dword [edx*8 + 0x633ef8]
sub dword [ecx - 0x10], eax
mov eax, dword [edx*8 + 0x633efc]
sbb dword [ecx - 0xc], eax
mov eax, 0x2040811
mul edi
mov eax, edi
sub eax, edx
shr eax, 1
add eax, edx
mov edx, ebx
shr eax, 6
imul eax, eax, 0x7f
sub edx, eax
mov eax, dword [edx*8 + 0x633f00]
sub dword [ecx - 8], eax
mov eax, dword [edx*8 + 0x633f04]
sbb dword [ecx - 4], eax
mov eax, 0x2040811
mul esi
sub esi, edx
shr esi, 1
add esi, edx
mov edx, ebx
shr esi, 6
imul eax, esi, 0x7f
lea esi, [edi + 2]
sub edx, eax
mov eax, dword [edx*8 + 0x633f08]
sub dword [ecx], eax
mov eax, dword [edx*8 + 0x633f0c]
sbb dword [ecx + 4], eax
mov eax, 0x2040811
mul esi
sub esi, edx
shr esi, 1
add esi, edx
mov edx, ebx
shr esi, 6
imul eax, esi, 0x7f
sub edx, eax
mov eax, dword [edx*8 + 0x633f10]
sub dword [ecx + 8], eax
mov eax, dword [edx*8 + 0x633f14]
sbb dword [ecx + 0xc], eax
add ecx, 0x28
add ebx, 5
cmp ecx, 0x634d30
jl 0x433b80
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop ebx
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x434010
Capabilities:
Check if file exists
Delete file
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x623fe8]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00571ca0
add esp, 0xc
mov dword [ebp - 0x214], 0x208
lea eax, [ebp - 0x210]
push eax
push 0x20019
push 0
push 0x5fc94c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43414b
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push 0x5fc93c
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4340ac
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056c3d1
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push edi
push dword [ebp - 0x210]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor esi, esi
nop word [eax + eax]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4340fa
push 0x64
call edi
inc esi
cmp esi, 0x1e
jl 0x4340d0
jmp 0x434110
push 0
lea eax, [ebp - 0x20c]
push eax
push 0x1005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea eax, [ebp - 0x210]
push eax
push 2
push 0
push 0x5fc94c
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x434148
push 0x5fc93c
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x210]
call ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0056c3d1
mov esp, ebp
pop ebp
ret
Function at 0x434160
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x623fe8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x208
lea eax, [ebp - 0x20c]
mov esi, ecx
push 0
push eax
call fcn.00571ca0
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.00571ca0
push 0x208
lea eax, [ebp - 0x61c]
push 0
push eax
call fcn.00571ca0
push 0
push 0
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push eax
push esi
call fcn.0057a2ef
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00579e03
add esp, 0x44
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005788cc
push 0x5fe098
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005788cc
mov esi, dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
lea eax, [ebp - 0x20c]
add esp, 0x18
push eax
call esi
test eax, eax
jne 0x434237
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056c3d1
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00579e03
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005788cc
push 0x5fe044
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005788cc
add esp, 0x24
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x434226
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00579e03
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005788cc
push 0x5fe04c
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005788cc
add esp, 0x24
lea eax, [ebp - 0x20c]
push eax
call esi
test eax, eax
je 0x434226
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00579e03
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005788cc
push 0x5fe0b8
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005788cc
add esp, 0x24
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0056c3d1
mov esp, ebp
pop ebp
ret
Function at 0x434760
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
sub ecx, edx
cmp ecx, 4
ja 0x43477c
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
movsx eax, byte [edx + 2]
push ebx
movzx ebx, al
movsx eax, byte [edx + 3]
shl eax, 8
or ebx, eax
movsx eax, byte [edx + 1]
movzx eax, al
shl ebx, 8
or ebx, eax
movsx eax, byte [edx]
movzx eax, al
shl ebx, 8
push edi
or ebx, eax
xor edi, edi
lea eax, [ecx - 4]
push eax
lea ecx, [ebp - 0xc]
call fcn.00435630
mov eax, dword [esi + 4]
lea ecx, [edi + 4]
sub eax, dword [esi]
cmp eax, ecx
jbe 0x4347dc
mov edx, dword [ebp - 0xc]
mov eax, dword [esi]
mov al, byte [eax + ecx]
xor al, 0xb8
mov byte [edx + ecx - 4], al
inc ecx
movzx eax, al
xor edi, eax
mov eax, dword [esi + 4]
sub eax, dword [esi]
cmp ecx, eax
jb 0x4347c2
cmp edi, ebx
je 0x4347f3
lea ecx, [ebp - 0xc]
xor bl, bl
call fcn.004115e0
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
cmp esi, eax
je 0x434827
mov ecx, esi
call fcn.004115e0
mov eax, dword [ebp - 0xc]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xc]
mov bl, 1
call fcn.004115e0
pop edi
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x439975
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00446293
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4399ac
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004399cd
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x43d61d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x43d662
call fcn.00446293
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x43d662
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x43d67e
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0044ca98
mov ebx, eax
test edi, edi
je 0x43d67c
test esi, esi
je 0x43d67c
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43e08a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x43e148
cmp dword [esi + 0x20], 0
je 0x43e148
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43e148
cmp dword [ebp + 8], 0
je 0x43e148
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00446293
push 0x5c2ab0
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x43e119
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x43e148
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.0044fa1f
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x43e139
test edi, edi
je 0x43e139
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x43e144
mov ecx, esi
call fcn.0043de2d
mov eax, ebx
jmp 0x43e14a
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4