joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477558
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4df670], 0
je 0x4776a7
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4de6a0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x4776a7
mov eax, dword [0x4df674]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4df670]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x477676
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4df670]
call fcn.0042ce3c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x47766e
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x47766e
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x47766e
mov eax, dword [ebp - 0x14]
call fcn.00480078
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x47766e
push ebp
call fcn.00477514
pop ecx
test al, al
jne 0x47766e
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x47762a
mov eax, dword [ebp - 0x14]
call fcn.0047ebd4
dec eax
jle 0x47766e
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00449210
cmp byte [ebp - 1], 0
je 0x47766e
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x47766e
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4df674]
call fcn.00476cdc
inc edi
dec ebx
jne 0x4775bd
mov eax, dword [0x4df674]
cmp dword [eax + 8], 0
jle 0x47768e
mov eax, dword [0x4df674]
call fcn.00476d6c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4776a7
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0047737c
pop ecx
test al, al
jne 0x4776a7
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47ac54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x47aca0
mov eax, esi
call fcn.00467e3c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47aca0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x47aca0
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x47addf
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x47ace0
cmp eax, 0x108
ja 0x47ace0
mov eax, esi
call fcn.00467e3c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x47add6
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x47addf
jmp 0x47add6
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x47adbf
cmp eax, 0x20a
ja 0x47adbf
test byte [esi + 0x50], 0x80
jne 0x47ad12
sub eax, 0x203
je 0x47ad0f
sub eax, 3
je 0x47ad0f
sub eax, 3
jne 0x47ad12
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x47ad26
dec eax
je 0x47ad3b
dec eax
je 0x47ad58
dec eax
je 0x47ad3b
jmp 0x47ad5f
mov ecx, ebx
mov eax, dword [0x4de6a0]
mov eax, dword [eax]
mov edx, esi
call fcn.00471850
jmp 0x47add6
cmp byte [esi + 0x5d], 1
jne 0x47ad51
mov eax, esi
mov si, 0xffed
call fcn.00449210
jmp 0x47addf
or word [esi + 0x54], 1
jmp 0x47add6
and word [esi + 0x54], 0xfffe
jmp 0x47add6
mov eax, dword [0x4df62c]
cmp byte [eax + 0x20], 0
je 0x47add6
mov eax, dword [0x4df62c]
cmp dword [eax + 0x1c], 0
je 0x47add6
mov eax, dword [ebx]
mov edx, dword [0x4df62c]
cmp eax, dword [edx + 0x1c]
jne 0x47add6
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00467d80
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00449210
jmp 0x47addf
cmp eax, 0xb00b
jne 0x47add6
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00479590
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47e270
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x47e28c
cmp dword [esi + 4], 0
je 0x47e2b9
test byte [ebx + 0x55], 1
jne 0x47e2ab
mov eax, ebx
call fcn.0047cf34
test eax, eax
jne 0x47e2ab
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x47e3c9
mov edx, esi
mov eax, ebx
call fcn.0047dd90
jmp 0x47e3c9
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x47e3c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00480078
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0047ab88
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0047e270
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00480078
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e3c9
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48489c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4de69c]
cmp byte [eax + 0xc], 0
je 0x484a09
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484a02
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4df680], 0
jne 0x4848f0
push 0x484a10
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x484a18
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4df680], eax
cmp dword [0x4d8ed4], 0
jne 0x4849eb
push 0x484a28
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4d8ed4], eax
cmp dword [0x4d8ed4], 0
je 0x4849eb
push 0x484a34
mov eax, dword [0x4d8ed4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4df684], eax
push 0x484a44
mov eax, dword [0x4d8ed4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4df688], eax
push 0x484a58
mov eax, dword [0x4d8ed4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4df68c], eax
push 0x484a70
mov eax, dword [0x4d8ed4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4df690], eax
push 0x484a88
mov eax, dword [0x4d8ed4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4df694], eax
push 0x484a9c
mov eax, dword [0x4d8ed4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4df698], eax
push 0x484ab4
mov eax, dword [0x4d8ed4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4df69c], eax
push 0x484acc
mov eax, dword [0x4d8ed4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4df6a0], eax
push 0x484ae8
mov eax, dword [0x4d8ed4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4df6a4], eax
push 0x484af4
mov eax, dword [0x4d8ed4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4df6a8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484a09
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4874d8
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4874f4
call fcn.00488980
pop ebx
pop ebp
ret
test byte [ebp + 0xc], 2
je 0x487510
test bl, 1
je 0x487510
call fcn.0048c6f4
mov dword [eax], 5
or eax, 0xffffffff
pop ebx
pop ebp
ret
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4876f4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
call fcn.0048851c
test byte [ebp + 0xd], 0xc0
jne 0x487718
mov eax, dword [0x4d9ddc]
mov edx, dword [eax]
and edx, 0xc000
or dword [ebp + 0xc], edx
test byte [ebp + 0xd], 0x80
jne 0x487725
or dword [ebp + 0xc], 0x4000
mov ecx, dword [ebp + 0xc]
and ecx, 0x700
cmp ecx, 0x500
jg 0x487752
je 0x487764
sub ecx, 0x100
je 0x487772
sub ecx, 0x100
je 0x487779
sub ecx, 0x100
je 0x48776b
jmp 0x487780
sub ecx, 0x600
je 0x487779
sub ecx, 0x100
je 0x487764
jmp 0x487780
mov edi, 1
jmp 0x487785
mov edi, 2
jmp 0x487785
mov edi, 4
jmp 0x487785
mov edi, 5
jmp 0x487785
mov edi, 3
test byte [ebp + 0xd], 1
je 0x4877ac
lea eax, [ebp + 0x10]
add eax, 4
mov eax, dword [eax - 4]
and eax, dword [0x4d9854]
test al, 0x80
je 0x4877a5
mov ebx, 0x80
jmp 0x4877be
mov ebx, 1
jmp 0x4877be
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_GetFileAttributesA
mov ebx, eax
cmp eax, 0xffffffff
jne 0x4877be
xor ebx, ebx
mov eax, dword [ebp + 0xc]
and eax, 3
sub eax, 1
jb 0x4877d0
je 0x4877d9
dec eax
je 0x4877e2
jmp 0x4877eb
mov dword [ebp - 4], SysReAllocStringLen
jmp 0x4877fa
mov dword [ebp - 4], 0x40000000
jmp 0x4877fa
mov dword [ebp - 4], 0xc0000000
jmp 0x4877fa
push 1
call fcn.00488914
pop ecx
mov ebx, eax
jmp 0x4878ea
mov eax, dword [ebp + 0xc]
and eax, 0x70
sub eax, 0x10
je 0x487816
sub eax, 0x10
je 0x48781d
sub eax, 0x10
je 0x487826
sub eax, 0x10
je 0x48782f
jmp 0x48782f
xor edx, edx
mov dword [ebp - 8], edx
jmp 0x487836
mov dword [ebp - 8], 1
jmp 0x487836
mov dword [ebp - 8], 2
jmp 0x487836
mov dword [ebp - 8], 3
mov dword [ebp - 0x14], 0xc
xor ecx, ecx
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x14]
mov eax, dword [ebp + 0xc]
and eax, 0x80
cmp eax, 1
sbb edx, edx
neg edx
mov dword [ebp - 0xc], edx
push 0
push ebx
push edi
push ecx
mov eax, dword [ebp - 8]
push eax
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
cmp eax, 0xffffffff
jne 0x4878a3
call sub.KERNEL32.DLL_GetLastError
mov ebx, eax
and ebx, 0xffff
cmp ebx, 0x6e
jne 0x487898
test byte [ebp + 0xd], 1
je 0x487893
mov ebx, 0x50
jmp 0x487898
mov ebx, 2
push ebx
call fcn.00488914
pop ecx
mov ebx, eax
jmp 0x4878ea
mov edi, esi
push edi
call fcn.00487658
pop ecx
test eax, eax
je 0x4878b7
or dword [ebp + 0xc], 0x2000
test bl, 1
jne 0x4878c3
or dword [ebp + 0xc], 0x100
and dword [ebp + 0xc], 0xfffff8ff
mov eax, dword [ebp + 0xc]
push eax
push edi
call fcn.0048863c
add esp, 8
mov ebx, eax
inc eax
jne 0x4878ea
push 4
call fcn.00488914
pop ecx
push esi
call sub.KERNEL32.DLL_CloseHandle
call fcn.00488550
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x48c68c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x48c6ee
call fcn.0048c63c
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.004861d0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.004861d0
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x48c76c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x4dae7c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x48c846
cmp dword [0x4dae78], 0
jne 0x48c846
cmp dword [0x4db07c], 0
je 0x48c800
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0048c53c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x48c7e6
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0048c53c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x48c7e6
lea ebx, [ebp - 0x84]
jmp 0x48c7e7
inc ebx
call fcn.0048c728
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x48c881
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x4dae80
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.004861d0
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x4dae83
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x48c881
cmp dword [0x4dae78], 0
je 0x48c860
cmp dword [0x4dae78], 0xffffffff
je 0x48c881
push esi
call dword [0x4dae78]
pop ecx
mov eax, dword [0x4dae7c]
test eax, eax
je 0x48c881
cmp dword [0x4dae7c], 0xffffffff
je 0x48c881
cmp byte [eax], 0
je 0x48c881
push esi
push eax
call fcn.0048c68c
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x492bb4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf8
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
lea edx, [ebp - 0x208]
push edx
call sub.USER32.DLL_wvsprintfA
cmp eax, 0x208
jl 0x492bf8
push 0x10e
push str.c:_bcbemuvclutilcls.h
push str.bufSize___sizeof_szBuffer_
call fcn.0040802c
add esp, 0xc
cmp eax, 2
jne 0x492bf8
call sub.KERNEL32.DLL_DebugBreak
lea ecx, [ebp - 0x208]
push ecx
call sub.KERNEL32.DLL_OutputDebugStringA
mov esp, ebp
pop ebp
ret
Function at 0x4949d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x494a06
mov eax, ebx
call fcn.00495490
cmp dword [ebx + 0x3c], 0
je 0x4949ff
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x494a77
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x494a69
cmp dword [ebx + 8], 0
je 0x494a28
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x494a3a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x494a69
cmp dword [ebx + 8], 0
je 0x494a1b
cmp eax, 3
je 0x494a4d
dec eax
jne 0x494a1b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x494a1b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x494a1b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x494a95
cmp dword [ebx + 0x10], 0xcc
je 0x494a95
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00494aa0
pop ebx
ret

