joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408670
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b4a41
mov eax, dword fs:[0]
push eax
sub esp, 0x10c
mov eax, dword [0x76a02c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0046fdc0
mov ecx, dword [edi + 0x54]
lea esi, [edi + 0x54]
call fcn.0047ac30
push eax
push dword [edi + 0x590]
call dword [0x77ce44]
lea eax, [ebp - 0x94]
push eax
call fcn.0047a930
add esp, 0xc
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00470010
push eax
push dword [edi + 0x590]
call dword [0x77ce40]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0046fdc0
lea eax, [ebp - 0x94]
push eax
call fcn.0047a930
add esp, 4
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.00470010
push eax
push dword [edi + 0x590]
call dword [0x77ce3c]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94]
call fcn.0046fdc0
push str.WkeBrowser
push dword [edi + 0x590]
call dword [0x77ce38]
push 1
push dword [edi + 0x590]
call dword [0x77ce34]
push 0
push dword [edi + 0x590]
call dword [0x77ce30]
push 0
push dword [edi + 0x590]
call dword [0x77ce2c]
lea eax, [ebp - 0x118]
push eax
call fcn.0047a930
add esp, 0x24
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00470010
push eax
push dword [edi + 0x590]
call dword [0x77ce28]
add esp, 8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x118]
call fcn.0046fdc0
mov ecx, dword [esi]
call fcn.0047b110
movzx eax, al
push eax
push dword [edi + 0x590]
call dword [0x77ce24]
push 0
push dword [edi + 0x590]
call dword [0x77ce20]
push edi
push 0x409330
push dword [edi + 0x590]
call dword [0x77ce1c]
push edi
push 0x409370
push dword [edi + 0x590]
call dword [0x77ce18]
push edi
push 0x409410
push dword [edi + 0x590]
call dword [0x77ce14]
push edi
push 0x409480
push dword [edi + 0x590]
call dword [0x77ce10]
add esp, 0x40
push edi
push 0x4094c0
push dword [edi + 0x590]
call dword [0x77ce0c]
push edi
push 0x4094f0
push dword [edi + 0x590]
call dword [0x77ce08]
push edi
push 0x409530
push dword [edi + 0x590]
call dword [0x77ce04]
push edi
push 0x409660
push dword [edi + 0x590]
call dword [0x77ce00]
push edi
push 0x409310
push dword [edi + 0x590]
call dword [0x77cdfc]
push edi
push 0x4093d0
push dword [edi + 0x590]
call dword [0x77cdf8]
add esp, 0x48
push edi
push 0x409610
push dword [edi + 0x590]
call dword [0x77cdf4]
push edi
push 0x409620
push dword [edi + 0x590]
call dword [0x77cdf0]
push str.Mozilla_5.0__Windows_NT_6.1__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_69.0.2228.0_Safari_537.36
push dword [edi + 0x590]
call dword [0x77cdec]
mov eax, dword [edi + 0x56c]
lea ecx, [edi + 0x56c]
add esp, 0x20
push edi
call dword [eax]
mov ecx, dword [esi]
lea eax, [edi + 0x568]
neg edi
sbb edi, edi
and edi, eax
push edi
call fcn.004796c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468d3e
mov esp, ebp
pop ebp
ret
Function at 0x408cc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b4a91
mov eax, dword fs:[0]
push eax
sub esp, 0x31c
mov eax, dword [0x76a02c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x77c91c]
test eax, eax
je 0x408d05
call eax
test eax, eax
je 0x408d05
mov al, 1
jmp 0x408e75
push 0xffffffffffffffff
push esi
lea ecx, [ebp - 0x324]
call fcn.0046fbd0
lea ecx, [ebp - 0x324]
mov dword [ebp - 4], 0
call fcn.00470d60
test al, al
je 0x408d39
push 0x77cf00
lea ecx, [ebp - 0x324]
call fcn.0046fed0
lea eax, [ebp - 0x324]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.0046fb90
lea ecx, [ebp - 0x2a0]
mov byte [ebp - 4], 1
call fcn.00470010
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
jne 0x408dee
push 0x20a
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00530310
add esp, 0xc
lea eax, [ebp - 0x21c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push 0x5c
push eax
call fcn.0052fcca
add esp, 8
test eax, eax
je 0x408daf
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x2a0]
call fcn.0046ff00
lea ecx, [ebp - 0x324]
call fcn.00470010
push eax
lea ecx, [ebp - 0x2a0]
call fcn.00470250
lea ecx, [ebp - 0x2a0]
call fcn.00470010
push eax
call esi
test eax, eax
jne 0x408dee
xor bl, bl
jmp 0x408e5d
lea ecx, [ebp - 0x2a0]
call fcn.00470010
mov dword [0x7729c4], eax
call fcn.0040a340
push 2
push 0
push 0x4096a0
push str.jsExternal
call dword [0x77ccd8]
add esp, 0x10
push 0x408350
sub esp, 0x84
mov ecx, esp
mov dword [ebp - 0x328], esp
push 0xffffffffffffffff
push str.CWkeWebkitUI
call fcn.0046fbd0
mov byte [ebp - 4], 2
call fcn.004c5510
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.004c55e0
mov eax, dword [0x77c91c]
test eax, eax
je 0x408e58
call eax
test eax, eax
setne bl
lea ecx, [ebp - 0x2a0]
call fcn.0046fdc0
lea ecx, [ebp - 0x324]
call fcn.0046fdc0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00468d3e
mov esp, ebp
pop ebp
ret
Function at 0x40dc00
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov dl, 1
lea eax, [esi + 0xc]
xchg byte [eax], dl
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 4]
test eax, eax
je 0x40dc58
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40dc51
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov dword [esi + 4], 0
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x419800
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b581f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x76a02c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov dword [esi], 0x744954
mov dword [esi + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov dword [ebp - 0x14], 1
mov eax, dword [eax + 4]
mov dword [esi + eax], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [esi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 4], eax
mov eax, dword [esi]
mov ebx, dword [eax + 4]
add ebx, esi
mov ecx, ebx
call fcn.004174c0
mov eax, dword [ebx + 0x30]
lea edi, [esi + 4]
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], 0
mov dword [ebp - 4], 2
mov esi, dword [eax + 4]
mov ecx, esi
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
call dword [eax + 4]
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 3
push eax
call fcn.00414980
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov byte [ebp - 0xd], al
mov dword [ebp - 4], 4
mov ecx, esi
mov edx, dword [esi]
call dword [edx + 8]
test eax, eax
je 0x4198d4
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov al, byte [ebp - 0xd]
mov byte [ebp - 4], 1
cmp dword [ebx + 0x38], 0
mov byte [ebx + 0x40], al
jne 0x4198f4
mov eax, dword [ebx + 0xc]
mov ecx, ebx
or eax, 4
push 0
push eax
call fcn.00411950
mov dword [ebp - 4], 5
mov ebx, dword [ebp - 0x18]
push 8
mov eax, dword [ebx]
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], edi
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00468d62
mov esi, eax
push 1
mov byte [ebp - 4], 6
call fcn.0046b075
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, ebx
mov dword [edi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41f0e0
Capabilities:
Delete registry key
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x624
mov eax, dword [0x76a02c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.ole32.dll_StringFromGUID2]
lea eax, [ebp - 0x61c]
push edi
push 0x104
push eax
push 0x745130
call esi
lea eax, [ebp - 0x61c]
push eax
push str.CLSID_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041c640
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteTreeW]
mov edi, eax
add esp, 0x10
test edi, edi
js 0x41f163
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call ebx
mov edi, eax
test edi, edi
jle 0x41f158
movzx edi, di
or edi, 0x80070000
xor eax, eax
cmp edi, 0x80070002
cmove edi, eax
push str.FolderViewSampleType
push SysReAllocString
call ebx
test eax, eax
jle 0x41f17b
movzx eax, ax
or eax, 0x80070000
xor ecx, ecx
cmp eax, 0x80070002
push 0x104
cmovne ecx, eax
lea eax, [ebp - 0x414]
push eax
push 0x745140
mov dword [ebp - 0x624], ecx
call esi
lea eax, [ebp - 0x414]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerMyComputerNameSpace_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041c640
mov esi, eax
add esp, 0x10
test esi, esi
js 0x41f27a
lea eax, [ebp - 0x20c]
push eax
push reloc.gdiplus.dll_Ordinal_1
call ebx
test eax, eax
jle 0x41f1e2
movzx eax, ax
or eax, 0x80070000
xor esi, esi
cmp eax, 0x80070002
cmovne esi, eax
test esi, esi
js 0x41f27a
lea eax, [ebp - 0x414]
push eax
push str.CLSID_s
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0041c640
mov esi, eax
add esp, 0x10
test esi, esi
js 0x41f27a
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call ebx
test eax, eax
jle 0x41f234
movzx eax, ax
or eax, 0x80070000
xor esi, esi
cmp eax, 0x80070002
cmovne esi, eax
mov ebx, esi
test ebx, ebx
js 0x41f27a
lea eax, [ebp - 0x620]
push eax
push 0x11
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
js 0x41f27a
push 0
push dword [ebp - 0x620]
push 0
push 0x1000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
push dword [ebp - 0x620]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
js 0x41f29e
test esi, esi
js 0x41f29e
cmp dword [ebp - 0x624], 0
jl 0x41f29e
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00468d3e
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 0x80040201
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00468d3e
mov esp, ebp
pop ebp
ret
Function at 0x421280
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b4d80
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x76a02c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00468d62
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.0046b075
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x421380
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b6087
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x76a02c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x4213d5
mov dword [edi], 0x744954
mov dword [edi + 0x50], vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi - 4], eax
mov eax, dword [edi]
mov esi, dword [eax + 4]
add esi, edi
mov ecx, esi
call fcn.004174c0
lea ebx, [edi + 4]
mov dword [esi + 0x3c], 0
push 0x20
mov ecx, esi
mov dword [esi + 0x38], ebx
call fcn.00421030
cmp dword [esi + 0x38], 0
mov word [esi + 0x40], ax
jne 0x42142b
mov eax, dword [esi + 0xc]
mov ecx, esi
or eax, 4
push 0
push eax
call fcn.00411950
mov dword [ebp - 4], 2
mov eax, dword [edi]
push 8
mov dword [ebp + 0xc], ebx
mov eax, dword [eax + 4]
mov dword [edi + eax], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [edi]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + edi - 4], eax
mov dword [ebx], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.00468d62
add esp, 4
mov esi, eax
push 1
mov byte [ebp - 4], 3
call fcn.0046b075
mov dword [esi + 4], eax
lea ecx, [ebx + 8]
lea eax, [ebx + 4]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0xc], eax
add esp, 4
lea eax, [ebx + 0x14]
mov dword [ebx + 0x34], esi
mov dword [ebx + 0x1c], eax
lea eax, [ebx + 0x18]
mov dword [ebx + 0x20], eax
lea eax, [ebx + 0x24]
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x28]
mov dword [ebx + 0x30], eax
mov dword [ecx], 0
mov eax, dword [ebx + 0x20]
mov dword [eax], 0
mov eax, dword [ebx + 0x30]
mov dword [eax], 0
mov eax, dword [ebx + 0xc]
mov dword [eax], 0
mov eax, dword [ebx + 0x1c]
mov dword [eax], 0
mov eax, dword [ebx + 0x2c]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov ecx, eax
not ecx
mov dword [ebx], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
and ecx, 1
mov dword [ebx + 0x38], 0
shl ecx, 2
mov edx, ecx
or edx, 8
and al, 8
cmove edx, ecx
mov ecx, dword [ebp + 8]
mov eax, edx
or eax, 0x10
and cl, 4
cmove eax, edx
mov dword [ebx + 0x3c], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x429050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4290a9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4290a9
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x42909a
cmp esi, edx
jae 0x4290a9
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x429088
cmp esi, edx
jae 0x4290a9
cmp word [esi], 0
je 0x4290a9
mov eax, esi
pop esi
pop ebp
ret
xor eax, eax
pop esi
pop ebp
ret

