joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42afea
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4a5008], eax
je 0x42b006
mov eax, 0x10dd
jmp 0x42b0e5
mov eax, dword [0x4a500c]
test eax, eax
jne 0x42b0e5
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x42b023
push 6
pop eax
jmp 0x42b0e4
cmp dword [esi], 0
jne 0x42b03b
push 6
pop eax
mov dword [0x4a500c], eax
mov dword [0x4a5010], esi
jmp 0x42b0e4
push ebx
push edi
push 0x18
call fcn.0044b273
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x42b050
push 8
pop esi
jmp 0x42b0c7
mov edi, dword [esi]
mov esi, dword [ebp + 0xc]
call fcn.0042a6a7
movzx ecx, byte [edi + 0x17]
mov esi, dword [edi + 0x18]
xor edx, edx
sub esi, ecx
cmp ecx, edx
je 0x42b0bc
cmp ecx, 0x17
ja 0x42b0bc
cmp dword [edi + 0x1c], eax
jne 0x42b0bc
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push esi
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x42b092
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x42b0c7
mov eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov dword [ebx + 4], 1
mov dword [ebx + 0x10], edi
mov dword [ebx + 0xc], esi
mov eax, dword [ebp - 4]
mov dword [ebx + 0x14], eax
mov eax, dword [0x4a5018]
mov dword [ebx], eax
mov dword [0x4a5018], ebx
xor eax, eax
jmp 0x42b0e2
push 9
pop esi
cmp dword [0x4a5004], edx
jne 0x42b0cd
mov dword [0x4a500c], esi
test ebx, ebx
je 0x42b0d8
push ebx
call fcn.0044a602
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x4a5010], eax
mov eax, esi
pop edi
pop ebx
pop esi
leave
ret 8

Function at 0x42b108
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
jbe 0x42b138
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x42b13c
mov eax, dword [ebp - 4]
add dword [ebp + 0xc], eax
sub dword [ebp + 0x10], eax
jne 0x42b116
xor eax, eax
leave
ret
or eax, 0xffffffff
leave
ret
Function at 0x42b204
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1090
call fcn.0044cd80
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x102c], eax
call fcn.0042b141
xor ebx, ebx
mov dword [ebp - 0x1024], eax
cmp eax, ebx
je 0x42b3cc
push edi
mov edi, 0x7ff
push edi
lea eax, [ebp - 0x1003]
push ebx
push eax
mov byte [ebp - 0x1004], bl
call fcn.0044bcb0
push edi
lea eax, [ebp - 0x803]
push ebx
push eax
mov byte [ebp - 0x804], bl
call fcn.0044bcb0
push 0x38
lea eax, [ebp - 0x1064]
push ebx
push eax
call fcn.0044bcb0
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1058], eax
lea eax, [edi + 1]
add esp, 0x24
mov dword [ebp - 0x1054], eax
mov dword [ebp - 0x1038], eax
lea eax, [ebp - 0x1068]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x804]
push esi
mov dword [ebp - 0x1068], 0x3c
mov dword [ebp - 0x103c], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push dword [ebp - 0x1058]
push dword [ebp - 0x1024]
call fcn.0042b17c
pop ecx
pop ecx
mov dword [ebp - 0x1028], eax
cmp eax, ebx
je 0x42b3bf
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x103c]
push 0x493ac4
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
je 0x42b3b3
xor eax, eax
push 0x493ad0
lea ecx, [ebp - 0x1020]
mov dword [ebp - 0x100c], 7
mov dword [ebp - 0x1010], ebx
mov word [ebp - 0x1020], ax
call fcn.004032e2
cmp dword [ebp - 0x100c], 8
mov eax, dword [ebp - 0x1020]
jae 0x42b33e
lea eax, [ebp - 0x1020]
push 0x20000000
push dword [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x108c]
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x1090]
push eax
push esi
mov dword [ebp - 0x1090], 0x28
mov dword [ebp - 0x1074], edi
call fcn.0042b1c5
pop ecx
pop ecx
test eax, eax
je 0x42b394
push edi
push dword [ebp - 0x102c]
push esi
call fcn.0042b108
add esp, 0xc
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x1020]
call fcn.0040363d
push dword [ebp - 0x1028]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x1024]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a7da
leave
ret
Function at 0x42b53d
Capabilities:
Read data from internet
Receive data

