joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d760
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44d793
push esi
call fcn.00450870
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44d78c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44d819
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44d802
mov eax, dword [esi + 8]
test eax, eax
je 0x44d7b7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44d7fe
cmp eax, 2
je 0x44d802
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44d7aa
cmp eax, 3
je 0x44d7dd
cmp eax, 1
jne 0x44d7aa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44d7aa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44d7aa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044d840
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44d828
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044d840
add esp, 4
pop esi
ret

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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x458ba6
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x458ba6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x458b87
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x458ea0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x458ed8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x459580
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4595c9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x459a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b0080
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.004595f0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00459670
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00459670
lea ecx, [esi + 0xc]
call fcn.004a1b92
lea ecx, [esi + 0x10]
call fcn.004a1b92
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0045ac00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0045ac00
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0045ac00
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004a1c07
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004a1c07
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4677b0
Capabilities:
Get socket status
Send data
Send data on socket

Disassembly:
sub esp, 0x15c
mov eax, dword [esp + 0x160]
push ebx
push ebp
push esi
push edi
push eax
lea ecx, [esp + 0x38]
push str._Msg0001_4__Msg0001__s
push ecx
call fcn.0048f8dc
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [0xb5e90c]
repne scasb al, byte es:[edi]
mov eax, dword [str.0001]
mov dword [esp + 0x2c], edx
not ecx
dec ecx
mov dword [esp + 0x30], eax
mov ebx, ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x34], ebx
mov dword [esp + 0x3c], ebx
lea eax, [ebx + 0x14]
push eax
mov dword [esp + 0x20], eax
call fcn.0048ecc7
mov ebp, eax
mov ecx, 5
lea esi, [esp + 0x30]
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea esi, [esp + 0x44]
mov edx, ecx
lea edi, [ebp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
add esp, 0x10
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x174]
xor esi, esi
mov dword [esp + 0x14], esi
lea eax, [esp + 0x18]
lea ecx, [esp + 0x68]
push eax
push 0
push ecx
lea eax, [edi + 1]
push 0
push eax
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], 1
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0x186a0
call sub.WS2_32.dll_select
test eax, eax
jl 0x4678c0
je 0x4678b2
lea edx, [esp + 0x68]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4678b2
mov ebx, dword [esp + 0x10]
add ebp, esi
sub ebx, esi
push 0
push ebx
push ebp
push edi
mov dword [esp + 0x20], ebx
call sub.WS2_32.dll_send
mov esi, eax
test esi, esi
jl 0x4678c0
cmp esi, ebx
jge 0x4678c0
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 0xa
mov dword [esp + 0x14], eax
jl 0x467847
push ebp
call fcn.0048ebde
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret

Function at 0x46c980
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
test esi, esi
push edi
jne 0x46c990
mov esi, 1
push esi
call fcn.0048ecc7
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x46c9e2
call fcn.0049007b
mov edi, eax
call fcn.0046f4d0
mov ecx, dword [edi]
mov dword [eax], ecx
mov eax, dword [esp + 0x14]
mov edi, eax
and edi, 8
je 0x46c9c6
mov edx, dword [0xb61128]
mov dword [0xb61124], edx
test al, 0x18
je 0x46c9d7
push esi
push 0x24
push 5
call fcn.0046fd20
add esp, 0xc
test edi, edi
je 0x46c9fd
push 1
call fcn.00490430
test byte [esp + 0x14], 0x20
je 0x46c9fd
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
pop edi
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x46db00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov edx, dword [ebp + 0x10]
test edx, edx
push ebx
push esi
push edi
je 0x46dbf4
cmp byte [edx], 0
je 0x46dbe7
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
add eax, 8
or ecx, 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
push ecx
mov esi, ebx
call fcn.0046da80
mov edi, dword [ebp + 0xc]
push 8
lea edx, [esp + 0x20]
push edi
push edx
call fcn.0046da80
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
xor eax, edx
push eax
xor ecx, dword [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
call fcn.0046d9f0
mov eax, dword [esp + 0x30]
add esp, 0x24
cmp edi, eax
jae 0x46dbb1
sub eax, edi
mov edi, eax
lea eax, [esp + 0x20]
push eax
call fcn.0046da30
fmul qword [0xa78050]
push ecx
fstp qword [esp]
call fcn.0048d668
fadd qword [0xa78048]
add esp, 8
call fcn.0048d738
mov byte [ebx], al
inc ebx
dec edi
jne 0x46db84
lea ecx, [esp + 0x20]
push ecx
call fcn.0046da30
fmul qword [0xa78050]
push ecx
fstp qword [esp]
call fcn.0048d668
add esp, 8
call fcn.0048d738
cmp esi, ebx
je 0x46dbdd
xor byte [esi], al
inc esi
cmp esi, ebx
jne 0x46dbd6
mov byte [ebx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov byte [edx], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
pop edi
pop esi
mov byte [eax], 0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46dfc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
push esi
lea eax, [ebx + 0x134]
push edi
lea esi, [ebx + 0x34]
mov dword [esp + 0x14], eax
xor edi, edi
mov ecx, dword [ebx + 0x1c]
mov ebp, edi
and ebp, 0xff
mov al, byte [ecx + ebp + 1]
test al, 3
je 0x46dff0
mov byte [edi + esi], 2
jmp 0x46e027
test al, 4
je 0x46dffa
mov byte [edi + esi], 0xd
jmp 0x46e027
mov edx, dword [ebx + 0x240]
push edi
push ebx
call dword [edx + 4]
add esp, 8
cmp eax, 1
jle 0x46e013
mov byte [edi + esi], 2
jmp 0x46e027
mov eax, dword [ebx + 0x1c]
test byte [eax + ebp + 1], 0x17
jne 0x46e023
mov byte [edi + esi], 0x19
jmp 0x46e027
mov byte [edi + esi], 1
inc edi
cmp edi, 0x100
jb 0x46dfd7
mov ecx, dword [esp + 0x14]
mov al, 7
mov byte [esi + 0x21], al
mov byte [esi + 0x3d], al
mov byte [esi + 0x3e], al
mov al, 0x10
mov byte [esi + 0x7c], al
mov byte [esi + 0x26], al
mov byte [esi + 0x24], 2
mov byte [esi + 0x5f], 2
mov byte [esi + 0x27], 9
mov byte [esi + 0x2e], 0xf
mov byte [esi + 0x3c], 8
mov byte [esi + 0x23], 0xa
mov byte [esi + 0x3b], 0x15
mov byte [esi + 0x3a], 0x16
mov byte [esi], 0x11
mov byte [esi + 0x5c], 0x12
mov byte [esi + 0x2f], 0x13
mov byte [esi + 0x2a], 0x14
mov byte [esi + 0x40], 0x17
mov byte [esi + 0x60], 0x1a
mov byte [esi + 0x22], 0x20
mov eax, esi
sub ecx, esi
mov edi, 0x100
mov dl, byte [eax]
cmp dl, 2
je 0x46e09b
cmp dl, 0xd
je 0x46e09b
xor edx, edx
jmp 0x46e0a0
mov edx, 1
mov byte [ecx + eax], dl
inc eax
dec edi
jne 0x46e08b
mov al, 0x1d
mov byte [esi + 0x58], al
mov byte [esi + 0x78], al
mov al, 0x1f
pop edi
mov byte [esi + 0x62], 0x1e
mov byte [esi + 0x4e], al
mov byte [esi + 0x6e], al
pop esi
pop ebp
pop ebx
ret

Function at 0x46e0c0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push ebx
push 0x4000
call fcn.0046c980
mov esi, eax
add esp, 8
test esi, esi
jne 0x46e0e1
pop edi
pop esi
xor al, al
pop ebx
ret
mov eax, dword [esp + 0x10]
push ebx
push 0
push eax
call fcn.0046f710
mov edi, eax
add esp, 0xc
test edi, edi
jge 0x46e106
push esi
call fcn.0046ca10
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
ret
push ebp
push 0x4000
push esi
push edi
call fcn.0049a5a2
push ebx
push edi
mov ebp, eax
call fcn.0046f780
push 0x46e140
push ebp
push esi
call fcn.00470ab0
push esi
call fcn.0046ca10
add esp, 0x24
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret
Function at 0x46f440
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push 0xc4bd60
xor bl, bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0xc4bc88]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x46f4bb
push 0x4c
push 1
call fcn.0048fde8
mov esi, eax
add esp, 8
test esi, esi
jne 0x46f483
push 0xc4bd60
mov bl, 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret
mov ecx, dword [0xc4bc88]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov eax, dword [0xc3efdc]
inc eax
lea edx, [esi + 0xc]
mov dword [0xc3efdc], eax
push edx
mov dword [esi + 0x30], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esi + 4]
push 0
push eax
call fcn.00472f50
add esp, 8
mov byte [esi + 0x3c], 1
push 0xc4bd60
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
mov al, bl
pop ebx
ret

