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

Disassembly:
push 0x88
mov eax, 0x4aa431
call fcn.00453742
mov edi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 4], ebx
je 0x44827f
test eax, eax
je 0x448239
mov dword [eax], ebx
mov ecx, dword [edi + 4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4482d0
push 1
lea eax, [edi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.004424f0
mov dword [ebp - 4], ebx
push 1
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x94]
call fcn.0044243e
push 0x4dea64
lea eax, [ebp - 0x94]
push eax
call fcn.00453682
push eax
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4482d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test ebx, ebx
je 0x4482d0
push 1
lea ecx, [edi + 0xc]
push ecx
lea ecx, [ebp - 0x40]
call fcn.004424f0
mov dword [ebp - 4], 2
push 1
push ebx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x90]
call fcn.0044229f
push 0x4de9f0
lea eax, [ebp - 0x90]
jmp 0x448279
mov eax, esi
call fcn.004536f1
ret 4
Function at 0x44884a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 8
mov eax, 0x4aa910
call fcn.0045370f
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0x13
xor ebx, ebx
cmp dword [esi + 0x6c], ebx
je 0x448875
push dword [esi + 0x6c]
call fcn.00498f20
pop ecx
mov dword [esi + 0x6c], ebx
push dword [esi + 0x68]
call fcn.0045269e
pop ecx
mov dword [esi + 0x68], ebx
mov byte [ebp - 4], 0x12
lea ecx, [esi + 0x348]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x12
call fcn.00401b80
mov byte [ebp - 4], 0x11
lea ecx, [esi + 0x318]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x11
call fcn.00401b80
mov byte [ebp - 4], 0x10
lea ecx, [esi + 0x2e8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0x10
call fcn.00401b80
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x2b8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xf
call fcn.00401b80
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x288]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xe
call fcn.00401b80
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x258]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xd
call fcn.00401b80
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x228]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xc
call fcn.00401b80
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x1f8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xb
call fcn.00401b80
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x1c8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 0xa
call fcn.00401b80
mov byte [ebp - 4], 9
lea ecx, [esi + 0x198]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 9
call fcn.00401b80
mov byte [ebp - 4], 8
lea ecx, [esi + 0x168]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 8
call fcn.00401b80
mov byte [ebp - 4], 7
lea ecx, [esi + 0x138]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 7
call fcn.00401b80
mov byte [ebp - 4], 6
lea ecx, [esi + 0x108]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 6
call fcn.00401b80
mov byte [ebp - 4], 5
lea ecx, [esi + 0xd8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 5
call fcn.00401b80
mov byte [ebp - 4], 4
lea ecx, [esi + 0xa8]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 4
call fcn.00401b80
mov byte [ebp - 4], 3
lea ecx, [esi + 0x78]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 3
call fcn.00401b80
mov byte [ebp - 4], 2
lea ecx, [esi + 0x5c]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 2
call fcn.004487a7
mov byte [ebp - 4], 1
lea ecx, [esi + 0x54]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], 1
call fcn.004487a7
mov byte [ebp - 4], bl
lea ecx, [esi + 0x4c]
mov dword [ebp - 0x14], ecx
mov byte [ebp - 4], bl
call fcn.004487a7
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x30]
call fcn.00417c1b
call fcn.004536dd
ret
Function at 0x44bda8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 8], 0
je 0x44bdc6
mov ecx, esi
call fcn.0044bbe9
pop esi
pop ebp
ret 4
Function at 0x44c713
Capabilities:
Read file on windows

