joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415730
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac500
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
test eax, eax
jne 0x415766
call fcn.0042d760
push eax
lea ecx, [ebp - 0x10]
call fcn.00404ca0
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 4]
call fcn.00417450
mov esi, eax
cmp esi, dword [edi + 4]
je 0x415796
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 4]
call fcn.004176a0
test al, al
je 0x415799
mov esi, dword [edi + 4]
mov edx, dword [ebp - 0x10]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4157b6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp esi, dword [edi + 4]
je 0x4158b8
mov edx, dword [esi + 0x20]
lea ecx, [ebp + 8]
call fcn.0042e310
mov dword [ebp - 4], 0
push 0
push dword [ebp + 8]
call fcn.005870e6
add esp, 8
cmp eax, 0xffffffff
je 0x415883
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push 3
call fcn.0042e640
add esp, 4
mov byte [ebp - 4], 1
mov eax, dword [esi + 0x4c]
test eax, eax
jne 0x41580c
push 0x80004005
call fcn.00404b10
mov edi, dword [ebp - 0x14]
push eax
push edi
call fcn.00585c03
add esp, 8
test eax, eax
jne 0x415868
push eax
push 0x80
push 3
push eax
push 3
push SysReAllocString
push dword [ebp + 8]
mov byte [esi + 0x54], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ecx, eax
lea eax, [esi + 0x30]
mov dword [ebp - 0x14], ecx
cmp ecx, 0xffffffff
je 0x415863
test eax, eax
je 0x415863
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 0x14]
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esi + 0x30]
mov eax, dword [eax]
mov dword [esi + 0x2c], eax
mov byte [ebp - 4], 0
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x415883
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4158a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x417040
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac7af
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.004053d0
add eax, 0x10
mov dword [ebx], eax
mov dword [ebp - 4], 0
lea esi, [ebx + 4]
mov eax, dword [edi + 4]
sub eax, 0x10
mov dword [ebp + 8], esi
push eax
call fcn.004053d0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
lea esi, [ebx + 8]
mov eax, dword [edi + 8]
sub eax, 0x10
mov dword [ebp + 8], esi
push eax
call fcn.004053d0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 2
lea esi, [ebx + 0xc]
mov eax, dword [edi + 0xc]
sub eax, 0x10
mov dword [ebp + 8], esi
push eax
call fcn.004053d0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 3
lea esi, [ebx + 0x10]
mov eax, dword [edi + 0x10]
sub eax, 0x10
mov dword [ebp + 8], esi
push eax
call fcn.004053d0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 4
lea esi, [ebx + 0x30]
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
movups xmm0, xmmword [edi + 0x1c]
mov dword [ebp + 8], esi
movups xmmword [ebx + 0x1c], xmm0
movzx eax, byte [edi + 0x2c]
mov byte [ebx + 0x2c], al
mov eax, dword [edi + 0x30]
sub eax, 0x10
push eax
call fcn.004053d0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 5
lea esi, [ebx + 0x34]
mov eax, dword [edi + 0x34]
sub eax, 0x10
mov dword [ebp + 8], esi
push eax
call fcn.004053d0
add esp, 0x1c
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
movzx eax, byte [edi + 0x3c]
mov byte [ebx + 0x3c], al
movzx eax, byte [edi + 0x3d]
mov byte [ebx + 0x3d], al
mov eax, dword [edi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [ebx + 0x44], eax
movzx eax, byte [edi + 0x48]
mov byte [ebx + 0x48], al
movzx eax, byte [edi + 0x49]
mov byte [ebx + 0x49], al
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac873
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
lea edi, [esi + 8]
mov dword [esi], vtable.UpdateFileDownloader.0
mov dword [ebp - 0x18], edi
mov dword [edi + 4], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
mov dword [edi], vtable.BULL::CCallbackHTTPTaskPtr_class_UpdateFileDownloader_.0
mov dword [ebp - 0x10], 0
call fcn.00418c90
mov ecx, dword [ebp - 0x10]
mov dword [edi + 4], ecx
test ecx, ecx
je 0x41808c
mov eax, dword [ecx]
push ecx
call dword [eax + 4]
mov eax, dword [edi + 4]
mov dword [eax + 0x24], esi
mov byte [ebp - 4], 0
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x4180a5
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x4180c5
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x4180e5
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 0x30], 0x418620
mov eax, dword [esi + 0xc]
mov dword [eax + 0x40], 0x418820
mov eax, dword [esi + 0xc]
mov dword [eax + 0x54], 0x418900
mov eax, dword [esi + 0xc]
mov dword [eax + 0x3c], 0x4189d0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419820
Capabilities:
Get file size
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acc27
mov eax, dword fs:[0]
push eax
mov eax, 0x1030
call fcn.0053f090
mov eax, dword [0x677e70]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1034], esi
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x103c]
push ecx
mov ecx, ebx
mov eax, dword [ebx]
call dword [eax + 0x10]
push 0x650bd4
lea eax, [ebp - 0x103c]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x1038]
push eax
call fcn.00413ba0
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
mov byte [ebp - 4], 1
push dword [ebp - 0x103c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4199af
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x4199a9
push ecx
push 0x651b78
push esi
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
push 1
push dword [ebp - 0x103c]
push dword [ebp - 0x1038]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x4199a9
lea eax, [ebp - 0x820]
mov dword [ebp - 0x824], 0x400
mov dword [ebp - 0x828], eax
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x828]
call fcn.0040c4d0
sub esp, 0x808
mov byte [ebp - 4], 3
mov edi, esp
lea eax, [ebp - 0x1030]
mov ecx, 0x202
lea esi, [ebp - 0x828]
rep movsd dword es:[edi], dword [esi]
push 0x651b9c
push eax
call fcn.0040cfa0
add esp, 0x80c
mov byte [ebp - 4], 4
push dword [eax]
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
mov eax, dword [ebp - 0x1030]
lea ecx, [ebp - 0x1028]
cmp eax, ecx
je 0x41998c
push eax
call fcn.0053eac5
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x820]
mov eax, dword [ebp - 0x828]
cmp eax, ecx
je 0x4199a9
push eax
call fcn.0053eac5
add esp, 4
mov esi, dword [ebp - 0x1034]
push 0
push dword [ebp - 0x1038]
call fcn.005870e6
add esp, 8
cmp eax, 0xffffffff
je 0x4199cf
mov ecx, dword [ebp - 0x1038]
call fcn.0042e4a0
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x20], ax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
lea eax, [ebp - 0x20]
push eax
movq qword [ebp - 0x1e], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
push ebx
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00419190
mov ecx, esi
call fcn.00419100
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp - 0x1038]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x419a25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x103c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x419a47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret 4
Function at 0x420370
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad622
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
sub esp, 0xc
call fcn.00420be0
test eax, eax
js 0x42041d
mov esi, dword [0x695a60]
test esi, esi
jne 0x4203d6
push 0x360
call fcn.0053ea92
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.004090a0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x695a60], esi
mov eax, dword [edi + 8]
mov eax, dword [eax]
mov dword [esi + 0x34c], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x4203ee
mov dword [esi + 0x350], eax
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.00540532
push dword [esi + 0x10]
lea eax, [edi + 0x14]
mov ecx, esi
mov dword [esi + 0x348], eax
call fcn.004098f0
push 5
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4224e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x677e70]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
or eax, 0x2001f
push esi
push edi
push eax
push edx
push dword [ecx]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.00422430
mov esi, eax
test esi, esi
jne 0x4225d7
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x100
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x4225a9
nop dword [eax]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x10]
call fcn.004224e0
mov esi, eax
test esi, esi
jne 0x4225d7
lea eax, [esp + 0x20]
mov dword [esp + 8], 0x100
push eax
push esi
push esi
push esi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x28]
call edi
test eax, eax
je 0x422570
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4225c0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
push dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x14], 0
call fcn.00422620
mov esi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4225e6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret 4
Function at 0x423210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ad866
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x677e70]
xor eax, ebp
mov dword [ebp - 0x14], 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 + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4232bc
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4232bc
call fcn.00421820
mov esi, eax
jmp 0x4233ac
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4232df
call fcn.00421820
jmp 0x42339f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x4232fd
call fcn.00421820
jmp 0x42339f
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x41c], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x42331e
mov esi, 0x8007000e
jmp 0x4233a1
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.004217d0
jmp 0x423348
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
jne 0x42335f
mov esi, 0x8007000e
jmp 0x4233a1
push esi
push dword [ebp - 0x418]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x42337f
call fcn.00421820
jmp 0x42339f
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.004230b0
mov esi, eax
test edi, edi
je 0x4233ac
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4233d0
lea ecx, [ebp - 0x418]
call fcn.00421780
nop word [eax + eax]
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 - 0x14]
xor ecx, ebp
call fcn.0053e4b1
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4271c0
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acb68
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
call fcn.00404520
mov ecx, eax
test ecx, ecx
jne 0x427213
push 0x80004005
call fcn.00404b10
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
mov edi, 1
mov dword [ebp - 4], 0
cmp dword [ebp - 0x14], edi
jle 0x427271
nop
mov edx, dword [ebx + edi*4]
test edx, edx
jne 0x42723b
xor eax, eax
jmp 0x42724f
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x427240
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x10]
call fcn.0041f5d0
push 1
push 0x6531cc
lea ecx, [ebp - 0x10]
call fcn.0041f5d0
inc edi
cmp edi, dword [ebp - 0x14]
jl 0x427230
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
push 1
push 0
push esi
mov eax, dword [eax + 4]
push dword [eax + 4]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4272ab
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427390
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae080
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
lea eax, [edi + 0xc]
push eax
lea eax, [ebp + 8]
push eax
call dword [edx + 0x1c]
mov dword [ebp - 4], 0
call fcn.0042b7f0
mov ecx, eax
test ecx, ecx
jne 0x4273e7
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
jmp 0x4273fb
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
test esi, esi
je 0x4273fb
inc dword [esi + 4]
mov byte [ebp - 4], 2
mov ecx, esi
mov eax, dword [esi]
push 0
push dword [ebp + 8]
mov eax, dword [eax + 4]
push edi
call eax
mov dword [ebp - 4], 1
test al, al
je 0x42748c
push ecx
push 0x653188
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add dword [esi + 4], 0xffffffff
jne 0x427444
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x427466
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push ecx
push 0x6531ac
push 0
call fcn.0043b710
mov ecx, eax
call fcn.0043bad0
test esi, esi
je 0x4274b2
add dword [esi + 4], 0xffffffff
jne 0x4274b2
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4274d4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 0x80004005
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429510
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae492
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x19], 0
je 0x429557
call fcn.0042a8b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x695a60]
test esi, esi
jne 0x42958a
push 0x360
call fcn.0053ea92
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, eax
mov dword [ebp - 4], esi
call fcn.004090a0
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x695a60], esi
push 0
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.0042b9d0
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x28]
call eax
lea edx, [ebp - 0xe]
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0xd]
mov byte [ebp - 0xe], 0
mov bl, al
call fcn.0042ee30
test bl, bl
je 0x4295d9
cmp byte [ebp - 0xd], 0
je 0x4295c8
cmp byte [ebp - 0xe], 0
jne 0x4295d9
call fcn.0042f060
test al, al
je 0x4295d9
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 9
push dword [esi + 0x10]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, edi
call fcn.00428cc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a430
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae6b2
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 8], 0x3e8
jne 0x42a5de
mov edi, dword [0x695a60]
test edi, edi
jne 0x42a493
push 0x360
call fcn.0053ea92
add esp, 4
mov dword [ebp + 8], eax
mov ecx, eax
mov dword [ebp - 4], edi
call fcn.004090a0
mov edi, eax
mov dword [0x695a60], edi
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
call fcn.0042a990
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 4], 0xffffffff
setne cl
mov byte [ebp + 0xb], cl
test eax, eax
je 0x42a4ca
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov cl, byte [ebp + 0xb]
test cl, cl
je 0x42a59d
push 0
call fcn.0058732c
add esp, 4
mov esi, edx
sub eax, dword [ebx + 0x10]
mov dword [ebp - 0x18], eax
sbb esi, dword [ebx + 0x14]
mov dword [ebp - 0x14], esi
js 0x42a592
jg 0x42a4fb
cmp eax, 0xa
jb 0x42a592
lea eax, [ebp + 8]
push eax
call fcn.0042b5d0
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x42a56d
lea ecx, [ebp - 0x10]
call fcn.00405440
mov byte [ebp - 4], 3
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str._F__IM__s
push eax
call fcn.00405150
mov esi, dword [ebp - 0x10]
add esp, 0xc
push 0
push 0
push esi
push str.taskkill.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x42a56a
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42a58f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x18]
test esi, esi
jl 0x42a5b2
jg 0x42a59d
cmp eax, 0xc
jb 0x42a5b2
push 0x3e8
push dword [edi + 0x10]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, ebx
call fcn.00429600
mov dword [ebp + 8], 0
lea eax, [ebp + 8]
mov dword [ebp - 4], 4
push eax
call fcn.0042a990
mov esi, dword [ebp + 8]
test esi, esi
je 0x42a5de
push esi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x42d960
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5acb68
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x677e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x10]
call fcn.00404ca0
xor edi, edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 1
or ebx, 0xffffffff
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0040cdc0
mov esi, dword [ebp - 0x18]
cmp dword [esi - 0xc], 0
je 0x42d9d5
push 0
push esi
call fcn.005870e6
add esp, 8
test eax, eax
je 0x42d9d5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [ebp - 0x14], eax
add esi, 0xfffffff0
mov ecx, ebx
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42d9ec
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 1
mov eax, dword [ebp - 0x10]
js 0x42da16
cmp edi, dword [eax - 0xc]
jge 0x42da16
lea eax, [eax + edi*2]
push 0x5c
push eax
call fcn.0057e271
mov edi, eax
add esp, 8
mov eax, dword [ebp - 0x10]
test edi, edi
je 0x42da16
sub edi, eax
sar edi, 1
jns 0x42d9a4
mov ecx, dword [ebp - 0x14]
test ecx, ecx
mov dword [ebp - 4], 0xffffffff
setne bl
add eax, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x42da3d
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret