joyce8/EMBER2024-capa huggingface dataset:
Function at 0x422860
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.005392b0
add esp, 8
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x593910
call fcn.00422d90
test eax, eax
je 0x4228b6
cmp word [ebp - 0x84], 0
jne 0x42295a
cmp dword [esi + 0x98], 0
jne 0x4228d3
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x98], eax
lea eax, [ebp - 0x88]
mov dword [ebp - 0x88], 0
push eax
push 0
push esi
push 0x4227d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x493e0
push dword [esi + 0x98]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x42293a
push 0x80
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.005392b0
add esp, 8
lea eax, [ebp - 0x84]
mov ecx, esi
push eax
push 0x593910
call fcn.00422d90
push dword [esi + 0x98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp word [ebp - 0x84], 0
mov dword [esi + 0x98], 0
je 0x42298b
lea eax, [ebp - 0x84]
push eax
push 0x591530
push 0x40
push 0x5be3c0
call fcn.00541843
add esp, 0x10
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop esi
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x422c70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0xa0], 0
jne 0x422cea
cmp dword [esi + 0x4c], 8
lea eax, [esi + 0x38]
mov dword [ebp - 0x214], 4
mov dword [ebp - 0x218], 4
jb 0x422cb6
mov eax, dword [eax]
lea ecx, [ebp - 0x218]
push ecx
push ebx
lea ecx, [ebp - 0x214]
push ecx
push edi
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
neg eax
pop edi
sbb eax, eax
pop esi
inc eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.005392b0
lea eax, [esi + 0xa4]
mov dword [ebp - 0x214], 0x104
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x422d20
mov eax, dword [eax]
push 0
push 0
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push edi
push eax
call dword [sym.imp.WININET.dll_InternetGetCookieExW]
test eax, eax
je 0x422d79
lea eax, [ebp - 0x210]
push 0x3d
push eax
call fcn.00541934
add esp, 8
test eax, eax
je 0x422d79
add eax, 2
push eax
call fcn.0053882b
add esp, 4
mov dword [ebx], eax
mov eax, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 8
Function at 0x422d90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
xor esi, esi
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x218], ecx
test ebx, ebx
je 0x422eb1
cmp dword [edi + 0xa0], esi
jne 0x422e1d
cmp dword [edi + 0x4c], 8
lea eax, [edi + 0x38]
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x218], 0x7e
jb 0x422de5
mov eax, dword [eax]
lea edx, [ebp - 0x218]
push edx
push ebx
lea edx, [ebp - 0x214]
push edx
push ecx
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov esi, eax
neg esi
pop edi
sbb esi, esi
inc esi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.005392b0
lea eax, [edi + 0xa4]
mov dword [ebp - 0x214], 0x104
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x422e53
mov eax, dword [eax]
push 0
push 0
lea ecx, [ebp - 0x214]
push ecx
lea ecx, [ebp - 0x210]
push ecx
push dword [ebp - 0x218]
push eax
call dword [sym.imp.WININET.dll_InternetGetCookieExW]
test eax, eax
je 0x422e9c
lea eax, [ebp - 0x210]
push 0x3d
push eax
call fcn.00541934
add esp, 8
test eax, eax
je 0x422e9c
add eax, 2
push eax
push 0x40
push ebx
call fcn.0041f9a0
mov esi, 1
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 0xc