Disassembly:
push 0x44
mov eax, 0x4ab9cf
call fcn.00453742
mov ebx, ecx
mov edi, dword [ebp + 8]
push 1
lea eax, [ebp - 0x41]
push eax
lea ecx, [ebx + 4]
mov dword [ebp - 0x50], ebx
mov dword [ebx], vtable.STREAM.0
call fcn.00403870
xor eax, eax
mov dword [ebp - 4], eax
or dword [ebx + 0x48], 0xffffffff
lea ecx, [ebx + 0x54]
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x38], eax
mov word [ebx + 0x3c], 0x101
mov byte [ebx + 0x3e], 1
mov dword [ebx + 0x44], eax
mov dword [ebx + 0x4c], 0x2e
mov dword [ebx + 0x50], 0x138
call fcn.0044c682
mov byte [ebp - 4], 1
and dword [ebx + 0x5c], 0
mov eax, 0x4c8c5c
test edi, edi
cmovne eax, edi
push eax
lea ecx, [ebx + 4]
mov byte [ebx + 0x60], 0
call fcn.00403e90
lea esi, [ebx + 8]
cmp dword [esi + 0x14], 8
jb 0x44c799
mov eax, dword [esi]
jmp 0x44c79b
mov eax, esi
push 1
push eax
call fcn.0044d801
pop ecx
mov dword [ebx + 0x40], eax
cmp dword [esi + 0x14], 8
pop ecx
jb 0x44c7b2
mov eax, dword [esi]
jmp 0x44c7b4
mov eax, esi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx + 0x34], eax
cmp eax, 0xffffffff
jne 0x44c7e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x44], eax
jmp 0x44c91d
push 0x2e
lea eax, [ebp - 0x40]
push edi
push eax
mov dword [ebx + 0x38], 1
call fcn.004526c0
add esp, 0xc
mov ecx, ebx
push 0
push 0
push dword [ebx + 0x40]
push dword [ebx + 0x34]
call fcn.0044e3c1
test eax, eax
je 0x44c91d
push 0
lea eax, [ebp - 0x48]
push eax
push 0x2e
pop edi
push edi
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x44c90c
cmp dword [ebp - 0x48], 0
je 0x44c90c
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0044d12c
test eax, eax
je 0x44c856
mov di, word [ebp - 0x32]
test di, di
jne 0x44c8ce
cmp dword [esi + 0x14], 8
jb 0x44c85e
mov esi, dword [esi]
push 0
push esi
call fcn.0044d801
pop ecx
pop ecx
cmp eax, dword [ebx + 0x40]
jbe 0x44c870
mov dword [ebx + 0x40], eax
push 0
push 0
push dword [ebx + 0x40]
mov ecx, ebx
push dword [ebx + 0x34]
call fcn.0044e3c1
test eax, eax
je 0x44c91d
push 0
lea eax, [ebp - 0x4c]
push eax
push 0x2e
pop esi
push esi
lea eax, [ebp - 0x40]
push eax
push dword [ebx + 0x34]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x4c], eax
test eax, eax
je 0x44c91d
cmp dword [ebp - 0x48], 0
je 0x44c91d
lea eax, [ebp - 0x40]
push eax
mov ecx, ebx
call fcn.0044d12c
mov di, word [ebp - 0x32]
test eax, eax
je 0x44c8c5
test di, di
jne 0x44c8d1
mov dword [ebx + 0x5c], 3
jmp 0x44c8d1
push 0x2e
pop esi
mov eax, dword [ebx + 0x5c]
cmp eax, 1
je 0x44c8ea
add eax, 0xfffffffe
cmp eax, 1
ja 0x44c8f4
mov dword [ebx + 0x50], 0x18
jmp 0x44c8f1
mov dword [ebx + 0x50], 0x138
mov dword [ebx + 0x4c], esi
mov ecx, ebx
call fcn.0044dbdf
test al, al
je 0x44c91d
movzx eax, di
push eax
mov ecx, ebx
call fcn.0044d902
jmp 0x44c91d
mov dword [ebx + 0x5c], 3
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x50], 0x18
or dword [ebp - 4], 0xffffffff
mov eax, ebx
call fcn.004536f1
ret 4
Function at 0x44cd29
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0x48
mov eax, 0x4abc9b
call fcn.00453742
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp + 0x10]
add eax, 4
mov dword [ebp - 0x54], ecx
cmp dword [eax + 0x14], 8
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x50], ecx
jb 0x44cd57
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44cd85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 0x44], eax
jmp 0x44ce45
push 0x400
call fcn.00452087
mov edi, eax
xor eax, eax
pop ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], eax
push eax
jmp 0x44ce1c
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x44ce35
cmp byte [ebx + 0x3d], 0
je 0x44cde7
cmp byte [ebx + 0x3c], 0
je 0x44cde7
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x40]
push eax
call fcn.00432515
and dword [ebp - 4], 0
mov ecx, eax
call fcn.00449bf3
push eax
push dword [ebp - 0x44]
push edi
call fcn.0040fb67
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401b80
mov eax, dword [ebp - 0x44]
push 0
lea ecx, [ebp - 0x44]
push ecx
push eax
push edi
push dword [ebp - 0x54]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x50]
add dword [ebp - 0x48], eax
test ecx, ecx
je 0x44ce16
mov edx, dword [ebp - 0x4c]
mov eax, dword [ecx]
push dword [edx + 0x38]
mov edx, dword [ebp - 0x48]
push edx
call dword [eax]
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x44ce35
push 0
lea eax, [ebp - 0x44]
push eax
push 0x400
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44cd9d
push edi
call fcn.0045269e
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
call fcn.004536f1
ret 0x10
Function at 0x44d2d2
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0x58
mov eax, 0x4abd94
call fcn.00453742
mov edi, ecx
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
and dword [ebp - 0x54], 0
mov ebx, dword [edx + 0x38]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], eax
mov eax, dword [edx + 0x30]
shr eax, 2
and eax, 0xffffff01
test byte [edx + 0x30], 6
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x41], 0
je 0x44d31b
mov byte [ebp - 0x41], 1
lea eax, [ecx + 4]
cmp dword [eax + 0x14], 8
jb 0x44d326
mov eax, dword [eax]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44d356
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0x44], eax
xor eax, eax
jmp 0x44d42c
mov eax, 0x400
mov edi, eax
cmp ebx, eax
cmovb edi, ebx
push edi
call fcn.00452087
pop ecx
push 0
lea ecx, [ebp - 0x48]
push ecx
push edi
mov dword [ebp - 0x4c], eax
push eax
jmp 0x44d408
cmp byte [ebp - 0x60], 0
je 0x44d3b7
cmp byte [ebp - 0x41], 0
je 0x44d3b7
mov ecx, dword [ebp - 0x64]
lea eax, [ebp - 0x40]
push eax
call fcn.00432515
and dword [ebp - 4], 0
mov ecx, eax
call fcn.00449bf3
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
call fcn.0040f9b8
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401b80
push 0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x48]
mov edx, dword [ebp - 0x58]
add ecx, eax
mov dword [ebp - 0x54], ecx
test edx, edx
je 0x44d3ed
push dword [ebp - 0x5c]
mov eax, dword [edx]
push ecx
mov ecx, edx
call dword [eax]
test al, al
jne 0x44d434
mov eax, dword [ebp - 0x48]
sub ebx, eax
je 0x44d419
test eax, eax
je 0x44d419
push 0
cmp ebx, 0x400
lea eax, [ebp - 0x48]
push eax
cmovb edi, ebx
push edi
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44d379
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
call fcn.004536f1
ret 0x10
xor edi, edi
jmp 0x44d41c
Function at 0x44d5db
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push 0x4c
mov eax, 0x4abdf6
call fcn.0045370f
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], esi
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebx + 0xa8]
mov dword [ebp + 0x10], edi
test edi, edi
je 0x44d71d
push 0x1c
pop eax
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
mov ecx, esi
cmovne ecx, dword [ebp - 0x28]
push ebx
push str..debug
mov dword [ebp - 0x18], ecx
call fcn.0044d887
pop ecx
pop ecx
test eax, eax
je 0x44d64e
cmp dword [eax + 0xc], edi
jne 0x44d64e
mov ecx, dword [eax + 0x14]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebx + 0xac]
mov dword [ebp + 0x10], ecx
add edi, ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x14], ebx
jmp 0x44d6b0
push ebx
push str..rdata
call fcn.0044d887
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x44d678
push ebx
push str..text
call fcn.0044d887
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x44d71d
mov eax, dword [ebx + 0xac]
push 0x1c
xor edx, edx
pop ecx
mov dword [ebp - 0x14], eax
div ecx
mov ebx, eax
test ebx, ebx
je 0x44d71d
mov ecx, dword [edi + 0x10]
add ecx, dword [edi + 0xc]
mov edx, dword [ebp + 0x10]
cmp edx, ecx
ja 0x44d71d
sub edx, dword [edi + 0xc]
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp + 0xc]
add eax, edx
mov dword [ebp + 0x10], eax
lea edi, [eax + ecx]
mov eax, edi
sub eax, ecx
cmp eax, dword [ebp - 0x18]
jbe 0x44d702
cmp dword [ebp + 8], 0
je 0x44d702
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp + 0x10]
xor edx, edx
div dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x14]
imul eax, dword [ebp - 0x3c]
add ecx, edx
push ecx
push eax
push esi
push 4
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x44d71d
lea ecx, [ebp - 0x10]
call fcn.0044e875
mov dword [ebp - 0x10], edi
sub edi, dword [ebp - 0x18]
add edi, dword [ebp + 0x10]
test ebx, ebx
je 0x44d71d
add edi, 0x10
mov eax, dword [edi + 8]
add eax, dword [edi]
cmp eax, dword [ebp + 0x14]
jbe 0x44d715
add esi, dword [edi]
push 0x1c
pop eax
add edi, eax
dec ebx
jne 0x44d709
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0044e875
mov eax, esi
call fcn.004536dd
ret
Function at 0x44d9d9
Capabilities:
Read file on windows

