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

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x2000
push edi
call fcn.00437c5b
push str.447371b58031146511a
mov esi, eax
mov dword [esp + 0x14], edi
call fcn.00437e92
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 8
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0
push str.b50b9357d42b347309ad0ca1cd3
push 0x80000004
call ebx
cmp eax, 0xea
jne 0x430218
add edi, 0x1000
push edi
push esi
call fcn.00438068
add esp, 8
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
push esi
push 0
push 0
push str.b3f3109b0d4d9999be7
push 0x80000004
mov dword [esp + 0x24], edi
call ebx
cmp eax, 0xea
je 0x4301e5
test eax, eax
jne 0x43022f
push edi
push str.9ae9862de85ba3c362151265_d
call fcn.00437e92
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
push eax
push str.cad11a05b90728959d0b7ba51b__d_
call fcn.00437e92
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4302c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x270
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x268], eax
push esi
push 0x103
lea eax, [esp + 0x165]
push 0
push eax
mov byte [esp + 0x16c], 0
call fcn.0043e780
add esp, 0xc
xor esi, esi
call fcn.00437f69
cdq
mov ecx, 0xf
idiv ecx
inc esi
sub dl, 0x14
cmp esi, 0x19
mov byte [esp + esi + 0x15f], dl
jl 0x4302f6
xor eax, eax
lea edx, [esp + 0x160]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x430377
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x430377
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
mov dword [esp + 8], edx
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [esp + 0x26c]
pop esi
xor ecx, esp
call fcn.00437983
add esp, 0x270
ret

Function at 0x430400
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x68
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x64], eax
lea eax, [esp]
push eax
push 0x52
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x43047e
cmp eax, 0x10
jbe 0x430440
push eax
push str.f67b3541190bce394a614ab793a
call fcn.00437e92
add esp, 8
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00437983
add esp, 0x68
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.4341b0079747d239632b2f61007353
call esi
test eax, eax
jne 0x430476
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetCurrentDirectory_failed___d_
call fcn.00437e92
add esp, 8
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00437983
add esp, 0x68
ret
lea ecx, [esp + 4]
push ecx
call esi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00437983
add esp, 0x68
ret
Function at 0x430490
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x254
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
push 0
push str.f329d9cdd0635afba683ded5c
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x430537
lea eax, [esp + 0x10]
push eax
push str..txt
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x430537
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
lea ecx, [esp + 0x154]
push ecx
lea edx, [esp + 0x44]
push edx
call ebp
test eax, eax
je 0x430550
lea eax, [esp + 0x3c]
push eax
call esi
cmp eax, 0xffffffff
je 0x430537
test al, 1
jne 0x430515
or eax, 1
push eax
lea ecx, [esp + 0x154]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4304e2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x430537
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00437983
add esp, 0x254
ret
push str.7eb7e6f9b037e0d772c376ff4c2
call fcn.00437e92
add esp, 4
jmp 0x430537

Function at 0x430640
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x270
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x268], eax
push esi
push 0x103
lea eax, [esp + 0x165]
push 0
push eax
mov byte [esp + 0x16c], 0
call fcn.0043e780
add esp, 0xc
xor esi, esi
call fcn.00437f69
cdq
mov ecx, 0x11
idiv ecx
inc esi
sub dl, 0x74
cmp esi, 0x19
mov byte [esp + esi + 0x15f], dl
jl 0x430676
xor eax, eax
lea edx, [esp + 0x160]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4306f7
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4306f7
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
mov dword [esp + 8], edx
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [esp + 0x26c]
pop esi
xor ecx, esp
call fcn.00437983
add esp, 0x270
ret
Function at 0x430710
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x254
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
push 0
push str.1169872b2045923b7f757dcf0283ff8
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4307b7
lea eax, [esp + 0x10]
push eax
push str..txt
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4307b7
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
lea ecx, [esp + 0x154]
push ecx
lea edx, [esp + 0x44]
push edx
call ebp
test eax, eax
je 0x4307d0
lea eax, [esp + 0x3c]
push eax
call esi
cmp eax, 0xffffffff
je 0x4307b7
test al, 1
jne 0x430795
or eax, 1
push eax
lea ecx, [esp + 0x154]
push ecx
call edi
lea edx, [esp + 0x10]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x430762
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4307b7
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00437983
add esp, 0x254
ret
push str.475741f1828dbad9017b4563
call fcn.00437e92
add esp, 4
jmp 0x4307b7

