joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412960
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x44cefc
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x466ccc]
xor eax, esp
mov dword [esp + 0x98], eax
push ebp
push esi
push edi
mov eax, dword [0x466ccc]
xor eax, esp
push eax
lea eax, [esp + 0xac]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.004191c7
xor ebp, ebp
lea ecx, [esi + 0x54]
mov dword [esp + 0xb4], ebp
mov dword [esi], vtable.CWtGridEx.0
call fcn.00423157
push 0xa
lea ecx, [esi + 0xc4]
mov byte [esp + 0xb8], 1
call fcn.00422cb3
lea ecx, [esi + 0x104]
mov byte [esp + 0xb4], 2
call fcn.00422db7
lea edi, [esi + 0x118]
mov ecx, edi
mov byte [esp + 0xb4], 3
call fcn.0041726d
push 1
push ebp
push 8
push 0x10
push 0x19
mov ecx, edi
mov byte [esp + 0xc8], 4
mov dword [0x468208], ebp
call fcn.00417631
push 0x94
lea eax, [esp + 0x18]
push ebp
push eax
mov dword [esi + 0x100], ebp
mov dword [esi + 0x120], ebp
call fcn.00436890
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x18]
cmp eax, 5
ja 0x412a63
jne 0x412a5b
cmp dword [esp + 0x1c], 1
jae 0x412a63
mov dword [esi + 0x124], ebp
jmp 0x412a6e
mov eax, 1
mov dword [esi + 0x124], eax
mov eax, esi
mov ecx, dword [esp + 0xac]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004353b2
add esp, 0xa8
ret

Function at 0x413c90
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x404
mov eax, dword [0x466ccc]
xor eax, esp
mov dword [esp + 0x400], eax
mov ecx, dword [ecx + 0xa4]
mov edx, dword [esp + 0x40c]
mov eax, dword [esp + 0x408]
push esi
mov esi, dword [esp + 0x414]
push edi
mov edi, dword [esp + 0x41c]
push ecx
push 0x3ff
lea ecx, [esp + 0x10]
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov esi, eax
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x413ce5
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
mov ecx, edi
call fcn.00401920
mov ecx, dword [esp + 0x408]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004353b2
add esp, 0x404
ret 0x10

Function at 0x41b6c3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41b6fc
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00417658
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040a230
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x41d320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x41d363
call fcn.0041f7e4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x41d363
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x41d37e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0041ced7
test ebx, ebx
mov esi, eax
je 0x41d37c
test edi, edi
je 0x41d37c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x41da71
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x44dfa9
call fcn.00438ce3
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x41da96
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x41dae2
call fcn.0041f8c5
push eax
lea ecx, [ebp - 0x10]
call fcn.00401350
mov ecx, dword [esi + 0x50]
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.0041d385
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401120
mov eax, esi
call fcn.00438dbb
ret 8
Function at 0x41e593
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x44e03f
call fcn.00438d16
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.0041f7e4
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x41e5de
call fcn.0041f7e4
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x41e5ef
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x41e5fc
or eax, 0xffffffff
jmp 0x41e758
mov ecx, esi
call fcn.0041e0e5
mov dword [ebp - 0x14], eax
call fcn.0041a668
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x41e67a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x41e67a
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x41e67a
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.0040fb00
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x41e67a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x41e67a
mov ecx, ebx
call fcn.0041d574
test eax, eax
je 0x41e67a
push 0
mov ecx, ebx
call fcn.0041d58f
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0041c100
push dword [ebp - 0x14]
call fcn.0041a5c0
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0041e39b
xor edi, edi
cmp eax, edi
je 0x41e6d7
test byte [esi + 0x3c], 0x10
je 0x41e6c1
push 4
pop edi
mov ecx, esi
call fcn.0041d45b
test ax, 0x100
je 0x41e6b7
push 5
pop edi
push edi
mov ecx, esi
call fcn.0041a188
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x41e6d7
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0041d762
or dword [ebp - 4], 0xffffffff
jmp 0x41e702
cmp dword [ebp - 0x28], edi
je 0x41e710
push 1
mov ecx, ebx
call fcn.0041d58f
cmp dword [ebp - 0x2c], edi
je 0x41e720
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x41e739
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x41e739
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0041e11f
cmp dword [esi + 0x58], edi
je 0x41e755
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.00438dbb
ret
Function at 0x423926
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x466ccc]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x423966
push 0x4560e8
push 4
push eax
call fcn.0043abf9
push eax
call fcn.0040f630
add esp, 0x10
jmp 0x423978
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4239e6
push edi
call fcn.0043a6b7
mov edi, dword [eax]
call fcn.0043a6b7
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.00435f6c
add esp, 0x18
mov ebx, eax
call fcn.0043a6b7
cmp dword [eax], 0
je 0x4239c6
call fcn.0043a6b7
push dword [eax]
call fcn.00417dfb
pop ecx
jmp 0x4239cd
call fcn.0043a6b7
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4239e6
cmp ebx, esi
jae 0x4239e6
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x4239e8
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004353b2
leave
ret
Function at 0x424a2e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x424a74
call fcn.0041f7e4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x424a74
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x424ab7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x424aa0
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x424aa0
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x424ab4
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4264c8
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4264f6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x426514
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00426432
jmp 0x426514
mov eax, dword [esi + 0x14]
test eax, eax
je 0x426514
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00426432
test edi, edi
mov eax, edi
jne 0x4264fe
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x46a050]
test ecx, ecx
je 0x4265d7
jmp 0x4264c7
ret 8

Function at 0x4353b2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x466ccc]
jne 0x4353bc
repz ret
jmp fcn.00440b2c
Function at 0x44198b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x4676e8]
je 0x4419a6
inc edi
cmp edi, 0x17
jb 0x441997
cmp edi, 0x17
jae 0x441b26
push ebp
push 3
call fcn.00447180
cmp eax, 1
pop ecx
je 0x441af2
push 3
call fcn.00447180
test eax, eax
pop ecx
jne 0x4419da
cmp dword [0x466db0], 1
je 0x441af2
cmp ebx, 0xfc
je 0x441b25
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x46a640
push ebp
call fcn.0043abf9
add esp, 0xc
test eax, eax
je 0x441a10
push esi
push esi
push esi
push esi
push esi
call fcn.0043cd4e
add esp, 0x14
push 0x104
mov esi, 0x46a659
push esi
push 0
mov byte [0x46a75d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x441a54
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0043abf9
add esp, 0xc
test eax, eax
je 0x441a54
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043cd4e
add esp, 0x14
push esi
call fcn.00438df0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x441a99
push esi
call fcn.00438df0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x46a954
push 0x457f9c
sub ecx, eax
push ecx
push eax
call fcn.0043a555
add esp, 0x14
test eax, eax
je 0x441a99
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043cd4e
add esp, 0x14
jmp 0x441a9b
xor esi, esi
push 0x457f98
push ebx
push ebp
call fcn.0043ac5e
add esp, 0xc
test eax, eax
je 0x441abb
push esi
push esi
push esi
push esi
push esi
call fcn.0043cd4e
add esp, 0x14
push dword [edi*8 + 0x4676ec]
push ebx
push ebp
call fcn.0043ac5e
add esp, 0xc
test eax, eax
je 0x441add
push esi
push esi
push esi
push esi
push esi
call fcn.0043cd4e
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00446fc3
add esp, 0xc
jmp 0x441b25
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x441b25
cmp ebp, 0xffffffff
je 0x441b25
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x4676ec]
push dword [esi]
call fcn.00438df0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x446fc3
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0043c375
xor ebx, ebx
cmp dword [0x46ab9c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x447099
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x447179
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4590d8
push edi
call esi
cmp eax, ebx
je 0x447179
push eax
call fcn.0043c307
mov dword [esp], 0x4590c8
push edi
mov dword [0x46ab9c], eax
call esi
push eax
call fcn.0043c307
mov dword [esp], 0x4590b4
push edi
mov dword [0x46aba0], eax
call esi
push eax
call fcn.0043c307
mov dword [0x46aba4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043a986
test eax, eax
pop ecx
pop ecx
je 0x447067
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043cd4e
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x447099
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043c307
cmp eax, ebx
pop ecx
mov dword [0x46abac], eax
je 0x447099
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043c307
pop ecx
mov dword [0x46aba8], eax
mov eax, dword [0x46aba8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x44711e
cmp dword [0x46abac], ecx
je 0x44711e
push eax
call fcn.0043c37e
push dword [0x46abac]
mov esi, eax
call fcn.0043c37e
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x44711e
cmp edi, ebx
je 0x44711e
call esi
cmp eax, ebx
je 0x4470eb
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4470eb
test byte [ebp - 0x18], 1
jne 0x44711e
lea eax, [ebp - 0x10]
push eax
call fcn.0043a9bd
test eax, eax
pop ecx
je 0x447106
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043cd4e
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x447115
or dword [ebp + 0x10], 0x200000
jmp 0x447159
or dword [ebp + 0x10], 0x40000
jmp 0x447159
mov eax, dword [0x46aba0]
cmp eax, dword [ebp - 8]
je 0x447159
push eax
call fcn.0043c37e
cmp eax, ebx
pop ecx
je 0x447159
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x447159
mov eax, dword [0x46aba4]
cmp eax, dword [ebp - 8]
je 0x447159
push eax
call fcn.0043c37e
cmp eax, ebx
pop ecx
je 0x447159
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46ab9c]
call fcn.0043c37e
cmp eax, ebx
pop ecx
je 0x447179
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44717b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44b538
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x466ccc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044b4cd
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00436890
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44b587
cmp dword [ebp - 0x1c], 5
jb 0x44b59f
jmp 0x44b59b
cmp dword [ebp - 0x10], 1
jne 0x44b59f
cmp dword [ebp - 0x1c], 4
ja 0x44b59b
jne 0x44b59f
cmp dword [ebp - 0x18], 0
jbe 0x44b59f
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4599d4
call fcn.0044b3be
test eax, eax
jge 0x44b5c0
mov byte [0x468200], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004353b2
add ebp, 0x78
leave
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

Function at 0x446000
Capabilities:
Accept command line arguments
Access peb ldr_data
Get ntdll base address
Resolve function by parsing pe exports
Terminate process

Disassembly:
call 0x446005
pop ebx
sub ebx, 0x400266
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov edi, dword [edi + 0x1c]
mov edi, dword [edi]
mov edi, dword [edi + 8]
mov dword [ebx + 0x4003c2], edi
mov esi, edi
add esi, dword [esi + 0x3c]
mov esi, dword [esi + 0x78]
add esi, edi
push esi
mov ebp, dword [esi + 0x18]
mov esi, dword [esi + 0x20]
add esi, edi
xor edx, edx
push esi
mov edi, dword [esi]
add edi, dword [ebx + 0x4003c2]
lea esi, [ebx + 0x400387]
mov ecx, 0xf
repe cmpsb byte [esi], byte es:[edi]
jne 0x446057
pop esi
mov edx, esi
pop esi
jmp 0x446068
pop esi
add esi, 4
inc edx
cmp edx, ebp
jb 0x446039
sub esp, 4
jmp 0x446182
sub edx, dword [esi + 0x20]
mov eax, dword [ebx + 0x4003c2]
sub edx, eax
shr edx, 1
add edx, dword [esi + 0x24]
add edx, eax
movzx eax, word [edx]
shl eax, 2
add eax, dword [esi + 0x1c]
add eax, dword [ebx + 0x4003c2]
mov eax, dword [eax]
add eax, dword [ebx + 0x4003c2]
mov edi, eax
mov ebp, esp
mov edx, dword [ebx + 0x4003c2]
lea eax, [ebx + 0x400396]
push eax
push edx
call edi
sub esp, 0x104
push esp
push 0x104
call eax
lea eax, [ebx + 0x4003a3]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
lea ecx, [ebx + 0x4003ac]
push ecx
mov ecx, esp
add ecx, 4
push ecx
call eax
lea eax, [ebx + 0x4003b6]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
mov ecx, esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
call eax
mov esi, eax
lea ecx, [ebx + 0x4003ed]
push ecx
push ecx
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
pop ecx
push 0
push ecx
add ecx, 0xa
mov edx, dword [ecx]
push edx
push ecx
mov edx, 0x905a4d
mov dword [ecx], edx
push esi
call eax
lea eax, [ebx + 0x4003d5]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
push esi
call eax
lea eax, [ebx + 0x4003c6]
push eax
mov edx, dword [ebx + 0x4003c2]
push edx
call edi
sub esp, 0x44
mov edx, esp
mov esi, 0
mov ecx, 0x11
mov dword [edx], esi
add edx, 4
loop 0x446153
mov edx, 0x44
mov dword [esp], edx
sub esp, 0x10
mov edx, esp
push esp
add edx, 0x10
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
add edx, 0x44
push edx
call eax
mov esp, ebp
jmp fcn.00406c40
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x6be26a86
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x103869e8
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x1002a8d
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
lea eax, [ebp + 0x14]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp + 0x14], esi
push dword [ebp + 8]
call dword [sym.imp.API_MS_Win_Core_LocalRegistry_L1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1002ae8
mov eax, dword [ebp + 0x14]
cmp eax, 2
jb 0x1002ae3
shr eax, 1
xor ecx, ecx
cmp cx, word [edi + eax*2 - 2]
jne 0x1002ae3
mov eax, dword [ebp + 0x10]
dec eax
je 0x1002adf
dec eax
jne 0x1002ae3
push esi
push edi
call fcn.01002996
test eax, eax
jne 0x1002ae8
xor eax, eax
jmp 0x1002ae8
mov eax, 0x3f7
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x1002d87
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1003220
call fcn.01174000
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x10043c8
push ebx
push esi
push edi
call dword [sym.imp.API_MS_Win_Core_Interlocked_L1_1_0.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1002b9c
cmp eax, esi
jne 0x1002b8f
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1002b9f
push 0x3e8
call dword [sym.imp.API_MS_Win_Core_Misc_L1_1_0.dll_Sleep]
jmp 0x1002b76
xor esi, esi
inc esi
mov eax, dword [0x10043c4]
cmp eax, esi
jne 0x1002bb2
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1002bed
mov eax, dword [0x10043c4]
test eax, eax
jne 0x1002be7
mov dword [0x10043c4], esi
push 0x1001188
push 0x100117c
call fcn.01002af3
pop ecx
pop ecx
test eax, eax
je 0x1002bed
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1002cb7
mov dword [0x1004078], esi
mov eax, dword [0x10043c4]
cmp eax, esi
jne 0x1002c11
push 0x1001178
push 0x1001170
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10043c4], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1002c1e
push ebx
push edi
call dword [sym.imp.API_MS_Win_Core_Interlocked_L1_1_0.dll_InterlockedExchange]
cmp dword [0x10043cc], ebx
je 0x1002c3f
push 0x10043cc
call fcn.01002eb9
pop ecx
test eax, eax
je 0x1002c3f
push ebx
push 2
push ebx
call dword [0x10043cc]
push dword [0x1004060]
push dword [0x1004064]
push dword [0x100405c]
call fcn.010018dc
add esp, 0xc
mov dword [0x1004074], eax
cmp dword [0x1004068], ebx
jne 0x1002c9d
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1004078], ebx
jne 0x1002cab
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004074]
call fcn.01002f89
ret
call fcn.01003091
jmp 0x1002b54
Function at 0x431001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
mov ecx, 0xc422a74
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f3f8
mov ecx, 0x392b7637
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
jmp 0x401219

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219