Disassembly:
push 0x1a8
mov eax, 0x4abec6
call fcn.00453742
mov edi, ecx
mov ebx, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x50], 2
mov dword [ebp - 0x1b4], ebx
jae 0x44dad3
push 0x138
lea eax, [ebp - 0x1a8]
push esi
push eax
call fcn.004526c0
add esp, 0xc
lea eax, [ebp - 0x1b0]
push esi
push eax
push 0x138
lea eax, [ebp - 0x1a8]
push eax
push ebx
mov dword [ebp - 0x1b0], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44da44
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44dbd7
cmp dword [ebp - 0x1b0], 0x138
je 0x44da5a
mov eax, 0x103
jmp 0x44dbd7
push 1
lea eax, [ebp - 0x1a9]
push eax
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x40]
call fcn.004114b0
mov dword [ebp - 4], esi
lea eax, [ebp - 0x40]
push eax
mov ecx, edi
call fcn.00411c5a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00401b80
mov eax, dword [ebp - 0xa4]
mov dword [edi + 0x30], eax
mov ax, word [ebp - 0xa0]
mov word [edi + 0x34], ax
mov eax, dword [ebp - 0x9c]
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x98]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x94]
mov dword [edi + 0x40], eax
mov ax, word [ebp - 0x90]
mov word [edi + 0x44], ax
mov eax, dword [ebp + 0xc]
add eax, 0x138
jmp 0x44dbd2
push 0x18
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004526c0
add esp, 0xc
lea eax, [ebp - 0x1b0]
push esi
push eax
push 0x18
lea eax, [ebp - 0x28]
push eax
push ebx
mov dword [ebp - 0x1b0], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44da39
cmp dword [ebp - 0x1b0], 0x18
jne 0x44da50
mov eax, dword [ebp - 0x24]
push dword [ebp - 0x28]
mov dword [edi + 0x30], eax
mov ax, word [ebp - 0x20]
mov word [edi + 0x34], ax
mov eax, dword [ebp - 0x1e]
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x1a]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0x16]
mov dword [edi + 0x40], eax
mov ax, word [ebp - 0x12]
mov word [edi + 0x44], ax
call fcn.00452087
push dword [ebp - 0x28]
mov ebx, eax
push esi
push ebx
call fcn.004526c0
add esp, 0x10
lea eax, [ebp - 0x1b0]
push esi
push eax
push dword [ebp - 0x28]
push ebx
push dword [ebp - 0x1b4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44db77
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x44db87
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x1b0], eax
je 0x44db92
mov esi, 0x103
push ebx
call fcn.0045269e
pop ecx
mov eax, esi
jmp 0x44dbd7
push 1
lea ecx, [ebp - 0x1a9]
push ecx
shr eax, 1
push eax
push ebx
lea ecx, [ebp - 0x70]
call fcn.00411610
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00411c5a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00401b80
push ebx
call fcn.0045269e
mov eax, dword [ebp - 0x28]
add eax, 0x18
add eax, dword [ebp + 0xc]
pop ecx
mov dword [edi + 0x48], eax
xor eax, eax
call fcn.004536f1
ret 8
Function at 0x44dbe3
Capabilities:
Get system information on windows
Parse pe header
Read file via mapping