Function at 0x429640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b6980
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x76a02c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.CBlockConfirmWnd.5.0
or edi, 0xffffffff
mov dword [esi + 0x24], vtable.CBlockConfirmWnd.4.0
mov eax, edi
mov dword [esi + 0x28], vtable.CBlockConfirmWnd.3.0
mov dword [esi + 0x2c], vtable.CBlockConfirmWnd.2.0
mov dword [esi + 0x30], vtable.CBlockConfirmWnd.1.0
mov dword [esi + 0x794], 0x746ce4
mov edx, dword [esi + 0x7e4]
sub edx, 0x10
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4296b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [esi + 0x7e0]
sub edx, 0x10
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x4296ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [esi + 0x798]
call fcn.0042e7a0
mov ecx, esi
call fcn.004270c0
test byte [ebp + 8], 1
je 0x4296f4
push 0x808
push esi
call fcn.00468d54
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4299a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
push 0
push 0x7766f4
mov ebx, ecx
push 0x7759cc
push 0
push str.lab_name
lea ecx, [ebx + 0x34]
call fcn.00479ce0
push eax
call fcn.005325ba
mov esi, eax
add esp, 0x14
test esi, esi
je 0x429a26
mov edx, dword [ebx + 0x7cc]
cmp edx, 1
jne 0x4299ea
mov ecx, 0x74b0f4
jmp 0x429a1e
cmp edx, 2
jne 0x4299f6
mov ecx, 0x74b100
jmp 0x429a1e
cmp edx, 4
jne 0x429a02
mov ecx, 0x74b10c
jmp 0x429a1e
cmp edx, 5
jne 0x429a0e
mov ecx, 0x74b118
jmp 0x429a1e
cmp edx, 3
mov ecx, str._N.Y9_
mov eax, 0x74b130
cmovne ecx, eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x2c]
push 0
push 0x64
push 0x100
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, ebx
call fcn.00429b60
push 4
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
call fcn.0042a200
mov esi, eax
lea edx, [ebx + 0x30]
mov ecx, dword [esi + 8]
mov edi, dword [esi + 0xc]
cmp ecx, edi
jne 0x429ab8
mov edx, dword [esi + 4]
lea eax, [esp + 0xc]
cmp eax, edx
jb 0x429a82
lea eax, [edx + edi*4]
lea edx, [esp + 0xc]
cmp edx, eax
mov edx, dword [esi + 4]
jb 0x429b4c
test edi, edi
jne 0x429a8d
mov edi, 1
jmp 0x429a9c
lea edi, [ecx + ecx]
test edi, edi
js 0x429acd
cmp edi, 0x1fffffff
ja 0x429acd
push 4
push edi
push edx
call fcn.0054136d
add esp, 0xc
test eax, eax
je 0x429acd
mov ecx, dword [esi + 8]
lea edx, [ebx + 0x30]
mov dword [esi + 0xc], edi
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
test eax, eax
je 0x429ac7
mov dword [eax], edx
mov ecx, dword [esi + 8]
lea eax, [ecx + 1]
mov dword [esi + 8], eax
mov ecx, dword [esi + 0x14]
add ebx, 0x794
mov edx, dword [esi + 0x18]
mov dword [esp + 0x14], ebx
cmp ecx, edx
jne 0x429b2c
mov ebx, dword [esi + 0x10]
lea eax, [esp + 0x10]
cmp eax, ebx
jb 0x429af7
lea eax, [ebx + edx*4]
lea edi, [esp + 0x10]
cmp edi, eax
jb 0x429b4c
test edx, edx
jne 0x429b00
lea edi, [edx + 1]
jmp 0x429b0f
lea edi, [ecx + ecx]
test edi, edi
js 0x429b41
cmp edi, 0x1fffffff
ja 0x429b41
push 4
push edi
push ebx
call fcn.0054136d
add esp, 0xc
test eax, eax
je 0x429b41
mov ecx, dword [esi + 0x14]
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x18], edi
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x10]
lea eax, [eax + ecx*4]
test eax, eax
je 0x429b3b
mov dword [eax], ebx
mov ecx, dword [esi + 0x14]
lea eax, [ecx + 1]
mov dword [esi + 0x14], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.004222a0
int3
Function at 0x4315f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b71f6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x76a02c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
lea esi, [ebx + 8]
mov dword [ebp + 8], esi
mov eax, dword [edi]
mov dword [ebx], eax
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 8]
sub eax, 0x10
push eax
call fcn.00428ba0
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0
lea esi, [ebx + 0xc]
mov eax, dword [edi + 0xc]
sub eax, 0x10
mov dword [ebp + 8], esi
push eax
call fcn.00428ba0
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
lea esi, [ebx + 0x10]
mov eax, dword [edi + 0x10]
sub eax, 0x10
mov dword [ebp + 8], esi
push eax
call fcn.00428ba0
add esp, 0xc
add eax, 0x10
mov dword [esi], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [ebx + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [ebx + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [ebx + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [ebx + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [ebx + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [ebx + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [ebx + 0x40], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x431770
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x76a02c]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4318d4
xorps xmm0, xmm0
push esi
movups xmmword [esp + 0x10], xmm0
movups xmmword [esp + 0x20], xmm0
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
test edi, edi
je 0x43182b
lea eax, [esp + 0xc]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x1c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x43182b
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x20]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x43182b
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x24]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x43182b
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, 0xa
jge 0x43182b
push 0
test ebx, ebx
je 0x431854
push 0xf060
push 0x112
push edi
call dword [sym.imp.USER32.dll_PostMessageW]
test ebx, ebx
je 0x43188e
push 0
push 0xf060
push 0x112
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00468d3e
mov esp, ebp
pop ebp
ret
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push edi
call ebx
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
mov ecx, dword [esp + 0xc]
push 0
push eax
mov eax, dword [esp + 0x1c]
sub eax, ecx
push eax
lea eax, [edx + 0x270f]
push eax
lea eax, [ecx + 0x270f]
push eax
push edi
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
call edi
jmp 0x43189a
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
mov edi, dword [sym.imp.USER32.dll_MoveWindow]
push 0
push esi
call ebx
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
sub eax, edx
mov ecx, dword [esp + 0x1c]
push 0
push eax
mov eax, dword [esp + 0x2c]
sub eax, ecx
push eax
lea eax, [edx + 0x270f]
push eax
lea eax, [ecx + 0x270f]
push eax
push esi
call edi
push esi
push 0x42dda0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00468d3e
mov esp, ebp
pop ebp
ret