Disassembly:
push 0x414
push 0x49a1f8
call fcn.00471ca0
mov edi, ecx
mov esi, edx
xor ebx, ebx
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 0x10
jb 0x42b55f
mov eax, dword [esi]
jmp 0x42b561
mov eax, esi
mov byte [eax], bl
mov dword [ebp - 0x424], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 0x41c], bl
mov dword [ebp - 0x420], ebx
push 0x400
push ebx
lea eax, [ebp - 0x41c]
push eax
call fcn.0044bcb0
add esp, 0xc
mov dword [ebp - 0x420], ebx
lea eax, [ebp - 0x420]
push eax
push 0x3ff
lea eax, [ebp - 0x41c]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov dword [ebp - 0x424], eax
cmp eax, ebx
je 0x42b5d5
cmp dword [ebp - 0x420], ebx
je 0x42b5e6
lea eax, [ebp - 0x41c]
push eax
mov ebx, dword [ebp - 0x420]
mov eax, esi
call fcn.0042bc64
xor ebx, ebx
cmp dword [ebp - 0x420], ebx
jne 0x42b578
jmp 0x42b5e6
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x424]
call fcn.00471ce8
ret
Function at 0x42b5f9
Capabilities:
Parse url
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x474af3
mov eax, dword fs:[0]
push eax
mov eax, 0x106c
call fcn.0044cd80
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ecx
push 0x492028
mov dword [ebp - 0x1034], esi
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x103c], ebx
call fcn.004099af
mov dword [ebp - 4], ebx
mov dword [ebp - 0x103c], 1
call fcn.0042b141
mov edi, eax
mov dword [ebp - 0x1038], edi
cmp edi, ebx
je 0x42b803
cmp dword [ebp + 0xc], ebx
je 0x42b69f
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea eax, [ebp + 0xc]
push eax
push 6
push edi
call esi
push 4
lea eax, [ebp + 0xc]
push eax
push 5
push edi
call esi
push 4
lea eax, [ebp + 0xc]
push eax
push 2
push edi
call esi
mov esi, 0x7ff
push esi
lea eax, [ebp - 0x80f]
push ebx
push eax
mov byte [ebp - 0x810], bl
call fcn.0044bcb0
push esi
lea eax, [ebp - 0x100f]
push ebx
push eax
mov byte [ebp - 0x1010], bl
call fcn.0044bcb0
push 0x38
lea eax, [ebp - 0x1074]
push ebx
push eax
call fcn.0044bcb0
lea eax, [ebp - 0x810]
mov dword [ebp - 0x1068], eax
lea eax, [esi + 1]
add esp, 0x24
mov dword [ebp - 0x1064], eax
mov dword [ebp - 0x1048], eax
lea eax, [ebp - 0x1078]
push eax
push ebx
push ebx
push dword [ebp - 0x1030]
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x1078], 0x3c
mov dword [ebp - 0x104c], ecx
call dword [sym.imp.WININET.dll_InternetCrackUrlA]
push dword [ebp - 0x1068]
push edi
call fcn.0042b17c
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ecx
pop ecx
mov dword [ebp - 0x1030], eax
cmp eax, ebx
je 0x42b800
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 0x104c]
push 0x493b34
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
cmp edi, ebx
je 0x42b7f2
xor eax, eax
push 0x493ad0
lea ecx, [ebp - 0x102c]
mov dword [ebp - 0x1018], 7
mov dword [ebp - 0x101c], ebx
mov word [ebp - 0x102c], ax
call fcn.004032e2
mov dword [ebp - 4], 1
cmp dword [ebp - 0x1018], 8
mov eax, dword [ebp - 0x102c]
jae 0x42b7ac
lea eax, [ebp - 0x102c]
push 0x20000000
push dword [ebp - 0x101c]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersW]
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov edx, dword [ebp - 0x1034]
mov ecx, edi
call fcn.0042b53d
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push edi
call esi
push ebx
push 1
lea ecx, [ebp - 0x102c]
call fcn.0040363d
push dword [ebp - 0x1030]
call esi
mov edi, dword [ebp - 0x1038]
push edi
call esi
mov eax, dword [ebp - 0x1034]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044a7da
leave
ret
Function at 0x42c7c3
Capabilities:
Enumerate process modules

Disassembly:
push 0x438
mov eax, 0x475e0e
call fcn.0044b825
mov eax, dword [ebp + 8]
push 0x2801
mov dword [ebp - 0x444], eax
mov dword [ebp - 0x440], 0x2800
call fcn.0044a56c
mov esi, eax
pop ecx
lea eax, [ebp - 0x440]
push eax
mov eax, dword [ebp - 0x440]
inc eax
push eax
push esi
push ebx
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x42c8b9
xor edi, edi
test dword [ebp - 0x440], 0xfffffffc
jbe 0x42c8b9
push 0x208
lea eax, [ebp - 0x420]
push eax
push dword [esi + edi*4]
push ebx
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
cmp eax, 4
jbe 0x42c8a7
lea eax, [ebp + eax*2 - 0x428]
push 0x493b60
push eax
call fcn.0044f97f
pop ecx
pop ecx
test eax, eax
jne 0x42c8a7
and dword [ebp - 0x42c], eax
mov word [ebp - 0x43c], ax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x43c]
mov dword [ebp - 0x428], 7
call fcn.004032e2
mov ecx, dword [ebp - 0x444]
and dword [ebp - 4], 0
lea eax, [ebp - 0x43c]
call fcn.00405187
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x43c]
call fcn.0040363d
mov eax, dword [ebp - 0x440]
inc edi
shr eax, 2
cmp edi, eax
jb 0x42c823
push esi
call fcn.0044a602
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0044b8a8
ret
Function at 0x42de9f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x4944d0
call fcn.0040bffc
cmp eax, 6
jg 0x42df15
je 0x42df0e
cmp eax, 0xfffffc18
je 0x42df07
cmp eax, 1
je 0x42df00
cmp eax, 2
je 0x42def9
cmp eax, 3
je 0x42def2
cmp eax, 4
je 0x42deeb
cmp eax, 5
jne 0x42df4b
mov esi, 0x4941ac
jmp 0x42df4b
mov esi, 0x49419c
jmp 0x42df4b
mov esi, 0x49418c
jmp 0x42df4b
mov esi, 0x494180
jmp 0x42df4b
mov esi, 0x494170
jmp 0x42df4b
mov esi, 0x494164
jmp 0x42df4b
mov esi, 0x4941bc
jmp 0x42df4b
sub eax, 7
je 0x42df46
dec eax
je 0x42df3f
dec eax
je 0x42df38
dec eax
je 0x42df31
sub eax, 0x3de
jne 0x42df4b
mov esi, 0x494210
jmp 0x42df4b
mov esi, 0x494204
jmp 0x42df4b
mov esi, 0x4941f0
jmp 0x42df4b
mov esi, 0x4941dc
jmp 0x42df4b
mov esi, 0x4941cc
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
push 0
push eax
mov dword [ebp - 0x118], 0x114
call fcn.0044bcb0
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x29
push dword [ebp - 0x10c]
mov ecx, esi
push 0x2e
push dword [ebp - 0x110]
push 0x2e
push dword [ebp - 0x114]
push edi
call fcn.0040f0ce
push eax
mov ecx, 0x494220
call fcn.0040f0ce
pop ecx
pop ecx
mov esi, eax
call fcn.0042e939
pop ecx
call fcn.004094fa
pop ecx
mov esi, eax
call fcn.0042e939
pop ecx
call fcn.004094fa
pop ecx
mov esi, eax
call fcn.0042e939
pop ecx
call fcn.004094fa
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, edi
pop esi
call fcn.0044a7da
leave
ret
Function at 0x42dfde
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 7
pop ecx
xor eax, eax
mov dword [ebp - 0x24], 0x20
lea edi, [ebp - 0x20]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 8]
add eax, 0xfffff
shr eax, 0x14
push eax
mov eax, dword [ebp - 0xc]
add eax, 0xfffff
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffff
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffff
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x18]
add eax, 0xfffff
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0xfffff
shr eax, 0x14
push eax
push dword [ebp - 0x20]
mov esi, ebx
call fcn.0042e939
push eax
mov ecx, 0x4942e0
call fcn.0040f0ce
mov edi, 0x494248
push eax
mov ecx, edi
call fcn.0040f0ce
add esp, 0xc
mov esi, eax
call fcn.0042e939
push eax
mov ecx, 0x4942c4
call fcn.0040f0ce
push eax
mov ecx, edi
call fcn.0040f0ce
add esp, 0xc
mov esi, eax
call fcn.0042e939
push eax
mov ecx, 0x4942a4
call fcn.0040f0ce
push eax
mov ecx, edi
call fcn.0040f0ce
add esp, 0xc
mov esi, eax
call fcn.0042e939
push eax
mov ecx, 0x49428c
call fcn.0040f0ce
push eax
mov ecx, edi
call fcn.0040f0ce
add esp, 0xc
mov esi, eax
call fcn.0042e939
push eax
mov ecx, 0x494270
call fcn.0040f0ce
push eax
mov ecx, edi
call fcn.0040f0ce
add esp, 0xc
mov esi, eax
call fcn.0042e939
push eax
mov ecx, 0x494254
call fcn.0040f0ce
push eax
mov ecx, edi
call fcn.0040f0ce
add esp, 0xc
mov esi, eax
call fcn.0042e939
push eax
mov ecx, 0x494224
call fcn.0040f0ce
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov eax, ebx
pop esi
call fcn.0044a7da
leave
ret

