joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435810
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x4c
mov eax, dword [0x4612b0]
xor eax, esp
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea edx, [esp]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
call fcn.004393a7
call fcn.004393a7
call fcn.004393a7
lea eax, [esp]
push eax
call dword [sym.imp.USER32.dll_GetCaretPos]
lea ecx, [esp + 0x24]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.00438dc1
add esp, 0x4c
ret

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

Disassembly:
sub esp, 0x270
mov eax, dword [0x4612b0]
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.0043fbd0
add esp, 0xc
xor esi, esi
call fcn.004393a7
cdq
mov ecx, 0xb9
idiv ecx
inc esi
add dl, 0x57
cmp esi, 0x19
mov byte [esp + esi + 0x15f], dl
jl 0x4358b6
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 0x435937
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x435937
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.00438dc1
add esp, 0x270
ret

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

Disassembly:
sub esp, 0x270
mov eax, dword [0x4612b0]
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.0043fbd0
add esp, 0xc
xor esi, esi
call fcn.004393a7
cdq
mov ecx, 0xc3
idiv ecx
inc esi
sub dl, 7
cmp esi, 0x19
mov byte [esp + esi + 0x15f], dl
jl 0x435986
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 0x435a07
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x435a07
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.00438dc1
add esp, 0x270
ret
Function at 0x435a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x2000
push edi
call fcn.00439099
push str.807371759ef5b2414ce187cb9d8
mov esi, eax
mov dword [esp + 0x14], edi
call fcn.004392d0
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.b4354af5de81905b59b573cf0a6541
push 0x80000004
call ebx
cmp eax, 0xea
jne 0x435a98
add edi, 0x1000
push edi
push esi
call fcn.004394a6
add esp, 8
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
push esi
push 0
push 0
push str.dc37e27b968fe48fff4156f1b6f
push 0x80000004
mov dword [esp + 0x24], edi
call ebx
cmp eax, 0xea
je 0x435a65
test eax, eax
jne 0x435aaf
push edi
push str.e3ef5557bfc903d7ef59c_d
call fcn.004392d0
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
push eax
push str.a809f5171d61317d9c1d__d_
call fcn.004392d0
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret

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

Disassembly:
sub esp, 0x270
mov eax, dword [0x4612b0]
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.0043fbd0
add esp, 0xc
xor esi, esi
call fcn.004393a7
cdq
mov ecx, 0xba
idiv ecx
inc esi
add dl, 0x57
cmp esi, 0x19
mov byte [esp + esi + 0x15f], dl
jl 0x435b06
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 0x435b87
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x435b87
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.00438dc1
add esp, 0x270
ret
Function at 0x435ba0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x270
mov eax, dword [0x4612b0]
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.0043fbd0
add esp, 0xc
xor esi, esi
call fcn.004393a7
cdq
mov ecx, 0x44
idiv ecx
inc esi
add dl, 9
cmp esi, 0x19
mov byte [esp + esi + 0x15f], dl
jl 0x435bd6
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 0x435c57
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x435c57
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.00438dc1
add esp, 0x270
ret

Function at 0x435c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x2000
push edi
call fcn.00439099
push str.74d1336de0b1a77dc9
mov esi, eax
mov dword [esp + 0x14], edi
call fcn.004392d0
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.ddcb1937e6c7a2059a67
push 0x80000004
call ebx
cmp eax, 0xea
jne 0x435ce8
add edi, 0x1000
push edi
push esi
call fcn.004394a6
add esp, 8
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
push esi
push 0
push 0
push str.2dc516af8733d3453
push 0x80000004
mov dword [esp + 0x24], edi
call ebx
cmp eax, 0xea
je 0x435cb5
test eax, eax
jne 0x435cff
push edi
push str.5dcfd8efd38116d7cf074dc3_d
call fcn.004392d0
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
push eax
push str.868192ff20bff523b8e9fd23__d_
call fcn.004392d0
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x435d20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x270
mov eax, dword [0x4612b0]
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.0043fbd0
add esp, 0xc
xor esi, esi
call fcn.004393a7
cdq
mov ecx, 0x9d
idiv ecx
inc esi
add dl, 0x4d
cmp esi, 0x19
mov byte [esp + esi + 0x15f], dl
jl 0x435d56
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 0x435dd7
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x435dd7
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.00438dc1
add esp, 0x270
ret

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

Disassembly:
sub esp, 0x270
mov eax, dword [0x4612b0]
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.0043fbd0
add esp, 0xc
xor esi, esi
call fcn.004393a7
cdq
mov ecx, 0x4a
idiv ecx
inc esi
add dl, 0x75
cmp esi, 0x19
mov byte [esp + esi + 0x15f], dl
jl 0x435e26
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 0x435ea7
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x435ea7
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.00438dc1
add esp, 0x270
ret
Function at 0x435f30
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x2000
push edi
call fcn.00439099
push str.9ba372572159a6e55ae7
mov esi, eax
mov dword [esp + 0x14], edi
call fcn.004392d0
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.b5e528ebda951d3f66a38
push 0x80000004
call ebx
cmp eax, 0xea
jne 0x435fa8
add edi, 0x1000
push edi
push esi
call fcn.004394a6
add esp, 8
lea ecx, [esp + 0xc]
push ecx
mov esi, eax
push esi
push 0
push 0
push str.98dbe9256b8bce779baf
push 0x80000004
mov dword [esp + 0x24], edi
call ebx
cmp eax, 0xea
je 0x435f75
test eax, eax
jne 0x435fbf
push edi
push str.97bf9e6363191aefb1e3c0836_d
call fcn.004392d0
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret
push eax
push str.de6ff0e7a0b1482368399413__d_
call fcn.004392d0
add esp, 8
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x435fe0
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 [0x4612b0]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
push 0
push str.7df7cc79be4142615573ba41bca98
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x436087
lea eax, [esp + 0x10]
push eax
push str..txt
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x436087
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 0x4360a0
lea eax, [esp + 0x3c]
push eax
call esi
cmp eax, 0xffffffff
je 0x436087
test al, 1
jne 0x436065
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 0x436032
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x436087
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.00438dc1
add esp, 0x254
ret
push str.8af33e4774d577e7315118959
call fcn.004392d0
add esp, 4
jmp 0x436087
Function at 0x4360b0
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 [0x4612b0]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
push 0
push str.6dffd60956cb924b6d
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x436157
lea eax, [esp + 0x10]
push eax
push str..txt
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x436157
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 0x436170
lea eax, [esp + 0x3c]
push eax
call esi
cmp eax, 0xffffffff
je 0x436157
test al, 1
jne 0x436135
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 0x436102
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x436157
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.00438dc1
add esp, 0x254
ret
push str.4003007ffb0fab31
call fcn.004392d0
add esp, 4
jmp 0x436157

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

Disassembly:
sub esp, 0x68
mov eax, dword [0x4612b0]
xor eax, esp
mov dword [esp + 0x64], eax
lea eax, [esp]
push eax
push 0x73
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x4361fe
cmp eax, 0x12
jbe 0x4361c0
push eax
push str.e73b67abd583786b1cc111797381
call fcn.004392d0
add esp, 8
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00438dc1
add esp, 0x68
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.bc4f970b6cd1ae7541ff19e1871
call esi
test eax, eax
jne 0x4361f6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetCurrentDirectory_failed___d_
call fcn.004392d0
add esp, 8
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00438dc1
add esp, 0x68
ret
lea ecx, [esp + 4]
push ecx
call esi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00438dc1
add esp, 0x68
ret
Function at 0x4362d0
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 [0x4612b0]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
push 0
push str.c76d80119f83a66f1dd35f913d7
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x436377
lea eax, [esp + 0x10]
push eax
push str..txt
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x436377
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 0x436390
lea eax, [esp + 0x3c]
push eax
call esi
cmp eax, 0xffffffff
je 0x436377
test al, 1
jne 0x436355
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 0x436322
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x436377
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.00438dc1
add esp, 0x254
ret
push str.fd25b6ff20d52511
call fcn.004392d0
add esp, 4
jmp 0x436377

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

Disassembly:
sub esp, 0x68
mov eax, dword [0x4612b0]
xor eax, esp
mov dword [esp + 0x64], eax
lea eax, [esp]
push eax
push 0x25
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x436420
cmp eax, 0xf0
jbe 0x4363e2
push eax
push str.ec6dc6a90af7866976dd49890047
call fcn.004392d0
add esp, 8
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00438dc1
add esp, 0x68
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push str.02eb6e6708518ddbca51d9135e3740e
call esi
test eax, eax
jne 0x436418
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetCurrentDirectory_failed___d_
call fcn.004392d0
add esp, 8
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00438dc1
add esp, 0x68
ret
lea ecx, [esp + 4]
push ecx
call esi
pop esi
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.00438dc1
add esp, 0x68
ret
Function at 0x436430
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x270
mov eax, dword [0x4612b0]
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.0043fbd0
add esp, 0xc
xor esi, esi
call fcn.004393a7
cdq
mov ecx, 0x58
idiv ecx
inc esi
sub dl, 0x28
cmp esi, 0x19
mov byte [esp + esi + 0x15f], dl
jl 0x436466
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 0x4364e7
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x4364e7
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.00438dc1
add esp, 0x270
ret

