joyce8/EMBER2024-capa huggingface dataset:
Function at 0x584790
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58bd32
mov eax, dword fs:[0]
push eax
sub esp, 0xc8c
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc98], ecx
mov ecx, dword [ebp - 0xc98]
call fcn.00584630
test eax, eax
je 0x5847e1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
mov ecx, dword [ebp - 0xc98]
call fcn.00584590
jmp 0x584852
mov ecx, dword [ebp - 0xc98]
call fcn.005846c0
call fcn.00401050
push 0x14
call fcn.00401010
add esp, 4
lea ecx, [ebp - 0xc94]
call fcn.00562f50
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0xc94]
call fcn.00561d60
push 0
push 0
lea ecx, [ebp - 0xc94]
call fcn.004015e0
call fcn.00401050
call fcn.00401030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc94]
call fcn.00562d90
xor eax, eax
jne 0x5847be
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x585250
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58a5bf
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
mov eax, dword [0x5f30a8]
xor eax, ebp
mov dword [ebp - 0x18], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x98], ecx
mov eax, dword [ebp - 0x98]
cmp dword [eax + 0x18], 0
je 0x585292
jmp 0x585379
mov ecx, dword [ebp - 0x98]
call fcn.00472880
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x5852ad
jmp 0x585379
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x98]
call fcn.00472880
push eax
call fcn.0056f980
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5852e1
jmp 0x585379
lea ecx, [ebp - 0x94]
call fcn.0057cf60
mov dword [ebp - 4], 0
push 1
push 0
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x94]
call fcn.0057a330
lea ecx, [ebp - 0x94]
call fcn.004093f0
movzx eax, al
test eax, eax
je 0x58531a
jmp 0x585350
lea ecx, [ebp - 0x94]
push ecx
mov ecx, dword [ebp - 0x98]
call fcn.00584fe0
lea edx, [ebp - 0x94]
push edx
mov ecx, dword [ebp - 0x98]
call fcn.00584e80
lea eax, [ebp - 0x94]
push eax
mov ecx, dword [ebp - 0x98]
call fcn.00584da0
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x98]
mov dword [edx + 0x18], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.00409410
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004a1f8d
mov esp, ebp
pop ebp
ret
Function at 0x585940
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
call fcn.00455040
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00481c30
push eax
lea ecx, [ebp - 8]
call fcn.0044e040
movzx edx, al
test edx, edx
je 0x5859f6
lea ecx, [ebp - 8]
call fcn.0044e000
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x585994
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0xc], 0
je 0x5859aa
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.005858a0
lea ecx, [ebp - 8]
call fcn.0044e020
jmp 0x58595c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xc]
sub eax, dword [ecx + 8]
mov edx, dword [ebp - 0xc]
cmp eax, dword [edx + 4]
jb 0x5859e9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0
je 0x5859e9
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx]
mov edx, dword [eax]
mov eax, dword [edx]
call eax
lea ecx, [ebp - 8]
call fcn.0044e020
jmp 0x58595c
mov esp, ebp
pop ebp
ret 4
Function at 0x585a00
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x14], 0
je 0x585a2b
cmp dword [ebp + 8], 0
je 0x585a2b
cmp dword [ebp + 0x10], 0
je 0x585a2b
cmp dword [ebp + 0xc], 0
jne 0x585a30
jmp 0x585b33
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 4], 0
jne 0x585a60
push 0
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
mov edx, dword [ebp - 0x14]
mov dword [edx + 4], 1
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00585630
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x585aac
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 8]
mov dword [edx + 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov dword [ebp - 4], 1
jmp 0x585b33
push 0x14
call fcn.004a1f16
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x585acc
mov ecx, dword [ebp - 0x10]
call fcn.0044dd00
mov dword [ebp - 0x18], eax
jmp 0x585ad3
mov dword [ebp - 0x18], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x585ae7
jmp 0x585b33
cmp dword [ebp - 8], 0
je 0x585b2c
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
mov dword [ecx], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x10], edx
mov eax, dword [ebp - 8]
mov dword [eax + 0xc], 0
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.0044de70
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x585e20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
cmp dword [ebp + 8], 0
jne 0x585e3a
jmp 0x585e7f
cmp dword [ebp + 0xc], 0
je 0x585e66
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x585e66
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.00585bf0
xor edx, edx
test eax, eax
setge dl
mov dword [ebp - 4], edx
jmp 0x585e6d
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x585e7f
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.0041e5a0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x587960
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5896cd
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x5f30a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x6c], 0
push 0x40
push 0
lea eax, [ebp - 0x68]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
mov dword [ebp - 0x20], 0
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x6c], 0x44
mov dword [ebp - 0x40], 1
lea ecx, [ebp - 0x70]
call fcn.0041e820
mov dword [ebp - 4], 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.__s___s
lea ecx, [ebp - 0x70]
push ecx
call fcn.00405940
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x5879f9
mov word [ebp - 0x3c], 0xa
jmp 0x5879ff
mov word [ebp - 0x3c], 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x6c]
push eax
mov ecx, dword [ebp + 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
lea ecx, [ebp - 0x70]
call fcn.00472880
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x587a31
jmp 0x587a70
cmp dword [ebp + 0x10], 0
je 0x587a69
mov dword [ebp - 0x74], 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x587a69
cmp dword [ebp + 0x18], 0
je 0x587a69
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dword [ebp - 0x24], 1
cmp dword [ebp - 0x20], 0
je 0x587a87
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
cmp dword [ebp - 0x1c], 0
je 0x587a9e
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x78], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.0041e800
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x401370
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534862
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x586e90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x21c], esi
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
mov dword [ebp - 0x220], edi
mov word [edi], ax
push 0x206
lea edx, [ebp - 0x216]
mov dword [ebp - 4], esi
xor ecx, ecx
push esi
push edx
mov dword [ebp - 0x21c], 1
mov word [ebp - 0x218], cx
call fcn.00511ac0
push 0x104
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.00511ac0
add esp, 0x18
push esi
push 0x23
lea ecx, [ebp - 0x218]
push ecx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x401410
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
mov esi, edi
call fcn.00401950
push 0x17
mov eax, str.Foxit_ContentPlatform_
mov ecx, edi
call fcn.00401820
cmp dword [edi + 0x14], 8
jb 0x401445
mov esi, dword [edi]
jmp 0x401447
mov esi, edi
call fcn.00409420
test eax, eax
jne 0x401461
cmp dword [edi + 0x14], 8
jb 0x40145a
mov ecx, dword [edi]
jmp 0x40145c
mov ecx, edi
call fcn.00409510
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ec37
mov esp, ebp
pop ebp
ret
Function at 0x402ec0
Capabilities:
Check mutex on windows
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x534d0b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x586e90]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x586e90]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov ebx, ecx
mov dword [esp + 0x18], 8
mov dword [esp + 0x1c], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.004112f6
xor edi, edi
push edi
call fcn.00411e22
push 0xc
call fcn.0040f609
add esp, 8
mov dword [esp + 0x10], eax
mov dword [esp + 0x148], edi
cmp eax, edi
je 0x402f52
mov ecx, eax
call fcn.004125d1
mov dword [esp + 0x10], eax
jmp 0x402f56
mov dword [esp + 0x10], edi
push 0x563e18
mov ecx, ebx
mov dword [esp + 0x14c], 0xffffffff
call fcn.00412760
call fcn.00413799
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x48]
cmp edx, edi
jne 0x402f80
xor eax, eax
jmp 0x402f94
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x402f85
sub eax, esi
sar eax, 1
push eax
push edx
mov ecx, 0x58ec74
call fcn.00403730
mov edx, dword [0x58ec74]
mov esi, dword [edx - 0xc]
cmp esi, edi
jge 0x402fb7
push 0x80070057
call fcn.004038b0
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, esi
or eax, ecx
jge 0x402fd9
push esi
mov ecx, 0x58ec74
call fcn.00403660
mov edx, dword [0x58ec74]
lea ecx, [esi + 1]
push ecx
push edx
call fcn.0050fef3
mov eax, dword [0x58ec74]
add esp, 8
cmp esi, dword [eax - 8]
jg 0x402fad
mov dword [eax - 0xc], esi
mov eax, dword [0x58ec74]
xor edx, edx
mov word [eax + esi*2], dx
mov ecx, 0x14
mov esi, str.TZBKLJDSKJB_6SAF_5ADFF_B3FD_CKJASDFHKEWN
lea edi, [esp + 0xdc]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0xdc]
push ecx
push edx
push edx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
je 0x403048
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403048
push str.Update_Runing_Now
call fcn.00408e80
add esp, 4
push 1
call fcn.0050f893
push 0
push 0x66
lea ecx, [esp + 0x24]
call fcn.00417ad0
mov dword [esp + 0x148], 1
mov dword [esp + 0x1c], vtable.CContentSyndicationUpdateDlg.0
call fcn.00413799
call fcn.00413799
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [esp + 0xd4], eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x148], 2
mov ecx, edx
mov dword [ebx + 0x20], edx
call fcn.00414000
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4030b2
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push 1
call edx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x148], 4
call fcn.00415ceb
mov byte [esp + 0x148], 3
lea ecx, [esp + 0xbc]
mov dword [esp + 0xbc], vtable.CBrush.0
call fcn.004033f0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x148], 0xffffffff
call fcn.0041385a
xor eax, eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.0050ec37
mov esp, ebp
pop ebp
ret
Function at 0x406b20
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534a58
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x586e90]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx - 0xc]
inc ecx
mov dword [ebp - 0x2c], 0xffffffff
cmp ecx, ebx
jge 0x406b6c
push 0x80070057
call fcn.004038b0
mov eax, dword [edx - 8]
mov esi, 1
sub esi, dword [edx - 4]
sub eax, ecx
or eax, esi
jge 0x406b89
push ecx
lea ecx, [ebp + 0xc]
call fcn.00403660
mov edx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push eax
push edx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
cmp edi, ebx
je 0x406c5f
push edi
call fcn.0040f638
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx - 0xc]
add esp, 4
inc esi
mov ebx, eax
jns 0x406bbc
push 0x80070057
call fcn.004038b0
mov eax, dword [ecx - 8]
mov edx, 1
sub edx, dword [ecx - 4]
sub eax, esi
or eax, edx
jge 0x406bd9
push esi
lea ecx, [ebp + 0xc]
call fcn.00403660
mov ecx, dword [ebp + 0xc]
push ebx
push edi
push 0
push ecx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x406c2f
push 0x34
mov dword [ebp - 0x14], 0x34
call fcn.0040f609
add esp, 4
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x561ea4
push ebx
mov dword [ebp - 0x10], eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x406c2f
mov eax, dword [ebp - 0x10]
movzx ecx, word [eax + 0x10]
movzx edx, word [eax + 0x16]
movzx esi, word [eax + 0x12]
movzx edi, word [eax + 0x14]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
jmp 0x406c35
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
push ebx
call fcn.0040f643
add esp, 4
test esi, esi
js 0x406c5f
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x28]
push edi
push eax
push ecx
push esi
lea edx, [ebp + 0xc]
push str._d._d._d._d
push edx
call fcn.004033d0
add esp, 0x18
jmp 0x406c6c
push 0x564ffc
lea ecx, [ebp + 0xc]
call fcn.00408340
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.00408950
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x406ca0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x406f70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534b80
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x586e90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 1
jle 0x406fcf
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [ebp + 8]
call fcn.00403580
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, eax
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
mov word [ebp - 0x48], dx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x406fe4
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x48]
call fcn.00401950
mov eax, esi
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.00409730
add esp, 4
mov edi, eax
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00402a20
mov edi, 0x10
cmp dword [ebp - 0x50], edi
jb 0x407032
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0040f643
add esp, 4
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], ebx
mov byte [ebp - 0x64], 0
jb 0x407052
mov edx, dword [ebp - 0x48]
push edx
call fcn.0040f643
add esp, 4
xor eax, eax
mov word [ebp - 0x48], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], ebx
cmp dword [ebp - 0x18], edi
jae 0x40706d
lea eax, [ebp - 0x2c]
push 0x565050
push eax
call fcn.0051005e
mov esi, eax
add esp, 8
cmp esi, ebx
jne 0x4070cd
cmp dword [ebp - 0x18], edi
jb 0x407092
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0040f643
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4070c6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x407163
push 2
push ebx
push esi
call fcn.005100ff
push esi
call fcn.0051030f
push 0
push 0
push esi
mov ebx, eax
call fcn.005100ff
lea edi, [ebx + 1]
push edi
call fcn.00510374
mov ecx, dword [ebp - 0x68]
push edi
push 0
push eax
mov dword [ecx], eax
call fcn.00511ac0
mov edx, dword [ebp - 0x68]
mov eax, dword [edx]
push esi
push 1
push ebx
push eax
call fcn.00510652
push esi
call fcn.0050f39a
add esp, 0x40
cmp dword [ebp - 0x18], 0x10
jb 0x407129
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0040f643
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407161
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ec37
mov esp, ebp
pop ebp
ret 8
Function at 0x407190
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x534e30
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x586e90]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x48]
push ecx
mov dword [ebp - 0x58], eax
call fcn.004012e0
add esp, 4
mov ebx, 8
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], ebx
jb 0x4071de
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x50]
call fcn.00408db0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x34], ebx
jb 0x4071fc
mov edx, dword [ebp - 0x48]
push edx
call fcn.0040f643
add esp, 4
push str.Notice.ini
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 0x54]
xor eax, eax
push edx
mov dword [ebp - 0x34], 7
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
call fcn.004089e0
mov eax, dword [eax]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40724d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Remove_File_Notice.ini
call fcn.00408e80
lea ecx, [ebp - 0x2c]
add esp, 4
push ecx
call fcn.004011e0
add esp, 4
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], ebx
jb 0x407271
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00408db0
mov byte [ebp - 4], 5
cmp dword [ebp - 0x18], ebx
jb 0x40728f
mov edx, dword [ebp - 0x2c]
push edx
call fcn.0040f643
add esp, 4
mov ecx, dword [ebp - 0x4c]
xor eax, eax
push ecx
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], ax
call fcn.00407340
mov eax, dword [ebp - 0x4c]
cmp dword [eax - 4], 1
jle 0x4072c7
mov edx, dword [eax - 0xc]
push edx
lea ecx, [ebp - 0x4c]
call fcn.00403580
mov eax, dword [ebp - 0x4c]
push eax
push str.Remove_Folder___s_
call fcn.00408e80
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x4c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4072f8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40731e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050ec37
mov esp, ebp
pop ebp
ret 4
Function at 0x408ac0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x408adb
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x408b12
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x408b0e
jmp 0x408b00
cmp esi, eax
jae 0x408b12
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x408b00
cmp esi, eax
jb 0x408b19
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x409150
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0xb
push 0
push ecx
push SysReAllocString
mov dword [ebp - 4], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40918e
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4091ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4091cc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esp, ebp
pop ebp
ret 8