Function at 0x42e12d
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
push 0x2801
mov dword [ebp - 8], 0x2800
call fcn.0044a56c
mov ebx, eax
pop ecx
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
inc eax
push eax
push ebx
push dword [esi]
call dword [sym.imp.PSAPI.DLL_EnumProcessModules]
test eax, eax
je 0x42e197
xor edi, edi
test dword [ebp - 8], 0xfffffffc
jbe 0x42e197
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + edi*4]
lea edx, [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.0042e19e
push eax
mov ecx, 0x493c60
call fcn.0040f0ce
mov eax, dword [ebp - 8]
inc edi
shr eax, 2
pop ecx
cmp edi, eax
jb 0x42e16a
mov eax, dword [ebp + 8]
pop edi
pop ebx
leave
ret
Function at 0x42e51e
Capabilities:
Enumerate processes

Disassembly:
push 0x298
mov eax, 0x475220
call fcn.0044b825
mov eax, dword [ebp + 8]
push 0x228
mov dword [ebp - 0x29c], eax
xor edi, edi
lea eax, [ebp - 0x294]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x2a0], esi
mov dword [ebp - 0x298], 0x22c
call fcn.0044bcb0
add esp, 0xc
lea eax, [ebp - 0x298]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x42e67f
mov eax, 0xfde9
push eax
lea eax, [ebp - 0x274]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x48]
call fcn.00409428
add esp, 0xc
push dword [ebp - 0x290]
mov ecx, 0x494484
push dword [ebp - 0x29c]
mov ebx, eax
call fcn.0040f0ce
pop ecx
mov esi, eax
call fcn.0042e939
pop ecx
push eax
mov ecx, 0x494480
call fcn.0040f0ce
pop ecx
push eax
mov eax, ebx
call fcn.0040e3bf
pop ecx
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.004063d7
cmp dword [ebp - 0x290], edi
je 0x42e65b
push dword [ebp - 0x290]
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x42e65b
mov ecx, esi
lea ebx, [ebp - 0x64]
call fcn.0042dcc9
mov ecx, 0xfde9
push ecx
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], edi
call fcn.00409499
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
push edi
push 1
mov ecx, ebx
call fcn.0040363d
cmp dword [ebp - 0x1c], edi
je 0x42e649
push dword [ebp - 0x29c]
mov ecx, 0x494220
call fcn.0040f0ce
pop ecx
push eax
lea eax, [ebp - 0x2c]
call fcn.0040e3bf
pop ecx
push eax
mov ecx, 0x49448c
call fcn.0040f0ce
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004063d7
push dword [ebp - 0x29c]
mov ecx, 0x493c60
call fcn.0040f0ce
pop ecx
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x42e572
push dword [ebp - 0x2a0]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x29c]
call fcn.0044b8a8
ret
Function at 0x42e971
Capabilities:
Get graphical window text