Function at 0x436500
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 [0x4612b0]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
push 0
push str.27a7127929c732f526ff
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x4365a7
lea eax, [esp + 0x10]
push eax
push str..txt
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4365a7
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 0x4365c0
lea eax, [esp + 0x3c]
push eax
call esi
cmp eax, 0xffffffff
je 0x4365a7
test al, 1
jne 0x436585
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 0x436552
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x4365a7
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.00438dc1
add esp, 0x254
ret
push str.5787c5f1ef1b48bfa545
call fcn.004392d0
add esp, 4
jmp 0x4365a7
Function at 0x4368f0
Capabilities:
Check os version

Disassembly:
sub esp, 8
mov eax, dword [0x4612b0]
xor eax, esp
mov dword [esp + 4], eax
push edi
xor edi, edi
push edi
call fcn.0043a6c4
add esp, 4
add eax, 0x348
adc edx, edi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
call fcn.004174a0
test eax, eax
je 0x43692a
call fcn.00435660
call fcn.00419840
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x436a71
cmp eax, 1
je 0x436a71
cmp eax, 2
je 0x436a71
cmp eax, 0xa
je 0x436a71
cmp eax, 4
je 0x436a45
cmp eax, 5
je 0x436a45
cmp eax, 6
je 0x436a45
cmp eax, 0xc
je 0x436a45
cmp eax, 8
je 0x436a2c
cmp eax, 0xe
je 0x436a2c
cmp eax, 0xf
jne 0x4369ba
mov dword [esi + 0x18], eax
mov dword [esi + 0x48], edi
call fcn.00406570
test eax, eax
je 0x436a74
call fcn.00435810
call fcn.00435760
xor eax, eax
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00438dc1
add esp, 8
ret
cmp eax, 0x10
jne 0x436a01
mov dword [esi + 0x18], eax
mov dword [esi + 0x48], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 2
je 0x4369de
sub eax, 2
je 0x4369de
sub eax, 4
jne 0x436a74
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
call fcn.00419f30
call fcn.00435810
xor eax, eax
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00438dc1
add esp, 8
ret
cmp eax, 0x11
jne 0x436a71
mov dword [esi + 0x18], eax
mov dword [esi + 0x48], edi
call fcn.00430090
test eax, eax
je 0x436a74
call fcn.00435880
xor eax, eax
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00438dc1
add esp, 8
ret
mov dword [esi + 0x18], 8
xor eax, eax
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00438dc1
add esp, 8
ret
mov dword [esi + 0x18], 4
call fcn.00435550
test eax, eax
je 0x436a74
call fcn.00418fd0
call fcn.004356f0
xor eax, eax
pop edi
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.00438dc1
add esp, 8
ret
mov dword [esi + 0x18], edi
mov ecx, dword [esp + 8]
pop edi
xor ecx, esp
xor eax, eax
call fcn.00438dc1
add esp, 8
ret
Function at 0x438dc1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4612b0]
jne 0x438dcb
repz ret
jmp fcn.0043e644

Function at 0x445c3b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0043fcbc
and dword [ebp - 4], 0
cmp dword [0x463264], 0
mov ebx, eax
jne 0x445cec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x445d9d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x453e30
push edi
call esi
test eax, eax
je 0x445d9d
push eax
call fcn.0043fc4a
mov dword [esp], 0x453e20
push edi
mov dword [0x463264], eax
call esi
push eax
call fcn.0043fc4a
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x463268], eax
call esi
push eax
call fcn.0043fc4a
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46326c], eax
call esi
push eax
call fcn.0043fc4a
pop ecx
mov dword [0x463274], eax
test eax, eax
je 0x445cec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043fc4a
pop ecx
mov dword [0x463270], eax
mov eax, dword [0x463270]
cmp eax, ebx
je 0x445d44
cmp dword [0x463274], ebx
je 0x445d44
push eax
call fcn.0043fcc5
push dword [0x463274]
mov esi, eax
call fcn.0043fcc5
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x445d44
test edi, edi
je 0x445d44
call esi
test eax, eax
je 0x445d3b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x445d3b
test byte [ebp - 0xc], 1
jne 0x445d44
or dword [ebp + 0x10], 0x200000
jmp 0x445d7d
mov eax, dword [0x463268]
cmp eax, ebx
je 0x445d7d
push eax
call fcn.0043fcc5
pop ecx
test eax, eax
je 0x445d7d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x445d7d
mov eax, dword [0x46326c]
cmp eax, ebx
je 0x445d7d
push eax
call fcn.0043fcc5
pop ecx
test eax, eax
je 0x445d7d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x463264]
call fcn.0043fcc5
pop ecx
test eax, eax
je 0x445d9d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x445d9f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx