joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fa70
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax]
lea eax, [esp]
push eax
xor edx, edx
push 1
push edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov word [esi], dx
mov edx, dword [esp + 0x14]
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40fabf
mov ecx, dword [esp + 0x10]
mov edx, dword [esp]
lea eax, [esp + 0x14]
push eax
push esi
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, dword [esp]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ecx
ret

Function at 0x410050
Capabilities:
Read file on windows

Disassembly:
mov eax, 0x10020
call fcn.0041fe20
xor eax, eax
lea esp, [esp]
mov cl, byte [eax + 0x493360]
mov dl, byte [eax + 0x493358]
mov byte [esp + eax + 0xc], cl
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 8
jl 0x410060
lea eax, [esp]
push str.AU3_
push eax
call fcn.00414d20
push 4
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00412300
add esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0x14], 0
push edi
jmp 0x4100b0
mov eax, dword [esp + 0x10034]
mov ecx, dword [eax]
push ecx
push 0x10000
lea edx, [esp + 0x38]
push 1
push edx
call fcn.00415cf7
add esp, 0x10
cmp eax, 0x18
jl 0x410131
mov ebp, eax
lea edi, [ebp - 0x14]
test edi, edi
jle 0x4100fd
xor edx, edx
mov edi, edi
xor ecx, ecx
lea esi, [esp + edx + 0x30]
mov al, byte [esp + ecx + 0x1c]
cmp al, byte [esi + ecx]
je 0x410121
cmp ecx, 0x14
je 0x42ad61
inc edx
cmp edx, edi
jl 0x4100e0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10034]
lea edx, [ecx + ebp - 0x14]
mov ecx, dword [eax]
push 1
push 0xffffffffffffffec
push ecx
mov dword [esp + 0x24], edx
call fcn.0041568d
add esp, 0xc
jmp 0x4100b0
mov bl, byte [esp + ecx + 0x1d]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x31]
je 0x410143
inc ecx
jmp 0x4100ef
mov eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10020
ret 4
mov bl, byte [esp + ecx + 0x1e]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x32]
jne 0x41017a
mov bl, byte [esp + ecx + 0x1f]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x33]
jne 0x42ad59
mov bl, byte [esp + ecx + 0x20]
lea eax, [ecx + edx]
cmp bl, byte [esp + eax + 0x34]
je 0x42ad48
add ecx, 4
jmp 0x4100ef
add ecx, 2
jmp 0x4100ef
add ecx, 5
cmp ecx, 0x14
jl 0x4100e6
jmp 0x4100ef
add ecx, 3
jmp 0x4100ef
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x10034]
lea ecx, [eax + edx + 0x14]
mov edx, dword [esi]
push 0
push ecx
push edx
call fcn.0041568d
mov eax, dword [esi]
push eax
push 4
lea ecx, [esp + 0x24]
push 1
push ecx
call fcn.00415cf7
lea edx, [esp + 0x2c]
push str.EA06
push edx
mov byte [esp + 0x38], 0
call fcn.00415340
add esp, 0x24
neg eax
sbb eax, eax
and eax, 4
jmp 0x410136
Function at 0x410200
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
push esi
push 0x4858e8
or eax, 0xffffffff
call fcn.00410190
mov esi, eax
add esp, 4
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00414d20
push esi
call fcn.004127bd
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.004102d0
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.00410300
mov dword [edi + 8], 0
mov eax, dword [edi + 8]
xor ecx, ecx
lea esp, [esp]
movzx edx, byte [esp + ecx + 0x18]
add eax, edx
movzx edx, byte [esp + ecx + 0x19]
add eax, edx
movzx edx, byte [esp + ecx + 0x1a]
add eax, edx
movzx edx, byte [esp + ecx + 0x1b]
add ecx, 4
add eax, edx
cmp ecx, 0x10
jl 0x410260
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x487eb8
push eax
call fcn.004155ec
add esp, 8
mov dword [edi], eax
test eax, eax
je 0x42d030
push edi
call fcn.00410050
test eax, eax
je 0x42d03a
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.004159db
add esp, 4
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x4102bf
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.00415cf7
add esp, 0x10
push 0x99f2
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044e1c7
xor eax, eax
mov dword [edi + 8], 0
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42d06a
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.004173d4
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x4102bf