Function at 0x430850
Capabilities:
Access peb ldr_data
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44cdf2
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [0x45f2b0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov eax, 0xf
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
mov dword [esp + 0x14], ebx
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0x50], eax
mov dword [esi + 0x4c], ebx
mov byte [esi + 0x3c], bl
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ebx
mov byte [esi + 0x58], bl
mov dword [esi + 0x88], eax
mov dword [esi + 0x84], ebx
mov byte [esi + 0x74], bl
lea eax, [esi + 0x90]
push eax
mov byte [esp + 0x18], 4
call fcn.0040f9c0
mov byte [esp + 0x14], 5
push ebx
mov dword [esi + 0xac], ebx
mov dword [esi + 0xa8], ebx
call fcn.00439283
add esp, 4
push esi
mov dword [esi + 0xb0], ebx
call fcn.00432b90
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 2
je 0x430900
sub eax, 2
je 0x430900
sub eax, 4
jne 0x43090c
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, 1
mov eax, 0x86408967
imul ebx
add edx, ebx
sar edx, 0xe
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cmp ecx, 0x7a0a
jle 0x43093c
push 0x7a0a
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.00419f60
call fcn.0042f9b0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret 4
Function at 0x430aa0
Capabilities:
Parse url

Disassembly:
push 0xffffffffffffffff
push 0x44baa8
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x45f2b0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push 0x3c
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x5c], 0
call fcn.0043e780
mov eax, 0x2800
mov edi, pe_nt_image_headers32
add esp, 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xc], 0x3c
cmp dword [esp + 0x70], edi
jae 0x430b12
lea eax, [esp + 0x5c]
mov edx, dword [esp + 0x6c]
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
test eax, eax
jne 0x430b5b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0x70], edi
jb 0x430b42
mov eax, dword [esp + 0x5c]
push eax
call fcn.00437f8b
add esp, 4
mov eax, 0x80004005
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x48
ret 0x1c
cmp dword [esp + 0x20], 0
jne 0x430b8e
cmp dword [esp + 0x70], edi
jb 0x430b42
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.00437f8b
add esp, 4
mov eax, 0x80004005
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x48
ret 0x1c
mov ebx, dword [esp + 0x14]
test ebx, ebx
jne 0x430bc2
cmp dword [esp + 0x70], edi
jb 0x430b42
mov edx, dword [esp + 0x5c]
push edx
call fcn.00437f8b
add esp, 4
mov eax, 0x80004005
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x48
ret 0x1c
mov dx, word [esp + 0x24]
test dx, dx
jne 0x430bee
lea ecx, [esp + 0x58]
call fcn.00402ba0
mov eax, 0x80004005
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x48
ret 0x1c
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x430bcc
mov eax, ecx
sub eax, 1
je 0x430c13
sub eax, 2
je 0x430c07
sub eax, 1
jne 0x430bcc
mov dword [esi + 0x94], 3
jmp 0x430c1d
mov dword [esi + 0x94], 1
mov eax, dword [esp + 0x10]
push ebx
mov dword [esi + 0x1c], ecx
push eax
mov ecx, esi
mov word [esi + 0x3c], dx
call fcn.00403090
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
push edx
lea ecx, [esi + 0x20]
call fcn.00403090
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push eax
push ecx
lea ecx, [esi + 0x40]
call fcn.00403090
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edx
push eax
lea ecx, [esi + 0x5c]
call fcn.00403090
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
push ecx
push edx
lea ecx, [esi + 0x78]
call fcn.00403090
lea ecx, [esp + 0x58]
call fcn.00402ba0
xor eax, eax
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x48
ret 0x1c
Function at 0x432130
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x44c268
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 8], eax
push ebx
push ebp
push edi
mov eax, dword [0x45f2b0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x24], ebx
cmp dword [esi + 0xc4], ebx
jne 0x43218d
cmp dword [esp + 0x44], 0x10
jb 0x432183
mov eax, dword [esp + 0x30]
push eax
call fcn.00437f8b
add esp, 4
mov eax, 0x80004005
jmp 0x432279
mov eax, dword [esp + 0x30]
mov edi, pe_nt_image_headers32
cmp dword [esp + 0x44], edi
jae 0x4321a0
lea eax, [esp + 0x30]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4321da
cmp dword [esp + 0x44], edi
jb 0x432183
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00437f8b
add esp, 4
mov eax, 0x80004005
jmp 0x432279
mov ecx, dword [esi + 0x84]
mov dword [esp + 0x14], ebx
cmp dword [esi + 0x88], edi
jb 0x4321f1
mov eax, dword [esi + 0x74]
jmp 0x4321f4
lea eax, [esi + 0x74]
push ebx
lea edx, [esp + 0x18]
push edx
push ecx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
call fcn.0042f950
sub eax, 1
jne 0x432219
call fcn.00419f60
call fcn.0042fd40
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push 0
shr edi, 0x18
call fcn.00439283
imul eax, eax, 0x63
add esp, 4
cmp edi, eax
jbe 0x432243
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoA]
test ebx, ebx
je 0x43216f
mov ecx, dword [esp + 0x14]
cmp ecx, dword [esi + 0x84]
je 0x432267
lea ecx, [esp + 0x2c]
call fcn.00402ba0
mov eax, 0x80004005
jmp 0x432279
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x2c]
call fcn.00402ba0
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.00437983
add esp, 0x18
ret 0x1c

