joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100039e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038a80
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x1004f450]
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 + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x124], eax
cmp esi, ebx
jne 0x10003a2a
lea eax, [ebx + 0x57]
jmp 0x10003bc1
push str.GetFileVersionHelper_____Start
call fcn.100269c0
add esp, 4
push ebx
push esi
mov dword [ebp - 0x118], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
cmp edi, ebx
je 0x10003b9f
push edi
mov dword [ebp - 4], ebx
call fcn.10028ad6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10003b93
push ebx
push edi
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10003b7c
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x120]
push edx
push str.VarFileInfoTranslation
xor edi, edi
push ebx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x120], edi
call esi
test eax, eax
je 0x10003b67
mov eax, dword [ebp - 0x11c]
and eax, 0xfffffffc
cmp eax, 4
jb 0x10003b88
mov eax, dword [ebp - 0x120]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x114]
push str.StringFileInfo_04x_04xFileVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x114]
push eax
push ebx
mov dword [ebp - 0x128], edi
call esi
mov edx, dword [ebp - 0x128]
cmp edx, edi
je 0x10003b67
cmp dword [ebp - 0x124], edi
je 0x10003b52
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10003b15
sub eax, esi
sar eax, 1
inc eax
cmp eax, 0x104
ja 0x10003b52
mov ecx, dword [ebp - 0x124]
push edx
push 0x104
push ecx
call fcn.100296af
add esp, 0xc
push ebx
call fcn.100298ea
add esp, 4
jmp 0x10003bab
push ebx
mov dword [ebp - 0x118], 0x7a
call fcn.100298ea
add esp, 4
jmp 0x10003bab
push ebx
mov dword [ebp - 0x118], 0x54f
call fcn.100298ea
add esp, 4
jmp 0x10003bab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
push ebx
call fcn.100298ea
add esp, 4
jmp 0x10003bab
mov dword [ebp - 0x118], 8
jmp 0x10003bab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
mov esi, dword [ebp - 0x118]
push esi
push str.GetFileVersionHelper_____End:_d
call fcn.100269c0
add esp, 8
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.10028eba
mov esp, ebp
pop ebp
ret
Function at 0x10003be0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038a50
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x1004f450]
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 + 8]
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x124], eax
cmp esi, ebx
jne 0x10003c2a
lea eax, [ebx + 0x57]
jmp 0x10003dc1
push str.GetFileVersionHelper_____Start
call fcn.100269c0
add esp, 4
push ebx
push esi
mov dword [ebp - 0x118], ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
cmp edi, ebx
je 0x10003d9f
push edi
mov dword [ebp - 4], ebx
call fcn.10028ad6
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x10003d93
push ebx
push edi
push 0
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10003d7c
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x120]
push edx
push str.VarFileInfoTranslation
xor edi, edi
push ebx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x120], edi
call esi
test eax, eax
je 0x10003d67
mov eax, dword [ebp - 0x11c]
and eax, 0xfffffffc
cmp eax, 4
jb 0x10003d88
mov eax, dword [ebp - 0x120]
movzx ecx, word [eax + 2]
movzx edx, word [eax]
push ecx
push edx
lea eax, [ebp - 0x114]
push str.StringFileInfo_04x_04xProductVersion
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x128]
push edx
lea eax, [ebp - 0x114]
push eax
push ebx
mov dword [ebp - 0x128], edi
call esi
mov edx, dword [ebp - 0x128]
cmp edx, edi
je 0x10003d67
cmp dword [ebp - 0x124], edi
je 0x10003d52
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x10003d15
sub eax, esi
sar eax, 1
inc eax
cmp eax, 0x104
ja 0x10003d52
mov ecx, dword [ebp - 0x124]
push edx
push 0x104
push ecx
call fcn.100296af
add esp, 0xc
push ebx
call fcn.100298ea
add esp, 4
jmp 0x10003dab
push ebx
mov dword [ebp - 0x118], 0x7a
call fcn.100298ea
add esp, 4
jmp 0x10003dab
push ebx
mov dword [ebp - 0x118], 0x54f
call fcn.100298ea
add esp, 4
jmp 0x10003dab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
push ebx
call fcn.100298ea
add esp, 4
jmp 0x10003dab
mov dword [ebp - 0x118], 8
jmp 0x10003dab
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x118], eax
mov esi, dword [ebp - 0x118]
push esi
push str.GetFileVersionHelper_____End:_d
call fcn.100269c0
add esp, 8
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.10028eba
mov esp, ebp
pop ebp
ret
Function at 0x100071c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.1000562e
pop ecx
push eax
mov eax, dword [ebp - 0x28]
lea eax, [ebp + eax - 0x12c]
push eax
call fcn.1000558f
add esp, 0xc
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x3a0], eax
jmp 0x10007596
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.1000561e
loope 0x100075e7
ret
invalid
Function at 0x10018e10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x1004f450]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push edi
push ebx
mov edi, ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [esi], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10018e7e
lea eax, [ebp - 0x88]
push eax
mov ecx, ebx
call fcn.10003de0
add esp, 4
jmp 0x10018e84
mov dword [esi], 2
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10018f35
lea ecx, [ebp - 0x48]
push ecx
mov ecx, edi
call fcn.10003de0
add esp, 4
cmp dword [esi], 0
jne 0x10018f24
push 0x1003e860
lea edx, [ebp - 0x88]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10018f4c
push 0x1003e860
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x10018f4c
lea ecx, [ebp - 0x88]
push ecx
call fcn.1002a795
fstp dword [ebp - 0x90]
lea edx, [ebp - 0x48]
add esp, 4
push edx
call fcn.1002a795
fstp dword [ebp - 0x8c]
fld dword [ebp - 0x90]
add esp, 4
fld dword [ebp - 0x8c]
fcom st(1)
fnstsw ax
test ah, 5
jp 0x10018f15
mov dword [esi], 1
fcompp
fnstsw ax
test ah, 0x41
jne 0x10018f4c
mov dword [esi], 0xffffffff
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028eba
mov esp, ebp
pop ebp
ret
mov dword [esi], 0xfffffffe
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028eba
mov esp, ebp
pop ebp
ret
cmp dword [esi], 0
jne 0x10018f24
push esi
mov ecx, ebx
call fcn.10018f70
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
call fcn.10028eba
mov esp, ebp
pop ebp
ret
Function at 0x100190c0
Capabilities:
Delete file
Enumerate files on windows
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x1004f450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x210]
push 0
push eax
mov esi, ecx
call fcn.1002f900
push 0x208
lea ecx, [ebp - 0x418]
push 0
push ecx
call fcn.1002f900
add esp, 0x18
push esi
lea edx, [ebp - 0x418]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
push 0x10043638
lea ecx, [ebp - 0x418]
push ecx
push str._s_s
push 0x104
lea edx, [ebp - 0x210]
push 0x104
push edx
call fcn.100297b0
add esp, 0x18
lea eax, [ebp - 0x668]
push eax
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10019212
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpW]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test byte [ebp - 0x668], 0x10
jne 0x100191f5
push 0x10040d9c
lea edx, [ebp - 0x63c]
push edx
call ebx
test eax, eax
je 0x100191f5
push 0x10041ca0
lea eax, [ebp - 0x63c]
push eax
call ebx
test eax, eax
je 0x100191f5
lea ecx, [ebp - 0x63c]
push ecx
lea edx, [ebp - 0x418]
push edx
push str._s_s
push 0x104
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.100297b0
add esp, 0x18
lea ecx, [ebp - 0x210]
push ecx
call edi
test al, 1
je 0x100191e8
and eax, 0xfffffffe
push eax
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x668]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10019171
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10028eba
mov esp, ebp
pop ebp
ret
Function at 0x1001ad10
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x894
mov eax, dword [0x1004f450]
xor eax, esp
mov dword [esp + 0x890], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push str.DoGetDriverSetSize_Start
mov esi, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
call fcn.100269c0
xor edi, edi
push 0x206
lea eax, [esp + 0x492]
xor edx, edx
push edi
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edi
xor ebx, ebx
mov dword [esp + 0x20], edi
mov word [esp + 0x498], dx
call fcn.1002f900
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x6aa]
push edx
mov word [esp + 0x6ac], cx
call fcn.1002f900
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x2a6]
push ecx
mov word [esp + 0x2a8], ax
call fcn.1002f900
add esp, 0x28
test esi, esi
je 0x1001af2d
push 0x1003e860
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x1001af2d
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea edx, [esp + 0x284]
push edx
call esi
lea eax, [esp + 0x280]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea ecx, [esp + 0x280]
push ecx
lea edx, [esp + 0x694]
push edx
call esi
lea eax, [esp + 0x280]
push eax
push str._s.
mov ecx, eax
push 0x104
push ecx
call fcn.10029792
add esp, 0x10
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x284]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x1001af2d
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
test byte [esp + 0x30], 0x10
jne 0x1001aec0
push 0x10040d9c
lea ecx, [esp + 0x60]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1001aec0
push 0x10041ca0
lea edx, [esp + 0x60]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1001aec0
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x694]
push ecx
lea edx, [esp + 0x490]
push str._s_s
push edx
call esi
add esp, 0x10
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x498]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupGetFileCompressionInfoW]
mov edi, eax
test edi, edi
jne 0x1001aed8
mov edx, dword [esp + 0x18]
add ebx, dword [esp + 0x28]
add dword [esp + 0x10], edx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1001ae3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1001aee8
mov edi, 0x57
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
jne 0x1001af32
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1001af0f
push ebx
push str.DoGetDriverSetSize_End__d
mov dword [eax], ebx
call fcn.100269c0
add esp, 8
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1001af32
mov eax, dword [esp + 0x10]
push eax
push str.DoGetDriverSetSize_End__d
mov dword [ecx], eax
call fcn.100269c0
add esp, 8
jmp 0x1001af32
mov edi, 0x57
push str.DoGetDriverSetSize_End
call fcn.100269c0
mov ecx, dword [esp + 0x8a0]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10028eba
mov esp, ebp
pop ebp
ret
Function at 0x10024e80
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10038910
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x1004f450]
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
push str.IsAdministrators_____Start
call fcn.100269c0
add esp, 4
lea eax, [ebp - 0x20]
push eax
xor ebx, ebx
push 8
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x10024eef
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x78
sete cl
mov eax, ecx
jmp 0x10024fd3
mov eax, dword [ebp - 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
lea edx, [ebp - 0x24]
push edx
push ebx
push ebx
push 2
push eax
mov dword [ebp - 0x24], ebx
call esi
test eax, eax
jne 0x10024f26
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x10024f26
mov ecx, dword [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x10024fd3
mov dword [ebp - 4], ebx
mov edx, dword [ebp - 0x24]
push edx
call fcn.10028ad6
mov edi, eax
add esp, 4
cmp edi, ebx
je 0x10024fb6
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x24]
push eax
push ecx
push edi
push 2
push edx
call esi
test eax, eax
je 0x10024fad
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x18], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10024fad
xor esi, esi
cmp dword [edi], ebx
jbe 0x10024fa3
lea ebx, [edi + 4]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x10024f9b
mov dword [ebp - 0x2c], 1
inc esi
add ebx, 8
cmp esi, dword [edi]
jb 0x10024f83
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
push edi
call fcn.100298ea
add esp, 4
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x2c]
push esi
push str.IsAdministrators_____End__d_
call fcn.100269c0
add esp, 8
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.10028eba
mov esp, ebp
pop ebp
ret
Function at 0x10026040
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1004f450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
cmp edi, ebx
jne 0x1002606c
lea eax, [ebx + 0x57]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028eba
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ole32.dll_CoCreateInstance]
lea eax, [ebp - 0x214]
push eax
push 0x1003c36c
push 1
push ebx
push 0x1003c37c
mov dword [ebp - 0x21c], 0x54f
mov byte [ebp - 0x20d], bl
mov dword [ebp - 0x214], ebx
call esi
cmp eax, ebx
jge 0x100260d7
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp eax, ebx
jl 0x100261cd
lea ecx, [ebp - 0x214]
push ecx
push 0x1003c36c
push 1
push ebx
push 0x1003c37c
mov byte [ebp - 0x20d], 1
call esi
cmp eax, ebx
jl 0x100261cd
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x218]
push ecx
mov dword [ebp - 0x218], ebx
mov edx, dword [eax]
mov edx, dword [edx]
push 0x1003c38c
push eax
call edx
test eax, eax
js 0x100261bb
mov eax, dword [ebp - 0x214]
mov edx, dword [edi + 4]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x50]
call eax
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x10026126
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x1c]
push ecx
call eax
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x1002613c
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x24]
push ecx
call eax
mov eax, dword [edi + 0x10]
cmp eax, ebx
je 0x10026152
mov ecx, dword [ebp - 0x214]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x2c]
push ecx
call eax
mov ecx, dword [edi + 0x14]
cmp ecx, ebx
je 0x10026170
mov eax, dword [edi + 0x18]
cmp eax, ebx
je 0x10026170
mov edx, dword [ebp - 0x214]
mov esi, dword [edx]
push eax
push ecx
mov ecx, dword [esi + 0x44]
push edx
call ecx
mov edx, dword [edi]
push 0xffffffffffffffff
push edx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.10028ec9
add esp, 0x10
cmp eax, 0x50
jne 0x1002619a
mov dword [ebp - 0x21c], 3
jmp 0x100261bb
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
push 1
lea edx, [ebp - 0x20c]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
test eax, eax
js 0x100261bb
mov dword [ebp - 0x21c], ebx
mov eax, dword [ebp - 0x218]
cmp eax, ebx
je 0x100261cd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x214]
pop esi
cmp eax, ebx
je 0x100261e0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp byte [ebp - 0x20d], bl
je 0x100261ee
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x21c]
xor ecx, ebp
pop ebx
call fcn.10028eba
mov esp, ebp
pop ebp
ret
Function at 0x10026210
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100394cb
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x1004f450]
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 eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x23c], eax
mov dword [ebp - 0x244], ecx
mov dword [ebp - 0x240], edx
mov dword [ebp - 0x238], esi
test eax, eax
je 0x100263d0
test ecx, ecx
je 0x100263d0
test edx, edx
je 0x100263d0
mov ebx, 0x54f
call fcn.10027fe0
mov al, byte [eax + 0x120]
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xffffffeb
add eax, 0x17
push eax
lea edi, [ebp - 0x218]
call fcn.10025fe0
add esp, 4
test eax, eax
je 0x100263cc
mov eax, edi
lea ecx, [ebp - 0x234]
call fcn.100016e0
mov ebx, 0x5c
lea esi, [ebp - 0x234]
mov dword [ebp - 4], 0
call fcn.10001780
mov eax, dword [ebp - 0x23c]
mov ecx, eax
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x100262e0
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x234]
call fcn.10001930
mov eax, dword [ebp - 0x234]
mov edi, 8
cmp dword [ebp - 0x220], edi
jae 0x10026314
lea eax, [ebp - 0x234]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea esi, [ebp - 0x234]
call fcn.10001780
mov eax, dword [ebp - 0x244]
mov ecx, eax
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x10026333
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [ebp - 0x234]
call fcn.10001930
xor eax, eax
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x254], eax
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], eax
cmp dword [ebp - 0x220], edi
jb 0x10026390
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x260], ecx
jmp 0x1002639c
lea edx, [ebp - 0x234]
mov dword [ebp - 0x260], edx
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp - 0x238]
lea edi, [ebp - 0x260]
mov dword [ebp - 0x25c], eax
mov dword [ebp - 0x254], ecx
call fcn.10026040
lea esi, [ebp - 0x234]
mov ebx, eax
call fcn.10003540
mov eax, ebx
jmp 0x100263d5
mov eax, 0x57
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.10028eba
mov esp, ebp
pop ebp
ret
Function at 0x100267b0
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x323c
call fcn.100333f0
mov eax, dword [0x1004f450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push eax
lea eax, [ebp - 0x3238]
push 0x1003ed60
push eax
call esi
xor ecx, ecx
push 0xffe
push ecx
lea edx, [ebp - 0x21d2]
push edx
mov word [ebp - 0x21d4], cx
call fcn.1002f900
xor eax, eax
push 0x118e
push eax
lea ecx, [ebp - 0x11d2]
push ecx
mov word [ebp - 0x11d4], ax
call fcn.1002f900
lea edx, [ebp - 0x24]
push 0x10
push edx
call fcn.1002ae4a
lea eax, [ebp - 0x44]
push 0x10
push eax
call fcn.1002b192
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x21d4]
push str.____Date:_s___Time:_s____
push eax
call esi
add esp, 0x44
lea ecx, [ebp - 0x3238]
push ecx
lea edx, [ebp - 0x21d4]
push edx
lea eax, [ebp - 0x11d4]
push str.__s____s
push eax
call esi
push 0x10049208
lea ecx, [ebp - 0x11d4]
push 0x8c8
push ecx
call fcn.1002a7a8
add esp, 0x1c
cmp byte [0x10052041], 0
je 0x100268e6
push 0
push 0x80
push 4
push 0
push 0
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100268e6
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x323c]
push edx
lea eax, [ebp - 0x11d4]
push eax
mov dword [ebp - 0x323c], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea ecx, [ebp - 0x11d4]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x10052042], 0
pop esi
je 0x10026920
lea edx, [ebp - 0x3238]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.WIWatch
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x10026920
lea ecx, [ebp - 0x11d4]
push ecx
push 0
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10028eba
mov esp, ebp
pop ebp
ret