Function at 0x4a6384
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
lea eax, [ebp + 0xc]
push eax
mov edx, dword [ebp + 8]
push edx
push 0x1000
lea ecx, [ebp - 0x1000]
push ecx
call fcn.00488da0
add esp, 0x10
lea eax, [ebp - 0x1000]
push eax
call sub.KERNEL32.DLL_OutputDebugStringA
mov esp, ebp
pop ebp
ret
Function at 0x401300
Capabilities:
Hash data using sha1

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

Function at 0x4030c0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov eax, 0x107c
mov ebp, esp
push edi
push esi
push ebx
call fcn.00404c10
and esp, 0xfffffff0
xor eax, eax
call fcn.00404c10
call fcn.00403370
cmp dword [ebp + 8], 1
jle 0x403227
add dword [ebp + 0xc], 4
dec dword [ebp + 8]
jne 0x4030fc
lea esp, [ebp - 0xc]
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 4], 0x403069
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
test eax, eax
mov ebx, eax
je 0x403205
lea edi, [ebp - 0x1078]
lea esi, [ebp - 0x1018]
mov dword [esp], edi
call fcn.00401300
nop
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 1
mov dword [esp], esi
call sub.msvcrt.dll_fread
test eax, eax
je 0x403162
mov dword [esp + 8], eax
mov dword [esp + 4], esi
mov dword [esp], edi
call fcn.00402da0
jmp 0x403130
test byte [ebx + 0xc], 0x20
jne 0x4031c5
mov dword [esp], edi
call fcn.00402ea0
mov dword [esp], ebx
xor ebx, ebx
call sub.msvcrt.dll_fclose
lea esi, [esi]
movzx eax, byte [ebx + ebp - 0x1060]
inc ebx
mov dword [esp], 0x40306c
mov dword [esp + 4], eax
call sub.msvcrt.dll_printf
cmp ebx, 0x13
jle 0x403180
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [esp], 0x403071
mov dword [esp + 4], eax
call sub.msvcrt.dll_printf
add dword [ebp + 0xc], 4
dec dword [ebp + 8]
jne 0x4030fc
jmp 0x4030f2
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 0xc], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [esp + 4], 0x403077
mov dword [esp + 8], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_fprintf
mov dword [esp], 1
call sub.msvcrt.dll_exit
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 0xc], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [esp + 4], 0x40308f
jmp 0x4031e5
mov dword [esp + 8], 0x19
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 4], 1
mov dword [esp], 0x4030a4
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
jmp 0x4031f9
Function at 0x4049c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 8], ebx
mov eax, dword [0x407090]
mov dword [ebp - 4], esi
test eax, eax
je 0x4049e0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x48], 0x41414141
mov eax, dword [0x404920]
lea esi, [ebp - 0x48]
mov dword [ebp - 0x44], 0x41414141
mov dword [ebp - 0x40], 0x41414141
mov dword [ebp - 0x28], eax
mov eax, dword [0x404924]
mov dword [ebp - 0x3c], 0x41414141
mov dword [ebp - 0x38], 0x41414141
mov dword [ebp - 0x24], eax
mov eax, dword [0x404928]
mov dword [ebp - 0x34], 0x41414141
mov dword [ebp - 0x30], 0x41414141
mov dword [ebp - 0x20], eax
mov eax, dword [0x40492c]
mov dword [ebp - 0x2c], 0x41414141
mov dword [esp], esi
mov dword [ebp - 0x1c], eax
mov eax, dword [0x404930]
mov dword [ebp - 0x18], eax
mov eax, dword [0x404934]
mov dword [ebp - 0x14], eax
movzx eax, word [0x404938]
mov word [ebp - 0x10], ax
movzx eax, byte [0x40493a]
mov byte [ebp - 0xe], al
call sub.KERNEL32.dll_FindAtomA
movzx eax, ax
sub esp, 4
test ax, ax
jne 0x404ad0
mov dword [esp], 0x24
call sub.msvcrt.dll_malloc
test eax, eax
mov ebx, eax
je 0x404adc
mov dword [esp], eax
call fcn.00404960
mov dword [esp], ebx
call 0x404af0
test ax, ax
je 0x404ab5
mov dword [0x407090], ebx
lea eax, [ebx + 4]
mov dword [0x407080], eax
lea eax, [ebx + 8]
mov dword [0x4070a0], eax
jmp 0x4049d5
mov dword [esp], ebx
call sub.msvcrt.dll_free
mov dword [esp], esi
call sub.KERNEL32.dll_FindAtomA
sub esp, 4
movzx eax, ax
nop
lea esi, [esi]
mov dword [esp], eax
call fcn.00404ba0
mov ebx, eax
jmp 0x404a9a
call sub.msvcrt.dll_abort
jmp 0x404af0
push ebp
mov eax, 0x1f
mov ebp, esp
push esi
mov edx, 1
push ebx
sub esp, 0x50
mov esi, dword [ebp + 8]
lea esi, [esi]
lea edi, [edi]
test edx, esi
mov cl, 0x41
jne 0x404b18
mov cl, 0x61
mov byte [eax + ebp - 0x48], cl
add edx, edx
dec eax
jns 0x404b10
mov eax, dword [0x404920]
mov dword [ebp - 0x28], eax
mov eax, dword [0x404924]
mov dword [ebp - 0x24], eax
mov eax, dword [0x404928]
mov dword [ebp - 0x20], eax
mov eax, dword [0x40492c]
mov dword [ebp - 0x1c], eax
mov eax, dword [0x404930]
mov dword [ebp - 0x18], eax
mov eax, dword [0x404934]
mov dword [ebp - 0x14], eax
movzx eax, word [0x404938]
mov word [ebp - 0x10], ax
movzx eax, byte [0x40493a]
mov byte [ebp - 0xe], al
lea eax, [ebp - 0x48]
mov dword [esp], eax
call sub.KERNEL32.dll_AddAtomA
movzx ebx, ax
sub esp, 4
test bx, bx
jne 0x404b87
xor edx, edx
lea esp, [ebp - 8]
mov eax, edx
pop ebx
pop esi
pop ebp
ret
mov dword [esp], ebx
call fcn.00404ba0
cmp eax, esi
mov edx, ebx
jne 0x404b7c
jmp 0x404b7e
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x731b4ab5
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x22986a87
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
jmp 0x431219