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

Disassembly:
push 0xffffffffffffffff
push 0x436560
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov eax, dword [0x4540d0]
mov dword [esp + 0x20], 0
mov dword [esp + 8], eax
push 0x80
push 0x80
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 1
call fcn.0042bc3a
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call fcn.0042bc89
lea ecx, [esp + 8]
push 0x451f10
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.0042ba9f
lea ecx, [esp + 0x28]
lea edx, [esp + 0xc]
push ecx
push eax
push edx
mov byte [esp + 0x2c], 2
call fcn.0042ba39
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.0042b943
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 2
call fcn.0042b856
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.0042b856
mov ecx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x4123f0
push 1
push esi
call fcn.00417b5f
mov edi, eax
add esp, 8
test edi, edi
je 0x4123f0
mov edx, dword [esp + 8]
push edi
push esi
push 0
push edx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4123b3
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0x451f10
push edi
call sub.VERSION.dll_VerQueryValueA
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x10]
mov edx, eax
and edx, 0xffff
shr eax, 0x10
push edx
push eax
mov eax, ecx
and eax, 0xffff
shr ecx, 0x10
push eax
push ecx
mov ecx, dword [esp + 0x3c]
push str._d._02d._02d._04d
push ecx
call fcn.00426a41
add esp, 0x18
push edi
call fcn.0041613a
add esp, 4
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.0042b856
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.0042b856
pop edi
mov al, 1
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.0042b856
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call fcn.0042b856
mov ecx, dword [esp + 0x18]
pop edi
xor al, al
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8
Function at 0x4127d0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push esi
mov esi, ecx
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
mov dword [esp + 8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x18], ecx
lea ecx, [esp + 0x1c]
lea edi, [esi + 8]
and eax, 0xffff
push ecx
mov ecx, edi
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
call fcn.0042b993
mov ecx, dword [esp + 0x18]
mov eax, ecx
mov dword [esi + 4], ecx
sub eax, 0
je 0x412890
dec eax
je 0x41286e
dec eax
je 0x41284b
push ecx
add esi, 0xc
push str.Unknown_OS___d_
push esi
call fcn.00426a41
add esp, 0xc
jmp 0x41289d
cmp dword [esp + 0xc], 5
jne 0x412867
cmp dword [esp + 0x10], 1
jb 0x412860
push str.Windows_XP
jmp 0x412895
push str.Windows_2000
jmp 0x412895
push str.Windows_NT
jmp 0x412895
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x41287d
push str.Windows_95
jmp 0x412895
cmp eax, 0x5a
jae 0x412889
push str.Windows_98
jmp 0x412895
push str.Windows_ME
jmp 0x412895
push str.Windows3.1
lea ecx, [esi + 0xc]
call fcn.0042b993
lea edx, [esp + 0x1c]
mov ecx, edi
push edx
call fcn.0042b993
pop edi
mov al, 1
pop esi
add esp, 0x94
ret
Function at 0x412f60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4365ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x4540d0]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x1c], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x14]
push ecx
push 1
push 0
push str.EnumRootPNP0C000000
push reloc.WSOCK32.dll_bind
mov dword [esp + 0x13c], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, 0x100
test eax, eax
jne 0x412ffc
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.DeviceDesc
push edx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x412ff1
lea eax, [esp + 0x20]
lea ecx, [ebx + 0x24]
push eax
call fcn.0042b993
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [esp + 0x14]
push edx
push 1
push 0
push str.EnumRootPNP0C010000
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x4130b3
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push eax
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push ecx
push edx
push 0
push str.BIOSName
push eax
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x41304b
lea ecx, [esp + 0x20]
push ecx
lea ecx, [ebx + 0x1c]
call fcn.0042b993
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.BIOSVersion
push edx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x41307d
lea eax, [esp + 0x20]
lea ecx, [ebx + 0x18]
push eax
call fcn.0042b993
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
push 0
push 0x4531c8
push ecx
mov dword [esp + 0x28], ebp
call edi
test eax, eax
jne 0x4130af
lea edx, [esp + 0x20]
lea ecx, [ebx + 0x10]
push edx
call fcn.0042b993
mov dword [esp + 0x10], ebp
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x128], 0xffffffff
call fcn.0042b856
mov ecx, dword [esp + 0x120]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x11c
ret
Function at 0x414050
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x436771
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [0x4540d0]
push ebp
mov dword [esp + 0x18], ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x134]
xor ebp, ebp
mov dword [esp + 0x12c], 0
mov eax, dword [ecx + 8]
test eax, eax
jle 0x41426a
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [esp + 0x13c]
mov eax, dword [edx + 4]
lea edx, [esp + 0x24]
lea ecx, [eax + ebp*4]
push ecx
push str.Enum_
push edx
call fcn.0042bb13
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x10]
push eax
push 1
push 0
push ecx
push reloc.WSOCK32.dll_bind
mov byte [esp + 0x148], 1
call edi
test eax, eax
jne 0x414246
lea edx, [esp + 0xc]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.Class
push edx
mov dword [esp + 0x24], 0x100
call esi
test eax, eax
jne 0x41423b
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x14]
push eax
call fcn.0042b993
mov ecx, dword [esp + 0x14]
push str.MOUSE
push ecx
call fcn.00416a17
add esp, 8
test eax, eax
jne 0x41423b
lea edx, [esp + 0xc]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.DeviceDesc
push edx
mov dword [esp + 0x24], 0x100
call esi
test eax, eax
jne 0x414177
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
add ecx, 0x10
call fcn.0042b993
lea edx, [esp + 0xc]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.Driver
push edx
mov dword [esp + 0x24], 0x100
call esi
test eax, eax
jne 0x41423b
mov eax, dword [0x4540d0]
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x18]
push ecx
push str.SystemCurrentControlSetServicesClass_s
push edx
mov byte [esp + 0x140], 2
call fcn.00426a41
mov ecx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
push 1
push 0
push ecx
push reloc.WSOCK32.dll_bind
call edi
test eax, eax
jne 0x41422a
lea edx, [esp + 0xc]
lea eax, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x20]
push eax
push ecx
push 0
push str.MouseType
push edx
mov dword [esp + 0x24], 0x100
call esi
test eax, eax
jne 0x41421f
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x2c]
push eax
add ecx, 8
call fcn.0042b993
mov edx, dword [esp + 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 1
call fcn.0042b856
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 0
call fcn.0042b856
mov ecx, dword [esp + 0x13c]
inc ebp
cmp ebp, dword [ecx + 8]
jl 0x4140a6
pop edi
pop esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x12c], 0xffffffff
call fcn.0042b856
mov ecx, dword [esp + 0x124]
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x12c
ret 4
Function at 0x41f6be
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x457868
cmp edx, dword [eax]
je 0x41f6e0
add eax, 8
inc ecx
cmp eax, 0x4578f8
jl 0x41f6d1
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x457868]
jne 0x41f80e
mov eax, dword [0x486764]
cmp eax, 1
je 0x41f7e8
test eax, eax
jne 0x41f711
cmp dword [0x4549cc], 1
je 0x41f7e8
cmp edx, 0xfc
je 0x41f80e
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41f748
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00415990
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00416690
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x41f78b
lea eax, [ebp - 0x1a4]
push eax
call fcn.00416690
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x43c818
push edi
call fcn.00415b60
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00415990
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004159a0
lea eax, [ebp - 0xa0]
push 0x4523bc
push eax
call fcn.004159a0
push dword [esi + 0x45786c]
lea eax, [ebp - 0xa0]
push eax
call fcn.004159a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004215f3
add esp, 0x2c
pop edi
jmp 0x41f80e
lea eax, [ebp + 8]
lea esi, [esi + 0x45786c]
push 0
push eax
push dword [esi]
call fcn.00416690
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x425db0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.004169c0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x425e7b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x425e7b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x425e2e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x425e39
or bh, 8
and edi, 0x8000000
je 0x425e54
mov eax, dword [0x487efc]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x425e7b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426250
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x42627b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x42629f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x4262ba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x427b41
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x427b63
cmp dword [edi + 0x3c], 0
jne 0x427b63
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00431369
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00427b90
pop edi
pop esi
pop ebx
ret 8

Function at 0x42a7ca
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x42a80c
call fcn.00431369
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x42a80c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42a803
xor eax, eax
jmp 0x42a814
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0042a81a
pop edi
pop esi
pop ebx
ret 4

Function at 0x431e2e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x431e5c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x431e7a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00431d94
jmp 0x431e7a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x431e7a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00431d94
test edi, edi
mov eax, edi
jne 0x431e64
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x432c04
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_recv
ret 0xc

Function at 0x432c82
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call sub.WSOCK32.dll_send
ret 0xc
Function at 0x40f5e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a8
push ebx
push esi
mov ebx, 0x4848e8
call fcn.0040f580
mov esi, eax
lea eax, [esp + 0xa8]
push esi
push eax
call fcn.00413990
push esi
call fcn.004112ef
add esp, 0xc
lea esi, [esp + 0x18]
call fcn.0040f6a0
lea eax, [esp + 0xa8]
mov ecx, esi
call fcn.0040f6d0
xor ebx, ebx
mov dword [edi + 8], ebx
xor ecx, ecx
mov eax, ebx
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 0x40f631
mov dword [edi + 8], eax
mov eax, dword [ebp + 8]
push 0x4876c8
push eax
call fcn.00414e06
add esp, 8
mov dword [edi], eax
cmp eax, ebx
je 0x42b2ee
push edi
call fcn.0040f450
cmp eax, ebx
je 0x42b2f8
mov ecx, dword [edi]
push ecx
mov esi, eax
call fcn.00414e94
add esp, 4
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, 1
jmp 0x40f690
mov edx, dword [edi]
push edx
push 0x10
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004151b0
add esp, 0x10
push 0xf79365b7
push 0x10
lea ecx, [esp + 0x10]
push ecx
call fcn.0044afdc
xor eax, eax
mov dword [edi + 8], ebx
xor ecx, ecx
movzx edx, byte [esp + eax + 8]
inc eax
imul ecx, edx
cmp eax, 0x10
jl 0x42b324
mov eax, dword [edi]
push eax
mov dword [edi + 8], ecx
call fcn.00415484
add esp, 4
mov dword [edi + 4], eax
xor eax, eax
jmp 0x40f690