Disassembly:
push 0x3c
mov eax, 0x4abf06
call fcn.0045370f
xor ebx, ebx
mov edi, ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 2
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x44dc3c
lea ecx, [ebp - 0x18]
call fcn.00404bf0
mov edi, esi
mov dword [ebp - 0x18], edi
cmp esi, 0xffffffff
je 0x44dd5e
push ebx
push ebx
push ebx
push 2
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0x44dd5e
lea ecx, [ebp - 0x14]
call fcn.00404bf0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
push eax
push 0
push 0
push 4
push ebx
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x44dd5e
lea ecx, [ebp - 0x10]
call fcn.0044e8a9
mov eax, 0x5a4d
mov dword [ebp - 0x10], esi
cmp word [esi], ax
jne 0x44dd24
mov ebx, dword [esi + 0x3c]
push 0xf8
add ebx, esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x44dd1d
cmp dword [ebx], 0x4550
jne 0x44dd1d
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x20], eax
jae 0x44dd27
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 0x24]
push 0
push 0
push 4
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
cmp esi, ebx
je 0x44dcf6
lea ecx, [ebp - 0x10]
call fcn.0044e8a9
mov esi, ebx
mov dword [ebp - 0x10], esi
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x44dd1d
mov ebx, dword [esi + 0x3c]
push 0xf8
add ebx, esi
push ebx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x44dd1d
cmp dword [ebx], 0x4550
je 0x44dd27
mov esi, 0xc1
jmp 0x44dd66
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x44dd34
and dword [ebp - 0x10], 0
mov dword [eax], esi
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x44dd41
and dword [ebp - 0x18], 0
mov dword [eax], edi
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x44dd51
mov ecx, dword [ebp - 0x1c]
and dword [ebp - 0x14], 0
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x44dd5a
mov dword [eax], ebx
xor esi, esi
jmp 0x44dd66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.0044e8a9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00404bf0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00404bf0
mov eax, esi
call fcn.004536dd
ret
Function at 0x44e407
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x50], 2
jae 0x44e481
mov ebx, 0x138
push ebx
mov dword [ebp - 4], ebx
call fcn.004545d7
push ebx
xor ebx, ebx
mov esi, eax
push ebx
push esi
call fcn.004526c0
add esp, 0x10
mov ecx, edi
call fcn.00449bf3
push eax
push esi
call fcn.00456d10
mov eax, dword [edi + 0x30]
mov dword [esi + 0x104], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x110], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x10c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x114], eax
mov ax, word [edi + 0x44]
mov word [esi + 0x118], ax
mov ax, word [edi + 0x34]
pop ecx
pop ecx
mov word [esi + 0x108], ax
jmp 0x44e4eb
mov eax, dword [edi + 0x14]
add eax, eax
mov dword [ebp - 8], eax
add eax, 0x18
push eax
mov dword [ebp - 4], eax
call fcn.00452087
push 0x18
xor ebx, ebx
mov esi, eax
push ebx
push esi
call fcn.004526c0
mov eax, dword [edi + 0x30]
mov ecx, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0xe], eax
mov dword [esi], ecx
mov eax, dword [edi + 0x38]
mov dword [esi + 0xa], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x12], eax
mov ax, word [edi + 0x44]
mov word [esi + 0x16], ax
mov ax, word [edi + 0x34]
add edi, 4
add esp, 0x10
mov word [esi + 8], ax
cmp dword [edi + 0x14], 8
jb 0x44e4dd
mov edi, dword [edi]
push ecx
lea eax, [esi + 0x18]
push edi
push eax
call fcn.004529d0
add esp, 0xc
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
mov dword [ebp - 0xc], ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x44e50c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0045269e
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 4
Function at 0x44ec5e
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x70c
mov eax, 0x4ac082
call fcn.00453742
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x714], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x718], eax
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp - 0x628], ax
xor ebx, ebx
lea eax, [ebp - 0x626]
push ebx
push eax
call fcn.004526c0
add esp, 0xc
lea eax, [ebp - 0x628]
push 0x104
push eax
push dword [0x4eeff8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x70c]
call fcn.0044c713
mov dword [ebp - 4], ebx
xor eax, eax
push esi
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.004526c0
cmp dword [0x4eeef0], 8
mov esi, 0x4eeedc
mov eax, esi
cmovae eax, dword [0x4eeedc]
push eax
lea eax, [ebp - 0x70c]
push eax
call fcn.0044fab4
add esp, 0x14
test eax, eax
je 0x44edc6
xor eax, eax
push 0x206
mov word [ebp - 0x420], ax
xor esi, esi
lea eax, [ebp - 0x41e]
push esi
push eax
inc ebx
call fcn.004526c0
add esp, 0xc
lea eax, [ebp - 0x420]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push esi
push 0x4b9274
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ebx
lea eax, [ebp - 0x70d]
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x678]
call fcn.004115c6
mov byte [ebp - 4], bl
lea eax, [ebp - 0x6a8]
push eax
mov ecx, 0x4eeed8
call fcn.0041cdf6
mov byte [ebp - 4], 2
push esi
lea ecx, [ebp - 0x678]
push ecx
push eax
lea ecx, [ebp - 0x70c]
call fcn.0044d438
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x6a8]
call fcn.00401b80
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x678]
call fcn.00401b80
jmp 0x44ee1a
cmp word [0x4ee640], 0
je 0x44ede4
push 0x4ee640
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x44ee1a
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.0044fb48
cmp dword [0x4eeef0], 8
lea eax, [ebp - 0x218]
cmovae esi, dword [0x4eeedc]
push esi
push eax
push eax
call fcn.0044f76c
lea ecx, [ebp - 0x648]
call fcn.00410f4a
mov byte [ebp - 4], 6
cmp word [ebp - 0x218], 0
jne 0x44ee37
xor eax, eax
jmp 0x44ee44
lea eax, [ebp - 0x218]
push eax
call fcn.00453664
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x640]
call fcn.00414ceb
lea ecx, [ebp - 0x648]
call fcn.00414f8c
lea ecx, [ebp - 0x648]
call fcn.00412f63
push dword [ebp + 0x14]
lea ecx, [ebp - 0x648]
push dword [ebp - 0x718]
push 0x4c8c5c
push dword [ebp - 0x714]
push edi
call fcn.0041284a
test bl, bl
je 0x44ee9e
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x648]
call fcn.004118f1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70c]
call fcn.0044ca63
call fcn.004536f1
ret