Function at 0x422ed0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 0xa0], 0
jne 0x422f2a
cmp dword [esi + 0x4c], 8
lea eax, [esi + 0x38]
jb 0x422efe
mov eax, dword [eax]
push 4
lea ecx, [ebp + 0xc]
push ecx
push 4
push edi
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005392b0
add esp, 8
lea eax, [ebp - 0x230]
push eax
call fcn.00422b70
cmp dword [eax + 0x14], 8
jb 0x422f5c
mov eax, dword [eax]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x218]
push str._d_path___s
push 0x104
push eax
call fcn.0041f380
add esp, 0x14
cmp dword [ebp - 0x21c], 8
jb 0x422f90
push dword [ebp - 0x230]
call fcn.005385cc
add esp, 4
cmp dword [esi + 0xb8], 8
lea eax, [esi + 0xa4]
jb 0x422fa1
mov eax, dword [eax]
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push edi
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieExW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 8
Function at 0x422fd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, ecx
test esi, esi
jne 0x423007
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 8
cmp dword [edi + 0xa0], 0
jne 0x42305b
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x423015
sub ecx, edx
lea edx, [edi + 0x38]
sar ecx, 1
cmp dword [edx + 0x14], 8
jb 0x42302f
mov edx, dword [edx]
lea eax, [ecx + ecx]
push eax
push esi
push 1
push ebx
push edx
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
neg eax
sbb eax, eax
inc eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 8
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005392b0
add esp, 8
lea eax, [ebp - 0x230]
push eax
call fcn.00422b70
cmp dword [eax + 0x14], 8
jb 0x42308d
mov eax, dword [eax]
push eax
push esi
push str._s_path___s
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0041f380
add esp, 0x14
cmp dword [ebp - 0x21c], 8
jb 0x4230bf
push dword [ebp - 0x230]
call fcn.005385cc
add esp, 4
cmp dword [edi + 0xb8], 8
lea eax, [edi + 0xa4]
jb 0x4230d0
mov eax, dword [eax]
push 0
push 0
lea ecx, [ebp - 0x218]
push ecx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetSetCookieExW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 8
Function at 0x4238c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xc4], 0
je 0x4238dd
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4238f1
push eax
call fcn.00424ba0
test eax, eax
je 0x4238d3
push 0
mov dword [esi + 0xc4], 1
call fcn.00542241
add esp, 4
mov ecx, esi
push eax
push str.lastchktime
call fcn.00422ed0
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xbc], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc0], eax
je 0x423959
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x4206d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ecx, esi
call fcn.00423970
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x423e30
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ecx + 0x4c], 8
push esi
lea esi, [ecx + 0x38]
mov dword [ebp - 4], 0
push edi
mov dword [ebp - 8], 4
mov dword [ebp - 0x10], 4
jb 0x423e5a
mov eax, dword [esi]
jmp 0x423e5c
mov eax, esi
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
push str.laststtm
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x423e83
cmp dword [ebp - 8], 4
je 0x423e8a
mov dword [ebp - 4], 0
push 0
call fcn.00542241
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [esi + 0x14], 8
jb 0x423e9f
mov esi, dword [esi]
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push str.laststtm
push esi
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, dword [ebp - 4]
xor edi, edi
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x14], edi
call fcn.00543afa
add esp, 4
test eax, eax
je 0x423ed6
mov edi, dword [eax + 0xc]
mov eax, dword [ebp - 0xc]
xor esi, esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x1c], esi
call fcn.00543afa
add esp, 4
test eax, eax
je 0x423ef4
mov esi, dword [eax + 0xc]
xor eax, eax
cmp edi, esi
pop edi
setne al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4243c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ecx + 0x78], 0
jne 0x424424
cmp dword [ecx + 0x7c], 8
lea eax, [ecx + 0x68]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 4
mov dword [ebp - 0xc], 4
jb 0x4243ec
mov eax, dword [eax]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
push ecx
push str.ucount
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x424424
cmp dword [ebp - 4], 4
jne 0x424424
mov eax, dword [ebp - 8]
mov ecx, 0x7fff
cmp eax, ecx
cmova eax, ecx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x424870
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f0d2
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xa0], edi
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov dword [ebp - 4], eax
push 0x7e
push eax
mov word [ebp - 0x90], ax
lea eax, [ebp - 0x8e]
push eax
mov dword [ebp - 0x9c], 1
call fcn.005392b0
add esi, 0x38
mov dword [ebp - 0x94], 1
add esp, 0xc
mov dword [ebp - 0x98], 0x7e
cmp dword [esi + 0x14], 8
jb 0x42490c
mov eax, dword [esi]
jmp 0x42490e
mov eax, esi
lea ecx, [ebp - 0x98]
push ecx
lea ecx, [ebp - 0x90]
push ecx
lea ecx, [ebp - 0x94]
push ecx
push 0x593870
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x424960
cmp word [ebp - 0x90], ax
je 0x424960
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x424950
jmp 0x4249eb
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.005392b0
add esp, 0xc
mov dword [ebp - 0x94], 1
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x98], 0x7e
jb 0x424992
mov esi, dword [esi]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x94]
push eax
push 0x593870
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x4249c7
cmp word [ebp - 0x90], ax
je 0x4249d1
jmp 0x4249fe
cmp word [ebp - 0x90], 0
jne 0x4249d5
xor ecx, ecx
jmp 0x4249ef
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4249e0
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x90]
mov ecx, edi
push eax
call fcn.004204e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret 4
Function at 0x4250b0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
cmp ax, word [0x5c10a0]
jne 0x4251eb
push 0x208
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005392b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [0x5be3bc]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00420660
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push str.Excption
cmovae eax, dword [ebp - 0x230]
push eax
push 0x5c10a0
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.excpt.dat
push 0x5c10a0
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 5
push 0x5c10a0
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHPathPrepareForWriteW]
test eax, eax
je 0x42519e
xor eax, eax
cmp dword [ebp - 0x21c], 8
mov word [0x5c10a0], ax
jb 0x42518e
push dword [ebp - 0x230]
call fcn.005385cc
add esp, 4
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push str.Excption
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x10
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [ebp - 0x21c], 8
jb 0x4251eb
push dword [ebp - 0x230]
call fcn.005385cc
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 0x5c10a0
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret

Function at 0x425200
Capabilities:
Link many functions at runtime

Disassembly:
cmp dword [0x5be454], 0
push edi
jne 0x4252d9
push str.dbghelp.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
jne 0x425224
lea eax, [edi + 2]
pop edi
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymInitialize
push edi
call esi
push str.SymSetOptions
push edi
mov dword [0x5be454], eax
call esi
push str.StackWalk
push edi
mov dword [0x5be450], eax
call esi
push str.SymFunctionTableAccess
push edi
mov dword [0x5be45c], eax
call esi
push str.MiniDumpWriteDump
push edi
mov dword [0x5be458], eax
call esi
push str.SymGetModuleBase
push edi
mov dword [0x5be44c], eax
call esi
push 0x594d70
push str.psapi.dll
mov dword [0x5be448], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call esi
cmp dword [0x5be454], 0
mov dword [0x5be444], eax
pop esi
je 0x4252dd
mov ecx, dword [0x5be450]
test ecx, ecx
je 0x4252dd
cmp dword [0x5be45c], 0
je 0x4252dd
cmp dword [0x5be458], 0
je 0x4252dd
cmp dword [0x5be44c], 0
je 0x4252dd
test eax, eax
je 0x4252dd
push 0x12
call ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x5be454]
xor eax, eax
pop edi
ret
mov dword [0x5be454], 0
mov eax, 6
pop edi
ret
Function at 0x425730
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov esi, 0x824
mov ecx, 0x5be460
lea edx, [edi + 0x454]
sub ecx, edx
lea ebx, [ebx]
lea eax, [esi + 0x7ffff7da]
test eax, eax
je 0x42576e
movzx eax, word [ecx + edx]
test ax, ax
je 0x42576e
mov word [edx], ax
add edx, 2
dec esi
jne 0x425750
jmp 0x425772
test esi, esi
jne 0x425775
sub edx, 2
xor eax, eax
push ebx
mov word [edx], ax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [edi + 0x330]
mov esi, eax
push ecx
push 0x594dbc
push esi
call fcn.00413b10
add esp, 0xc
push str.IsWow64Process
push 0x5918a0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
xor ecx, ecx
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x4257d2
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call ebx
test eax, eax
jne 0x4257cf
xor ecx, ecx
jmp 0x4257d2
mov ecx, dword [ebp - 4]
mov eax, dword [0x5bf7b0]
push 0
mov dword [edi + 0x32c], ecx
mov dword [edi + 0x334], 0
mov dword [edi + 0x338], 0
mov dword [edi + 0x33c], eax
mov dword [edi + 0x340], 0
call fcn.00542241
add esp, 4
mov dword [edi + 0x348], eax
mov dword [edi + 0x34c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi + 0x350], eax
pop ebx
test esi, esi
je 0x42586b
lea ecx, [edi + 0x149e]
mov edx, 0x825
sub esi, ecx
lea eax, [edx + 0x7ffff7d9]
test eax, eax
je 0x42585f
movzx eax, word [esi + ecx]
test ax, ax
je 0x42585f
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x425835
sub ecx, 2
xor eax, eax
pop edi
pop esi
mov word [ecx], ax
mov esp, ebp
pop ebp
ret
test edx, edx
jne 0x425866
sub ecx, 2
xor eax, eax
mov word [ecx], ax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426310
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x5b8250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
push esi
push edi
mov edi, ecx
mov eax, dword [ebx + 0x50]
shr eax, 0x1f
not al
test al, 1
jne 0x426352
cmp dword [0x5bf7b0], 1
jbe 0x426352
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret
call fcn.004250b0
mov esi, eax
test esi, esi
je 0x426578
cmp word [esi], 0
je 0x426578
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005392b0
lea ecx, [ebp - 0x218]
add esp, 0xc
mov eax, ecx
mov edx, 0x104
sub esi, eax
jmp 0x4263a0
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x4263be
movzx eax, word [esi + ecx]
test ax, ax
je 0x4263be
mov word [ecx], ax
add ecx, 2
dec edx
jne 0x4263a0
jmp 0x4263c2
test edx, edx
jne 0x4263c5
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov ecx, 0x104
lea eax, [ebp - 0x218]
cmp word [eax], 0
je 0x4263fe
add eax, 2
dec ecx
jne 0x4263f0
jmp 0x426422
test ecx, ecx
je 0x426422
push ecx
mov edx, 0x104
mov eax, edx
sub eax, ecx
push str..dmp
push ecx
lea ecx, [ebp - 0x218]
sub edx, eax
lea ecx, [ecx + eax*2]
call fcn.00427970
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 0xc]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x238], xmm0
mov dword [ebp - 0x23c], 0xb
movdqu xmmword [ebp - 0x228], xmm0
mov dword [ebp - 0x234], ebx
lea edx, [ecx + 2]
mov dword [ebp - 0x238], 0x2568
mov dword [ebp - 0x230], 0xb
mov dword [ebp - 0x228], ecx
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426472
sub ecx, edx
mov dword [ebp - 0x224], 0xb
sar ecx, 1
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x21c], ecx
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4264a0
push 0
push 0x80
push 2
push 0
push 2
sub ecx, edx
lea eax, [ebp - 0x218]
push 0x40000000
sar ecx, 1
push eax
mov dword [ebp - 0x220], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x426578
lea eax, [ebp - 0x23c]
mov dword [ebp - 0x250], 3
mov dword [ebp - 0x24c], eax
xorps xmm0, xmm0
lea eax, [ebx + 0x50]
movq qword [ebp - 0x244], xmm0
mov dword [ebp - 0x254], eax
mov eax, dword [ebx + 0x328]
mov dword [ebp - 0x248], eax
lea eax, [ebp - 0x258]
push 0
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x258], ebx
push eax
push 0
push edi
push dword [ebx + 0x324]
mov dword [ebp - 0x240], 0
push dword [ebx + 0x31c]
call dword [0x5be44c]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053aa3c
mov esp, ebp
pop ebp
ret
Function at 0x426780
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
inc dword [0x5bf7b0]
push ebx
mov ebx, dword [ebp + 8]
push esi
test ebx, ebx
je 0x4268dc
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 8
push ebx
call esi
test eax, eax
jne 0x4268dc
push 0x50
push dword [ebx]
call esi
test eax, eax
jne 0x4268dc
push 0x50
push dword [ebx + 4]
call esi
test eax, eax
jne 0x4268dc
push edi
push 0x2568
call fcn.00538625
push 0x2568
mov esi, eax
push 0
push esi
mov dword [ebp + 8], esi
call fcn.005392b0
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esi + 0x324], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, esi
mov ecx, 0xb3
mov dword [edx + 0x328], eax
lea edi, [edx + 0x50]
mov esi, dword [ebx + 4]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx]
movdqu xmm0, xmmword [eax]
movdqu xmmword [edx], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [edx + 0x10], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [edx + 0x20], xmm0
movdqu xmm0, xmmword [eax + 0x30]
movdqu xmmword [edx + 0x30], xmm0
movdqu xmm0, xmmword [eax + 0x40]
lea eax, [ebp - 4]
push eax
push 0
push edx
push 0x426640
push 0
movdqu xmmword [edx + 0x40], xmm0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
push 0x493e0
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x42687e
mov esi, dword [ebp + 8]
push esi
call fcn.005385cc
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx]
mov esi, 1
pop edi
cmp dword [eax], 0xc00000fd
jne 0x4268d2
xor eax, eax
cmp eax, fcn.00543d99
je 0x4268ab
call fcn.00543d99
or ecx, 0xffffffff
test eax, eax
cmovne esi, ecx
mov eax, dword [0x5be440]
test eax, eax
je 0x4268d2
lea ecx, [ebp + 8]
mov dword [ebp + 8], 0
push ecx
call eax
add dword [ebp + 8], 0x200000
lea eax, [ebp + 8]
push eax
call dword [0x5be440]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x428080
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x5b8250]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0xffffffffffffffff
mov dword [ebp - 4], 1
lea eax, [ebp + 8]
push 0
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x24], 0
call fcn.00407180
mov ecx, dword [esi + 8]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 2
cmp ecx, eax
je 0x4280e9
push 0xffffffffffffffff
push 0
push eax
call fcn.00407180
mov byte [ebp - 4], 1
cmp dword [ebp - 0x10], 0x10
jb 0x4280fe
push dword [ebp - 0x24]
call fcn.005385cc
add esp, 4
push dword [ebp + 0x38]
lea eax, [ebp + 0x20]
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00407180
mov ecx, dword [esi + 8]
call fcn.00440590
lea eax, [esi + 0x10]
push eax
push 0
push esi
push 0x427a70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp + 0x1c], 0x10
mov dword [esi + 0xc], eax
jb 0x428156
push dword [ebp + 8]
call fcn.005385cc
add esp, 4
cmp dword [ebp + 0x34], 0x10
mov dword [ebp + 0x1c], 0xf
mov dword [ebp + 0x18], 0
mov byte [ebp + 8], 0
jb 0x428179
push dword [ebp + 0x20]
call fcn.005385cc
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x34