Function at 0x40f6a0
Capabilities:
Hash data with md5

Disassembly:
push 8
lea eax, [esi + 0x44]
push 0
push eax
call fcn.004131f0
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 0x4103e0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4972c8]
push esi
push 0
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
push eax
push 0
push 0
push 0x64
push 0x12c
push accept
push accept
push 0xcf0000
push str.AutoIt_v3
push str.AutoIt_v3
push 0
call esi
mov ecx, dword [0x4972c8]
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 [0x4972c0], eax
call esi
mov edx, dword [0x4972c0]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push edx
mov dword [0x4972bc], eax
call esi
mov eax, dword [0x4972c0]
push 0
push eax
call esi
pop esi
ret

Function at 0x421fa7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x490e80]
jne 0x421fb1
repz ret
jmp fcn.00426243
Function at 0x44b7a4
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp dword [edi + 0x30], 0
lea esi, [edi + 0x30]
je 0x44b6b7
mov eax, dword [edi + 0x34]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea ebx, [edi + 0x34]
push eax
push ebx
call ebp
cmp eax, 0x1f6
je 0x44b6b5
add edi, 0x14
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi]
push 0x1f6
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call fcn.004356cd
add esp, 4
push 0x1f6
push ebx
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop ebp
pop ebx
pop edi
pop esi
ret 4
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 0x20]
test eax, eax
je 0x44b7b6
push eax
call 0x44b64f
mov eax, dword [esi + 0x24]
pop esi
test eax, eax
je 0x44b7c7
mov dword [esp + 4], eax
jmp 0x44b64f
ret 4

Function at 0x44b7ca
Capabilities:
Create thread

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x20], 0
jne 0x44b7f4
push esi
call fcn.0043572f
test al, al
je 0x44b7f4
mov eax, dword [esi + 8]
push eax
call fcn.004437fa
add esp, 4
push eax
mov dword [esi + 0x20], eax
call fcn.0044b6bc
cmp dword [esi + 0x24], 0
jne 0x44b827
push esi
call fcn.00435713
test al, al
je 0x44b827
push esi
call fcn.00435703
test al, al
jne 0x44b827
mov ecx, dword [esi + 0x10]
push ecx
call fcn.004437fa
add esp, 4
mov dword [esi + 0x24], eax
pop esi
mov dword [esp + 4], eax
jmp fcn.0044b6bc
pop esi
ret 4
Function at 0x451e63
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov dword [ebp - 0xb4], eax
mov dword [ebp - 8], eax
call fcn.00451c3f
push eax
pop esi
mov ax, word [edi + 6]
cmp ax, bx
jbe 0x451e99
lea ecx, [esi + 0xc]
movzx edx, ax
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x451e93
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x451e84
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00451c3f
rol dword [ebp + 0x458d3524], 0xa8
push eax
call fcn.00451c4f
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00451c04
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x451f2d
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00451c3f
cmc
jns 0x451f81
mov bh, 0x8d
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
lea eax, [ebp - 0x40]
push eax
call fcn.00451c4f
push eax
push esi
push dword [ebp + 8]
call fcn.00451c04
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00451c3f
rcr dword [eax*8 - 0x17ba7281], 1
mov byte [ebp - 0x18], bl
push eax
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
fcmovb st(0), st(6)
inc ebp
idiv dword [edi - 0x39c18]
call dword [eax + 0x56]

Function at 0x451fe2
Capabilities:
Contain obfuscated stackstrings

Disassembly:
fcmovb st(0), st(6)
inc ebp
idiv dword [edi - 0x39c18]
call dword [eax + 0x56]
push dword [ebp + 8]
call fcn.00451c04
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]