Function at 0x4102d0
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.00414580
add esp, 0xc
mov dword [esi + 0x34], 0x67452301
mov dword [esi + 0x38], 0xefcdab89
mov dword [esi + 0x3c], 0x98badcfe
mov dword [esi + 0x40], 0x10325476
ret

Function at 0x410c70
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x410c85
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
ret
cmp eax, 4
push edi
jle 0x410cfc
mov edi, 4
mov eax, 4
sub eax, edi
push eax
lea ecx, [edi + esi + 0x10]
push ecx
lea edx, [esi + 0x10]
push edx
call fcn.00415f40
mov eax, dword [esi + 0x58]
sub eax, edi
mov edx, esi
push edi
lea ecx, [eax + esi + 0x14]
sub edx, edi
push ecx
add edx, 0x14
push edx
call fcn.00412300
mov eax, dword [esi + 4]
push eax
push 0x40
lea ecx, [esi + 0x14]
push 1
push ecx
mov dword [esi + 0x54], edi
call fcn.00415cf7
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
pop edi
test eax, eax
jne 0x410c78
mov edx, dword [esi + 4]
push edx
call fcn.00415d14
add esp, 4
test eax, eax
je 0x42ae84
or eax, 0xffffffff
ret
mov edi, eax
jmp 0x410c90
mov eax, dword [esi + 4]
push eax
call fcn.00415d48
add esp, 4
test eax, eax
jne 0x410cf8
ret
Function at 0x410d00
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
call fcn.00410c70
cmp eax, 0xffffffff
je 0x410dfc
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push edi
xor ebx, ebx
lea edi, [ebx + 1]
call fcn.00410be0
mov edi, dword [esp + 0x18]
dec edi
test edi, edi
jle 0x410d76
jmp 0x410d30
mov eax, dword [esi + 0x58]
cmp dword [esi + 0x5c], eax
je 0x410d83
mov ecx, dword [esi + 0x5c]
movzx eax, byte [ecx + esi + 0x14]
inc ecx
mov dword [esi + 0x5c], ecx
cmp eax, 0xd
je 0x410d68
cmp eax, 0xffffffff
je 0x410d76
cmp eax, 0xa
je 0x410d76
mov byte [ebx + ebp], al
inc ebx
cmp ebx, edi
jl 0x410d30
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
call fcn.00410c70
cmp eax, 0xa
jne 0x42aecf
pop edi
mov byte [ebx + ebp], 0
pop ebp
pop ebx
mov al, 1
pop esi
ret 8
cmp eax, 4
jle 0x42ae99
mov dword [esp + 0x14], 4
mov eax, dword [esp + 0x14]
lea ecx, [esi + 0x10]
mov edx, 4
sub edx, eax
push edx
add eax, ecx
push eax
push ecx
call fcn.00415f40
mov eax, dword [esp + 0x20]
mov edx, dword [esi + 0x58]
mov ecx, esi
sub ecx, eax
lea ecx, [ecx + edx + 0x14]
push eax
mov edx, esi
sub edx, eax
push ecx
add edx, 0x14
push edx
call fcn.00412300
mov ecx, dword [esi + 4]
mov eax, dword [esp + 0x2c]
push ecx
push 0x40
lea edx, [esi + 0x14]
push 1
push edx
mov dword [esi + 0x54], eax
call fcn.00415cf7
add esp, 0x28
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], 0
test eax, eax
jne 0x410d38
jmp 0x42aea2
xor al, al
pop esi
ret 8
mov dword [esp + 0x14], eax
jmp 0x410d98
mov eax, dword [esi + 4]
push eax
call fcn.00415d14
add esp, 4
test eax, eax
jne 0x410d76
mov ecx, dword [esi + 4]
push ecx
call fcn.00415d48
add esp, 4
test eax, eax
jne 0x410d76
jmp 0x410d53
cmp eax, 0xffffffff
je 0x410d76
mov edi, 1
call fcn.00410be0
jmp 0x410d76
Function at 0x4113b0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esi]
sub esp, 8
test al, 3
jne 0x42af7b
add esp, 8
ret
test al, 1
je 0x42af9d
mov ecx, dword [esi + 4]
lea eax, [esp]
push eax
push ecx
call fcn.00415712
mov edx, dword [esp + 8]
add esp, 8
or edx, dword [esp + 4]
jne 0x4113bd
mov eax, dword [esi]
test al, 0x20
je 0x42afc3
mov eax, dword [esi + 4]
push eax
push 2
push 1
push 0x487d9c
call fcn.004158e2
mov dword [esi + 0xc], 1
add esp, 0x10
add esp, 8
ret
test al, 0x40
je 0x42afe7
mov ecx, dword [esi + 4]
push ecx
push 2
push 1
push 0x487eb0
call fcn.004158e2
mov dword [esi + 0xc], 2
add esp, 0x10
add esp, 8
ret
test al, al
jns 0x4113bd
mov edx, dword [esi + 4]
push edx
push 3
push 1
push str.rb
call fcn.004158e2
mov dword [esi + 0xc], 4
add esp, 0x10
add esp, 8
ret

Function at 0x411400
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, dword [esp + 8]
mov eax, dword [ebp]
mov dword [ebp + 0xc], 0
mov byte [ebp + 8], 0
test al, 0x14
jne 0x411486
test al, al
js 0x42aee7
test al, 0x20
jne 0x42aef3
test al, 0x40
jne 0x42aeff
mov eax, dword [esp + 0xc]
push 0x487eb8
push eax
call fcn.004155ec
add esp, 8
test eax, eax
je 0x411486
push esi
push edi
mov esi, eax
push esi
push 3
lea ecx, [esp + 0x18]
push 1
push ecx
call fcn.00415cf7
push esi
mov edi, eax
call fcn.004159db
mov al, byte [esp + 0x24]
add esp, 0x14
cmp edi, 2
jb 0x41147c
cmp al, 0xff
je 0x42af0b
cmp al, 0xfe
je 0x42af26
cmp al, 0xef
je 0x42af41
pop edi
pop esi
pop ebp
ret 8
mov dword [ebp + 0xc], 4
jmp 0x41142f
mov dword [ebp + 0xc], 1
jmp 0x41142f
mov dword [ebp + 0xc], 2
jmp 0x41142f
cmp byte [esp + 0x11], 0xfe
jne 0x41147c
mov dword [ebp + 0xc], 1
mov byte [ebp + 8], 1
jmp 0x411484
cmp byte [esp + 0x11], 0xff
jne 0x41147c
mov dword [ebp + 0xc], 2
mov byte [ebp + 8], 1
jmp 0x411484
cmp edi, 3
jb 0x411484
cmp byte [esp + 0x11], 0xbb
jne 0x411484
cmp byte [esp + 0x12], 0xbf
jne 0x411484
mov dword [ebp + 0xc], 4
mov byte [ebp + 8], 1
jmp 0x411484

