joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b8bf
Capabilities:
Check if file exists

Disassembly:
push 0x18
mov eax, 0x4aaa18
call fcn.00490adb
mov ebx, ecx
xor esi, esi
cmp dword [ebx + 0x85c], esi
je 0x42ba3c
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x42ba3c
cmp word [eax], si
je 0x42ba3c
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00404b9b
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00407401
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x24]
lea esi, [ebx + 0x8a4]
push eax
push esi
mov dword [ebp - 0x14], esi
call fcn.0042303a
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
lea edi, [ebp - 0x1c]
lea esi, [ebp - 0x24]
mov dword [ebp - 0x1c], eax
call fcn.0042fae3
test al, al
jne 0x42b94f
call fcn.00423239
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00404bfa
mov eax, esi
jmp 0x42ba3e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
lea esi, [ebx + 0x884]
push esi
call fcn.0042cfa6
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [esi]
lea edi, [ebp - 0x24]
lea esi, [ebp - 0x1c]
mov dword [ebp - 0x24], eax
call fcn.0042fae3
test al, al
jne 0x42b9b8
push 0x34
call fcn.004892be
pop ecx
test eax, eax
je 0x42b994
mov edi, eax
call fcn.004300f8
mov esi, eax
jmp 0x42b996
xor esi, esi
test esi, esi
je 0x42b9a8
mov ebx, dword [ebp - 0x10]
push 0
push 1
mov eax, esi
call fcn.0043041a
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
call fcn.00422fa0
mov dword [eax], esi
jmp 0x42b93d
mov ebx, dword [ebp + 8]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b9f0
push 0x34
call fcn.004892be
pop ecx
test eax, eax
je 0x42b9dd
mov edi, eax
call fcn.004300f8
mov esi, eax
jmp 0x42b9df
xor esi, esi
test esi, esi
je 0x42b9a8
mov eax, dword [ebp - 0x10]
push 0
push esi
call fcn.004303c4
jmp 0x42b9a8
push 6
push str.res:__
push ebx
call fcn.0048a761
add esp, 0xc
test eax, eax
jne 0x42ba31
push 0x34
call fcn.004892be
pop ecx
test eax, eax
je 0x42ba1b
mov edi, eax
call fcn.004300f8
mov esi, eax
jmp 0x42ba1d
xor esi, esi
test esi, esi
je 0x42b9a8
push 0
lea edi, [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
mov eax, edi
jmp 0x42b9e8
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00404bfa
xor eax, eax
call fcn.00490bb3
ret 4
Function at 0x4301f0
Capabilities:
Extract resource via kernel32 functions
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [edi + 0x10]
push ebx
push esi
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 8]
push ecx
xor ebx, ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0042ce13
add esp, 0xc
test eax, eax
je 0x43024b
mov eax, dword [ebp - 4]
push dword [ebp - 8]
lea esi, [edi + 0x1c]
mov dword [edi + 0x28], eax
call fcn.004300da
push 0x10
mov byte [edi + 0x20], bl
call sub.gdiplus.dll_GdipAlloc
cmp eax, ebx
je 0x430241
push esi
mov esi, eax
call fcn.0041eb7b
jmp 0x430243
xor eax, eax
mov dword [edi + 0x18], eax
jmp 0x430368
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x10]
cmp ecx, ebx
je 0x4302ce
push 0x4cd5f0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
mov dword [ebp - 8], ebx
test ebx, ebx
je 0x430368
push ebx
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4302c0
push ebx
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x4302c0
lea esi, [edi + 0x1c]
push eax
call fcn.004300da
push 0x10
mov dword [edi + 0x28], ebx
mov byte [edi + 0x20], 0
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x4302bb
push esi
mov esi, eax
call fcn.0041eb7b
jmp 0x4302bd
xor eax, eax
mov dword [edi + 0x18], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x430368
push ebx
push 0x20
push 3
push ebx
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x430368
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
test ebx, ebx
jbe 0x43035f
push ebx
call fcn.00487d50
mov esi, eax
pop ecx
mov dword [ebp - 0xc], esi
test esi, esi
je 0x43035f
and dword [ebp - 8], 0
push 0
lea eax, [ebp - 8]
push eax
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430358
cmp ebx, dword [ebp - 8]
jne 0x430358
push dword [ebp - 0xc]
lea esi, [edi + 0x1c]
call fcn.004300da
push 0x10
mov dword [edi + 0x28], ebx
mov byte [edi + 0x21], 1
mov byte [edi + 0x20], 1
call sub.gdiplus.dll_GdipAlloc
test eax, eax
je 0x430351
push esi
mov esi, eax
call fcn.0041eb7b
jmp 0x430353
xor eax, eax
mov dword [edi + 0x18], eax
jmp 0x43035f
push esi
call fcn.00489298
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [edi + 0xc], 0
lea esi, [edi + 0x10]
call fcn.00404960
mov esi, dword [edi + 0x18]
test esi, esi
je 0x430398
call fcn.0042da01
mov esi, dword [edi + 0x18]
mov dword [edi + 4], eax
call fcn.0042da21
mov dword [edi + 8], eax
xor eax, eax
cmp dword [edi + 4], eax
setg al
jmp 0x43039a
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x430e98
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x430f19
cmp dword [ebp + 0x10], 0
je 0x430f19
mov ecx, eax
shr ecx, 0x10
test cx, cx
jne 0x430ec2
movzx eax, ax
push ebx
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x430f18
push edi
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push dword [ebp + 8]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x430f17
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x430f17
and dword [esi + 0x10], 0
mov dword [esi + 8], eax
xor eax, eax
inc eax
and dword [esi + 0x1c], 0
mov byte [esi + 4], 0
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], eax
mov dword [ebp - 4], eax
pop edi
pop ebx
mov eax, dword [ebp - 4]
pop esi
leave
ret 0xc