Function at 0x4322a0
Capabilities:
Set uefi variable

Disassembly:
push 0xffffffffffffffff
push 0x44cc58
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x45f2b0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x18]
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [eax + 0x54]
mov dword [esp + 0x1c], 0
call fcn.00402d10
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0
shr esi, 0x18
call fcn.00439283
imul eax, eax, 0x63
add esp, 4
cmp esi, eax
jbe 0x43230d
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableA]
call fcn.0042fdf0
cmp dword [esp + 0x34], 0x10
jb 0x432321
mov edx, dword [esp + 0x20]
push edx
call fcn.00437f8b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 0x20
Function at 0x4336a0
Capabilities:
Set uefi variable

Disassembly:
push 0xffffffffffffffff
push 0x44c0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45f2b0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x1c], eax
xor ebp, ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
mov byte [esp + 0x4c], 1
cmp dword [esp + 0x68], ebp
jbe 0x4337c8
mov ebx, dword [sym.imp.KERNEL32.dll_SetFirmwareEnvironmentVariableA]
mov byte [esp + 0x1b], 0
jmp 0x433710
mov esi, ebp
lea eax, [esp + 0x1b]
and esi, 3
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x433720
sub eax, edx
je 0x433730
call fcn.00430640
cmp dword [esp + 0x68], ebp
ja 0x43373b
call fcn.00436f51
cmp dword [esp + 0x6c], 0x10
mov eax, dword [esp + 0x58]
jae 0x43374a
lea eax, [esp + 0x58]
mov edx, dword [esp + 0x70]
lea ecx, [esi*8]
shr edx, cl
lea edi, [esp + 0x24]
xor dl, byte [eax + ebp]
movzx eax, dl
push eax
mov eax, 1
call fcn.00412ba0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 2
je 0x433781
sub eax, 2
je 0x433781
sub eax, 4
jne 0x4337bb
push 0
push 0
push 0
push 0
call ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call dword [sym.imp.USER32.dll_GetActiveWindow]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
call dword [sym.imp.USER32.dll_GetFocus]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
inc ebp
cmp ebp, dword [esp + 0x68]
jb 0x433710
xor ebp, ebp
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x28]
call fcn.00402d10
mov esi, pe_nt_image_headers32
cmp dword [esp + 0x3c], esi
jb 0x4337f1
mov edx, dword [esp + 0x28]
push edx
call fcn.00437f8b
add esp, 4
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], ebp
mov byte [esp + 0x28], 0
cmp dword [esp + 0x6c], esi
jb 0x433815
mov eax, dword [esp + 0x58]
push eax
call fcn.00437f8b
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.00437983
add esp, 0x3c
ret 0x24
Function at 0x4351a0
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x68
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x64], eax
lea eax, [esp]
push eax
push 0x66
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x435220
cmp eax, 0xe2
jbe 0x4351e2
push eax
push str.1d6b483f0b09b03551ed2b
call fcn.00437e92
add esp, 8
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00437983
add esp, 0x68
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.0095169d79591607573b9c3f48
call esi
test eax, eax
jne 0x435218
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetCurrentDirectory_failed___d_
call fcn.00437e92
add esp, 8
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00437983
add esp, 0x68
ret
lea ecx, [esp + 4]
push ecx
call esi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00437983
add esp, 0x68
ret