Function at 0x411680
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x494cc8]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push SysReAllocString
push SysReAllocString
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x494cc8]
push 0
push ecx
push 1
push eax
push 0
push 0
push 0
push 0
push 0x50b008c4
push 0
push str.edit
push 0
mov dword [0x494cc0], eax
call esi
mov edx, dword [0x494cc0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x494cbc], eax
call esi
mov eax, dword [0x494cc0]
push 0
push eax
call esi
pop esi
ret
Function at 0x411800
Capabilities:
Get keyboard layout
Log keystrokes

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, eax
push edi
mov edi, dword [sym.imp.USER32.dll_MapVirtualKeyW]
xor ebx, ebx
push ebx
push 0x5b
mov dword [esi], 5
mov dword [esi + 4], 5
mov dword [esi + 0x10], ebx
mov byte [esi + 8], 1
mov byte [esi + 9], bl
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0xa0
call edi
push ebx
push 0x10
mov byte [esi + 0x1d], al
call edi
mov byte [esi + 0x1a], al
mov eax, dword [esi + 0x20]
push ebx
push eax
call edi
push ebx
push 0xa1
mov byte [esi + 0x1b], al
call edi
push ebx
push 0x11
mov byte [esi + 0x1c], al
call edi
push ebx
push 0x12
mov byte [esi + 0x18], al
call edi
lea ecx, [esp + 0xc]
push ecx
mov byte [esi + 0x19], al
call dword [sym.imp.USER32.dll_GetKeyboardLayoutNameA]
mov edi, dword [sym.imp.USER32.dll_VkKeyScanA]
mov esi, 1
mov bl, 0x20
mov edi, edi
movzx edx, byte [esi + 0x493e68]
push edx
call edi
cmp ax, 0xffff
je 0x4118ef
inc esi
cmp esi, 7
jle 0x411880
lea eax, [esp + 0x10]
push str.0409
push eax
call fcn.00415340
add esp, 8
test eax, eax
je 0x42b0d8
lea edx, [esp + 0x10]
push str.0809
push edx
call fcn.00415340
add esp, 8
test eax, eax
jne 0x42b105
mov byte [0x493e6a], bl
mov byte [0x493e6d], bl
mov byte [0x493e6e], bl
mov byte [0x493e6b], bl
mov byte [0x493e6c], bl
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x493e68], bl
jmp 0x411890
push 4
lea ecx, [esp + 0x10]
push str.0002
push ecx
call fcn.004153c8
add esp, 0xc
mov byte [0x493e6a], bl
mov byte [0x493e6d], bl
test eax, eax
je 0x4118e8
jmp 0x4118d6
lea eax, [esp + 0x12]
push 0x4865ec
push eax
call fcn.00415340
add esp, 8
test eax, eax
jne 0x42b126
mov byte [0x493e6d], bl
jmp 0x4118e2
lea ecx, [esp + 0x12]
push 0x4865f0
push ecx
call fcn.00415340
add esp, 8
test eax, eax
je 0x4118ca
lea edx, [esp + 0x12]
push 0x4865f4
push edx
call fcn.00415340
add esp, 8
test eax, eax
je 0x4118e2
lea eax, [esp + 0x12]
push 0x4865f8
push eax
call fcn.00415340
add esp, 8
test eax, eax
jne 0x4118e8
jmp 0x4118d0