Function at 0x430f21
Capabilities:
Check if file exists
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
cmp dword [esi + 0x18], edi
je 0x430f48
mov eax, dword [esi + 8]
cmp eax, edi
je 0x430f48
push eax
call fcn.00489298
pop ecx
mov dword [esi + 8], edi
mov dword [esi + 0x18], edi
cmp dword [ebp + 8], edi
je 0x431013
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x431013
push 0x207
push dword [ebp + 8]
lea ebx, [esi + 0x20]
push ebx
call fcn.00489972
add esp, 0xc
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x431013
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, edi
mov dword [esi + 0xc], eax
mov dword [ebp + 8], edi
jle 0x43101d
cmp eax, 0x6400000
jg 0x43101d
inc eax
push eax
call fcn.00487d50
pop ecx
mov dword [esi + 8], eax
cmp eax, edi
je 0x43101d
mov ecx, dword [esi + 0xc]
inc ecx
push ecx
push edi
push eax
call fcn.0048e0e0
add esp, 0xc
push edi
lea eax, [ebp + 8]
push eax
push dword [esi + 0xc]
push dword [esi + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x430ffb
mov eax, dword [esi + 0xc]
cmp eax, dword [ebp + 8]
jne 0x430ffb
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
jmp 0x43100c
mov eax, dword [esi + 8]
cmp eax, edi
je 0x43100c
push eax
call fcn.00489298
pop ecx
mov dword [esi + 8], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 4
xor eax, eax
jmp 0x431016
Function at 0x431021
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
jne 0x431031
xor eax, eax
jmp 0x431060
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43102d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x43102d
and dword [esi + 0x10], 0
xor eax, eax
inc eax
and dword [esi + 0x1c], 0
mov byte [esi + 4], al
mov dword [esi + 0x18], eax
pop edi
pop esi
ret 4
Function at 0x436688
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
mov eax, dword [esi + 4]
neg ecx
add dword [ebp + 0xc], ecx
push edi
push dword [ebp + 0xc]
neg eax
add dword [ebp + 8], eax
push dword [ebp + 8]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x54]
mov edi, eax
cmp edi, 0xffffffff
je 0x43680c
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x4c]
test eax, eax
je 0x43680c
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x44]
mov ecx, dword [esi + 0x28]
mov ebx, eax
mov eax, dword [ebx + 0x84]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], eax
test ecx, ecx
je 0x4366f6
mov edx, dword [ecx]
push 0
push eax
push esi
call dword [edx + 4]
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x436704
mov eax, dword [ecx]
push ebx
push esi
call dword [eax + 0xc]
push dword [ebp + 0xc]
mov eax, dword [ebx]
push dword [ebp + 8]
mov ecx, ebx
call dword [eax + 0x10]
test eax, eax
je 0x43674e
cmp dword [esi + 0x6c], edi
jne 0x43672e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x70]
cmp eax, 0xc8
jbe 0x43680c
push 1
push edi
push dword [esi + 0x64]
call fcn.00436213
push 0
push edi
mov ecx, esi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
call fcn.00436e2f
jmp 0x43680c
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x9c], 1
cmp dword [esi + 0x6c], edi
jne 0x436771
call ebx
sub eax, dword [esi + 0x70]
cmp eax, 0x32
jbe 0x436805
push 1
push edi
push dword [esi + 0x64]
call fcn.00436213
push dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
push dword [ebp + 8]
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov eax, dword [ecx]
call dword [eax + 0x34]
test eax, eax
jne 0x4367ae
or dword [esi + 0x68], 0xffffffff
or dword [esi + 0x60], 0xffffffff
push eax
push 0xffffffffffffffff
push dword [esi + 0x64]
call fcn.00436213
or dword [esi + 0x64], 0xffffffff
jmp 0x4367cd
cmp eax, 1
jne 0x4367b8
push dword [esi + 0x14]
jmp 0x4367f9
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x4367d7
push dword [esp + 0x14]
mov eax, dword [ecx]
push esi
call dword [eax + 8]
test eax, eax
je 0x4367d7
mov dword [esi + 0x6c], edi
call ebx
mov dword [esi + 0x70], eax
jmp 0x436805
mov dword [0x4f9fdc], esi
call ebx
push 0
push 0x32
push 0x12345678
push dword [esi + 0x14]
mov dword [0x4f9fd8], eax
call dword [sym.imp.USER32.dll_SetTimer]
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [0x4f9fd0], esi
and dword [esi + 0x9c], 0
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437196
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
mov ebx, ecx
cmp dword [ebx + 0x20], 0
push esi
push edi
je 0x437313
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
cmp eax, 0x104
je 0x4371cd
cmp eax, 0x105
je 0x4371cd
cmp eax, 0x100
jne 0x437313
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x11
call esi
cwde
test eax, eax
js 0x437201
push 0x10
call esi
cwde
test eax, eax
js 0x437201
mov cx, word [edi + 0xe]
mov eax, 0x2000
mov edx, eax
and cx, dx
cmp cx, ax
jne 0x437201
xor esi, esi
inc esi
mov dword [esp + 0x10], esi
jmp 0x437209
and dword [esp + 0x10], 0
xor esi, esi
inc esi
movzx ecx, word [edi + 8]
mov edi, dword [edi + 4]
cmp edi, 0x104
je 0x437224
cmp edi, 0x100
jne 0x437313
cmp dword [ebx + 0x9c], esi
jne 0x437253
movzx eax, cx
sub eax, 0x1b
je 0x4372d3
sub eax, 5
je 0x4372cd
sub eax, 5
je 0x437295
dec eax
je 0x4372cd
dec eax
je 0x437295
dec eax
je 0x4372cd
movzx eax, cx
push 2
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
cmp dword [esp + 0x10], 0
mov edi, eax
jne 0x437274
cmp dword [ebx + 0x9c], esi
jne 0x4372f7
push edi
call fcn.0048c597
pop ecx
test eax, eax
je 0x4372f7
lea eax, [esp + 0x14]
push eax
push edi
call fcn.004373f6
test eax, eax
je 0x4372e8
push esi
push dword [esp + 0x18]
jmp 0x4372c2
mov eax, dword [ebx]
xor edx, edx
cmp cx, 0x25
sete dl
mov ecx, ebx
push edx
push dword [ebx + 0x60]
call dword [eax + 0xb0]
mov edi, eax
push 2
mov eax, ebx
call fcn.004374d1
cmp dword [ebx + 0xa0], 0xffffffff
je 0x4372c9
push esi
push edi
mov ecx, ebx
call fcn.00436e2f
mov eax, esi
jmp 0x437315
push esi
push dword [ebx + 0x60]
jmp 0x4372c2
push 2
or edi, 0xffffffff
mov eax, ebx
call fcn.004374d1
and dword [ebx + 0x9c], 0
jmp 0x4372c9
cmp dword [ebx + 0x9c], esi
jne 0x4372f7
cmp dword [esp + 0x10], 0
je 0x4372c9
cmp dword [ebx + 0x9c], 0
jle 0x437313
push 2
or edi, 0xffffffff
mov eax, ebx
call fcn.004374d1
and dword [ebx + 0x9c], 0
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x438f44
Capabilities:
Hide graphical window

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi + 0x208]
push edi
test ecx, ecx
je 0x438f59
call fcn.00438f44
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
lea edi, [esi + 0x29c]
push dword [edi]
call ebp
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x438f79
push 0
push dword [edi]
call ebx
push dword [esi + 8]
call ebp
test eax, eax
je 0x438f89
push 0
push dword [esi + 8]
call ebx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x43b35e
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp dword [ebp + 8], 0
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebp - 4], eax
je 0x43b3f5
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
mov ecx, dword [esi + 8]
sub ecx, dword [esi]
push eax
push ecx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebp - 4]
mov dword [edi + 0x24c], eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
push 0xcc0020
push eax
push ecx
push dword [ebp - 8]
sub edx, eax
mov eax, dword [esi + 8]
push edx
sub eax, ecx
push eax
push 0
push 0
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [edi + 0xe4]
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
push esi
push dword [ebp - 8]
mov dword [ebp + 8], eax
call dword [sym.imp.USER32.dll_FillRect]
push dword [ebp + 8]
call ebx
jmp 0x43b44f
mov eax, dword [edi + 0x24c]
test eax, eax
je 0x43b44f
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push 0xcc0020
push 0
push 0
push dword [ebp - 4]
mov dword [ebp + 8], eax
mov eax, dword [esi + 4]
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
push ecx
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x24c]
call ebx
and dword [edi + 0x24c], 0
push dword [ebp - 4]
call ebx
push dword [ebp - 8]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop ebx
leave
ret 4

Function at 0x43efa0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push edi
mov edi, edx
test ecx, ecx
jne 0x43efab
xor eax, eax
pop edi
ret
push esi
not eax
mov edx, 0xff
cmp edi, 8
jb 0x43f05d
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b9a28]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b9a28]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b9a28]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b9a28]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b9a28]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b9a28]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b9a28]
inc ecx
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x4b9a28]
inc ecx
sub edi, 8
dec esi
jne 0x43efc2
pop ebx
test edi, edi
je 0x43f076
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x4b9a28]
inc ecx
dec edi
jne 0x43f061
pop esi
not eax
pop edi
ret
Function at 0x43f6d6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x43f706
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43f701
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x43f72e
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x43f717
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0048e160
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x4402a1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebx], 0
push esi
push edi
jne 0x44031a
cmp dword [ebx + 4], 0xffffffff
jne 0x44031a
lea esi, [ebx + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec esi
dec esi
mov ax, word [esi + 2]
inc esi
inc esi
test ax, ax
jne 0x4402c6
mov edi, esi
mov esi, 0x4c4ea0
movsd dword es:[edi], dword [esi]
xor esi, esi
push 0x1c
mov dword [ebp - 4], esi
call fcn.004892be
pop ecx
cmp eax, esi
je 0x440313
mov ecx, dword [ebp + 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp + 0xc]
push eax
mov byte [eax], 0
mov byte [eax + 1], 1
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], esi
mov dword [eax + 0xc], esi
call fcn.0043f94a
mov dword [ebx], eax
mov eax, dword [0x4fa21c]
pop ecx
jmp 0x44031f
mov eax, 0x300
jmp 0x44031f
mov eax, 0x1000000
pop edi
pop esi
leave
ret 8

Function at 0x449817
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac780
push 0x48dfb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp word [ecx], 0x5a4d
jne 0x44989d
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
je 0x449875
xor al, al
or dword [ebp - 4], 0xffffffff
jmp 0x4498a3
mov edx, dword [eax + 0xd8]
lea esi, [edx + ecx]
cmp dword [ebp + 0xc], esi
jb 0x44986d
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp dword [ebp + 0xc], eax
jae 0x44986d
mov al, 1
jmp 0x44986f
or dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x449902
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push esi
mov esi, dword [0x4f43a0]
test esi, esi
je 0x449926
lea eax, [esp + 4]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
jmp 0x44990a
pop esi
pop ecx
ret
Function at 0x449929
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4f43ac], eax
je 0x44993f
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x4f43bc]
xor ebx, ebx
cmp esi, ebx
push edi
je 0x44998c
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x44997d
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x44997d
push eax
call fcn.004499f3
pop ecx
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.00488e55
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x44994e
mov dword [0x4f43bc], ebx
call fcn.004499cc
mov esi, dword [0x4f43b8]
cmp esi, ebx
je 0x4499b9
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.00488e55
cmp edi, ebx
pop ecx
mov esi, edi
jne 0x4499a1
pop edi
mov dword [0x4f43b8], ebx
mov dword [0x4f43ac], ebx
pop esi
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x449c76
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x4f43b0]
push esi
test eax, eax
push edi
jne 0x449ce0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 0xc]
cmp edi, eax
je 0x449cde
push 8
call fcn.004892be
mov esi, eax
pop ecx
test esi, esi
jne 0x449ca2
push 8
pop edi
jmp 0x449cbd
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x449cce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.00488e55
pop ecx
and dword [0x4f43b4], 0
mov dword [0x4f43b0], edi
mov eax, edi
jmp 0x449ce0
mov dword [esi + 4], edi
mov eax, dword [0x4f43b8]
mov dword [esi], eax
mov dword [0x4f43b8], esi
xor eax, eax
pop edi
pop esi
ret 4