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

Disassembly:
push 0xffffffffffffffff
push 0x578e01
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov al, byte [0x5ed678]
push esi
mov esi, ecx
push edi
mov byte [esp + 0x11c], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00569c56
mov eax, dword [eax + 8]
lea ecx, [esp + 0x11c]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x47e96d
lea edx, [esp + 0x11c]
lea ecx, [esp + 0xc]
push edx
call fcn.0055969a
push 0x5c
lea ecx, [esp + 0x10]
mov dword [esp + 0x22c], 0
call fcn.00554a2c
mov ecx, dword [0x5e8e38]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xc]
mov byte [esp + 0x228], 1
mov ecx, dword [edx - 8]
sub ecx, eax
lea eax, [esp + 0x10]
dec ecx
push ecx
push eax
lea ecx, [esp + 0x14]
call fcn.00554938
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x22c], 2
call fcn.00559765
lea ecx, [esp + 0x10]
mov byte [esp + 0x228], 1
call fcn.0055962c
push 0x5ed678
push str..exe
lea ecx, [esp + 0x10]
call fcn.0055471c
push 0x5ed678
push str..EXE
lea ecx, [esp + 0x10]
call fcn.0055471c
mov cl, byte [0x5ed678]
xor eax, eax
mov byte [esp + 0x18], cl
mov ecx, 0x40
lea edi, [esp + 0x19]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x230]
push edx
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov eax, dword [esp + 8]
lea ecx, [esp + 0x18]
push eax
push str._s.lnk
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [esp + eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [esp + 0x18]
lea ecx, [esp + 0x11c]
push eax
push ecx
mov ecx, esi
call fcn.0047e990
test eax, eax
je 0x47e948
lea edx, [esp + 0x18]
mov ecx, esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0047ea60
lea ecx, [esp + 8]
mov byte [esp + 0x228], 0
call fcn.0055962c
lea ecx, [esp + 0xc]
mov dword [esp + 0x228], 0xffffffff
call fcn.0055962c
mov ecx, dword [esp + 0x220]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x224
ret 4
Function at 0x47e990
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push eax
push 0x5b3ac0
push 1
push 0
push 0x5b3ab0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x47e9be
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp]
mov edx, dword [esp + 0x214]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp]
push 0x352
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [esp]
lea ecx, [esp + 4]
push ecx
push 0x5b3b10
mov edx, dword [eax]
push eax
call dword [edx]
test eax, eax
jge 0x47ea01
xor eax, eax
add esp, 0x210
ret 8
mov eax, dword [esp + 0x218]
lea edx, [esp + 8]
push 0x104
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, 1
add esp, 0x210
ret 8

Function at 0x481054
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x25c]
test eax, eax
je 0x48113e
lea eax, [esp + 0xc]
push ebx
push eax
mov dword [esp + 0x14], 8
call dword [sym.imp.USER32.dll_GetLastInputInfo]
mov eax, dword [esi + 0x2460]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
test eax, eax
je 0x4810d8
call ebx
mov edx, dword [esi + 0x25c]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
mov eax, dword [edx + 0x4b40]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 5
cmp ecx, eax
jae 0x4810d8
mov ecx, dword [esi + 0x1c]
push 0
push 0x8166
push 0x111
push ecx
call ebp
mov dword [esi + 0x2460], 0
mov edi, dword [esi + 0x25c]
call ebx
mov edx, eax
mov eax, dword [esp + 0x14]
sub edx, eax
mov eax, dword [edi + 0x4b40]
pop ebx
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 5
cmp edx, eax
jb 0x48113e
mov eax, dword [esi + 0x2460]
test eax, eax
jne 0x48113e
mov edi, dword [edi + 0x4b44]
test edi, edi
jl 0x48113e
lea eax, [edi + 0x8167]
cmp eax, 0x816f
jg 0x48113e
mov ecx, dword [esi + 0x1c]
push 0
push eax
push 0x111
push ecx
call ebp
mov dword [esi + 0x2460], 1
pop edi
pop esi
pop ebp
add esp, 8
ret
Function at 0x486e80
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x579bb8
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push esi
push edi
mov edi, ecx
push 0
push 0
mov eax, dword [edi + 0xd8]
push 0x1009
push eax
call ebx
mov eax, dword [edi + 0x74]
xor esi, esi
test eax, eax
jle 0x486fd0
mov ecx, dword [edi + 0x84]
lea ebx, [esi*4]
push 0
push 0
mov eax, dword [ecx + ebx]
push 0
push 0
push eax
lea ebp, [edi + 0xbc]
push esi
push 1
mov ecx, ebp
call fcn.00555e16
mov edx, dword [edi + 0x98]
mov ecx, ebp
mov eax, dword [edx + ebx]
push eax
push 0
push esi
call fcn.00555f11
mov edx, dword [edi + 0xac]
mov eax, ebx
add eax, edx
lea ecx, [esp + 0x10]
push eax
call fcn.005593a1
xor ebp, ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebp
call fcn.00557573
lea ecx, [esp + 0x1c]
push 1
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x5d67d4
mov byte [esp + 0x48], 1
call fcn.0055969a
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
mov byte [esp + 0x4c], 2
call fcn.005593a1
mov byte [esp + 0x48], 1
call fcn.0043cd40
add esp, 0x10
cmp ebp, dword [esp + 0x24]
jge 0x486f81
mov eax, dword [esp + 0x20]
lea ecx, [ebp + 1]
mov eax, dword [eax + ebp*4]
push eax
push ecx
push esi
lea ecx, [edi + 0xbc]
call fcn.00555f11
inc ebp
cmp ebp, 6
jl 0x486f63
mov edx, dword [edi + 0x84]
lea ecx, [edi + 0xbc]
mov ebx, dword [edx + ebx]
push ebx
push 7
push esi
call fcn.00555f11
lea ecx, [esp + 0x1c]
mov byte [esp + 0x38], 0
call fcn.005575a6
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0055962c
mov eax, dword [edi + 0x74]
inc esi
cmp esi, eax
jl 0x486ec3
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
xor esi, esi
mov eax, dword [edi + 0xd8]
push 0xfffe
push esi
push 0x101e
push eax
call ebx
inc esi
cmp esi, 8
jl 0x486fd2
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x2c
ret

Function at 0x489000
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x489027
push esi
call sub.WSOCK32.dll_inet_addr
cmp eax, 0xffffffff
jne 0x489029
push esi
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x489027
mov eax, dword [eax + 0xc]
pop esi
mov ecx, dword [eax]
mov eax, dword [ecx]
ret
xor eax, eax
pop esi
ret
Function at 0x48a5b0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
xor eax, eax
push ebx
mov dword [esp + 4], eax
mov ebx, dword [esp + 0x20]
mov dword [esp + 8], eax
mov edx, dword [esp + 0x18]
mov dword [esp + 0xc], eax
push esi
mov esi, ecx
mov dword [esp + 0x14], eax
mov cx, word [esp + 0x20]
push edi
mov edi, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push 0x10
push eax
mov word [esp + 0x16], cx
mov ecx, dword [esi]
push 0
push edi
push ebx
push ecx
mov word [esp + 0x24], 2
mov dword [esp + 0x28], edx
call sub.WSOCK32.dll_sendto
cmp eax, 0xffffffff
jne 0x48a69a
call sub.WSOCK32.dll_WSAGetLastError
sub eax, 0x2742
je 0x48a641
sub eax, 0xf
je 0x48a623
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
mov eax, dword [0x5edd60]
test eax, eax
jne 0x48a636
mov dword [0x5edd60], 1
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
mov ecx, esi
call fcn.00489a30
cmp eax, 1
je 0x48a658
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48a677
push eax
mov ecx, esi
call fcn.00489be0
cmp eax, 1
je 0x48a677
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
mov eax, dword [esi]
lea edx, [esp + 0xc]
push 0x10
push edx
push 0
push edi
push ebx
push eax
call sub.WSOCK32.dll_sendto
cmp eax, 0xffffffff
jne 0x48a69a
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 0x10
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10
ret 0x10
Function at 0x48a7e0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x14
push esi
mov esi, dword [esp + 0x20]
push edi
push 0
push 1
mov edi, ecx
push 2
mov dword [esi + 0x14], 0
call sub.WSOCK32.dll_socket
cmp eax, 0xffffffff
mov dword [esi + 8], eax
je 0x48a902
lea ecx, [esp + 8]
mov dword [esp + 8], 1
push ecx
push 0x8004667e
push eax
call sub.WSOCK32.dll_ioctlsocket
test eax, eax
jne 0x48a902
mov eax, dword [esi + 8]
lea edx, [esp + 8]
push 4
push edx
push 1
push 0xffff
push eax
call sub.WSOCK32.dll_setsockopt
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx + 0x5330]
test eax, eax
mov dword [esp + 0x24], eax
jle 0x48a880
mov eax, dword [esi + 8]
lea edx, [esp + 0x24]
push 4
push edx
push 0x1002
push 0xffff
push eax
call sub.WSOCK32.dll_setsockopt
test eax, eax
je 0x48a880
mov eax, dword [esp + 0x24]
cdq
sub eax, edx
sar eax, 1
test eax, eax
mov dword [esp + 0x24], eax
jg 0x48a851
mov ecx, dword [esp + 0x20]
push esi
push ecx
mov ecx, edi
call fcn.0048a910
test eax, eax
je 0x48a8f9
mov ax, word [esi + 0x10]
xor edx, edx
mov dword [esp + 0xc], edx
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
mov word [esp + 0xe], ax
mov eax, dword [esi + 8]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
lea edx, [esp + 0xc]
push 0x10
push edx
push eax
mov word [esp + 0x18], 2
mov dword [esp + 0x1c], ecx
call sub.WSOCK32.dll_connect
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x18], eax
jne 0x48a8e0
call sub.WSOCK32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x48a8f9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x20], eax
mov dword [esi + 0x1c], eax
pop edi
mov eax, 1
pop esi
add esp, 0x14
ret 8
mov ecx, dword [esi + 8]
push ecx
call sub.WSOCK32.dll_closesocket
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret 8

Function at 0x48a990
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword [ecx + 0xa0]
sub esp, 8
test eax, eax
je 0x48a9a6
mov eax, 1
add esp, 8
ret
mov eax, dword [ecx + 0x9c]
lea edx, [esp]
push 8
mov dword [esp + 4], eax
mov eax, dword [ecx]
push edx
push 5
push 0
push eax
mov dword [ecx + 0xa0], 1
mov dword [esp + 0x18], 0
call sub.WSOCK32.dll_setsockopt
add esp, 8
ret

Function at 0x48a9e0
Capabilities:
Set socket configuration

Disassembly:
sub esp, 8
mov edx, dword [ecx + 0x9c]
push 8
mov dword [esp + 4], edx
lea edx, [esp + 4]
xor eax, eax
push edx
push 6
mov dword [ecx + 0xa0], eax
mov dword [esp + 0x10], eax
push eax
mov eax, dword [ecx]
push eax
call sub.WSOCK32.dll_setsockopt
add esp, 8
ret
Function at 0x48bf20
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, dword [esp + 8]
or eax, 0xffffffff
cmp esi, 0xffffffff
je 0x48bfd9
push ebx
mov ebx, dword [esp + 0x14]
push ebp
push edi
lea edi, [ebx + 3]
push edi
call fcn.00558a23
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov al, byte [esp + 0x20]
test al, al
jne 0x48bf8d
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48bf79
mov ecx, dword [esp + 0x24]
cmp ecx, 1
jne 0x48bf74
inc ebx
push ecx
push ebx
push eax
jmp 0x48bfc3
push ebp
xor esi, esi
call fcn.00558a4c
add esp, 4
mov eax, esi
pop edi
pop ebp
pop ebx
pop esi
ret 0x14
mov byte [ebp], al
mov eax, dword [esp + 0x18]
test eax, eax
je 0x48bfb3
mov ecx, ebx
mov esi, eax
mov eax, ecx
lea edi, [ebp + 1]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
jmp 0x48bfb5
xor ebx, ebx
mov eax, dword [esp + 0x24]
cmp eax, 1
jne 0x48bfbf
inc ebx
inc ebx
push eax
push ebx
push ebp
push esi
call sub.WSOCK32.dll_send
push ebp
mov esi, eax
call fcn.00558a4c
add esp, 4
mov eax, esi
pop edi
pop ebp
pop ebx
pop esi
ret 0x14

Function at 0x48caa0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
test ebx, ebx
push edi
jne 0x48cab7
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowDC]
mov esi, eax
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebp, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
sub ebp, eax
sub ebx, ecx
push ebp
push ebx
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push esi
push ebp
push ebx
push 0
push 0
push edi
mov dword [esp + 0x48], eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ebx, dword [esp + 0x24]
push ebx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
mov ebp, eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
mov edi, dword [sym.imp.USER32.dll_ReleaseDC]
push 0
call edi
push esi
push 0
call edi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x48cc50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57a3d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
xor esi, esi
push edi
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0x58a038
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], esi
call fcn.00560763
mov edi, dword [esp + 0x34]
mov byte [esp + 0x2c], 1
cmp edi, esi
jne 0x48cccf
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.005607d5
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 2
call fcn.00560a62
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 4
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
call ebp
mov ebx, eax
mov esi, dword [ebx + 0x20]
test esi, esi
jne 0x48cced
mov cl, byte [ebx + 0xe]
mov esi, 1
shl esi, cl
push edi
call ebp
mov edi, eax
cmp word [edi + 0xe], 8
jbe 0x48cd17
mov ecx, dword [edi + 0x10]
xor eax, eax
cmp ecx, 3
mov ecx, dword [edi + 0x20]
setne al
dec eax
and eax, 3
add eax, ecx
lea ecx, [edi + eax*4 + 0x28]
mov dword [esp + 0x3c], ecx
jmp 0x48cd1f
lea edx, [edi + esi*4 + 0x28]
mov dword [esp + 0x3c], edx
cmp esi, 0x100
jg 0x48cdba
mov eax, dword [esp + 0x20]
push 0x26
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
test ah, 1
je 0x48cdba
lea eax, [esi*4 + 8]
push eax
call fcn.00558a23
mov ebp, eax
add esp, 4
test esi, esi
mov word [ebp], 0x300
mov word [ebp + 2], si
jle 0x48cd81
lea eax, [ebp + 5]
lea ecx, [edi + 0x29]
mov dl, byte [ecx + 1]
add ecx, 4
mov byte [eax - 1], dl
mov dl, byte [ecx - 4]
mov byte [eax], dl
mov dl, byte [ecx - 5]
mov byte [eax + 1], dl
mov byte [eax + 2], 0
add eax, 4
dec esi
jne 0x48cd63
push ebp
call dword [sym.imp.GDI32.dll_CreatePalette]
push eax
lea ecx, [esp + 0x14]
call fcn.00560a0b
push ebp
call fcn.00558a4c
add esp, 4
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push 0
push eax
call fcn.005600a2
mov edi, eax
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x48cdbe
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0x18]
push 0
neg eax
sbb eax, eax
push ebx
push edx
and eax, ebp
push 4
push ebx
push eax
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
lea eax, [esp + 0x10]
pop ebp
pop ebx
test eax, eax
je 0x48cdfe
mov eax, dword [esp + 0xc]
test eax, eax
je 0x48cdfe
push 0
push edi
lea ecx, [esp + 0x18]
call fcn.005600a2
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call fcn.005607d5
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 3
call fcn.00560a62
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x48dc20
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x57a4e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push 0xa
push 0
push 0
lea eax, [esp + 0x18]
push 0
push eax
push 0xc
push 0
push 0x5decc4
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [0x5e8e38]
mov dword [esp + 8], ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 8]
push edx
push 0x5decc0
push eax
mov dword [esp + 0x2c], 1
call fcn.00554dd4
add esp, 8
lea edx, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.005593a1
lea eax, [esp + 8]
push eax
call fcn.0048dd00
add esp, 8
lea ecx, [esp + 4]
mov byte [esp + 0x20], 2
call fcn.00559b2e
mov esi, dword [esp + 0x28]
lea ecx, [esp + 4]
push ecx
mov ecx, esi
call fcn.005593a1
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x20], 1
call fcn.0055962c
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.0055962c
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret
Function at 0x49b280
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57b9d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x5e8e38]
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x10], eax
mov ebx, dword [esp + 0x38]
mov eax, dword [esi + 0xc]
cmp ebx, eax
mov dword [esp + 0x30], 0
jne 0x49b32e
mov eax, dword [esi + 0x24]
test eax, eax
je 0x49b32e
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 0x1c]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
call fcn.0049af30
add esp, 0xc
test al, al
je 0x49b47a
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
mov ecx, esi
call fcn.0049b7f0
mov ecx, dword [esp + 0x10]
mov edi, dword [esi + 0x24]
mov edx, dword [esi + 8]
mov eax, dword [ecx - 8]
mov ecx, esi
sub eax, edi
push eax
push ebx
push edx
call fcn.0049c790
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [eax - 8]
mov dword [esi + 0x24], eax
call fcn.0055962c
mov al, 1
jmp 0x49b48d
test ebx, ebx
je 0x49b47a
mov ecx, dword [esi + 0x30]
mov edi, ebx
sar edi, 0x10
mov ebp, ebx
shl edi, 2
and ebp, 0xffff
mov edx, dword [edi + ecx]
shl ebp, 5
mov eax, dword [edx + ebp + 0x14]
test eax, eax
jne 0x49b47a
mov eax, dword [esp + 0x40]
test al, 1
je 0x49b38f
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
push eax
push ecx
call fcn.0049b150
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 1
call fcn.00559765
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x3c]
jmp 0x49b3ba
mov edx, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x40]
push edx
push eax
call fcn.00498c50
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 2
call fcn.00559765
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x3c]
call fcn.0055962c
mov ecx, dword [0x5e8e38]
xor eax, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 0x1002
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x10]
lea ecx, [esp + 0x24]
push edx
mov byte [esp + 0x34], 3
call fcn.00559765
lea eax, [esp + 0x14]
lea ecx, [esp + 0x38]
push eax
push ecx
push ebx
mov ecx, esi
mov dword [esp + 0x44], 0
call fcn.0049b990
mov edx, dword [esp + 0x24]
push 0
mov ecx, dword [edx - 8]
sub ecx, eax
mov dword [esp + 0x44], ecx
push ecx
push ebx
mov ecx, esi
call fcn.0049b8a0
mov eax, dword [esi + 0x30]
mov edx, dword [esp + 0x40]
mov ecx, dword [edi + eax]
mov ebx, dword [ecx + ebp + 4]
lea eax, [ecx + ebp + 4]
add ebx, edx
mov dword [eax], ebx
mov eax, dword [esi + 0x30]
mov ecx, dword [edi + eax]
mov eax, dword [ecx + ebp + 0xc]
test eax, 0x200000
lea ebp, [ecx + ebp + 0xc]
je 0x49b457
and eax, 0xffdfffff
mov dword [ebp], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 0
call fcn.0055962c
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.0055962c
mov al, 1
jmp 0x49b48d
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.0055962c
xor al, al
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x4a1fe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57c0c0
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
push edi
mov edi, dword [esp + 0x78]
cmp edi, 2
jne 0x4a20c3
mov ecx, dword [ecx + 0x1c]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
xor esi, esi
mov dword [esp + 8], vtable.CRgn.0
mov dword [esp + 0xc], esi
lea edx, [esp + 0x18]
mov dword [esp + 0x60], esi
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push eax
lea ecx, [esp + 0xc]
call fcn.00560a0b
mov edi, dword [esp + 0x68]
lea eax, [esp + 8]
push eax
mov ecx, edi
call fcn.0056005d
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
cmp edi, esi
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
je 0x4a2074
mov esi, dword [edi + 4]
mov edx, dword [esp + 0x74]
mov eax, dword [esp + 0x70]
push edx
push eax
lea ecx, [esp + 0x30]
push 2
push ecx
push esi
call fcn.004c7570
add esp, 0x14
lea ecx, [esp + 8]
call fcn.00560a62
mov dword [esp + 8], vtable.CGdiObject.0
lea ecx, [esp + 8]
mov dword [esp + 0x60], 1
call fcn.00560a62
pop edi
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x14
mov eax, dword [esp + 0x6c]
push ebx
xor ebx, ebx
xor esi, esi
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], edx
mov edx, ecx
shr edx, 0x10
mov bh, dl
xor edx, edx
mov word [esp + 0x48], bx
mov dl, ch
xor ebx, ebx
mov word [esp + 0x4a], si
mov bh, dl
xor edx, edx
mov dh, cl
mov ecx, dword [eax + 8]
mov word [esp + 0x44], dx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x4c], ecx
mov ecx, eax
mov dword [esp + 0x50], edx
shr ecx, 0x10
xor edx, edx
mov word [esp + 0x46], bx
mov dh, cl
xor ecx, ecx
mov word [esp + 0x58], dx
mov cl, ah
xor edx, edx
mov word [esp + 0x5a], si
mov dh, cl
xor ecx, ecx
mov word [esp + 0x56], dx
xor edx, edx
cmp edi, esi
mov ch, al
setne dl
push edx
mov edx, dword [esp + 0x70]
lea eax, [esp + 0x18]
mov word [esp + 0x58], cx
push 1
push eax
mov eax, dword [edx + 4]
lea ecx, [esp + 0x48]
push 2
push ecx
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 1
call dword [sym.imp.MSIMG32.dll_GradientFill]
mov ecx, dword [esp + 0x5c]
pop ebx
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x5c
ret 0x14