joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4286ed
Capabilities:
Enumerate process modules

Disassembly:
push 0x480
mov eax, 0x495ead
call fcn.00479e3f
mov esi, ecx
mov dword [ebp - 0x444], esi
call fcn.00402f2d
push dword [ebp + 8]
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov dword [ebp - 0x440], esi
xor edi, edi
cmp esi, edi
mov dword [ebp - 4], edi
je 0x428729
cmp esi, 0xffffffff
jne 0x428731
xor al, al
call fcn.00479ec2
ret
lea eax, [ebp - 0x43c]
push eax
push esi
mov dword [ebp - 0x43c], 0x428
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x428759
xor bl, bl
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x42872b
push 7
pop ebx
jmp 0x428760
xor edi, edi
mov dword [ebp - 0x464], ebx
mov dword [ebp - 0x468], edi
mov word [ebp - 0x478], di
mov dword [ebp - 0x448], ebx
mov dword [ebp - 0x44c], edi
mov word [ebp - 0x45c], di
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x48c], eax
mov eax, dword [ebp - 0x428]
mov dword [ebp - 0x488], eax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x480], eax
lea eax, [ebp - 0x41c]
push eax
lea esi, [ebp - 0x47c]
call fcn.0040410d
lea eax, [ebp - 0x21c]
push eax
lea esi, [ebp - 0x460]
call fcn.0040410d
mov esi, dword [ebp - 0x444]
lea eax, [ebp - 0x48c]
push eax
mov byte [ebp - 4], 3
call fcn.00401ba6
lea edi, [ebp - 0x48c]
mov byte [ebp - 4], 0
call fcn.00401a74
lea eax, [ebp - 0x43c]
push eax
push dword [ebp - 0x440]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x42875e
mov eax, esi
call fcn.00401b90
mov esi, dword [ebp - 0x440]
test eax, eax
seta bl
jmp 0x42874e
Function at 0x42ad37
Capabilities:
Hide graphical window

Disassembly:
push 0x24
mov eax, 0x49ba86
call fcn.00479dd6
mov esi, dword [ebx + 0x64]
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
add esi, 0x304
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push 0x410
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push str.PageSubHeading
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x10], eax
call fcn.00401a8f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax]
push 1
push eax
push 0x30
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0
call fcn.00401e14
push 0x6e
lea eax, [ebp - 0x14]
push eax
call fcn.0040adb9
push dword [ebp - 0x14]
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, dword [ebx + 0x64]
lea edi, [ebp - 0x10]
call fcn.00435bed
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x42adee
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, ebx
call fcn.00428dd6
mov esi, eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405e8e
mov eax, esi
call fcn.00479eae
ret

Function at 0x42ae0a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x496588
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push 0x34
xor ebp, ebp
pop ebx
push ebx
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
lea edi, [esi + 0x20]
push ebp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
call fcn.00471300
add esp, 0xc
mov dword [edi], ebx
mov dword [esi + 0x24], 0x80
mov eax, dword [0x4c3614]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
cmp eax, ebp
push 0x67
pop ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], 0x418c13
mov dword [esi + 0x40], 0x42c4c7
mov dword [esi + 0x3c], esi
je 0x42ae8b
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], 0x88
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
call fcn.0040987f
mov edi, dword [0x4c3614]
push 5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
call ebx
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x42af0a
push 0xf0
push 0x67
push edi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
je 0x42aedb
push eax
push edi
call ebx
push eax
mov dword [esi + 0x54], eax
call ebp
push dword [esp + 0x28]
push edi
call ebx
push eax
mov dword [esi + 0x58], eax
call ebp
mov edi, eax
call fcn.00406003
mov ebx, eax
cmp ebx, edi
je 0x42aeff
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov dword [esi + 0x5c], eax
test ebx, ebx
je 0x42af0a
or dword [esi + 0x24], 1
mov dword [esi + 0x2c], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x42af57
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
mov edi, eax
mov eax, dword [edi + 4]
cmp dword [esi], eax
je 0x42af74
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp dword [esi], eax
je 0x42af74
and dword [ebx], 0
xor eax, eax
inc eax
pop edi
ret
mov ecx, dword [esi + 8]
add ecx, 0xd5
xor eax, eax
cmp ecx, 0xd
ja case.0x42af84.211
jmp dword [ecx*4 + 0x42afa3]
mov ecx, edi
pop edi
jmp fcn.00429546
push dword [esi + 0xc]
call fcn.0041dd7a
pop edi
ret
mov dword [ebx], eax
pop edi
ret

Function at 0x42ba14
Capabilities:
Hide graphical window

Disassembly:
push 0x80
mov eax, 0x49a2c7
call fcn.00479e3f
and dword [ebp - 0x34], 0
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov ebx, ecx
lea esi, [ebx + 4]
push dword [esi]
mov dword [ebp - 0x38], ebx
call edi
push esi
call fcn.00415dc1
push str.DialogBackground
lea ecx, [ebp - 0x54]
call fcn.00401a8f
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x64]
lea ecx, [ebp - 0x54]
add eax, 0x304
push ecx
lea ecx, [eax + 0x14]
call fcn.0040b56b
push dword [esi]
mov ebx, dword [eax]
call edi
push ebx
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetBkColor]
xor ebx, ebx
push 0
inc ebx
push ebx
lea ecx, [ebp - 0x54]
call fcn.00401e14
push 0x43d
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], esi
mov word [ebp - 0x28], si
push str.Locale
lea eax, [ebp - 0x70]
mov dword [ebp - 4], ebx
call fcn.004040e1
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 2
push eax
mov dword [ebp - 0x34], ebx
call fcn.00430229
push 3
pop edx
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], edx
lea edi, [ebp - 0x70]
mov ecx, eax
mov dword [ebp - 0x34], edx
call fcn.0043bdf0
test al, al
pop ecx
pop ecx
jne 0x42bb14
call fcn.00441957
mov edi, 0x4bfdb4
push dword [edi]
lea esi, [ebp - 0x2c]
call fcn.00405844
test eax, eax
je 0x42bb14
add edi, 0xc
cmp edi, 0x4bfe14
jl 0x42baf6
mov byte [ebp - 0x2d], bl
jmp 0x42bb18
mov byte [ebp - 0x2d], 0
push 0
push ebx
lea esi, [ebp - 0x8c]
call fcn.004012a8
push 0
push ebx
lea esi, [ebp - 0x70]
mov dword [ebp - 4], ebx
call fcn.004012a8
cmp byte [ebp - 0x2d], 0
je 0x42bb42
mov ecx, dword [ebp - 0x38]
call fcn.0042b7de
push 0
push ebx
lea esi, [ebp - 0x2c]
call fcn.004012a8
mov eax, ebx
call fcn.00479ec2
ret

Function at 0x42c178
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x495d09
call fcn.00479dd6
mov edi, ecx
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x42c1bc
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.0042ba14
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00405e8e
mov eax, edi
call fcn.00479eae
ret
Function at 0x42c1d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x496588
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push 0x34
xor ebp, ebp
pop ebx
push ebx
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebp
lea edi, [esi + 0x20]
push ebp
push edi
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], ebp
call fcn.00471300
add esp, 0xc
mov dword [edi], ebx
mov dword [esi + 0x24], 0x80
mov eax, dword [0x4c3614]
mov dword [esi + 0x28], eax
mov eax, dword [esp + 0x28]
cmp eax, ebp
push 0x65
pop ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x38], 0x418c13
mov dword [esi + 0x40], 0x42c4c7
mov dword [esi + 0x3c], esi
je 0x42c256
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], 0x88
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x54], ebp
mov dword [esi + 0x58], ebp
mov dword [esi + 0x5c], ebp
call fcn.0040987f
mov edi, dword [0x4c3614]
push 5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push edi
call ebx
cmp eax, ebp
mov dword [esp + 0x28], eax
je 0x42c2d5
push 0xf0
push 0x65
push edi
call ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
je 0x42c2a6
push eax
push edi
call ebx
push eax
mov dword [esi + 0x54], eax
call ebp
push dword [esp + 0x28]
push edi
call ebx
push eax
mov dword [esi + 0x58], eax
call ebp
mov edi, eax
call fcn.00406003
mov ebx, eax
cmp ebx, edi
je 0x42c2ca
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
mov dword [esi + 0x5c], eax
test ebx, ebx
je 0x42c2d5
or dword [esi + 0x24], 1
mov dword [esi + 0x2c], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
Function at 0x42d356
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x42d418
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
push 0
push ebx
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042ece3
test eax, eax
je 0x42d390
xor eax, eax
inc eax
jmp 0x42d41a
cmp dword [ebp + 0xc], 0x110
jne 0x42d3b8
mov eax, dword [esi + 0x18]
xor edi, edi
inc edi
mov ecx, esi
mov dword [eax + 0x20], edi
call fcn.0042d423
mov dword [ebx], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x20], 0
je 0x42d418
mov eax, edi
jmp 0x42d41a
cmp dword [ebp + 0xc], 0x4e
jne 0x42d3f2
mov eax, 0x447
cmp dword [edi + 4], eax
jne 0x42d418
cmp dword [edi + 8], 0xfffffffe
jne 0x42d418
xor esi, esi
cmp dword [ebp + 0x10], eax
jne 0x42d3ee
cmp dword [edi + 0x10], esi
jne 0x42d3ee
push 5
push esi
push esi
add edi, 0x7c
push edi
push str.open
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebx], esi
jmp 0x42d388
cmp dword [ebp + 0xc], 0x111
jne 0x42d418
cmp word [ebp + 0x10], 0x446
jne 0x42d418
mov eax, dword [esi + 0x18]
xor edi, edi
inc edi
mov ecx, esi
mov dword [eax + 0x20], edi
call fcn.0042dc97
and dword [ebx], 0
jmp 0x42d3ab
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18

Function at 0x42e34d
Capabilities:
Delete directory
Delete file

Disassembly:
push 0x10
mov eax, 0x494a13
call fcn.00479dd6
mov edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [edi], vtable.SymantecOffer.0
lea esi, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.004423d8
lea esi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004423d8
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0044288b
push 0x4a2218
lea esi, [ebp - 0x18]
call fcn.004423fd
mov eax, esi
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.00442544
mov eax, esi
mov byte [ebp - 4], 4
call fcn.004424c3
push str.Symantec
lea esi, [ebp - 0x18]
call fcn.004423fd
mov eax, esi
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00442544
mov eax, esi
mov byte [ebp - 4], 4
call fcn.004424c3
push str.SYMCCHECKER.dll
lea esi, [ebp - 0x18]
call fcn.004423fd
mov eax, esi
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call fcn.00442544
mov eax, esi
mov byte [ebp - 4], 4
call fcn.004424c3
lea eax, [ebp - 0x10]
call fcn.004427cc
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x42e42e
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.0044268e
lea eax, [ebp - 0x14]
call fcn.004427cc
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [edi + 0x1c]
test ecx, ecx
je 0x42e43c
mov eax, dword [ecx]
push 1
call dword [eax + 4]
and dword [edi + 0x1c], 0
lea eax, [ebp - 0x14]
call fcn.004424c3
lea eax, [ebp - 0x10]
call fcn.004424c3
lea eax, [edi + 0x24]
mov byte [ebp - 4], 1
call fcn.004046f3
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 0
call fcn.00422fb8
or dword [ebp - 4], 0xffffffff
mov ecx, edi
call fcn.0041e966
call fcn.00479eae
ret
Function at 0x42e559
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [eax + 0x18], 8
jb 0x42e569
mov eax, dword [eax + 4]
jmp 0x42e56c
add eax, 4
cmp dword [ecx + 0x18], 8
jb 0x42e577
mov ecx, dword [ecx + 4]
jmp 0x42e57a
add ecx, 4
push esi
push eax
push ecx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x42e590
xor al, al
jmp 0x42e5fd
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x42e58c
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42e58c
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x42e5de
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x42e5e2
xor al, al
jmp 0x42e5fc
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ebx
pop esi
leave
ret 8
Function at 0x42ef48
Capabilities:
Hide graphical window

Disassembly:
push 4
mov eax, 0x495d09
call fcn.00479dd6
mov edi, ecx
mov eax, dword [0x4c3680]
mov ecx, 0x4c3680
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetParent]
push 2
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x42ef8c
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.0042d423
mov edi, eax
lea eax, [esi - 0x10]
call fcn.00405e8e
mov eax, edi
call fcn.00479eae
ret
Function at 0x43115b
Capabilities:
Hide graphical window

Disassembly:
push 0x3024
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xfa
push 0x1b39
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
ret

Function at 0x431339
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov ebx, eax
push edi
lea esi, [ebx + 4]
push esi
xor eax, eax
call fcn.00415dc1
push dword [esi]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edi, 0x80
push edi
push dword [0x4c3614]
call dword [sym.imp.USER32.dll_LoadIconW]
push eax
push 1
push edi
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
push ebx
call fcn.00431188
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3020
push dword [esi]
call edi
test eax, eax
je 0x4313a0
push 0x3020
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x3027
push dword [esi]
call edi
test eax, eax
je 0x4313bf
push 0x3027
push dword [esi]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x28]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
lea edi, [ebx + 0x504]
push 0x14
mov eax, edi
call fcn.004300a9
push 0x3026
push dword [esi]
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
lea esi, [ebp - 0x18]
call fcn.0043109e
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
add eax, ecx
mov dword [ebp - 0x18], eax
push 0x14
mov eax, edi
call fcn.0040e44b
sub dword [ebp - 0x14], eax
push 0x18b
mov eax, edi
call fcn.004300a9
add eax, dword [ebp - 0x18]
push 0x14
mov dword [ebp - 0x10], eax
mov eax, edi
call fcn.0040e44b
mov ecx, dword [ebp - 0xc]
sub ecx, eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push 1
mov dword [ebp - 0xc], ecx
sub ecx, dword [ebp - 0x14]
push ecx
push eax
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, ebx
call fcn.004314a4
lea esi, [ebx + 0x4f0]
and dword [esi], 0
push 0x1cc
mov eax, edi
call fcn.004300a9
add eax, dword [esi]
push 0x1b0
mov dword [ebx + 0x4f8], eax
mov eax, edi
lea esi, [ebx + 0x4f4]
call fcn.0040e44b
mov dword [esi], eax
push 0x41
mov eax, edi
call fcn.0040e44b
add eax, dword [esi]
pop edi
pop esi
mov dword [ebx + 0x4fc], eax
pop ebx
leave
ret
Function at 0x432fcf
Capabilities:
Check os version

Disassembly:
push 0x16c
mov eax, 0x49a0f4
call fcn.00479e3f
mov edi, ecx
mov eax, dword [edi + 0xe4]
xor ebx, ebx
xor esi, esi
inc ebx
cmp eax, esi
mov byte [ebp - 0x12d], 0
jl 0x4330d4
cmp eax, ebx
jle 0x43309e
cmp eax, 2
jne 0x4330d4
mov dword [ebp - 0x14c], esi
mov dword [ebp - 0x148], esi
mov dword [ebp - 0x144], esi
lea eax, [ebp - 0x150]
push eax
mov dword [ebp - 4], esi
call fcn.004435c2
pop ecx
lea eax, [ebp - 0x150]
call fcn.0045fe40
cmp eax, ebx
jne 0x43308b
mov eax, dword [ebp - 0x14c]
cmp eax, dword [ebp - 0x148]
mov esi, eax
jbe 0x433051
call fcn.0047122b
lea eax, [ebp - 0x150]
mov dword [ebp - 0x134], esi
lea esi, [ebp - 0x138]
mov dword [ebp - 0x138], eax
call fcn.0043708b
push 0x4a078c
mov esi, eax
call fcn.00405844
test eax, eax
jne 0x43308b
push edi
call fcn.00433f16
mov byte [ebp - 0x12d], 1
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x150]
call fcn.00401f71
xor esi, esi
jmp 0x4330d4
push edi
call fcn.004348bb
mov ecx, edi
call fcn.00434a09
push edi
call fcn.0043326b
test al, al
jne 0x4330bd
mov byte [ebp - 0x12d], al
jmp 0x4330d4
mov ecx, dword [edi + 0xd8]
mov eax, dword [ecx]
call dword [eax + 0x58]
neg eax
sbb al, al
inc al
mov byte [ebp - 0x12d], al
push 0x110
lea eax, [ebp - 0x128]
push esi
push eax
call fcn.00471300
add esp, 0xc
lea eax, [ebp - 0x12c]
push eax
mov dword [ebp - 0x12c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x128], 6
jb 0x43325f
mov dword [ebp - 0x138], esi
mov byte [ebp - 0x134], 0
lea esi, [ebp - 0x13c]
mov dword [ebp - 4], ebx
call fcn.004423d8
mov byte [ebp - 4], 2
cmp dword [edi + 0xe4], 2
mov dword [ebp - 0x140], ebx
jne 0x433145
mov dword [ebp - 0x140], 0x21
lea ecx, [ebp - 0x13c]
call fcn.004427dc
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
lea eax, [ebp - 0x15c]
call fcn.004040e1
push 0
push SysReAllocStringLen
lea edi, [ebp - 0x15c]
lea eax, [ebp - 0x138]
call fcn.00448327
mov bl, al
neg bl
push 0
sbb bl, bl
push 1
mov esi, edi
inc bl
call fcn.004012a8
test bl, bl
je 0x4331fe
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
lea eax, [ebp - 0x15c]
call fcn.004040e1
push 1
push SysReAllocStringLen
lea edi, [ebp - 0x15c]
lea eax, [ebp - 0x138]
call fcn.00448327
push 0
push 1
mov esi, edi
mov bl, al
call fcn.004012a8
test bl, bl
je 0x43323b
lea eax, [ebp - 0x13c]
call fcn.004427cc
push eax
lea eax, [ebp - 0x15c]
call fcn.004040e1
push dword [ebp - 0x140]
lea ecx, [ebp - 0x15c]
lea eax, [ebp - 0x138]
call fcn.0044856f
lea esi, [ebp - 0x15c]
jmp 0x433232
lea eax, [ebp - 0x13c]
call fcn.004427cc
push eax
lea eax, [ebp - 0x178]
call fcn.004040e1
push dword [ebp - 0x140]
lea ecx, [ebp - 0x178]
lea eax, [ebp - 0x138]
call fcn.0044856f
lea esi, [ebp - 0x178]
push 0
push 1
call fcn.004012a8
lea esi, [ebp - 0x138]
call fcn.004486b5
lea eax, [ebp - 0x13c]
call fcn.004424c3
cmp dword [ebp - 0x138], 0
je 0x43325f
call fcn.004486b5
mov al, byte [ebp - 0x12d]
call fcn.00479ec2
ret
Function at 0x434de3
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x4946ed
call fcn.00479dd6
lea esi, [ebp - 0x10]
call fcn.004423d8
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0044288b
push 0x4a2218
lea esi, [ebp - 0x14]
call fcn.004423fd
mov eax, esi
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00442544
mov eax, esi
mov byte [ebp - 4], bl
call fcn.004424c3
push ebx
lea eax, [ebp - 0x10]
call fcn.004427cc
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push eax
call edi
test eax, eax
jne 0x434e5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x434e5c
lea eax, [ebp - 0x10]
call fcn.004424c3
xor al, al
call fcn.00479eae
ret
push 0x4a078c
lea esi, [ebp - 0x14]
call fcn.004423fd
mov eax, esi
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00442544
mov eax, esi
mov byte [ebp - 4], bl
call fcn.004424c3
push ebx
lea eax, [ebp - 0x10]
call fcn.004427cc
push eax
call edi
test eax, eax
jne 0x434eab
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x434eab
lea eax, [ebp - 0x10]
call fcn.004424c3
mov al, bl
jmp 0x434e56
lea eax, [ebp - 0x10]
call fcn.004427cc
push eax
mov eax, dword [ebp + 8]
mov esi, dword [eax]
call fcn.0040410d
mov bl, 1
jmp 0x434e9f
Function at 0x435c43
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [ebp - 4], eax
jne 0x435c5f
xor al, al
jmp 0x435cc3
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x435c5b
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x435c81
xor al, al
jmp 0x435cc2
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
jne 0x435ca7
xor al, al
jmp 0x435cc1
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
pop ebx
leave
ret 0xc

Function at 0x435cc7
Capabilities:
Create process on windows

Disassembly:
push 0x80
mov eax, 0x49461a
call fcn.00479e3f
mov esi, ecx
mov dword [ebp - 0x34], esi
push 0x44
pop edi
push edi
xor ebx, ebx
lea eax, [ebp - 0x8c]
push ebx
push eax
mov dword [ebp - 4], 2
call fcn.00471300
mov dword [ebp - 0x8c], edi
xor eax, eax
mov dword [ebp - 0x44], ebx
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
lea eax, [esi + 0x510]
call fcn.004427cc
push eax
lea eax, [ebp - 0x30]
call fcn.004040e1
mov esi, 0x4a1504
push esi
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 3
call fcn.00412d3b
mov eax, dword [ebp + 0xc]
push 8
pop edi
cmp dword [ebp + 0x20], edi
jae 0x435d3e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00412d3b
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.00412d3b
cmp dword [ebp + 0x3c], edi
mov eax, dword [ebp + 0x28]
jae 0x435d5d
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00412d3b
push esi
lea eax, [ebp - 0x30]
push eax
call fcn.00412d3b
cmp dword [ebp + 0x58], edi
mov eax, dword [ebp + 0x44]
jae 0x435d7c
lea eax, [ebp + 0x44]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00412d3b
cmp dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x2c]
jae 0x435d91
lea eax, [ebp - 0x2c]
push eax
push str.staring_process:__s
call fcn.00473169
cmp dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x2c]
pop ecx
pop ecx
jae 0x435da9
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x8c]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x34]
xor edi, edi
push ebx
inc edi
push edi
lea esi, [ebp - 0x30]
mov dword [ecx + 0x514], eax
call fcn.004012a8
push ebx
push edi
lea esi, [ebp + 8]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp + 0x24]
call fcn.004012a8
push ebx
push edi
lea esi, [ebp + 0x40]
call fcn.004012a8
call fcn.00479ec2
ret 0x54