Function at 0x46f940
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.0049007b
mov ebx, dword [esp + 0x14]
mov dword [eax], 0
mov eax, dword [esp + 0x18]
push edi
push eax
push ebx
call fcn.0049a5a2
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x46fa3a
call fcn.0049007b
cmp dword [eax], 0
je 0x46f987
call fcn.0049007b
mov ebp, dword [eax]
jmp 0x46f98a
or ebp, 0xffffffff
call fcn.0046f4d0
test esi, esi
mov dword [eax], ebp
jne 0x46f99f
call fcn.0049007b
cmp dword [eax], 4
je 0x46f9ef
mov eax, dword [esp + 0x20]
test al, 0x1a
je 0x46f9d2
cmp esi, 0xffffffff
je 0x46fa14
test al, 6
je 0x46f9d2
call fcn.0046f4d0
mov ecx, dword [eax]
push ecx
push ebx
call fcn.00472f80
add esp, 4
push eax
push 0x24
push 9
call fcn.0046fd20
mov eax, dword [esp + 0x30]
add esp, 0x10
cmp esi, 0xffffffff
je 0x46fa32
test al, 6
je 0x46f9e0
test ah, 2
je 0x46fa32
test esi, esi
jbe 0x46fa3e
test ah, 2
je 0x46fa3e
add dword [esp + 0x18], esi
sub edi, esi
call fcn.0049007b
mov edx, dword [esp + 0x18]
push edi
push edx
push ebx
mov dword [eax], 0
call fcn.0049a5a2
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x46fa3a
jmp 0x46f974
call fcn.0046f4d0
mov eax, dword [eax]
push eax
push ebx
call fcn.00472f80
add esp, 4
push eax
push 0x24
push 2
call fcn.0046fd20
add esp, 0x10
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x20]
test al, 6
je 0x46fa4b
xor esi, esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret
test ah, 2
je 0x46fa54
mov esi, dword [esp + 0x1c]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x49181f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00490008
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x491842
test byte [esp + 8], 2
je 0x491842
call fcn.0049007b
mov dword [eax], 0xd
call fcn.00490084
mov dword [eax], 5
jmp 0x49181b
xor eax, eax
ret
Function at 0x4a3fae
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a3fe6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004a2062
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004a203a
jmp 0x4a3ff2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a56a1
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 0x4a56e3
call fcn.004ab215
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a56e3
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a56da
xor eax, eax
jmp 0x4a56eb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a56f1
pop edi
pop esi
pop ebx
ret 4

Function at 0x4ab745
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 0x4ab773
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4ab791
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004ab6ab
jmp 0x4ab791
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4ab791
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004ab6ab
test edi, edi
mov eax, edi
jne 0x4ab77b
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x32030263
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x32030272
pop dword [ebp - 0x4c]
mov eax, 0x120d8e96
sub eax, 0xe00a8c24
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x2c69af4c
sub dword [ebp - 0x5c], 0xde176a01
mov dword [ebp - 0x58], 0xfa31c281
sub dword [ebp - 0x58], 0xc7fe763c
mov dword [ebp - 0x54], 0x26be5e23
sub dword [ebp - 0x54], 0xda7219f5
mov dword [ebp - 0x50], 0x1afd203c
sub dword [ebp - 0x50], 0x1afd203c
lea eax, [ebp - 0x5c]
push eax
mov eax, 0xdc2cefee
add eax, 0x55d84096
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x5fdd7f1
add dword [ebp - 0x5c], 0x6e749165
mov dword [ebp - 0x58], 0x7a792a1d
sub dword [ebp - 0x58], 0x390cc8a8
mov dword [ebp - 0x54], 0xf2079c7
sub dword [ebp - 0x54], 0xabb10d5b
mov dword [ebp - 0x50], 0x7faeae8c
add dword [ebp - 0x50], 0x80515174
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x5eeeece
add eax, 0x2c1641ae
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x482e5
push 0
call eax
mov ecx, 0x4d6c596e
sub ecx, 0x4d6c0e1c
xor edx, edx
add edx, eax
mov ebx, 0x771dd499
add ebx, 0xbae9cd67
add ebx, dword [ebp - 0x4c]
mov esi, 0x4892e3ca
sub esi, 0x98c7759f
sub dword [ebp - 0xc], 0xbc1a47d7
mov edi, dword [ebx]
xor dword [ebp - 0x18], 0xb34bd590
xor edi, esi
add dword [ebp - 0x18], eax
mov dword [edx], edi
sub dword [ebp - 0x24], ecx
add edx, 0xf8270b97
sub edx, 0xf8270b93
add ebx, 0x56f2d4e2
add ebx, 0xa90d2b22
loop 0x32030396
add eax, 0x7d0c1ced
sub eax, 0x7d0afcd2
mov ebx, eax
add eax, 0x6a0490a5
add eax, 0x95fb6f60
mov ecx, 0xb1e15eb5
sub ecx, 0x7fe15eb5
Function at 0x4031b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c1141
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4d88f0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.00403060
xor ebx, ebx
mov dword [esp + 0x18], ebx
lea ecx, [esi + 0x30]
call fcn.00431500
mov byte [esp + 0x18], 1
lea ecx, [esi + 0x1ef0]
call fcn.0045cec0
mov byte [esp + 0x18], 2
mov eax, dword [esp + 0x20]
mov byte [esi + 0x1eec], bl
mov byte [esi + 0x1eed], bl
mov dword [esi + 0x1edc], ebx
mov dword [esi + 0x1ee0], ebx
mov dword [esi + 0x1ee4], ebx
mov dword [esi + 0x1ee8], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x1ed8], ebx
mov dword [esi + 0x1f4c], esi
mov dword [esp + 0x18], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x406ca0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x2e0
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0x2dc], eax
push ebx
push ebp
mov ebp, dword [esp + 0x2fc]
push esi
push edi
mov edi, dword [esp + 0x2f4]
mov ebx, ecx
push 0x808
mov dword [esp + 0x38], ebx
call fcn.004b0160
mov ecx, dword [esp + 0x300]
mov esi, eax
mov eax, dword [esp + 0x2fc]
add esp, 4
push edi
mov dword [esi], eax
mov dword [esi + 4], ecx
call fcn.0046f090
lea edx, [esi + 8]
movzx ecx, word [eax]
mov word [edx], cx
add eax, 2
add edx, 2
test cx, cx
jne 0x406cf7
cmp dword [ebx + 4], 0x50000
jb 0x406d27
call fcn.00444190
cmp eax, 0x400
je 0x406d27
cmp byte [esp + 0x310], 0
jne 0x406d72
mov ebx, dword [esp + 0x300]
cmp ebx, 0xffffffff
je 0x406d37
test ebp, ebp
jne 0x406d79
cmp dword [esp + 0x2f8], 2
mov eax, 0x4201
jne 0x406d4b
mov eax, 0x4203
push eax
push 0x2b4
lea edx, [esp + 0x40]
push edx
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
cmp ebx, 0xffffffff
jne 0x406d68
mov ebx, dword [esp + 0x3c]
test ebp, ebp
jne 0x406d79
lea ebp, [esp + 0x44]
jmp 0x406d79
mov ebx, dword [esp + 0x300]
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x10], 0x37
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x406db7
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x30c]
mov ecx, dword [esp + 0x308]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x38]
push 0
mov dword [esp + 0x34], ecx
mov ecx, dword [eax]
push 0x40b
push ecx
mov dword [esp + 0x40], esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x2ec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004af72c
add esp, 0x2e0
ret 0x20
Function at 0x407980
Capabilities:
Get common file path
Get file system object information

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0x2d0], eax
push edi
mov edi, ecx
mov eax, dword [edi]
test eax, eax
je 0x407aa9
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14b
push eax
call esi
lea eax, [esp + 0xc]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x407a1f
mov edx, dword [esp + 0xc]
push 0x4209
push 0x2b4
lea ecx, [esp + 0x18]
push ecx
push eax
push edx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
push eax
mov eax, dword [edi]
push 0
push 0x402
push eax
call esi
mov eax, dword [0x53dddc]
mov edx, dword [esp + 0xc]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov edx, dword [esp + 0x14]
push 0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x28]
push ecx
push edx
push 0
mov eax, ecx
push 1
push eax
mov ecx, edi
call fcn.00406ca0
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jne 0x407a48
mov edx, dword [esp + 8]
push eax
push eax
push edx
mov ecx, edi
call fcn.00407160
test al, al
jne 0x407aa1
push ebx
push ebp
call fcn.0048a770
mov ebp, eax
xor esi, esi
mov ebx, 1
test ebp, ebx
je 0x407a97
lea eax, [esi + 0x41]
push eax
lea ecx, [esp + 0x2d0]
push 0x4c5888
push ecx
mov edx, 0xa
call fcn.00407140
add esp, 0xc
push 1
push 0xffffffffffffffff
push 2
push 0
push 0xffffffffffffffff
push 0
push 0
lea edx, [esp + 0x2e8]
push edx
mov ecx, edi
call fcn.00406ca0
inc esi
rol ebx, 1
cmp esi, 0x20
jl 0x407a58
pop ebp
pop ebx
mov ecx, edi
call fcn.004076e0
pop esi
mov ecx, dword [esp + 0x2d4]
pop edi
xor ecx, esp
call fcn.004af72c
add esp, 0x2d4
ret
Function at 0x407ac0
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
sub esp, 0x804
mov eax, dword [0x4d88f0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
push 0x400
mov esi, ecx
mov ecx, dword [esi]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea edx, [esp + 8]
push edx
call fcn.0044bd80
mov ecx, dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esp + 8]
push eax
push 0xffffffffffffffff
push 0x158
push ecx
call edi
cmp eax, 0xffffffff
je 0x407b68
mov edx, dword [esi]
push 0
push eax
push 0x14e
push edx
call edi
mov ecx, esi
call fcn.00407860
cmp byte [0x519779], 0
mov ecx, esi
je 0x407b4c
call fcn.004074b0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004af72c
add esp, 0x804
ret
call fcn.004070b0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004af72c
add esp, 0x804
ret
cmp byte [0x519779], 0
je 0x407ba5
lea eax, [esp + 8]
push eax
call fcn.00456a50
test al, al
jne 0x407ba5
lea ecx, [esp + 8]
push ecx
mov ecx, 0x5200a8
call fcn.00449ba0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004af72c
add esp, 0x804
ret
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x407bdf
test al, 0x10
jne 0x407bdf
lea eax, [esp + 8]
push eax
mov ecx, 0x5200a8
call fcn.004499f0
pop edi
pop esi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004af72c
add esp, 0x804
ret
lea ecx, [esp + 8]
push ecx
call fcn.00492f70
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
call fcn.004af72c
add esp, 0x804
ret