joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421e60
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [0x4561c4]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx]
push ebx
mov ebx, dword [ecx + 4]
push ebp
push esi
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x20]
push ecx
xor ebp, ebp
or ebx, 0x2001f
push ebx
push ebp
push edi
push eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x34], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 0x14]
mov esi, eax
cmp esi, ebp
jne 0x421eda
xor eax, eax
cmp ecx, ebp
je 0x421ec2
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x20]
and ebx, 0x300
mov esi, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ebx
cmp eax, ebp
je 0x421ee8
cmp ecx, ebp
je 0x421f7b
push ecx
jmp 0x421f75
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
push ebp
push ebp
push ebp
lea eax, [esp + 0x2c]
push eax
lea edx, [esp + 0x44]
push edx
push ebp
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
jne 0x421f4a
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00421e60
mov ebx, eax
cmp ebx, ebp
jne 0x421f98
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push ebp
push ebp
push ebp
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x44]
push eax
push ebp
push ecx
mov dword [esp + 0x3c], pe_nt_image_headers32
call esi
test eax, eax
je 0x421f10
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x421f5d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x14], ebp
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], ebp
call fcn.00422010
mov esi, eax
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x421f7b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042bcfb
add esp, 0x228
ret 4
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x421fa7
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x421f7d
Function at 0x422a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x445e90
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4561c4]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov esi, dword [ebp + 0x414]
xor ebx, ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], ebx
mov dword [ebp], ebx
push 2
push ebx
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, ebx
jne 0x422b0f
call fcn.004171d0
mov esi, eax
jmp 0x422bf1
mov eax, dword [ebp - 0x14]
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, ebx
jne 0x422b2b
call fcn.004171d0
jmp 0x422be8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x422b44
call fcn.004171d0
jmp 0x422be8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [eax + 1]
mov dword [ebp - 0x14], eax
cmp ecx, eax
jae 0x422b78
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x422b66
lea eax, [ebp]
call fcn.004218f0
lea esi, [ebp - 0x1c]
call fcn.004037f0
mov eax, 0x8007000e
jmp 0x422c03
mov eax, ecx
lea esi, [ebp]
mov byte [ebp - 4], 2
call fcn.00421250
mov dword [ebp - 4], 1
jmp 0x422ba1
mov ecx, dword [ebp]
cmp ecx, ebx
jne 0x422baf
mov esi, 0x8007000e
jmp 0x422bea
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
push eax
push ecx
push eax
push edx
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
jne 0x422bcd
call fcn.004171d0
jmp 0x422be8
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea edx, [ebp - 0x28]
call fcn.00422940
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x422c01
lea eax, [ebp]
call fcn.004218f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.0042bcfb
add ebp, 0x408
mov esp, ebp
pop ebp
ret 0xc

Function at 0x423460
Capabilities:
Create process on windows

Disassembly:
push edi
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 1
push 0
push 0
push esi
push 0x44ceb0
push 0
call edi
cmp eax, 0x20
jg 0x423495
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 1
push 0
push esi
push str.iexplore
push 0x44ceb0
push 0
call edi
pop edi
ret
Function at 0x423720
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x445058
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4561c4]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
mov eax, dword [0x4561c4]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
xor ebx, ebx
cmp edi, ebx
je 0x4237dd
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebp
xor eax, eax
mov word [esp + 0x30], ax
mov eax, edi
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x423780
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea esi, [esp + 0x30]
call fcn.00401b20
mov dword [esp + 0x54], ebx
push 0x44ce40
mov ebx, 1
xor eax, eax
mov edx, esi
call fcn.00401a40
mov esi, eax
cmp esi, 0xffffffff
jne 0x4237e4
push edi
call ebp
test eax, eax
jne 0x423870
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x423870
lea esi, [esp + 0x2c]
call fcn.004200f0
xor al, al
jmp 0x42389d
lea ecx, [esp + 0x2c]
lea ebp, [esi + 1]
push ecx
mov ecx, ebp
xor edx, edx
lea esi, [esp + 0x14]
call fcn.00405620
mov eax, dword [esp + 0x14]
mov esi, 8
cmp dword [esp + 0x28], esi
jae 0x42380c
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x423836
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], esi
jae 0x423825
lea eax, [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4238bb
push 0x44ce40
mov ebx, 1
mov eax, ebp
lea edx, [esp + 0x30]
call fcn.00401a40
cmp dword [esp + 0x28], 8
mov esi, eax
jb 0x423861
mov edx, dword [esp + 0x14]
push edx
call fcn.0042bcf0
add esp, 4
cmp esi, 0xffffffff
jne 0x4237e4
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call ebp
test eax, eax
jne 0x423887
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4237d4
cmp dword [esp + 0x44], 8
jb 0x42389b
mov eax, dword [esp + 0x30]
push eax
call fcn.0042bcf0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0042bcfb
add esp, 0x48
ret
cmp dword [esp + 0x28], esi
jb 0x4238ce
mov eax, dword [esp + 0x14]
push eax
call fcn.0042bcf0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], cx
cmp dword [esp + 0x44], esi
jb 0x4238f8
mov edx, dword [esp + 0x30]
push edx
call fcn.0042bcf0
add esp, 4
xor al, al
jmp 0x42389d
Function at 0x423980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4467e1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4561c4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 0
mov ecx, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
call fcn.00423900
mov dword [esp + 0x38], 0
push edi
mov ebx, str.LastUpgrade.ini
lea esi, [esp + 0x18]
mov dword [esp + 0x10], 1
call fcn.004057f0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, edi
mov dword [esp + 0x40], 1
call fcn.00401990
cmp dword [esp + 0x2c], 8
jb 0x423a09
mov eax, dword [esp + 0x18]
push eax
call fcn.0042bcf0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret

Function at 0x423a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4467e1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x4561c4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x38], 0
mov ecx, edi
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0
call fcn.00423900
mov dword [esp + 0x38], 0
push edi
mov ebx, str.37LanderUpgrade.exe
lea esi, [esp + 0x18]
mov dword [esp + 0x10], 1
call fcn.004057f0
add esp, 4
push 0xffffffffffffffff
push 0
mov ecx, edi
mov dword [esp + 0x40], 1
call fcn.00401990
cmp dword [esp + 0x2c], 8
jb 0x423aa9
mov eax, dword [esp + 0x18]
push eax
call fcn.0042bcf0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x423b30
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44678b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4561c4]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4561c4]
xor eax, esp
push eax
lea eax, [esp + 0x240]
mov dword fs:[0], eax
xor ebp, ebp
mov esi, ecx
mov dword [esp + 0x14], ebp
mov ebx, 3
mov dword [esp + 0x248], ebx
cmp dword [esp + 0x2b8], ebp
jne 0x423bc9
lea ecx, [esp + 0x18]
call fcn.00423ac0
push 0xffffffffffffffff
push ebp
lea ecx, [esp + 0x2ac]
mov byte [esp + 0x250], 4
call fcn.00401990
mov byte [esp + 0x248], bl
mov ebx, 8
cmp dword [esp + 0x30], ebx
jb 0x423bce
mov eax, dword [esp + 0x1c]
push eax
call fcn.0042bcf0
add esp, 4
jmp 0x423bce
mov ebx, 8
push 0x206
lea edx, [esp + 0x3a]
xor ecx, ecx
push ebp
push edx
mov word [esp + 0x40], cx
call fcn.0042f810
mov edi, dword [esp + 0x2b4]
add esp, 0xc
cmp dword [esp + 0x2bc], ebx
jae 0x423bff
lea edi, [esp + 0x2a8]
mov edx, dword [esp + 0x28c]
cmp dword [esp + 0x2a0], ebx
jae 0x423c16
lea edx, [esp + 0x28c]
mov ecx, dword [esp + 0x270]
cmp dword [esp + 0x284], ebx
jae 0x423c2d
lea ecx, [esp + 0x270]
mov eax, dword [esp + 0x254]
cmp dword [esp + 0x268], ebx
jae 0x423c44
lea eax, [esp + 0x254]
push edi
push 0x104
lea edi, [esp + 0x3c]
push edi
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edi, 7
xor eax, eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x14], ebp
mov word [esi + 4], ax
lea eax, [esp + 0x34]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bp
jne 0x423c70
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x38]
call fcn.00401b20
cmp dword [esp + 0x268], ebx
jb 0x423ca2
mov ecx, dword [esp + 0x254]
push ecx
call fcn.0042bcf0
add esp, 4
xor edx, edx
mov dword [esp + 0x268], edi
mov dword [esp + 0x264], ebp
mov word [esp + 0x254], dx
cmp dword [esp + 0x284], ebx
jb 0x423cd3
mov eax, dword [esp + 0x270]
push eax
call fcn.0042bcf0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x284], edi
mov dword [esp + 0x280], ebp
mov word [esp + 0x270], cx
cmp dword [esp + 0x2a0], ebx
jb 0x423d04
mov edx, dword [esp + 0x28c]
push edx
call fcn.0042bcf0
add esp, 4
xor eax, eax
mov dword [esp + 0x2a0], edi
mov dword [esp + 0x29c], ebp
mov word [esp + 0x28c], ax
cmp dword [esp + 0x2bc], ebx
jb 0x423d35
mov ecx, dword [esp + 0x2a8]
push ecx
call fcn.0042bcf0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x240]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0042bcfb
add esp, 0x238
ret
Function at 0x423ed0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4466f0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
push edi
mov eax, dword [0x4561c4]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov dword [esp + 0x30], 2
cmp dword [esp + 0x88], 0
mov esi, 8
jne 0x423f3a
lea ecx, [esp + 0xc]
call fcn.00423ac0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x7c]
mov byte [esp + 0x38], 3
call fcn.00401990
cmp dword [esp + 0x24], esi
jb 0x423f3a
mov eax, dword [esp + 0x10]
push eax
call fcn.0042bcf0
add esp, 4
mov edx, dword [esp + 0x78]
cmp dword [esp + 0x8c], esi
jae 0x423f4b
lea edx, [esp + 0x78]
mov ecx, dword [esp + 0x58]
cmp dword [esp + 0x6c], esi
jae 0x423f59
lea ecx, [esp + 0x58]
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x50], esi
jae 0x423f67
lea eax, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x74]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
cmp dword [esp + 0x50], esi
jb 0x423f8a
mov eax, dword [esp + 0x3c]
push eax
call fcn.0042bcf0
add esp, 4
xor ecx, ecx
mov dword [esp + 0x50], 7
mov dword [esp + 0x4c], 0
mov word [esp + 0x3c], cx
cmp dword [esp + 0x6c], esi
jb 0x423fb4
mov edx, dword [esp + 0x58]
push edx
call fcn.0042bcf0
add esp, 4
xor eax, eax
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], 0
mov word [esp + 0x58], ax
cmp dword [esp + 0x8c], esi
jb 0x423fe1
mov ecx, dword [esp + 0x78]
push ecx
call fcn.0042bcf0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x28
ret
Function at 0x425690
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x445e16
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4561c4]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4561c4]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x26c]
xor ebx, ebx
mov eax, 1
mov dword [esp + 0x14], ebx
test byte [0x45c650], al
jne 0x425710
or dword [0x45c650], eax
xor eax, eax
push 0x447a30
mov dword [0x45c64c], 7
mov dword [0x45c648], ebx
mov word [0x45c638], ax
call fcn.0042da89
add esp, 4
cmp dword [0x45c648], ebx
je 0x42572d
xor ecx, ecx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], cx
jmp 0x425826
push ebx
push 0x1a
lea edx, [esp + 0x58]
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [esp + 0x50]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x425743
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x54]
mov esi, 0x45c634
call fcn.00401b20
mov edi, esi
lea eax, [esp + 0x34]
call fcn.00423170
push 0xffffffffffffffff
push ebx
mov ecx, esi
mov dword [esp + 0x26c], ebx
call fcn.00401990
mov edi, 8
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x4c], edi
jb 0x4257a0
mov eax, dword [esp + 0x38]
push eax
call fcn.0042bcf0
add esp, 4
push 0x45c634
mov ebx, 0x44d024
lea esi, [esp + 0x1c]
call fcn.004057f0
add esp, 4
push 0xffffffffffffffff
xor ebx, ebx
push ebx
mov ecx, 0x45c634
mov dword [esp + 0x26c], 1
call fcn.00401990
mov dword [esp + 0x264], 0xffffffff
cmp dword [esp + 0x30], edi
jb 0x4257ee
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0042bcf0
add esp, 4
xor edx, edx
cmp dword [0x45c64c], edi
mov edi, dword [0x45c638]
mov esi, 7
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], dx
jae 0x425815
mov edi, 0x45c638
call fcn.00423720
xor eax, eax
mov dword [ebp + 0x18], esi
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], ax
push 0xffffffffffffffff
push ebx
mov eax, 0x45c634
mov ecx, ebp
call fcn.00401990
mov eax, ebp
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0042bcfb
add esp, 0x254
ret
Function at 0x42a4cf
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x458fa4], 0
push esi
jne 0x42a442
call fcn.0042a368
test eax, eax
je 0x42a485
mov eax, dword [0x458fa4]
cmp eax, 1
jne 0x42a463
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42a485
pop esi
ret
push eax
call dword [0x458fac]
test eax, eax
jne 0x42a4cd
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42a489
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x458fa4]
call dword [0x458fac]
mov edi, eax
test edi, edi
je 0x42a4ae
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42a4ca
mov edi, esi
add esi, 0xff0
push edi
push dword [0x458fa4]
call dword [0x458fa8]
add edi, 0x10
cmp edi, esi
jb 0x42a4b6
mov eax, edi
pop edi
pop esi
ret
jmp 0x42a42f

Function at 0x42bcfb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4561c4]
jne 0x42bd05
repz ret
jmp fcn.0043210c

Function at 0x43ed15
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004337ee
and dword [ebp - 4], 0
cmp dword [0x459de0], 0
mov ebx, eax
jne 0x43edc6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43ee77
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43ee77
push eax
call fcn.0043377c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x459de0], eax
call esi
push eax
call fcn.0043377c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x459de4], eax
call esi
push eax
call fcn.0043377c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x459de8], eax
call esi
push eax
call fcn.0043377c
pop ecx
mov dword [0x459df0], eax
test eax, eax
je 0x43edc6
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043377c
pop ecx
mov dword [0x459dec], eax
mov eax, dword [0x459dec]
cmp eax, ebx
je 0x43ee1e
cmp dword [0x459df0], ebx
je 0x43ee1e
push eax
call fcn.004337f7
push dword [0x459df0]
mov esi, eax
call fcn.004337f7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43ee1e
test edi, edi
je 0x43ee1e
call esi
test eax, eax
je 0x43ee15
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43ee15
test byte [ebp - 0xc], 1
jne 0x43ee1e
or dword [ebp + 0x10], 0x200000
jmp 0x43ee57
mov eax, dword [0x459de4]
cmp eax, ebx
je 0x43ee57
push eax
call fcn.004337f7
pop ecx
test eax, eax
je 0x43ee57
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43ee57
mov eax, dword [0x459de8]
cmp eax, ebx
je 0x43ee57
push eax
call fcn.004337f7
pop ecx
test eax, eax
je 0x43ee57
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x459de0]
call fcn.004337f7
pop ecx
test eax, eax
je 0x43ee77
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43ee79
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c058
Capabilities:
Contain obfuscated stackstrings

Disassembly:
adc esi, eax
inc ebp
mov al, byte [0xa145c633]
mov byte cs:[ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0040bc7e
push eax
push esi
push dword [ebp + 8]
call fcn.0040bc33
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0040bc7e
push eax
push esi
push dword [ebp + 8]
call fcn.0040bc33
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040bc6e
movsd dword es:[edi], dword [esi]
invalid
Function at 0x42cd99
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x42cdd4
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x42cdcd
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x42cdd9
add edx, 0x28
cmp edx, esi
jne 0x42cdbe
xor eax, eax
pop esi
pop ebp
ret
push edx
pop eax
jmp 0x42cdd6

Function at 0x42df9c
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x43a2c0
push 0x43a2b8
push 0x43a2c0
push 0
call fcn.0042df2d
push eax
pop esi
add esp, 0x10
or esi, esi
je 0x42dfcf
push dword [ebp + 8]
push esi
pop ecx
call dword [0x43a11c]
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x42e012
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push esp
pop ebp
push esi
push 0x43a2e4
push 0x43a2dc
push 0x43a2e4
push 2
call fcn.0042df2d
add esp, 0x10
push eax
pop esi
push dword [ebp + 8]
test esi, esi
je 0x42e044
push esi
pop ecx
call dword [0x43a11c]
call esi
jmp 0x42e04a
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x42e04d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
push esp
pop ebp
push esi
push 0x43a2f8
push 0x43a2f0
push 0x43a2f8
push 3
call fcn.0042df2d
add esp, 0x10
push eax
pop esi
push dword [ebp + 0xc]
push dword [ebp + 8]
or esi, esi
je 0x42e082
push esi
pop ecx
call dword [0x43a11c]
call esi
jmp 0x42e088
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret

Function at 0x4308b7
Capabilities:
Packed with generic packer

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
push ecx
push ecx
mov eax, dword [0x441018]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
sub eax, esi
add eax, 3
push edi
xor edi, edi
shr eax, 2
cmp dword [ebp + 0xc], esi
sbb ebx, ebx
not ebx
and ebx, eax
je 0x430902
mov eax, dword [esi]
mov dword [ebp - 8], eax
or eax, eax
je 0x4308fa
mov ecx, eax
call dword [0x43a11c]
call dword [ebp - 8]
add esi, 4
inc edi
cmp edi, ebx
jne 0x4308e6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d53e
mov esp, ebp
pop ebp
ret

Function at 0x430a84
Capabilities:
Terminate process

Disassembly:
pushal
popal
push ebp
push esp
pop ebp
call fcn.004333b3
test al, al
je 0x430ab2
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x68]
shr eax, 8
test al, 1
jne 0x430ab2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push dword [ebp + 8]
call fcn.00430b09
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExitProcess]