joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dbc8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45dbdf
add esp, 0xfffffff0
call fcn.00403b84
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00426648
mov eax, dword [0x4b419c]
cmp word [eax + 2], 0
jne 0x45dc07
mov eax, dword [0x4b419c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f2a4
mov eax, dword [0x4b42d4]
cmp word [eax + 2], 0
jne 0x45dc21
mov eax, dword [0x4b42d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045f49c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41b4b4]
call fcn.004037f0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41b4b4]
call fcn.004037f0
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x428af8]
call fcn.004301f0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45dda8
mov eax, dword [0x4b401c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004305c0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45fa1c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b401c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d82c
test eax, eax
je 0x45dd16
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004099b8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d854
test eax, eax
je 0x45dd2a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040489c
mov eax, dword [0x4b3db8]
cmp byte [eax], 0
jne 0x45dd5e
mov eax, ebx
call fcn.0045ded0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045fbf8
mov eax, ebx
call fcn.004605a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45dd9e
call fcn.00403bdc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e144
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b5c90]
cmp dword [eax + 0x30], 0
je 0x45e1ee
cmp dword [ebx + 0x94], 0
jne 0x45e1e8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45e0d4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45e1e8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45e1ae
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45e1e8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041ddac
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45e1bd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45eccc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45ed01
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404724
jmp 0x45ed0e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404688
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45fdd4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45fe15
mov eax, esi
call fcn.00445ff4
test al, al
je 0x45fe15
mov eax, dword [ebx + 0x84]
call fcn.00445cf0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45fe15
push 0
mov eax, dword [ebx + 0x84]
call fcn.00445cf0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x460dac
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004609c0
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404ae4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x460e0a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b41cc]
mov dl, 1
mov eax, dword [0x4608b8]
call fcn.0040cb78
call fcn.00403fec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x460e14
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404ae4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x460e6c
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b4524]
mov dl, 1
mov eax, dword [0x4608b8]
call fcn.0040cb78
call fcn.00403fec
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.004609f0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404ae4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x464c8d
test al, 0x10
jne 0x464c91
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x46d760
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
mov esi, dword [eax]
movzx ecx, cx
dec ecx
test ecx, ecx
jl 0x46d78f
inc ecx
mov ebx, esi
xor bl, byte [edx]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x4b22cc]
shr esi, 8
and esi, 0xffffff
xor ebx, esi
mov esi, ebx
inc edx
dec ecx
jne 0x46d76d
mov dword [eax], esi
pop esi
pop ebx
ret

Function at 0x46eac0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, edx
mov edx, dword [eax]
sub ecx, 1
jno 0x46ead1
call fcn.00403760
test ecx, ecx
jl 0x46eaf6
inc ecx
mov ebx, edx
xor bl, byte [esi]
and ebx, 0xff
mov edi, dword [0x4b3db0]
mov ebx, dword [edi + ebx*4]
shr edx, 8
xor ebx, edx
mov edx, ebx
add esi, 1
dec ecx
jne 0x46ead6
mov dword [eax], edx
pop edi
pop esi
pop ebx
ret

Function at 0x474b1c
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp + 4], ecx
mov dword [esp], eax
lea edi, [esp + 8]
mov eax, dword [esp]
mov eax, dword [eax + 8]
mov dword [edi], eax
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov dword [edi + 4], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov dword [edi + 8], eax
mov ebx, edx
mov esi, dword [esp + 4]
dec esi
test esi, esi
jl 0x474ba5
inc esi
mov eax, dword [edi + 8]
and eax, 0xffff
or eax, 2
mov dl, byte [ebx]
mov ecx, eax
xor ecx, 1
imul ecx, eax
shr ecx, 8
xor dl, cl
mov byte [ebx], dl
mov edx, dword [edi]
mov al, byte [ebx]
call fcn.0046d794
mov ebp, eax
mov dword [edi], ebp
and ebp, 0xff
add dword [edi + 4], ebp
imul ebp, dword [edi + 4], 0x8088405
inc ebp
mov dword [edi + 4], ebp
mov eax, ebp
shr eax, 0x18
mov edx, dword [edi + 8]
call fcn.0046d794
mov dword [edi + 8], eax
inc ebx
dec esi
jne 0x474b54
mov eax, dword [esp]
mov edx, dword [edi]
mov dword [eax + 8], edx
mov eax, dword [esp]
mov edx, dword [edi + 4]
mov dword [eax + 0xc], edx
mov eax, dword [esp]
mov edx, dword [edi + 8]
mov dword [eax + 0x10], edx
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x474bc8
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov edx, ecx
mov eax, ebx
call fcn.00474c58
mov dword [ebp - 8], 0xc
mov edi, dword [ebp - 4]
lea esi, [ebp - 0x14]
mov eax, dword [ebx + 0x10]
and eax, 0xffff
or eax, 2
mov edx, eax
xor edx, 1
imul edx, eax
shr edx, 8
xor dl, byte [edi]
mov byte [esi], dl
mov edx, dword [ebx + 8]
mov al, byte [esi]
call fcn.0046d794
mov dword [ebx + 8], eax
mov eax, dword [ebx + 8]
and eax, 0xff
add dword [ebx + 0xc], eax
imul eax, dword [ebx + 0xc], 0x8088405
inc eax
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0046d794
mov dword [ebx + 0x10], eax
inc esi
inc edi
dec dword [ebp - 8]
jne 0x474bec
mov al, byte [ebp + 0xb]
cmp al, byte [ebp - 9]
sete al
mov byte [ebx + 4], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x474c58
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], edx
mov ebx, eax
mov dword [ebx + 8], 0x12345678
mov dword [ebx + 0xc], 0x23456789
mov dword [ebx + 0x10], 0x34567890
mov eax, dword [esp]
call fcn.004048ec
mov esi, eax
test esi, esi
jle 0x474cc6
mov edi, 1
mov eax, dword [esp]
mov al, byte [eax + edi - 1]
mov edx, dword [ebx + 8]
call fcn.0046d794
mov ebp, eax
mov dword [ebx + 8], ebp
and ebp, 0xff
add dword [ebx + 0xc], ebp
imul ebp, dword [ebx + 0xc], 0x8088405
inc ebp
mov dword [ebx + 0xc], ebp
mov eax, ebp
shr eax, 0x18
mov edx, dword [ebx + 0x10]
call fcn.0046d794
mov dword [ebx + 0x10], eax
inc edi
dec esi
jne 0x474c8a
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x476b28
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov edi, ecx
dec edi
test edi, edi
jl 0x476b9e
inc edi
mov esi, edx
mov ax, word [ebx + 0xc]
or ax, 2
movzx edx, ax
xor ax, 1
movzx eax, ax
imul edx, eax
shr edx, 8
xor byte [esi], dl
mov edx, dword [ebx + 4]
mov al, byte [esi]
call fcn.0046d794
mov ebp, eax
mov dword [ebx + 4], ebp
and ebp, 0xff
add dword [ebx + 8], ebp
imul eax, dword [ebx + 8], 0x8088405
inc eax
mov dword [ebx + 8], eax
shr eax, 0x18
xor al, byte [ebx + 0xc]
and eax, 0xff
mov edx, dword [0x4b3db0]
mov eax, dword [edx + eax*4]
mov edx, dword [ebx + 0xc]
shr edx, 8
and edx, 0xffffff
xor eax, edx
mov dword [ebx + 0xc], eax
inc esi
dec edi
jne 0x476b38
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x476c30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, eax
mov eax, dword [edi + 0x38]
call fcn.00420554
mov dword [esp + 4], eax
xor ebx, ebx
mov byte [esp], 0
jmp 0x476cc7
mov eax, edi
call fcn.00476bec
xor ecx, ecx
mov edx, dword [esp + 4]
mov eax, dword [edi + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea edx, [edi + 0x10]
mov ecx, 0xc
mov eax, dword [edi + 0x38]
mov ebx, dword [eax]
call dword [ebx + 8]
xor esi, esi
mov eax, edi
call fcn.00476ba4
xor byte [edi + esi + 0x10], al
lea edx, [edi + 4]
mov al, byte [edi + esi + 0x10]
call fcn.00476cf4
inc esi
cmp esi, 0xc
jne 0x476c73
cmp byte [edi + 0x20], 0
je 0x476ca1
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
sete bl
jmp 0x476cb7
mov al, byte [edi + 0x1b]
cmp al, byte [edi + 0x1f]
jne 0x476cb1
mov al, byte [edi + 0x1a]
cmp al, byte [edi + 0x1e]
je 0x476cb5
xor ebx, ebx
jmp 0x476cb7
mov bl, 1
test bl, bl
jne 0x476cc4
lea edx, [edi + 0x30]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx]
inc byte [esp]
test bl, bl
jne 0x476cd7
mov al, byte [esp]
cmp al, byte [edi + 0x34]
jb 0x476c4c
test bl, bl
jne 0x476cec
mov dl, 1
mov eax, dword [0x46aaa0]
call fcn.0046b68c
call fcn.00403fec
mov eax, ebx
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x47decc
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ad4
xor eax, eax
push ebp
push 0x47dfa6
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push esi
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
call fcn.0041ae04
test al, al
je 0x47df83
mov eax, 0x104
call fcn.00409b88
mov esi, eax
push esi
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
push 0
call sub.kernel32.dll_SetLastError
push 0
lea eax, [ebp - 0x10]
mov edx, esi
call fcn.00404824
push dword [ebp - 0x10]
push 0x47dfc0
push dword [ebp - 4]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004049ac
mov eax, dword [ebp - 0xc]
call fcn.00404ae4
push eax
call sub.kernel32.dll_CreateDirectoryA_1
call sub.kernel32.dll_GetLastError_1
test eax, eax
je 0x47df72
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
jne 0x47df74
mov bl, 1
mov eax, dword [ebp - 8]
call fcn.0047de78
mov eax, esi
call fcn.00409bd4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47dfad
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404658
lea eax, [ebp - 4]
call fcn.00404634
ret
Function at 0x481918
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x481946
mov eax, ebx
call fcn.004823d0
cmp dword [ebx + 0x3c], 0
je 0x48193f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x4819b7
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x4819a9
cmp dword [ebx + 8], 0
je 0x481968
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 0x48197a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4819a9
cmp dword [ebx + 8], 0
je 0x48195b
cmp eax, 3
je 0x48198d
dec eax
jne 0x48195b
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 0x48195b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x48195b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4819d5
cmp dword [ebx + 0x10], 0xcc
je 0x4819d5
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.004819e0
pop ebx
ret
Function at 0x49b1a4
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x49b1ac
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x49b348
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 8]
mov edx, 0x49b360
mov eax, esi
call fcn.00498f44
mov edx, dword [ebp - 8]
lea eax, [ebx + 0xc]
call fcn.00404688
lea ecx, [ebp - 0xc]
mov edx, 0x49b374
mov eax, esi
call fcn.00498f44
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0x28]
call fcn.00404688
lea ecx, [ebp - 0x10]
mov edx, 0x49b38c
mov eax, esi
call fcn.00498f44
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x10]
call fcn.00404688
lea ecx, [ebp - 0x14]
mov edx, 0x49b3a8
mov eax, esi
call fcn.00498f44
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00404688
lea ecx, [ebp - 0x18]
mov edx, 0x49b3c4
mov eax, esi
call fcn.00498f44
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x24]
call fcn.00404688
lea ecx, [ebp - 0x20]
mov edx, 0x49b3dc
mov eax, esi
call fcn.00498f44
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00408c00
mov eax, dword [ebp - 0x1c]
or edx, 0xffffffff
call fcn.00408ef8
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x24]
mov edx, 0x49b3f4
mov eax, esi
call fcn.00498f44
mov eax, dword [ebp - 0x24]
call fcn.00498048
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x28]
mov edx, 0x49b404
mov eax, esi
call fcn.00498f44
mov eax, dword [ebp - 0x28]
call fcn.00498048
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 4]
mov edx, 0x49b41c
mov eax, esi
call fcn.00498f44
mov eax, dword [ebp - 4]
call fcn.00497bfc
test al, al
je 0x49b2ff
mov eax, dword [ebp - 4]
call fcn.00408ebc
mov edi, eax
test edi, edi
jl 0x49b2f5
call fcn.0040ad64
mov dword [ebp - 0x2c], edi
fild dword [ebp - 0x2c]
fdiv dword [0x49b424]
faddp st(1)
fstp qword [ebx + 0x38]
wait
jmp 0x49b30b
xor eax, eax
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
jmp 0x49b30b
mov eax, dword [ebp - 4]
call fcn.00498048
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x49b430
mov eax, esi
call fcn.00498f44
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x48]
call fcn.00404688
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49b34f
lea eax, [ebp - 0x30]
call fcn.00404634
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.00404658
ret

Function at 0x4a7d48
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4a7da2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004a7d38
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00496afc
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004966fc
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7da9
lea eax, [ebp - 4]
call fcn.00404634
ret
Function at 0x4aba18
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00403118
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret

Function at 0x4ad7bc
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404ad4
mov eax, dword [ebp - 8]
call fcn.00404ad4
xor eax, eax
push ebp
push 0x4ad921
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor edx, edx
mov eax, 2
call fcn.004924a8
mov edi, eax
test edi, edi
je 0x4ad8f0
mov dword [ebp - 0x130], 0x128
lea edx, [ebp - 0x130]
mov eax, edi
call fcn.004924c8
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x4ad8e2
lea eax, [ebp - 0x134]
lea edx, [ebp - 0x10c]
mov ecx, 0x104
call fcn.0040489c
mov eax, dword [ebp - 0x134]
mov edx, dword [ebp - 4]
call fcn.00408a78
test eax, eax
jne 0x4ad8cf
mov eax, dword [ebp - 0x128]
push eax
push 0
push 0x100001
call sub.kernel32.dll_OpenProcess
test eax, eax
je 0x4ad8cf
cmp dword [ebp - 8], 0
je 0x4ad8b1
push 0x24
lea edx, [ebp - 0x138]
mov eax, esi
call fcn.0043f66c
mov eax, dword [ebp - 0x138]
call fcn.00404ae4
push eax
mov eax, dword [ebp - 8]
call fcn.00404ae4
push eax
mov eax, esi
call fcn.00445cf0
push eax
call sub.user32.dll_MessageBoxA_1
cmp eax, 7
je 0x4ad8f0
mov eax, dword [ebp - 0x128]
test eax, eax
jns 0x4ad8c0
call fcn.00403758
push eax
push 0x4ad778
call sub.user32.dll_EnumWindows
mov bl, 1
jmp 0x4ad8f0
lea edx, [ebp - 0x130]
mov eax, edi
call fcn.004924e8
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4ad836
push edi
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ad928
lea eax, [ebp - 0x138]
call fcn.00404634
lea eax, [ebp - 0x134]
call fcn.00404634
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404658
ret
Function at 0x4ae3e8
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ad4
xor eax, eax
push ebp
push 0x4ae523
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x414]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
jne 0x4ae43c
mov eax, dword [ebx + 0x3f8]
mov edx, dword [eax]
call dword [edx + 0xc4]
test al, al
je 0x4ae500
xor edx, edx
push ebp
push 0x4ae4ea
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
push ebp
push 0x4ae4d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x2001f
mov dl, 1
mov eax, dword [0x460918]
call fcn.00460a5c
mov dword [ebp - 8], eax
mov edx, 0x80000001
mov eax, dword [ebp - 8]
call fcn.00460af4
mov cl, 1
mov edx, 0x4ae53c
mov eax, dword [ebp - 8]
call fcn.00460b58
lea edx, [ebp - 0xc]
mov eax, 0x4ae3e0
call fcn.004069ac
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
mov ecx, 0x4ae574
mov edx, dword [ebp - 4]
call fcn.00404938
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
pop edx
call fcn.00460cf4
mov eax, dword [ebp - 8]
call fcn.00460ac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae4e0
cmp dword [ebp - 8], 0
je 0x4ae4d8
mov eax, dword [ebp - 8]
call fcn.00403820
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ae52a
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404658
lea eax, [ebp - 4]
call fcn.00404634
ret

Function at 0x4af5ac
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404ad4
mov eax, dword [ebp - 8]
call fcn.00404ad4
xor eax, eax
push ebp
push 0x4af673
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4af64e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x40
mov eax, ebx
call fcn.00445cf0
mov dword [ebp - 0x40], eax
mov eax, 0x4af684
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 4]
call fcn.00404ae4
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
call fcn.00404ae4
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 1
lea eax, [ebp - 0x48]
push eax
call sub.shell32.dll_ShellExecuteExA
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
push 0x3e8
call sub.kernel32.dll_Sleep_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4af658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4af67a
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404658
ret

Function at 0x4afd90
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
cmp byte [ebx + 0x45c], 0
je 0x4afdc3
mov byte [ebx + 0x45c], 0
push 1
push 0
push 0x4afdc8
push 0x4afde0
push 0x4afdec
mov eax, ebx
call fcn.00445cf0
push eax
call sub.shell32.dll_ShellExecuteA
pop ebx
ret