joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4082c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fdd8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x439178]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
cmp dword [eax + 0x3c], 0
je 0x408300
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x40830c
mov al, 1
jmp 0x4084af
mov dword [ebp - 0x10], 8
call fcn.00401220
push eax
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x68]
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 0x3c], eax
call fcn.00401220
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.00401200
add esp, 8
movzx eax, al
test eax, eax
je 0x40834f
xor al, al
jmp 0x4084af
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00406250
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x48]
push edx
lea ecx, [ebp - 0x34]
call fcn.004064a0
mov ecx, eax
call fcn.00408870
mov esi, eax
lea ecx, [ebp - 0x34]
call fcn.004041c0
add esi, eax
push esi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.004064a0
mov ecx, eax
call fcn.00408870
push eax
mov ecx, dword [ebp - 0x68]
add ecx, 0x44
push ecx
mov edx, dword [ebp - 0x68]
mov ecx, dword [edx + 0x3c]
call fcn.0040aeb0
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x4083ca
cmp dword [ebp - 0x6c], 1
je 0x4083d1
cmp dword [ebp - 0x6c], 3
je 0x40846b
jmp 0x408483
mov eax, dword [ebp - 0x68]
mov byte [eax + 0x41], 0
lea ecx, [ebp - 0x58]
push ecx
lea ecx, [ebp - 0x34]
call fcn.004064a0
mov ecx, eax
call fcn.00408870
mov edx, dword [ebp - 0x14]
sub edx, eax
mov dword [ebp - 0x38], edx
je 0x408434
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 1
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x34]
call fcn.004064a0
mov ecx, eax
call fcn.00408870
push eax
call fcn.0041599f
add esp, 0x10
cmp dword [ebp - 0x38], eax
je 0x408434
mov byte [ebp - 0x61], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404160
mov al, byte [ebp - 0x61]
jmp 0x4084af
mov ecx, dword [ebp - 0x68]
movzx edx, byte [ecx + 0x41]
test edx, edx
jne 0x408457
mov byte [ebp - 0x62], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404160
mov al, byte [ebp - 0x62]
jmp 0x4084af
cmp dword [ebp - 0x38], 0
jne 0x408469
push 0
push 8
lea ecx, [ebp - 0x34]
call fcn.00406290
jmp 0x40849b
mov byte [ebp - 0x63], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404160
mov al, byte [ebp - 0x63]
jmp 0x4084af
mov byte [ebp - 0x64], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404160
mov al, byte [ebp - 0x64]
jmp 0x4084af
jmp 0x408362
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0041765d
mov esp, ebp
pop ebp
ret
Function at 0x410549
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [sym.imp.WS2_32.dll_ntohl]
push edi
mov edi, eax
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
and dword [ebp - 4], 0
mov edi, eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x18]
sub eax, ecx
mov dword [ebp - 8], eax
jmp 0x41057b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
lea eax, [eax + ecx*4]
push dword [ebp + eax - 0x18]
call esi
mov ecx, dword [ebp - 4]
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
mov dword [ebp + ecx*4 - 0x18], eax
jl 0x410578
push 0x10
xor eax, eax
pop ecx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0x14]
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x18]
sub eax, 0x61c88647
xor edx, esi
lea esi, [eax + edi]
xor edx, esi
add ebx, edx
mov edx, ebx
shr edx, 5
add edx, dword [ebp - 0xc]
mov esi, ebx
shl esi, 4
add esi, dword [ebp - 0x10]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add edi, edx
dec ecx
jne 0x41059c
mov esi, dword [sym.imp.WS2_32.dll_htonl]
push ebx
call esi
mov ebx, dword [ebp + 0xc]
push edi
mov dword [ebx], eax
call esi
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebx
leave
ret
Function at 0x413d3d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4304cb
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x217c
call fcn.00427090
mov eax, dword [0x439178]
xor eax, esp
mov dword [esp + 0x2178], eax
push ebx
push esi
push edi
mov eax, dword [0x439178]
xor eax, esp
push eax
lea eax, [esp + 0x2190]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebx
push eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x21a0], ebx
call fcn.00413cf9
test eax, eax
jge 0x413dbc
cmp dword [esp + 0x10], ebx
je 0x413db5
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x413ea7
xor eax, eax
mov byte [esp + 0x74], bl
lea edi, [esp + 0x75]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
call fcn.00413ecb
push ebx
lea eax, [esp + 0x18]
push eax
push 0x2000
lea eax, [esp + 0x190]
push eax
push dword [esp + 0x20]
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x413dff
call fcn.00413ce4
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x413e1b
lea ecx, [esp + 0x184]
push ecx
lea ecx, [esp + 0x20]
call fcn.00413eef
pop ecx
jmp 0x413dd5
cmp dword [esp + 0x10], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x413e31
push dword [esp + 0x10]
call esi
mov dword [esp + 0x10], ebx
lea edi, [esp + 0x1c]
lea ebx, [esp + 0x74]
call fcn.00413f96
xor ebx, ebx
push 0xfe
lea eax, [esp + 0x8a]
push ebx
push eax
mov word [esp + 0x90], bx
call fcn.00416030
add esp, 0xc
lea edi, [esp + 0x84]
movzx eax, byte [esp + ebx + 0x74]
push eax
push str._.2x
push 0xffffffffffffffff
push 3
push edi
call fcn.00416721
add esp, 0x14
add edi, 4
inc ebx
cmp ebx, 0x10
jb 0x413e65
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x84]
push eax
call fcn.00404860
cmp dword [esp + 0x10], 0
je 0x413ea4
push dword [esp + 0x10]
call esi
xor eax, eax
inc eax
mov ecx, dword [esp + 0x2190]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2178]
xor ecx, esp
call fcn.0041765d
mov esp, ebp
pop ebp
ret

Function at 0x413ecb
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x415350
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x439178]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0041528f
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.00416030
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 0x41539f
cmp dword [ebp - 0x1c], 5
jb 0x4153b7
jmp 0x4153b3
cmp dword [ebp - 0x10], 1
jne 0x4153b7
cmp dword [ebp - 0x1c], 4
ja 0x4153b3
jne 0x4153b7
cmp dword [ebp - 0x18], 0
jbe 0x4153b7
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x43248c
call fcn.00415142
test eax, eax
jge 0x4153d8
mov byte [0x43b8d0], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041765d
add ebp, 0x78
leave
ret

Function at 0x4160aa
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x4160d7
call fcn.0041b08a
mov dword [eax], esi
call fcn.0041b077
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0041580c
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x4160b3
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x416106
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0041b09d
pop ecx
call fcn.0041b077
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x41612d
test al, 1
je 0x41612d
test byte [esp + 0xc], 2
je 0x41612d
call fcn.0041b08a
mov dword [eax], 5
call fcn.0041b077
mov dword [eax], 0xd
jmp 0x4160fd
xor eax, eax
pop esi
ret

Function at 0x41765d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x439178]
jne 0x417667
repz ret
jmp fcn.0042069c
Function at 0x4207eb
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 + 0x439d30]
je 0x420806
inc edi
cmp edi, 0x17
jb 0x4207f7
cmp edi, 0x17
jae 0x420986
push ebp
push 3
call fcn.004284c2
cmp eax, 1
pop ecx
je 0x420952
push 3
call fcn.004284c2
test eax, eax
pop ecx
jne 0x42083a
cmp dword [0x439120], 1
je 0x420952
cmp ebx, 0xfc
je 0x420985
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x43b248
push ebp
call fcn.0041d54f
add esp, 0xc
test eax, eax
je 0x420870
push esi
push esi
push esi
push esi
push esi
call fcn.00415710
add esp, 0x14
push 0x104
mov esi, 0x43b261
push esi
push 0
mov byte [0x43b365], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4208b4
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0041d54f
add esp, 0xc
test eax, eax
je 0x4208b4
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00415710
add esp, 0x14
push esi
call fcn.00415ec0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4208f9
push esi
call fcn.00415ec0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x43b55c
push 0x43347c
sub ecx, eax
push ecx
push eax
call fcn.00424137
add esp, 0x14
test eax, eax
je 0x4208f9
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00415710
add esp, 0x14
jmp 0x4208fb
xor esi, esi
push 0x433478
push ebx
push ebp
call fcn.004240c6
add esp, 0xc
test eax, eax
je 0x42091b
push esi
push esi
push esi
push esi
push esi
call fcn.00415710
add esp, 0x14
push dword [edi*8 + 0x439d34]
push ebx
push ebp
call fcn.004240c6
add esp, 0xc
test eax, eax
je 0x42093d
push esi
push esi
push esi
push esi
push esi
call fcn.00415710
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00428305
add esp, 0xc
jmp 0x420985
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x420985
cmp ebp, 0xffffffff
je 0x420985
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x439d34]
push dword [esi]
call fcn.00415ec0
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 0x428305
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041b83c
xor ebx, ebx
cmp dword [0x43b7e8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4283db
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4284bb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x4284bb
push eax
call fcn.0041b7ce
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x43b7e8], eax
call esi
push eax
call fcn.0041b7ce
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x43b7ec], eax
call esi
push eax
call fcn.0041b7ce
mov dword [0x43b7f0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004191ce
test eax, eax
pop ecx
pop ecx
je 0x4283a9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00415710
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4283db
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041b7ce
cmp eax, ebx
pop ecx
mov dword [0x43b7f8], eax
je 0x4283db
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041b7ce
pop ecx
mov dword [0x43b7f4], eax
mov eax, dword [0x43b7f4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x428460
cmp dword [0x43b7f8], ecx
je 0x428460
push eax
call fcn.0041b845
push dword [0x43b7f8]
mov esi, eax
call fcn.0041b845
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x428460
cmp edi, ebx
je 0x428460
call esi
cmp eax, ebx
je 0x42842d
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42842d
test byte [ebp - 0x18], 1
jne 0x428460
lea eax, [ebp - 0x10]
push eax
call fcn.00419205
test eax, eax
pop ecx
je 0x428448
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00415710
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x428457
or dword [ebp + 0x10], 0x200000
jmp 0x42849b
or dword [ebp + 0x10], 0x40000
jmp 0x42849b
mov eax, dword [0x43b7ec]
cmp eax, dword [ebp - 8]
je 0x42849b
push eax
call fcn.0041b845
cmp eax, ebx
pop ecx
je 0x42849b
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42849b
mov eax, dword [0x43b7f0]
cmp eax, dword [ebp - 8]
je 0x42849b
push eax
call fcn.0041b845
cmp eax, ebx
pop ecx
je 0x42849b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43b7e8]
call fcn.0041b845
cmp eax, ebx
pop ecx
je 0x4284bb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4284bd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b270
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x439178]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x240], 0xffffffff
mov dword [ebp - 0x238], 0
push 0x228
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.00416030
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0xffffffff
jne 0x42b2d9
jmp 0x42b368
mov dword [ebp - 0x238], 0x22c
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42b2fe
jmp 0x42b368
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x244]
je 0x42b32a
cmp dword [ebp - 0x230], 0
je 0x42b32a
cmp dword [ebp - 0x230], 4
jne 0x42b32c
jmp 0x42b351
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x214]
push edx
call fcn.00416af6
add esp, 8
test eax, eax
jne 0x42b351
mov dword [ebp - 0x23c], 1
jmp 0x42b368
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x240]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42b30a
cmp dword [ebp - 0x240], 0xffffffff
je 0x42b37e
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041765d
mov esp, ebp
pop ebp
ret

Function at 0x42b3a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x439178]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x21c]
push eax
push 0x20019
push 0
push str.SOFTWARETencentQQPCMgr
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42b3de
xor al, al
jmp 0x42b42f
mov dword [ebp - 8], 0x208
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 0x218]
push edx
push 0
push 0
push str.InstallDir
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42b413
xor al, al
jmp 0x42b42f
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0x218]
push edx
call fcn.0042b200
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.0041765d
mov esp, ebp
pop ebp
ret
Function at 0x42b750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x439178]
xor eax, ebp
mov dword [ebp - 8], eax
mov word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.00416030
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x105
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jbe 0x42b83b
cmp dword [ebp - 4], 0x104
ja 0x42b83b
mov word [ebp - 0xe], 0
mov word [ebp - 0x630], 0
push 0x410
push 0
lea edx, [ebp - 0x62e]
push edx
call fcn.00416030
add esp, 0xc
push 0x208
lea eax, [ebp - 0x630]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov dword [ebp - 0x634], eax
cmp dword [ebp - 0x634], 0x208
ja 0x42b807
cmp dword [ebp - 0x634], 0
jne 0x42b818
lea edx, [ebp - 0x218]
push edx
mov ecx, dword [ebp + 8]
call fcn.00405090
jmp 0x42b837
mov eax, dword [ebp - 0x634]
mov word [ebp + eax*2 - 0x630], 0
lea ecx, [ebp - 0x630]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00405090
mov al, 1
jmp 0x42b83d
xor al, al
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0041765d
mov esp, ebp
pop ebp
ret