Function at 0x435230
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0x20
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4352b7
push esi
push edi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x435280
sub ecx, edi
push ecx
push eax
lea ecx, [esp + 0x10]
call fcn.00403090
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [esp + 0x20], 0x10
pop edi
pop esi
jb 0x4352b7
mov eax, dword [esp + 4]
push eax
call fcn.00437f8b
add esp, 4
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.00437983
add esp, 0x20
ret

Function at 0x4352d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x270
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x268], eax
push esi
push 0x103
lea eax, [esp + 0x165]
push 0
push eax
mov byte [esp + 0x16c], 0
call fcn.0043e780
add esp, 0xc
xor esi, esi
call fcn.00437f69
cdq
mov ecx, 0xe3
idiv ecx
inc esi
sub dl, 0x74
cmp esi, 0x19
mov byte [esp + esi + 0x15f], dl
jl 0x435306
xor eax, eax
lea edx, [esp + 0x160]
push edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x435387
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x435387
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x10]
mov dword [esp + 8], edx
push ecx
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov ecx, dword [esp + 0x26c]
pop esi
xor ecx, esp
call fcn.00437983
add esp, 0x270
ret
Function at 0x4353a0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x254
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x24c], eax
push esi
push edi
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4353f4
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 8]
push edx
push esi
call edi
test eax, eax
jne 0x4353d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4353f4
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x254]
pop edi
pop esi
xor ecx, esp
call fcn.00437983
add esp, 0x254
ret

Function at 0x435410
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x68
mov eax, dword [0x45f2b0]
xor eax, esp
mov dword [esp + 0x64], eax
lea eax, [esp]
push eax
push 0xc8
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x435493
cmp eax, 0xa1
jbe 0x435455
push eax
push str.26cf52ad366312b32f516
call fcn.00437e92
add esp, 8
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00437983
add esp, 0x68
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.021943cfaafd69e563b51713cd6da
call esi
test eax, eax
jne 0x43548b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetCurrentDirectory_failed___d_
call fcn.00437e92
add esp, 8
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00437983
add esp, 0x68
ret
lea ecx, [esp + 4]
push ecx
call esi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00437983
add esp, 0x68
ret

Function at 0x4354b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x2000
push edi
call fcn.00437c5b
push str.761117f94175043d378bf
mov esi, eax
mov dword [esp + 0x14], edi
call fcn.00437e92
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
add esp, 8
lea eax, [esp + 0xc]
push eax
push esi
push 0
push 0
push str.f4c3083db0916833a4d5e43b668
push 0x80000004
call ebx
cmp eax, 0xea
jne 0x435528
add edi, 0x1000
push edi
push esi
call fcn.00438068
add esp, 8
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
push esi
push 0
push 0
push str.237d66254289f1a303572d93dbbd
push 0x80000004
mov dword [esp + 0x24], edi
call ebx
cmp eax, 0xea
je 0x4354f5
test eax, eax
jne 0x43553f
push edi
push str.f3510ec956798979c9_d
call fcn.00437e92
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
push eax
push str.1dcfa30133db23dde0812771f__d_
call fcn.00437e92
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret