joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46cd8c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46cf20
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x46cef3
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.0046011c
cmp al, 0xa
jb 0x46ce6b
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00408a78
xor edx, edx
push ebp
push 0x46ce64
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004088f4
push eax
push 0
push 0
push 0x1a
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, eax
jne 0x46ce4c
mov eax, dword [ebp - 4]
call fcn.004088f4
mov edx, dword [ebp - 8]
call fcn.0041efc4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46ce1e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46ce3a
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004248f4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00407e40
call fcn.0040724c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46cefd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46ce6b
lea eax, [ebp - 4]
xor edx, edx
call fcn.00408a78
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4e986c]
mov eax, dword [eax]
mov ecx, 0x46cf3c
mov edx, 0x46cf58
call fcn.00462994
test al, al
je 0x46cee9
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0046bd04
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00407e40
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46ceb7
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46cee9
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46cecc
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x46cee9
mov eax, dword [ebp - 8]
mov edx, 0x46cfe8
call fcn.00408af8
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46cefd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cf27
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407ac0
lea eax, [ebp - 4]
call fcn.00407a60
ret
Function at 0x46cfec
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46d180
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
push ebp
push 0x46d153
push dword fs:[ecx]
mov dword fs:[ecx], esp
call fcn.0046011c
cmp al, 0xa
jb 0x46d0cb
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00408a78
xor edx, edx
push ebp
push 0x46d0c4
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.004088f4
push eax
push 0
push 0
push 0x1c
push 0
call sub.SHFolder.dll_SHGetFolderPathW
test eax, eax
jne 0x46d0ac
mov eax, dword [ebp - 4]
call fcn.004088f4
mov edx, dword [ebp - 8]
call fcn.0041efc4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46d07e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46d09a
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.004248f4
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00407e40
call fcn.0040724c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46d15d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d0cb
lea eax, [ebp - 4]
xor edx, edx
call fcn.00408a78
ret
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4e986c]
mov eax, dword [eax]
mov ecx, 0x46d19c
mov edx, 0x46d1c4
call fcn.00462994
test al, al
je 0x46d149
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.0046bd04
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.00407e40
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46d117
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x46d149
mov eax, edx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x46d12c
sub eax, 4
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
cmp word [edx + eax*2 - 2], 0x5c
je 0x46d149
mov eax, dword [ebp - 8]
mov edx, 0x46d254
call fcn.00408af8
mov eax, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46d15d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d187
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00407ac0
lea eax, [ebp - 4]
call fcn.00407a60
ret
Function at 0x46f8b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
mov byte [ebp - 0x12], cl
mov byte [ebp - 0x11], dl
mov esi, eax
xor eax, eax
push ebp
push 0x46fa49
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 1
xor eax, eax
mov dword [ebp - 0x18], eax
cmp byte [ebp - 0x11], 0
je 0x46f8f0
call fcn.00460a90
mov dword [ebp - 0x18], eax
mov eax, esi
test eax, eax
je 0x46f8fb
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46f906
xor ebx, ebx
jmp 0x46fa21
cmp byte [ebp - 0x12], 0
je 0x46fa0a
lea eax, [ebp - 0xc]
mov edx, esi
call fcn.00407e88
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00424944
lea eax, [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.00407e88
lea edx, [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0041e82c
mov eax, dword [ebp - 8]
test eax, eax
je 0x46f947
sub eax, 4
mov eax, dword [eax]
cmp eax, 2
jne 0x46f974
lea eax, [ebp - 0x1c]
push eax
mov ecx, 1
mov edx, 2
mov eax, dword [ebp - 8]
call fcn.00408cc0
mov eax, dword [ebp - 0x1c]
mov edx, 0x46fa64
call fcn.00408c88
sete al
jmp 0x46f976
xor eax, eax
test al, al
je 0x46f97e
mov al, 1
jmp 0x46f988
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.0041e138
test al, al
je 0x46f990
mov al, 1
jmp 0x46f99e
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00408c88
sete al
test al, al
jne 0x46fa21
cmp dword [ebp - 4], 0
jne 0x46f9c2
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.004088f4
push eax
call sub.kernel32.dll_CreateDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x46fa21
mov eax, dword [ebp - 4]
call fcn.004088f4
mov edx, eax
lea eax, [ebp - 0x20]
call fcn.0040894c
mov eax, dword [ebp - 0x20]
movzx ecx, byte [ebp - 0x12]
movzx edx, byte [ebp - 0x11]
call fcn.0046f8b0
mov ebx, eax
test bl, bl
je 0x46fa00
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
call fcn.004088f4
push eax
call sub.kernel32.dll_CreateDirectoryW
test eax, eax
jne 0x46fa04
xor eax, eax
jmp 0x46fa06
mov al, 1
mov ebx, eax
jmp 0x46fa21
lea eax, [ebp - 0x18]
push eax
mov eax, esi
call fcn.004088f4
push eax
call sub.kernel32.dll_CreateDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fa50
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00407ac0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00407ac0
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004088f4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x46fa81
test al, 0x10
jne 0x46fa85
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x470330
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.004703e0
test al, al
je 0x470370
mov eax, esi
call fcn.0041e61c
mov ebx, eax
test bl, bl
jne 0x470370
mov eax, esi
call fcn.00470214
push 0x80
mov eax, esi
call fcn.004088f4
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, esi
call fcn.0041e61c
mov ebx, eax
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x470378
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push ecx
mov byte [esp], dl
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.004703e0
test al, al
je 0x4703d8
mov eax, esi
call fcn.0041e61c
mov ebx, eax
test bl, bl
jne 0x4703d8
mov eax, esi
call fcn.00470214
push 0x80
mov eax, esi
call fcn.004088f4
push eax
call sub.kernel32.dll_SetFileAttributesW
mov eax, esi
call fcn.0041e61c
mov ebx, eax
test bl, bl
jne 0x4703d8
cmp byte [esp], 0
je 0x4703d8
call fcn.00460138
test al, al
je 0x4703d8
mov eax, esi
call fcn.00470954
mov ebx, eax
mov eax, ebx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004088f4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4703f9
test al, 0x10
je 0x4703fd
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004088f4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x47041d
test al, 0x10
je 0x470421
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x470568
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4705d1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00407e88
lea eax, [ebp - 8]
mov edx, esi
call fcn.00407e88
mov eax, dword [ebp - 8]
call fcn.004088f4
push eax
mov eax, dword [ebp - 4]
call fcn.004088f4
push eax
call sub.kernel32.dll_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4705d8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407ac0
ret
Function at 0x475c50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.00407b44
xor eax, eax
push ebp
push 0x475cb4
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
mov eax, dword [ebp + 8]
call fcn.004088f4
push eax
mov eax, esi
call fcn.004088f4
push eax
mov eax, ebx
call fcn.004088f4
push eax
push 0x475cc4
push edi
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475cbb
lea eax, [ebp + 8]
call fcn.00407a60
ret

Function at 0x475cd0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.00407b44
xor eax, eax
push ebp
push 0x475d6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x38], 0x40
mov eax, 0x475d84
mov dword [ebp - 0x30], eax
mov eax, ebx
call fcn.004088f4
mov dword [ebp - 0x2c], eax
mov eax, esi
call fcn.004088f4
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 8]
call fcn.004088f4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 1
lea ebx, [ebp - 0x3c]
push ebx
call sub.shell32.dll_ShellExecuteExW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
test bl, bl
je 0x475d59
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475d76
lea eax, [ebp + 8]
call fcn.00407a60
ret

Function at 0x475d90
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, dword [ebp + 8]
call fcn.00407b44
xor eax, eax
push ebp
push 0x475df4
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
mov eax, dword [ebp + 8]
call fcn.004088f4
push eax
mov eax, esi
call fcn.004088f4
push eax
mov eax, ebx
call fcn.004088f4
push eax
push 0x475e04
push edi
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x475dfb
lea eax, [ebp + 8]
call fcn.00407a60
ret
Function at 0x476504
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407b44
xor eax, eax
push ebp
push 0x4765b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor edx, edx
push ebp
push 0x47658f
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0041d054
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.00407e88
cmp dword [ebp - 4], 0
jne 0x476563
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476599
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004088f4
push eax
push 0x4765cc
push 0
call sub.shell32.dll_ShellExecuteW
cmp eax, 0x20
setg byte [ebp - 5]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x476599
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4765be
lea eax, [ebp - 0xc]
call fcn.00407a60
lea eax, [ebp - 4]
call fcn.00407a60
ret

Function at 0x47aff8
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00404f7c
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x4820c8
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov word [ebp - 2], cx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4821a4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
mov edx, esi
call fcn.0040891c
mov eax, dword [ebp - 0x18]
push eax
call fcn.00484260
pop edx
call fcn.004814f8
test al, al
je 0x482110
mov ebx, 1
jmp 0x48218e
push 0
push 0x8000080
push 3
push 0
push 1
push 0xc0000000
push esi
call sub.kernel32.dll_CreateFileA
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x48213d
call sub.kernel32.dll_GetLastError_2
mov edx, dword [ebp + 8]
mov dword [edx], eax
xor ebx, ebx
jmp 0x48218e
lea eax, [ebp - 0xc]
push eax
movzx eax, word [ebp - 2]
push eax
push edi
call sub.kernel32.dll_DosDateTimeToFileTime
test eax, eax
je 0x482171
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
test eax, eax
je 0x482171
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
movzx eax, word [ebp + 0xc]
and ax, 0x27
movzx eax, ax
push eax
push esi
call sub.kernel32.dll_SetFileAttributesA
mov ebx, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4821ab
lea eax, [ebp - 0x18]
call fcn.00407a60
ret
Function at 0x4821b8
Capabilities:
Delete file
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
test eax, eax
je 0x482203
lea eax, [esp + 0x105]
push eax
push 0
push 0x482234
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetTempFileNameA
test eax, eax
je 0x482203
lea eax, [esp + 0x105]
call fcn.00407f68
cmp ebx, eax
setg al
jmp 0x482205
xor eax, eax
mov ebx, eax
test bl, bl
je 0x48221f
lea edx, [esp + 0x105]
mov eax, esi
call fcn.0041ecc8
push esi
call sub.kernel32.dll_DeleteFileA
movzx eax, bl
mov edx, dword [0x4e9708]
mov eax, dword [edx + eax*4]
add esp, 0x20c
pop esi
pop ebx
ret

Function at 0x482c00
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x482c09
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x482d86
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
inc dword [ebx + 0x18]
lea ecx, [ebp - 0x10]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.00482a80
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.004085ac
lea eax, [ebx + 0x22]
mov edx, dword [ebp - 4]
call fcn.0041eda8
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x14]
mov eax, esi
call fcn.004828e0
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.004085ac
lea eax, [ebx + 0x122]
mov edx, dword [ebp - 4]
call fcn.0041eda8
lea ecx, [ebp - 0x18]
mov edx, dword [ebx + 0x18]
mov eax, esi
call fcn.004829c4
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.004085ac
lea eax, [ebx + 0x222]
mov edx, dword [ebp - 4]
call fcn.0041eda8
cmp word [esi + 0x4a], 0
je 0x482cc6
push edi
lea eax, [ebp - 9]
push eax
mov ecx, ebx
mov edx, esi
mov eax, dword [esi + 0x4c]
call dword [esi + 0x48]
cmp byte [ebp - 9], 0
jne 0x482d37
lea eax, [ebp - 8]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00408988
mov eax, dword [ebp - 8]
call fcn.0041e208
lea eax, [ebp - 0x24]
lea edx, [ebx + 0x222]
mov ecx, pe_nt_image_headers32
call fcn.00408988
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
lea edx, [ebx + 0x122]
mov ecx, pe_nt_image_headers32
call fcn.00408988
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
lea ecx, [ebp - 8]
mov edx, 1
call fcn.00481aa0
mov eax, dword [ebp - 8]
call fcn.004088f4
push eax
call sub.kernel32.dll_DeleteFileW
xor eax, eax
mov dword [esi + 0x3ac], eax
xor eax, eax
mov dword [esi + 0x3b0], eax
movzx ebx, byte [ebp - 9]
xor bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482d8d
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00407ac0
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00407ac0
lea eax, [ebp - 8]
call fcn.00407a60
lea eax, [ebp - 4]
call fcn.00407a84
ret
Function at 0x484f04
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407b44
xor eax, eax
push ebp
push 0x48514b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00407e40
mov byte [ebp - 0xd], 0
test ebx, ebx
je 0x485123
cmp dword [0x4e91fc], 0
jne 0x484f69
call fcn.00485fb0
cmp dword [0x4e91fc], 0
je 0x485123
xor eax, eax
push ebp
push 0x485119
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x485108
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x48516c
call fcn.00407e88
mov edx, dword [ebp - 4]
mov eax, 0x485184
call fcn.00408e6c
mov esi, eax
test esi, esi
jle 0x484fc8
lea eax, [ebp - 8]
push eax
mov ecx, esi
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00408cc0
lea eax, [ebp - 4]
mov ecx, esi
mov edx, 1
call fcn.00408d08
cmp dword [ebp - 4], 0
jne 0x484fe8
mov dl, 1
mov eax, ebx
call fcn.00463ab8
xor edx, edx
push edx
push eax
lea edx, [ebp - 4]
mov eax, 8
call fcn.0041daf0
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [0x4e91fc]
mov eax, dword [eax + 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 4]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.0047e31c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0xc]
call fcn.00407e40
mov eax, dword [0x4e91fc]
cmp byte [eax + 0x13], 0
je 0x485055
push 0x485194
push dword [ebp - 4]
push 0x4851b8
push ebx
push 0x4851b8
mov eax, dword [ebp - 0xc]
push dword [eax]
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00408bd8
mov eax, dword [ebp - 0x1c]
call fcn.004088f4
push eax
call sub.kernel32.dll_OutputDebugStringW
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x4850a2
mov eax, dword [ebp - 0xc]
mov edx, ebx
call fcn.00407e40
mov eax, dword [0x4e91fc]
cmp byte [eax + 0x11], 0
je 0x48508c
push dword [ebp - 4]
push 0x4851cc
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00408bd8
mov byte [ebp - 0xd], 0
call fcn.0040724c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x485123
mov byte [ebp - 0xd], 1
mov eax, dword [0x4e91fc]
cmp byte [eax + 0x11], 0
je 0x4850cb
push dword [ebp - 4]
push 0x4851dc
mov eax, dword [ebp - 0xc]
push dword [eax]
mov eax, dword [ebp - 0xc]
mov edx, 3
call fcn.00408bd8
lea eax, [ebp - 8]
call fcn.00407a60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48510f
mov eax, dword [0x4e91fc]
cmp dword [eax + 0x18], 0
je 0x485107
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
mov ebx, dword [0x4e91fc]
call dword [ebx + 0x18]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
call fcn.00407e40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485152
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00407ac0
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407ac0
ret
Function at 0x485df8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x485ef8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x485f14
call fcn.00407e88
push 0xa
lea eax, [ebp - 0x18]
push eax
push 0x59
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
sete bl
test bl, bl
je 0x485e5e
push 0xa
lea eax, [ebp - 0xe]
push eax
push 0x5a
push 0x400
call sub.kernel32.dll_GetLocaleInfoW_1
cmp eax, 3
je 0x485e62
xor eax, eax
jmp 0x485e64
mov al, 1
mov ebx, eax
test bl, bl
je 0x485e7f
lea eax, [ebp - 4]
lea edx, [ebp - 0x18]
call fcn.0040894c
mov eax, esi
lea edx, [ebp - 0xe]
call fcn.0040894c
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0041ccc8
mov eax, dword [ebp - 0x1c]
mov edx, 0x485f28
call fcn.00408c88
jne 0x485ec6
lea edx, [ebp - 0x20]
mov eax, dword [esi]
call fcn.0041ccc8
mov eax, dword [ebp - 0x20]
mov edx, 0x485f3c
call fcn.00408c88
jne 0x485ec6
mov eax, edi
mov edx, dword [0x4e9200]
mov ecx, 0
call fcn.004085ac
jmp 0x485ed5
mov eax, edi
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004085ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485eff
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00407ac0
lea eax, [ebp - 4]
call fcn.00407a60
ret