joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c460
Capabilities:
Check if file exists

Disassembly:
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
mov esi, ecx
test edi, edi
jne 0x42c49c
mov edi, dword [esi + 0x648]
test edi, edi
je 0x42c496
call fcn.00442c4d
mov dword [eax + 0xc], edi
mov eax, dword [esi + 0x64c]
test eax, eax
je 0x42c496
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x64c], ebx
pop edi
pop esi
mov eax, ebx
pop ebx
ret
mov eax, dword [esi + 0x64c]
test eax, eax
je 0x42c4b3
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi + 0x64c], ebx
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x42c4fb
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x64c], eax
test eax, eax
je 0x42c4f2
call fcn.00442c4d
mov eax, dword [eax + 8]
mov dword [esi + 0x648], eax
mov esi, dword [esi + 0x64c]
call fcn.00442c4d
pop edi
mov dword [eax + 0xc], esi
pop esi
mov eax, ebx
pop ebx
ret
pop edi
pop esi
mov eax, 0x21
pop ebx
ret
pop edi
pop esi
mov eax, 0x20
pop ebx
ret

Function at 0x42c510
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5b4450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, 1
test esi, esi
je 0x42c531
test edi, edi
jne 0x42c544
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005337cb
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5e0], 0
je 0x42c56b
lea ecx, [ebp - 0x20c]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea edx, [ebp - 0x20c]
push edx
jmp 0x42c5ca
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00536c58
push 0
push 0
lea ecx, [ebp - 0x414]
push ecx
lea edx, [ebp - 0x61c]
push edx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00536174
add esp, 0x2c
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push edi
lea edx, [ebp - 0x20c]
push edx
push 0x58b914
push 0xffffffffffffffff
push 0x104
push esi
call fcn.00535cbb
add esp, 0x18
test eax, eax
js 0x42c531
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.005337cb
mov esp, ebp
pop ebp
ret 4
Function at 0x431cd0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55a4eb
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x5b4450]
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
xor esi, esi
push esi
lea eax, [ebp - 0x42c]
push str.CUNINSTALLERDlg::DeleteSurvivalPrinterRegKey
push eax
mov edi, ecx
call fcn.0040ac70
add esp, 0xc
push edi
push str.lpszPrinter___s
lea ecx, [ebp - 0x42c]
push 1
push ecx
mov dword [ebp - 4], esi
call fcn.0040aed0
add esp, 0x10
lea edx, [ebp - 0x424]
push edx
push 0xf003f
push esi
push edi
push SysReAllocString
lea ebx, [esi + 1]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x431e2c
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push 0x410
lea eax, [ebp - 0x420]
push 0
push eax
mov dword [ebp - 0x430], 0x208
call fcn.005373f0
add esp, 0xc
lea ecx, [ebp - 0x438]
push ecx
mov ecx, dword [ebp - 0x424]
push 0
push 0
push 0
lea edx, [ebp - 0x430]
push edx
lea eax, [ebp - 0x420]
push eax
push esi
push ecx
call edi
inc esi
test eax, eax
je 0x431db0
cmp eax, 0x103
je 0x431e18
xor ebx, ebx
jmp 0x431e01
lea edx, [ebp - 0x420]
push edx
call fcn.00431e80
test eax, eax
jne 0x431d5b
mov ecx, dword [ebp - 0x424]
lea eax, [ebp - 0x420]
push eax
push ecx
call fcn.00414fb0
add esp, 8
cmp eax, 1
jne 0x431e1d
mov eax, dword [ebp - 0x424]
lea edx, [ebp - 0x420]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x431dff
cmp eax, 2
je 0x431dff
xor ebx, ebx
mov eax, 0x103
xor esi, esi
test eax, eax
je 0x431d5b
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431e33
mov ebx, 1
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431e33
cmp eax, 2
je 0x431e33
xor ebx, ebx
push ebx
push str.return___08x
lea edx, [ebp - 0x42c]
push 2
push edx
call fcn.0040aed0
add esp, 0x10
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], 0xffffffff
call fcn.0040ae50
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.005337cb
mov esp, ebp
pop ebp
ret
Function at 0x43bbb0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5b4450]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
call fcn.00442c4d
mov esi, dword [eax + 4]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.005373f0
add esp, 0xc
push esi
lea esi, [ebp - 0x20c]
mov edi, str.InsCmn.dll
call fcn.0042c510
mov edx, esi
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43bc8e
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebx], eax
test eax, eax
je 0x43bc8e
push str.PI_CMN_GetInterface
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebx + 4], eax
test eax, eax
je 0x43bc55
push pe_nt_image_headers32
call eax
mov dword [ebx + 8], eax
test eax, eax
je 0x43bc55
mov ecx, dword [eax]
xor esi, esi
call ecx
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005337cb
mov esp, ebp
pop ebp
ret
cmp dword [ebx], 0
je 0x43bc8e
mov eax, dword [ebx + 8]
test eax, eax
je 0x43bc66
mov edx, dword [eax + 4]
call edx
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
mov eax, 0x22
je 0x43bc93
pop edi
mov dword [ebx], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005337cb
mov esp, ebp
pop ebp
ret
mov eax, 0x22
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005337cb
mov esp, ebp
pop ebp
ret
Function at 0x4495bb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x449602
call fcn.00442c4d
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x449602
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x44961e
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004490bb
mov esi, eax
test edi, edi
je 0x44961c
test ebx, ebx
je 0x44961c
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44ad2f
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0044a9d3
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x44ad79
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00440240
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00413b40
jmp 0x44ad84
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00453966
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x44ad8a
Capabilities:
Get graphical window text

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
call fcn.0044b9cf
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x44adc7
call fcn.0044a9d3
mov dword [esi + 0xc], 1
jmp 0x44adcc
call fcn.0044a9d3
cmp dword [esi], 0
je 0x44ae15
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jle 0x44aded
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00440240
jmp 0x44adff
mov ecx, dword [ebp + 0x10]
push 0xff
call fcn.00401590
push pe_nt_image_headers32
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00413b40
jmp 0x44ae39
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x44ae39
push dword [esi]
push dword [ebp + 8]
call fcn.00453966
pop esi
pop ebp
ret 0xc
Function at 0x44b822
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00442c4d
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x44b85b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0044b45f
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x44b8b9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x44b8dd
cmp dword [edi + 0x74], 0
jne 0x44b8dd
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00442c4d
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0044b87a
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x44bd05
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x552c02
call fcn.005371dc
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x44bd2a
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x44bd7c
call fcn.0044033f
push eax
lea ecx, [ebp - 0x10]
call fcn.004014d0
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00536614
push eax
call fcn.00401010
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401170
mov eax, esi
call fcn.005372b4
ret 8
Function at 0x44daa7
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5b4450]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0x800
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x234], eax
mov esi, ecx
lea eax, [ebp - 0xc]
jne 0x44daec
push 0x564190
push 4
push eax
call fcn.00535afa
push eax
call fcn.00401010
add esp, 0x10
jmp 0x44db02
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x44db82
push edi
call fcn.0053739e
mov edi, dword [eax]
call fcn.0053739e
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x234]
lea eax, [ebp - 0x230]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.00535cbb
add esp, 0x18
mov dword [ebp - 0x234], eax
call fcn.0053739e
cmp dword [eax], 0
je 0x44db56
call fcn.0053739e
push dword [eax]
call fcn.00440eb9
pop ecx
jmp 0x44db5d
call fcn.0053739e
mov dword [eax], edi
cmp dword [ebp - 0x234], 0xffffffff
pop edi
je 0x44db82
cmp dword [ebp - 0x234], esi
jae 0x44db82
push 0
push 0
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x44db84
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.005337cb
leave
ret
Function at 0x44e029
Capabilities:
Identify system language via api

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x5b4450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x144], eax
mov eax, dword [ebp + 0xc]
push edi
push str.KERNEL32.DLL
mov dword [ebp - 0x13c], eax
xor esi, esi
call fcn.00444c1a
pop ecx
cmp eax, esi
je 0x44e113
push str.GetThreadPreferredUILanguages
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
cmp edi, esi
je 0x44e113
xor eax, eax
push 0xc8
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xce]
push esi
push eax
mov dword [ebp - 0x140], esi
call fcn.005373f0
add esp, 0xc
lea eax, [ebp - 0x138]
push eax
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x140]
push eax
push 0x34
mov dword [ebp - 0x138], 0x65
call edi
test eax, eax
je 0x44e113
lea edi, [ebp - 0xd0]
cmp word [ebp - 0xd0], si
je 0x44e113
cmp esi, 0x14
jge 0x44e113
push 0x10
push 0
push edi
call fcn.005391d5
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x44e102
call fcn.0053739e
cmp dword [eax], 0x22
je 0x44e102
mov dword [ebp + esi*4 - 0x134], ebx
inc esi
push edi
call fcn.00536ca4
lea edi, [edi + eax*2 + 2]
cmp word [edi], 0
pop ecx
jne 0x44e0d8
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov edi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
mov ebx, 0xfc00
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x134], eax
call edi
mov dword [ebp + esi*4 - 0x130], eax
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
and eax, ebx
or eax, ecx
push eax
mov dword [ebp - 0x138], ecx
call edi
push dword [ebp - 0x138]
mov dword [ebp + esi*4 - 0x12c], eax
call edi
mov dword [ebp + esi*4 - 0x128], eax
add esi, 4
cmp dword [0x5ca240], 0
jne 0x44e19e
mov dword [ebp + esi*4 - 0x134], 0x800
inc esi
xor edi, edi
test esi, esi
jle 0x44e1c7
push dword [ebp + edi*4 - 0x134]
mov ecx, dword [ebp - 0x144]
push dword [ebp - 0x13c]
call fcn.0044daa7
pop ecx
pop ecx
test eax, eax
jne 0x44e1c9
inc edi
cmp edi, esi
jl 0x44e1a4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005337cb
leave
ret 8

Function at 0x45489d
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5b4450]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x4548d2
xor eax, eax
jmp 0x454925
lea eax, [ebp - 0x210]
push eax
call fcn.00536ca4
cmp word [ebp + eax*2 - 0x212], 0x5c
pop ecx
je 0x454903
push 0x58abe4
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0053659f
add esp, 0xc
test eax, eax
jne 0x4548ce
push edi
lea eax, [ebp - 0x210]
push esi
push eax
call fcn.0053659f
add esp, 0xc
test eax, eax
jne 0x4548ce
lea eax, [ebp - 0x210]
push eax
call fcn.00444c1a
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.005337cb
leave
ret
Function at 0x4c0af9
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4c0b13
call fcn.00442c4d
mov esi, dword [eax + 0xc]
push dword [0x5cc3d4]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4c0b31
xor eax, eax
pop edi
pop esi
leave
ret 8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x4c0b29
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x4c0b5e
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x4c0b2b
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.004c0a27
mov esi, eax
jmp 0x4c0b50

Function at 0x510a02
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push esi
mov esi, ecx
call fcn.00447c21
call fcn.00426780
cmp eax, esi
pop esi
jne 0x510a1e
mov ecx, 0x5ca548
jmp fcn.00455492
ret

Function at 0x51439a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
test byte [esi + 4], 1
push edi
mov ebx, ecx
je 0x5143b2
mov edi, dword [esi + 0xc]
jmp 0x5143f2
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x5143cb
call fcn.0044c0c0
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x5143e0
call fcn.0044c0c0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x5143f2
call fcn.0044c0c0
call fcn.00442c4d
cmp dword [eax + 0x3c], 0
je 0x514407
push edi
mov ecx, ebx
call fcn.005131cc
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.005142b4
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0x7c]
test eax, eax
je 0x514425
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
and dword [ebx + 0x7c], 0
mov eax, dword [ebp + 8]
test eax, eax
je 0x514431
mov edi, eax
mov dword [ebx + 0x7c], eax
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5337cb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5b4450]
jne 0x5337d5
repz ret
jmp fcn.0053ce53
Function at 0x548398
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x5b4450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0053c87b
and dword [ebp - 0x14], 0
cmp dword [0x5cea38], 0
mov dword [ebp - 0x18], eax
jne 0x54844b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x5484f3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x5893c8
push ebx
call edi
test eax, eax
je 0x5484f3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x5893b8
push ebx
mov dword [0x5cea38], eax
call edi
push eax
call esi
push 0x5893a4
push ebx
mov dword [0x5cea3c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5cea40], eax
call edi
push eax
call esi
mov dword [0x5cea48], eax
test eax, eax
je 0x54844b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5cea44], eax
mov eax, dword [0x5cea44]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x5484a4
cmp dword [0x5cea48], ecx
je 0x5484a4
push eax
call esi
push dword [0x5cea48]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x5484a4
test ebx, ebx
je 0x5484a4
call edi
test eax, eax
je 0x54849b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x54849b
test byte [ebp - 8], 1
jne 0x5484a4
or dword [ebp + 0x10], 0x200000
jmp 0x5484d7
mov eax, dword [0x5cea3c]
cmp eax, dword [ebp - 0x18]
je 0x5484d7
push eax
call esi
test eax, eax
je 0x5484d7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x5484d7
mov eax, dword [0x5cea40]
cmp eax, dword [ebp - 0x18]
je 0x5484d7
push eax
call esi
test eax, eax
je 0x5484d7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5cea38]
call esi
test eax, eax
je 0x5484f3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x5484f5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005337cb
leave
ret
Function at 0x406af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x3c
push eax
call fcn.0041a3c0
add esp, 4
cmp eax, 0x1000
ja 0x406c65
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 0x7d8]
test ecx, ecx
je 0x406c64
push ebx
push edi
lea edi, [eax + eax]
lea ebx, [ecx + 0x1ff56c]
mov ecx, dword [ebp + 0xc]
push edi
push ebx
push ecx
call fcn.0041a3e0
add esp, 0xc
test eax, eax
jne 0x406c62
mov edx, dword [ebp + 0xc]
push edi
push edx
push ebx
call fcn.0041a0d0
add esp, 0xc
xor ecx, ecx
xor eax, eax
push 0x104
mov word [ebp - 4], cx
mov ecx, dword [esi + 0xcc0]
lea ebx, [esi + 0x4460]
push ebx
mov dword [ebp - 0xc], 0xa000d
mov dword [ebp - 8], 0xa000d
mov dword [ebp - 0x3c], 0x6c0043
mov dword [ebp - 0x38], 0x700069
mov dword [ebp - 0x34], 0x6f0062
mov dword [ebp - 0x30], 0x720061
mov dword [ebp - 0x2c], 0x64
mov word [ebp - 0x28], ax
mov dword [ebp - 0x26], eax
mov dword [ebp - 0x22], eax
mov word [ebp - 0x1e], ax
call ecx
mov edx, dword [esi + 0xcbc]
push eax
call edx
cmp eax, 0x40
jbe 0x406bc2
xor eax, eax
mov word [esi + 0x44e0], ax
jmp 0x406bf1
test eax, eax
jne 0x406bf1
push 0x10
lea eax, [ebp - 0x1c]
push eax
push ebx
mov dword [ebp - 0x1c], 0x6e0055
mov dword [ebp - 0x18], 0x6e006b
mov dword [ebp - 0x14], 0x77006f
mov dword [ebp - 0x10], 0x6e
call fcn.0041a0d0
add esp, 0xc
push 0x14
lea ecx, [ebp - 0x3c]
push ecx
lea edi, [esi + 0x4ce0]
push edi
call fcn.0041a0d0
push 0
lea edx, [ebp - 0xc]
push edx
push edi
call fcn.0041a530
push 0
push ebx
push edi
call fcn.0041a530
push 0
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.0041a530
mov ecx, dword [ebp + 0xc]
push 0
push ecx
push edi
call fcn.0041a530
push edi
call fcn.0041a3c0
add esp, 0x40
add eax, eax
push edi
mov dword [esi + 0xa08], eax
call fcn.0041a3c0
mov edx, dword [esi + 0xa04]
add eax, eax
push eax
push edi
push edx
call fcn.0041a0d0
push 0x13
push esi
call fcn.0040ce20
add esp, 0x18
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x408610
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ecx
rdtsc
xor ecx, ecx
add ecx, eax
rdtsc
sub eax, ecx
mov dword [ebp - 4], eax
mov eax, 0x50
mov esp, ebp
pop ebp
ret