Function at 0x41fe0a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x491cf4]
jne 0x41fe14
repz ret
jmp fcn.00427ae0
Function at 0x424ef8
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004183f5
and dword [ebp - 4], 0
cmp dword [0x4948fc], 0
mov ebx, eax
jne 0x424fa9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42505a
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x484de0
push edi
call esi
test eax, eax
je 0x42505a
push eax
call fcn.00418383
mov dword [esp], 0x484dd0
push edi
mov dword [0x4948fc], eax
call esi
push eax
call fcn.00418383
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x494900], eax
call esi
push eax
call fcn.00418383
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x494904], eax
call esi
push eax
call fcn.00418383
pop ecx
mov dword [0x49490c], eax
test eax, eax
je 0x424fa9
push 0x484d88
push edi
call esi
push eax
call fcn.00418383
pop ecx
mov dword [0x494908], eax
mov eax, dword [0x494908]
cmp eax, ebx
je 0x425001
cmp dword [0x49490c], ebx
je 0x425001
push eax
call fcn.004183fe
push dword [0x49490c]
mov esi, eax
call fcn.004183fe
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x425001
test edi, edi
je 0x425001
call esi
test eax, eax
je 0x424ff8
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x424ff8
test byte [ebp - 0xc], 1
jne 0x425001
or dword [ebp + 0x10], 0x200000
jmp 0x42503a
mov eax, dword [0x494900]
cmp eax, ebx
je 0x42503a
push eax
call fcn.004183fe
pop ecx
test eax, eax
je 0x42503a
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42503a
mov eax, dword [0x494904]
cmp eax, ebx
je 0x42503a
push eax
call fcn.004183fe
pop ecx
test eax, eax
je 0x42503a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4948fc]
call fcn.004183fe
pop ecx
test eax, eax
je 0x42505a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42505c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x435421
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x24
mov eax, dword [esp + 0x2c]
push ebx
push ebp
mov ebp, dword [esp + 0x38]
push esi
xor esi, esi
push edi
mov dword [esp + 0x3c], esi
cmp word [eax], si
je 0x43554a
push esi
push esi
push 3
push esi
push esi
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x435464
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
push esi
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
push ebx
push 2
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push 0
lea ecx, [esp + 0x18]
push ecx
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea edx, [esp + 0x10]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x3c]
push eax
push 0x483a20
push 0
push 0
push ecx
call dword [sym.imp.OLEAUT32.dll_OleCreatePictureIndirect]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x435458
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov edx, dword [esp + 0x40]
lea ecx, [esp + 0x18]
push ecx
push 0x18
push edx
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp dword [ebp], 0
mov eax, dword [esp + 0x44]
jne 0x43551f
cmp dword [eax], 0
jne 0x43551f
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [ebp], ecx
mov dword [eax], edx
mov eax, dword [eax]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x40]
push 0x2000
push eax
push ecx
push 0
push edx
call dword [sym.imp.USER32.dll_CopyImage]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x43554e
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 0x60]
test eax, eax
je 0x435560
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esp + 0x40]
push eax
push 0
mov dword [esi + 0x60], eax
mov esi, dword [esi]
push 0x172
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x435584
Capabilities:
Hide graphical window

Disassembly:
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 8]
push esi
or ecx, 0x50000000
push edi
mov edi, dword [esp + 0xc]
test eax, 0x80000
je 0x4355a4
and eax, 0xfff7ffff
mov edx, dword [0x4a5e34]
push 0
push edx
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [edi]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x3c]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, eax
test esi, esi
je 0x435617
cmp byte [esp + 0x34], 0
je 0x4355fc
push 0
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push 0x30
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0x180], 0
jl 0x435617
cmp byte [edi + 0x18c], 0
je 0x435617
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
mov eax, esi
pop esi
ret 0x2c
Function at 0x435efb
Capabilities:
Create process on windows