Disassembly:
push 0x42c
mov eax, 0x474957
call fcn.0044b825
mov eax, dword [ebp + 8]
mov dword [ebx], eax
lea edi, [ebx + 4]
push 0xf
xor ecx, ecx
pop eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x10], ecx
mov dword [ebp - 0x438], ebx
mov byte [edi], cl
mov dword [ebp - 4], ecx
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], ecx
mov byte [ebx + 0x20], cl
xor eax, eax
mov dword [ebx + 0x50], 7
mov dword [ebx + 0x4c], ecx
mov word [ebx + 0x3c], ax
mov dword [ebx + 0x64], ecx
mov dword [ebx + 0x68], ecx
mov dword [ebx + 0x6c], ecx
mov byte [ebp - 4], 3
push dword [ebx]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
setne al
mov byte [ebx + 0x60], al
lea eax, [ebx + 0x58]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov dword [ebx + 0x5c], eax
mov esi, 0x80
push esi
lea eax, [ebp - 0x110]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push esi
lea eax, [ebp - 0x210]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClassNameW]
mov eax, 0xfde9
push eax
lea eax, [ebp - 0x110]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x434]
call fcn.00409428
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 4
call fcn.00409580
push 0
push 1
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 3
call fcn.004063d7
mov eax, 0xfde9
push eax
lea eax, [ebp - 0x210]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x434]
call fcn.00409428
add esp, 0xc
mov esi, eax
lea edi, [ebx + 0x20]
mov byte [ebp - 4], 5
call fcn.00409580
xor edi, edi
push edi
mov byte [ebp - 4], 3
push 1
lea ecx, [ebp - 0x434]
call fcn.004063d7
push dword [ebx + 0x58]
push edi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x42eade
push 0x104
lea eax, [ebp - 0x418]
push eax
push edi
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
test eax, eax
je 0x42ead7
lea eax, [ebp - 0x418]
push 0x5c
push eax
call fcn.0044bd2a
pop ecx
pop ecx
cmp eax, edi
je 0x42eac8
add eax, 2
jmp 0x42eace
lea eax, [ebp - 0x418]
push eax
lea ecx, [ebx + 0x3c]
call fcn.004032e2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
call fcn.0044b8a8
ret 4
Function at 0x42eae8
Capabilities:
Enumerate gui resources

Disassembly:
push 0x23c
mov eax, 0x4764f7
call fcn.0044b825
mov eax, dword [ebp + 8]
mov dword [ebp - 0x248], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
xor eax, eax
cmp ecx, eax
je 0x42ec91
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x23c], eax
push SysReAllocString
push 0x7c
lea ebx, [ebp - 0x244]
mov dword [ebp - 4], eax
call fcn.0040da34
xor edi, edi
pop ecx
pop ecx
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
mov dword [ebp - 0x228], edi
lea eax, [ebp - 0x230]
push eax
push 0x42ecff
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_EnumWindows]
test eax, eax
je 0x42ec7b
lea eax, [ebp - 0x214]
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 0x200
mov dword [ebp - 0x218], eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x230]
xor ebx, ebx
sar eax, 2
test eax, eax
je 0x42ec37
mov eax, dword [ebp - 0x240]
sub eax, dword [ebp - 0x244]
push 0x1c
cdq
pop ecx
idiv ecx
mov dword [ebp - 0x234], eax
jmp 0x42ebc0
xor edi, edi
cmp dword [ebp - 0x234], edi
jbe 0x42ec23
mov esi, dword [ebp - 0x244]
cmp dword [esi + 0x14], 8
jb 0x42ebd8
mov ecx, dword [esi]
jmp 0x42ebda
mov ecx, esi
mov eax, dword [ebp - 0x230]
mov eax, dword [eax + ebx*4]
add eax, 0x3c
cmp dword [eax + 0x14], 8
jb 0x42ebee
mov eax, dword [eax]
push ecx
push eax
call fcn.0044f97f
pop ecx
pop ecx
test eax, eax
je 0x42ec09
inc edi
add esi, 0x1c
cmp edi, dword [ebp - 0x234]
jb 0x42ebce
jmp 0x42ec23
mov eax, dword [ebp - 0x230]
push 0
push dword [eax + ebx*4]
lea eax, [ebp - 0x220]
push eax
call fcn.0042ed57
add esp, 0xc
mov eax, dword [ebp - 0x22c]
sub eax, dword [ebp - 0x230]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x42ebbe
mov eax, dword [ebp - 0x220]
mov ecx, dword [ebp - 0x218]
mov edi, dword [ebp - 0x248]
mov byte [ecx + eax], 0
mov edx, dword [ebp - 0x218]
push eax
xor ecx, ecx
mov ebx, 0x4944d8
call fcn.00430a89
lea eax, [ebp - 0x214]
pop ecx
cmp dword [ebp - 0x218], eax
je 0x42ec7b
push dword [ebp - 0x218]
call fcn.0044c187
pop ecx
lea esi, [ebp - 0x230]
call fcn.0042ef6d
lea ecx, [ebp - 0x244]
call fcn.0040539f
call fcn.0044b8a8
ret
Function at 0x42fc13
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50c
mov eax, dword [0x4a0d38]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x50c], eax
mov byte [ebp - 0x4f9], bl
mov dword [ebp - 0x500], ebx
cmp byte [ebp - 0x4f9], bl
jne 0x42fe0a
push 0xff
lea eax, [ebp - 0x103]
push ebx
push eax
mov byte [ebp - 0x104], bl
call fcn.0044bcb0
push 0x3e7
lea eax, [ebp - 0x4eb]
push ebx
push eax
mov byte [ebp - 0x4ec], bl
call fcn.0044bcb0
push dword [ebp - 0x500]
lea eax, [ebp - 0x104]
push 0x4945a8
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x24
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x504], eax
cmp eax, 0xffffffff
je 0x42fdf7
push 0x2710
push 8
mov dword [ebp - 0x508], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, ebx
je 0x42fdeb
xor eax, eax
lea edi, [ebp - 0x4f8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x508]
push eax
mov edi, 0x2710
push edi
push esi
push 0xc
lea eax, [ebp - 0x4f8]
push eax
push 0x2d1400
push dword [ebp - 0x504]
mov dword [ebp - 0x4f8], ebx
mov dword [ebp - 0x4f4], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42fd5e
mov eax, dword [esi + 0x18]
cmp eax, ebx
je 0x42fd5e
lea ecx, [ebp - 0x4ec]
push ecx
add eax, esi
push eax
call fcn.00430720
lea eax, [ebp - 0x4ec]
push eax
call fcn.00430887
movsx ax, byte [ebp - 0x4ec]
movzx eax, ax
add esp, 0xc
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
jne 0x42fdbe
push edi
push ebx
push esi
call fcn.0044bcb0
add esp, 0xc
push ebx
lea eax, [ebp - 0x508]
push eax
push edi
push esi
push ebx
push ebx
push 0x2d0c10
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42fddc
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x4ec]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x4ec]
push eax
call fcn.00430887
movsx ax, byte [ebp - 0x4ec]
movzx eax, ax
pop ecx
push eax
call dword [sym.imp.USER32.dll_IsCharAlphaNumericW]
test eax, eax
je 0x42fddc
push 0x31
lea eax, [ebp - 0x4ec]
push eax
push dword [ebp - 0x50c]
call fcn.0044ab60
mov byte [ebp - 0x4f9], 1
add esp, 0xc
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc dword [ebp - 0x500]
cmp dword [ebp - 0x500], 0x10
jl 0x42fc40
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x4f9]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044a7da
leave
ret