joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ee0f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x50], 2
jae 0x44ee89
mov ebx, 0x138
push ebx
mov dword [ebp - 4], ebx
call fcn.004554e7
push ebx
xor ebx, ebx
mov esi, eax
push ebx
push esi
call fcn.004535d0
add esp, 0x10
mov ecx, edi
call fcn.0044a120
push eax
push esi
call fcn.00457c20
mov eax, dword [edi + 0x30]
mov dword [esi + 0x104], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x110], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x10c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x114], eax
mov ax, word [edi + 0x44]
mov word [esi + 0x118], ax
mov ax, word [edi + 0x34]
pop ecx
pop ecx
mov word [esi + 0x108], ax
jmp 0x44eef3
mov eax, dword [edi + 0x14]
add eax, eax
mov dword [ebp - 8], eax
add eax, 0x18
push eax
mov dword [ebp - 4], eax
call fcn.00452d2b
push 0x18
xor ebx, ebx
mov esi, eax
push ebx
push esi
call fcn.004535d0
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0xe], eax
mov dword [esi], ecx
mov eax, dword [edi + 0x38]
mov dword [esi + 0xa], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x12], eax
mov ax, word [edi + 0x44]
mov word [esi + 0x16], ax
mov ax, word [edi + 0x34]
add edi, 4
add esp, 0x10
mov word [esi + 8], ax
cmp dword [edi + 0x14], 8
jb 0x44eee5
mov edi, dword [edi]
push ecx
lea eax, [esi + 0x18]
push edi
push eax
call fcn.004538e0
add esp, 0xc
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44ef14
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.00453342
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x44f666
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x70c
mov eax, 0x4aee6a
call fcn.00454652
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x714], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x718], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x628], ax
xor ebx, ebx
lea eax, [ebp - 0x626]
push ebx
push eax
call fcn.004535d0
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push dword [0x4f2ff8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x70c]
call fcn.0044d11b
mov dword [ebp - 4], ebx
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004535d0
cmp dword [0x4f2ef0], 8
mov esi, 0x4f2edc
mov eax, esi
cmovae eax, dword [0x4f2edc]
push eax
lea eax, [ebp - 0x70c]
push eax
call fcn.004504bc
add esp, 0x14
test eax, eax
je 0x44f7ce
xor eax, eax
push 0x206
mov word [ebp - 0x420], ax
xor esi, esi
lea eax, [ebp - 0x41e]
push esi
push eax
inc ebx
call fcn.004535d0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push esi
push 0x4bc35c
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebx
lea eax, [ebp - 0x70d]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x678]
call fcn.004115ed
mov byte [ebp - 4], bl
lea eax, [ebp - 0x6a8]
push eax
mov ecx, 0x4f2ed8
call fcn.0041d073
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x678]
push ecx
push eax
lea ecx, [ebp - 0x70c]
call fcn.0044de40
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x6a8]
call fcn.00401b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x678]
call fcn.00401b80
jmp 0x44f822
cmp word [0x4f2658], 0
je 0x44f7ec
push 0x4f2658
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x44f822
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.00450550
cmp dword [0x4f2ef0], 8
lea eax, [ebp - 0x218]
cmovae esi, dword [0x4f2edc]
push esi
push eax
push eax
call fcn.00450174
lea ecx, [ebp - 0x648]
call fcn.00410f71
mov byte [ebp - 4], 6
cmp word [ebp - 0x218], 0
jne 0x44f83f
xor eax, eax
jmp 0x44f84c
lea eax, [ebp - 0x218]
push eax
call fcn.00454574
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.00414dcf
lea ecx, [ebp - 0x648]
call fcn.00415070
lea ecx, [ebp - 0x648]
call fcn.00413047
push dword [ebp + 0x14]
lea ecx, [ebp - 0x648]
push dword [ebp - 0x718]
push 0x4cbeac
push dword [ebp - 0x714]
push edi
call fcn.0041292e
test bl, bl
je 0x44f8a6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x648]
call fcn.00411918
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70c]
call fcn.0044d46b
call fcn.00454601
ret
Function at 0x4502aa
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
push dword [ebp + 8]
mov dword [ebp - 4], 1
call esi
push 2
pop edx
xor ecx, ecx
add eax, edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00452d2b
pop ecx
push dword [ebp + 8]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x4b7ea0
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
mov edi, ebx
call esi
xor esi, esi
mov dword [ebp + 8], eax
test eax, eax
je 0x45033d
push 0x5c
pop ecx
cmp word [edi], cx
jne 0x45032f
xor eax, eax
push eax
push ebx
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x450326
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x450339
mov eax, dword [ebp + 8]
push 0x5c
pop ecx
mov word [edi], cx
add edi, 2
inc esi
cmp esi, eax
jb 0x450303
jmp 0x45033d
and dword [ebp - 4], 0
push ebx
call fcn.0045458d
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x450390
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4ed8d0]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [0x4ed798]
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00450174
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4503e0
xor eax, eax
jmp 0x4503f7
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004535b3
leave
ret

Function at 0x4507ef
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4ed8d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [0x4f38f0], esi
jne 0x450815
mov eax, dword [0x4ed79c]
cmp eax, 0xffffffff
jne 0x450867
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x1004
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x450862
lea eax, [ebp - 0x2c]
push eax
call fcn.0045658a
pop ecx
push 2
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x450851
movsx eax, word [ebp - 0x4c]
mov dword [0x4ed79c], eax
jmp 0x450867
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x450862
xor eax, eax
jmp 0x450867
mov eax, dword [0x4ed79c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004535b3
leave
ret
Function at 0x450c9c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x4ed8d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
and dword [ebp - 0x24c], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
mov edi, dword [ebp + 0x10]
push 0x4cbeac
push eax
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x248], edi
call esi
push 0x4cbeac
push edi
call esi
lea eax, [ebp - 0x24c]
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
je 0x450e7b
push edi
call fcn.00457616
push edi
mov esi, eax
push 0
push esi
mov dword [ebp - 0x250], esi
call fcn.004535d0
add esp, 0x10
push esi
push edi
xor edi, edi
push edi
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x450e74
push 0x34
lea eax, [ebp - 0x238]
push edi
push eax
mov dword [ebp - 0x240], eax
call fcn.004535d0
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
push 0x4b7ea0
push esi
mov dword [ebp - 0x244], edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x450d93
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
movzx eax, cx
push eax
movzx eax, dx
shr ecx, 0x10
push ecx
push eax
shr edx, 0x10
push edx
push str._u._u._u._u
push dword [ebp - 0x23c]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
push 0x34
push edi
push dword [ebp - 0x240]
mov dword [ebp - 0x244], edi
call fcn.004535d0
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x240]
push eax
push str.VarFileInfoTranslation
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x450e74
mov ebx, dword [ebp - 0x244]
xor eax, eax
push 0x1fe
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push edi
push eax
shr ebx, 2
call fcn.004535d0
mov eax, dword [ebp - 0x240]
add esp, 0xc
test ebx, ebx
jle 0x450e74
mov esi, eax
and dword [ebp - 0x23c], 0
test edi, edi
jle 0x450e0c
add esi, 4
push 4
lea eax, [ebp - 0x23c]
push esi
push eax
call fcn.004538e0
movzx eax, word [ebp - 0x23c]
add esp, 0xc
push eax
lea eax, [ebp - 0x204]
test edi, edi
jne 0x450e41
push 0x4ba7d8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
jmp 0x450e56
push dword [ebp - 0x248]
push str._s__u
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x204]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
inc edi
cmp edi, ebx
jl 0x450dfe
mov esi, dword [ebp - 0x250]
push esi
call fcn.004575a1
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004535b3
leave
ret
Function at 0x450f31
Capabilities:
Compare security identifiers

Disassembly:
push 0x20
mov eax, 0x4af3d4
call fcn.00454652
lea eax, [ebp - 0x1c]
push eax
xor ebx, ebx
push ebx
push 8
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x14], 0x500
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x450f94
call esi
cmp eax, 0x3f0
jne 0x450f84
lea eax, [ebp - 0x1c]
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call esi
cmp eax, 0x78
jne 0x450f90
xor eax, eax
jmp 0x45103b
test eax, eax
je 0x450f89
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea eax, [ebp - 0x20]
push eax
push ebx
push ebx
push 2
push dword [ebp - 0x1c]
call edi
test eax, eax
jne 0x450f89
call esi
cmp eax, 0x7a
jne 0x450f89
push dword [ebp - 0x20]
call fcn.004554e7
mov esi, eax
pop ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x20]
push esi
push 2
push dword [ebp - 0x1c]
call edi
test eax, eax
je 0x45102e
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x45102e
mov edi, ebx
cmp dword [esi], ebx
jbe 0x451025
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x28]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x451022
mov eax, dword [ebp - 0x24]
inc edi
add eax, 8
mov dword [ebp - 0x24], eax
cmp edi, dword [esi]
jb 0x451003
jmp 0x451025
xor ebx, ebx
inc ebx
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
or dword [ebp - 4], 0xffffffff
push esi
call fcn.00453342
pop ecx
mov eax, ebx
call fcn.00454601
ret
Function at 0x451053
Capabilities:
Create process on windows