Function at 0x42bc10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fb4e
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x439178]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x43499c
movzx eax, word [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x42bc76
xor al, al
jmp 0x42bd13
mov ecx, dword [ebp - 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x42bc9c
xor al, al
jmp 0x42bd13
mov eax, dword [ebp - 0x1c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42bd11
push 1
push 0x40
push 0x20
mov ecx, dword [ebp + 0xc]
call fcn.00405180
push eax
lea ecx, [ebp - 0xa4]
call fcn.004053c0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x14]
push edx
lea ecx, [ebp - 0xa4]
call fcn.00404200
lea ecx, [ebp - 0xa4]
call fcn.00405520
mov byte [ebp - 0xa5], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa4]
call fcn.00404080
mov al, byte [ebp - 0xa5]
jmp 0x42bd13
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42c360
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42fc1a
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x439178]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x2c]
call fcn.00404fa0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push eax
call fcn.0042b750
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.004051f0
movzx ecx, al
test ecx, ecx
jne 0x42c3db
lea ecx, [ebp - 0x2c]
call fcn.004041c0
sub eax, 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00405150
movzx edx, word [eax]
cmp edx, 0x5c
je 0x42c3db
push 0x4349ec
lea ecx, [ebp - 0x2c]
call fcn.004050d0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00405010
mov byte [ebp - 4], 1
push 0x4349f0
lea ecx, [ebp - 0x4c]
call fcn.004050d0
lea ecx, [ebp - 0x4c]
call fcn.00405180
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 0x30], 0x82
mov byte [ebp - 0x4d], 0
lea ecx, [ebp - 0x4c]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call fcn.0042bc10
add esp, 8
movzx eax, al
test eax, eax
je 0x42c460
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00405010
mov byte [ebp - 4], 2
push 0
push 1
call fcn.00410eca
lea edx, [ebp - 0x6c]
mov ecx, eax
call fcn.00410fd3
test eax, eax
setne dl
mov byte [ebp - 0x4d], dl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00405050
movzx eax, byte [ebp - 0x4d]
test eax, eax
je 0x42c475
call fcn.0042c200
test eax, eax
setne cl
mov byte [ebp - 0x4d], cl
movzx edx, byte [ebp - 0x4d]
mov dword [ebp - 0x70], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.00405050
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00405050
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041765d
mov esp, ebp
pop ebp
ret
Function at 0x47bd8e
Capabilities:
Encode data using xor