Disassembly:
push 0x44
push 0
push 0x4a6d00
call fcn.00414580
push 0x10
push 0
push 0x4a6cec
call fcn.00414580
mov ecx, dword [esp + 0x1c]
add esp, 0x18
push 0x4a6cec
push 0x4a6d00
push 0
push 0
push 0x20
push 0
push 0
push 0
push ecx
mov eax, 1
push 0
mov dword [0x4a6d00], 0x44
mov dword [0x4a6d2c], 1
mov word [0x4a6d30], ax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x435f70
mov edx, dword [0x4a6cec]
mov dword [esp + 4], edx
jmp dword [sym.imp.KERNEL32.DLL_CloseHandle]
ret 4
Function at 0x436406
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, dword [esp + 0x58]
mov eax, dword [esi + 8]
mov ecx, dword [esi]
mov ebp, dword [esi + 4]
cmp eax, ecx
push edi
mov edi, dword [esi + 0xc]
setl dl
cmp edi, ebp
setl bl
mov byte [esp + 0x5c], dl
mov byte [esp + 0x13], bl
test dl, dl
je 0x436437
mov dword [esi], eax
mov dword [esi + 8], ecx
test bl, bl
je 0x436441
mov dword [esi + 4], edi
mov dword [esi + 0xc], ebp
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [edx + 0xfc]
lea ecx, [esp + 0x20]
push ecx
push eax
call fcn.004363b7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add dword [esi], eax
add dword [esi + 8], eax
mov edx, dword [esi]
mov edi, dword [esi + 8]
add dword [esi + 4], ecx
add dword [esi + 0xc], ecx
mov ebx, dword [esi + 4]
mov ebp, dword [esi + 0xc]
sub edi, edx
inc edi
sub ebp, ebx
push 0
mov dword [esp + 0x5c], edi
inc ebp
call dword [sym.imp.USER32.dll_GetDC]
push ebp
mov ebx, eax
push edi
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push ebx
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x14]
mov edi, eax
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov dl, byte [esp + 0x13]
mov dword [esp + 0x18], eax
mov ecx, ebp
test dl, dl
je 0x4364bf
neg ecx
cmp byte [esp + 0x5c], 0
mov eax, dword [esp + 0x58]
je 0x4364cc
neg eax
test dl, dl
je 0x4364d5
mov edx, dword [esi + 0xc]
jmp 0x4364d8
mov edx, dword [esi + 4]
cmp byte [esp + 0x5c], 0
mov dword [esp + 0x54], edx
je 0x4364fd
mov esi, dword [esi + 8]
jmp 0x4364ff
mov ecx, dword [esp + 0x4c]
push ecx
call fcn.004127bd
add esp, 4
xor eax, eax
add esp, 0x40
ret 0x10
mov esi, dword [esi]
push 0xcc0020
push ecx
mov ecx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push eax
push esi
push ebx
push ebp
push ecx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_StretchBlt]
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x14]
push 0
mov eax, ebp
neg eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
push 0
push 0
push 0
mov dword [esp + 0x3c], edx
push esi
mov ecx, 1
mov edx, 0x20
push edi
mov dword [esp + 0x40], 0x28
mov word [esp + 0x4c], cx
mov word [esp + 0x4e], dx
mov dword [esp + 0x50], 0
call dword [sym.imp.GDI32.dll_GetDIBits]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
push eax
mov dword [ecx], eax
call fcn.00412aaa
add esp, 4
push 0
lea edx, [esp + 0x28]
push edx
push eax
push ebp
push 0
push esi
push edi
mov dword [esp + 0x78], eax
call dword [sym.imp.GDI32.dll_GetDIBits]
mov ebp, eax
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
test ebp, ebp
pop ebp
pop ebx
je 0x4364e8
mov eax, dword [esp + 0x4c]
add esp, 0x40
ret 0x10
Function at 0x4365d0
Capabilities:
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
lea ebx, [ecx + edx]
mov edx, edi
imul edx, esi
add edx, edx
add esi, esi
or eax, 0xffffffff
add edx, edx
add esi, esi
lea edi, [ecx + edi*4]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edi
mov esi, ecx
movzx ebp, byte [ecx + 2]
add ecx, 2
mov edi, eax
and edi, 0xff
xor edi, ebp
movzx ebp, byte [ecx - 1]
shr eax, 8
xor eax, dword [edi*4 + 0x492da8]
dec ecx
mov edi, eax
and edi, 0xff
xor edi, ebp
movzx ebp, byte [ecx - 1]
shr eax, 8
xor eax, dword [edi*4 + 0x492da8]
dec ecx
mov edi, eax
and edi, 0xff
xor edi, ebp
shr eax, 8
xor eax, dword [edi*4 + 0x492da8]
add ecx, edx
cmp ecx, ebx
jb 0x43665d
add esi, dword [esp + 0x20]
mov ecx, esi
cmp esi, dword [esp + 0x1c]
jb 0x436604
not eax
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
test eax, eax
jge 0x436677
fadd qword [0x48d2f0]
pop edi
pop esi
pop ebp
pop ebx
ret 0x10