Disassembly:
push 0x894
mov eax, 0x4af40f
call fcn.00454652
mov esi, dword [ebp + 8]
push 0x10
xor ebx, ebx
lea eax, [ebp - 0x85c]
push ebx
push eax
call fcn.004535d0
push 0x44
pop edi
push edi
lea eax, [ebp - 0x8a0]
push ebx
push eax
call fcn.004535d0
mov dword [ebp - 0x8a0], edi
xor edi, edi
xor eax, eax
inc edi
add esp, 0x18
mov dword [ebp - 0x874], edi
mov word [ebp - 0x870], ax
cmp dword [ebp + 0xc], eax
je 0x4510ae
mov word [ebp - 0x870], di
push esi
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
lea eax, [ebp - 0x841]
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x840]
call fcn.00402ca0
mov dword [ebp - 4], ebx
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x4510e4
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x84c]
push str.Attempting_to_launch__no_wait_:__s
mov edi, str.utils.cpp
push eax
mov dword [ebp - 0x84c], edi
mov dword [ebp - 0x848], 0x488
call fcn.00419650
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
call fcn.00401ac0
lea eax, [ebp - 0x85c]
push eax
lea eax, [ebp - 0x8a0]
push eax
push ebx
push ebx
push 0x20
push 1
push ebx
push ebx
lea eax, [ebp - 0x810]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
push esi
lea eax, [ebp - 0x84c]
push str.Launch_result__d
push eax
mov dword [ebp - 0x84c], edi
mov dword [ebp - 0x848], 0x48d
call fcn.00419650
add esp, 0xc
test esi, esi
je 0x45117d
push 0x3e8
push dword [ebp - 0x85c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov eax, esi
call fcn.00454601
ret 8
Function at 0x451187
Capabilities:
Create process on windows

Disassembly:
push 0xb8
mov eax, 0x4af44f
call fcn.00454652
mov eax, dword [ebp + 8]
xor ecx, ecx
inc ecx
push ecx
lea ecx, [ebp - 0x45]
push ecx
xor ebx, ebx
push eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], ebx
call fcn.00402ca0
mov dword [ebp - 4], ebx
push 0x10
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.004535d0
push 0x44
pop esi
push esi
lea eax, [ebp - 0xc4]
push ebx
push eax
call fcn.004535d0
xor edi, edi
xor eax, eax
inc edi
add esp, 0x18
mov dword [ebp - 0xc4], esi
mov dword [ebp - 0x98], edi
mov word [ebp - 0x94], ax
cmp dword [ebp + 0xc], eax
je 0x4511f6
mov word [ebp - 0x94], di
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x50]
push str.Attempting_to_launch:__s
push eax
mov dword [ebp - 0x50], str.utils.cpp
mov dword [ebp - 0x4c], 0x446
call fcn.00419650
add esp, 0xc
lea eax, [ebp - 0x54]
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x40]
push eax
call fcn.00402fe0
xor ecx, ecx
inc ecx
mov byte [ebp - 4], cl
mov byte [eax + 4], cl
mov ecx, dword [eax]
call fcn.00403d20
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0xc4]
push ecx
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
push dword [eax]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x54]
call fcn.00403980
test esi, esi
je 0x4512f8
mov esi, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
xor edi, edi
inc edi
jmp 0x45129f
cmp eax, edi
jne 0x4512b2
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
cmp dword [ebp - 0x7c], 0x11
je 0x4512b2
cmp dword [ebp - 0x7c], 0x10
je 0x4512b2
cmp dword [ebp - 0x7c], 0x12
je 0x4512b2
push 0x4ff
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x64]
push eax
push edi
call esi
test eax, eax
jne 0x45127b
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x64]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 0x44]
push dword [ebp - 0x64]
mov dword [0x4f3824], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x44]
mov dword [ebp - 0x50], str.utils.cpp
push eax
lea eax, [ebp - 0x50]
push str.Launch_result__d__exit_code__d
push eax
mov dword [ebp - 0x4c], 0x467
call fcn.00419650
mov esi, dword [ebp - 0x44]
add esp, 0x10
jmp 0x4512fd
mov esi, 0xcccccccc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401ac0
mov eax, esi
call fcn.00454601
ret 8
Function at 0x451313
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push 0x38
xor ebx, ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.004535d0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4c], eax
xor eax, eax
add esp, 0xc
cmp dword [ebp + 0x10], eax
mov dword [ebp - 4], ebx
setne al
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 0x60], 0x3c
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x5c], 0x40
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [ebp - 4]
test eax, eax
cmovne ecx, dword [ebp - 0x28]
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x451410
jmp 0x4513da
cmp eax, 1
jne 0x4513f2
jmp 0x4513c7
cmp dword [ebp - 0x20], 0xf
je 0x4513a5
cmp dword [ebp - 0x20], 0x113
jne 0x4513b9
mov ecx, dword [ebp + 0x14]
push 1
call fcn.00445fcd
jmp 0x4513b9
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x4513da
push 1
push ebx
push ebx
push ebx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
jne 0x45138a
push 0x4ff
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 4]
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
test eax, eax
jne 0x451383
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [ebp - 8]
push dword [ebp - 4]
mov dword [0x4f3824], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop ebx
leave
ret 0x10

Function at 0x4516fc
Capabilities:
Delete directory

Disassembly:
push 8
mov eax, 0x4af526
call fcn.0045461f
push 8
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x14], esp
xor ebx, ebx
inc ebx
push ebx
lea eax, [ebp - 0xd]
push eax
push dword [ebp + 8]
xor edi, edi
call fcn.004115ed
and dword [ebp - 4], edi
or dword [ebp - 4], 0xffffffff
call fcn.00483726
add esp, 0x34
test al, al
je 0x451758
push 0x8001
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
push 0
cmovne edi, ebx
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, edi
call fcn.004545ed
ret 4
Function at 0x451762
Capabilities:
Delete file
Set file attributes

Disassembly:
push 8
mov eax, 0x4af549
call fcn.0045461f
push 4
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x14], esp
xor esi, esi
inc esi
push esi
lea eax, [ebp - 0xd]
push eax
push dword [ebp + 8]
call fcn.004115ed
and dword [ebp - 4], 0
or dword [ebp - 4], 0xffffffff
call fcn.00483726
add esp, 0x34
test al, al
jne 0x4517a0
mov eax, esi
jmp 0x4517e0
push dword [ebp + 8]
xor edi, edi
call fcn.00450508
test eax, eax
jne 0x4517de
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call esi
push 0x80
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
test eax, eax
pop eax
push 0
cmovne edi, eax
call esi
mov eax, edi
call fcn.004545ed
ret 4
Function at 0x4671ae
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ed8d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.004623a8
mov dword [ebp - 0x14], eax
cmp dword [0x4f4700], edi
jne 0x46729f
push 0x800
push edi
push 0x4c1c48
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x46722c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46737f
push 0x4c1c48
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x46737f
push 0x4c1c60
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x46737f
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x4f4700], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x4f4704], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x4f4708], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f4710], eax
test eax, eax
je 0x46729c
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4f470c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4672c4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4672b7
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4672d9
push 4
pop eax
jmp 0x467381
cmp dword [ebp - 0x14], edi
je 0x4672d9
push dword [0x4f4700]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4672be
mov eax, dword [0x4f470c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x467337
cmp dword [0x4f4710], esi
je 0x467337
push eax
call ebx
push dword [0x4f4710]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x467337
test eax, eax
je 0x467337
call ecx
test eax, eax
je 0x46732c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x46732c
test byte [ebp - 8], 1
jne 0x467337
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x467367
mov eax, dword [0x4f4704]
cmp eax, esi
je 0x467364
push eax
call ebx
test eax, eax
je 0x467364
call eax
mov edi, eax
test edi, edi
je 0x467364
mov eax, dword [0x4f4708]
cmp eax, esi
je 0x467364
push eax
call ebx
test eax, eax
je 0x467364
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x4f4700]
call ebx
test eax, eax
je 0x46737f
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x467381
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004535b3
leave
ret
Function at 0x476b78
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00459389
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x476bb0
xor eax, eax
jmp 0x476bdc
cmp esi, dword [ebp - 4]
je 0x476bd9
cmp dword [ebp + 0xc], 0
je 0x476bd9
push dword [edi + 0x9c]
call fcn.00476786
push dword [edi + 0x9c]
mov esi, eax
call fcn.00454574
pop ecx
pop ecx
cmp esi, eax
je 0x476bac
xor eax, eax
inc eax
pop edi
pop esi
leave
ret