Disassembly:
dec eax
xor al, byte [ecx - 0x458ef82f]
mov edx, 0xde91d756
jbe 0x47bccb
inc ebx
lcall 0x7a90, 0xe06398c5
lds ebx, [eax + 0x7a90e063]
ja 0x47bcc5
popfd
invalid
add al, 0x7d
cmp al, 0xd5
jl 0x47bd10
or eax, 0x2a261894
mov ch, byte [edi + 0x6c27c7a7]
out 0x74, eax
xor dword [ebx - 0x54388838], esi
dec esi
loop 0x47be10
xchg edi, eax
int1
jno 0x47be27
movsb byte es:[edi], byte [esi]
xchg edx, eax
sbb al, 0xd8
fidiv dword [edx]
retf
inc ebx
inc esi
add eax, 0x91b01562
jo 0x47be93
xor eax, 0x83dfb0fb
popal
or bh, 0x14
mov al, byte [0x4d5f6e77]
mov esi, 0xca3a777d
aad 0x15
or eax, 0x254e8f0f
pop ecx
dec ebx
push ebp
cmp esp, dword [ebx + 0x7ce34ea3]
pop es
into
fadd st(3)
adc edx, ebp
aad 0xa7
push 0xffffffffffffff87
push 0xffffffffffffffa7
sub al, bh
sub ah, byte [edi]
enter 0xffffffffffffb370, 0x56
mov ebx, 0x2c960e06
inc ebx
mov al, byte [0x2428159]
inc ebx
scasd eax, dword es:[edi]
adc eax, 0xe19f38b6
enter 0x5c8, 0xffffffffffffffe6
jle 0x47bea5
call 0xca2f171
push esp
push ebx
rol dword [esp + edi*8 + 0x2c], 0xf8
test al, 0xbc
inc esp
hlt
mov al, 0x6f
add ecx, ecx
lodsb al, byte [esi]
arpl bp, bx
ja 0x47bec9
sbb dword [esi + 0x2a2056cd], esp
mov ecx, 0x7aa14854
add bh, byte [ecx - 0x3de079d5]
stosd dword es:[edi], eax
adc al, 0xfc
push esp
dec eax
mov eax, dword [0x2bb9027a]
xchg byte [edi], bl
ret 0xf2ab
sub eax, dword [esi - 0xd543de1]
adc al, 0xfc
arpl sp, ax
xchg dword [edi], esi
add dword [ebx - 0x55cb403b], 0xbd126d2a
and byte [ebp + 0x1530cebc], ah
mov edi, 0x9b0ceff2
out dx, eax
or al, 0x9b
add byte [ebx + 0x35ab4c05], bh
sub eax, 0x6c3c0ad0
cmp al, 0x6c
push es
sti
neg byte ss:[edx]
rcl dword [edx]
loope 0x47bf4d
pop eax
inc ebp
jb 0x47bf48
sub bl, byte [esp + ebp*8 - 0xf]
mov esp, 0x5bd84d11
bnd jecxz 0x47beab
rcr byte [ebp - 0x76], 0xb5
jne 0x47bed5
dec ebp
sbb eax, 0x54c41988
inc esp
rol dword [edx + 0x1b], 1
test dword [ebp + 0x51fcbb83], 0x377f091b
invalid
mov eax, 0x12915209
fstp xword [ebp + 0x7865befa]
xchg ecx, eax
adc bl, bl
mov esp, 0x65befa65
js 0x47bf39
jl 0x47bf3c
jl 0x47bf3c
mov bl, 0xcc
lea edi, [0x6e2adc02]
fsubr qword [edx]
outsb dx, byte [esi]
inc edx
test eax, 0xc77c5ee9
jb 0x47bfb7
stosb byte es:[edi], al
cmp ch, bh
jnp 0x47bf45
invalid
mov edx, 0xa3e92213
push 0x187acfb0
popfd
and al, 0x15
pop es
cmp al, 0x47
jp 0x47bfbf
pop es
imul ebp, ebp, 0xc2208985
push edi
xchg esi, eax
inc esi
fstp qword es:[ecx]
loop 0x47bfb9
mov bh, 0x8e
push ecx
bound ebx, qword [ebx - 0x62]
retf
xchg dword [ebp - 0x7a31d873], esi
jns 0x47bf5f
lea esp, [edi]
into
test dword [ecx - 0x60], edi
mov ecx, 0xa2922627
dec esi
mov bh, byte gs:[ecx - 0x34]
ficom word [eax]
jns 0x47bf88