joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4550f7
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
je 0x455135
lea ecx, [esi + 0xd8]
call fcn.00455007
push dword [esi + 0xd0]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
cmp eax, 0x102
jne 0x45512b
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi], edi
lea ecx, [esi + 0xd8]
call fcn.00454fc5
xor ebx, ebx
push edi
inc ebx
push ebx
lea ecx, [esi + 0xb0]
call fcn.00401129
push edi
push ebx
lea ecx, [esi + 0x94]
call fcn.00401129
push edi
push ebx
lea ecx, [esi + 0x78]
call fcn.00401129
push edi
push ebx
lea ecx, [esi + 0x5c]
call fcn.00401129
push edi
push ebx
lea ecx, [esi + 0x40]
call fcn.00401129
push edi
push ebx
lea ecx, [esi + 0x24]
call fcn.00401129
push edi
push ebx
lea ecx, [esi + 8]
call fcn.00401129
pop edi
pop esi
pop ebx
ret
Function at 0x4551cc
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x30
mov eax, 0x4b8a18
call fcn.00495a70
mov eax, dword [ebp + 8]
xor ebx, ebx
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], cx
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
mov dword [ebp - 0x30], edi
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.0044d402
test al, al
je 0x455233
cmp edi, ebx
je 0x455352
cmp edi, 0xffffffff
je 0x455352
push edi
jmp 0x45534c
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
cmp esi, ebx
jne 0x455267
cmp edi, ebx
je 0x455251
cmp edi, 0xffffffff
je 0x455251
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [ebp - 0x31], bl
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401129
mov al, byte [ebp - 0x31]
jmp 0x45535f
lea edi, [esi + 1]
push edi
call fcn.004938c3
pop ecx
mov dword [ebp - 0x3c], eax
cmp eax, ebx
je 0x455288
push edi
push ebx
push eax
call fcn.00495b20
mov edi, dword [ebp - 0x3c]
add esp, 0xc
jmp 0x45528a
xor edi, edi
push ebx
lea eax, [ebp - 0x38]
push eax
push esi
push edi
push dword [ebp - 0x30]
mov dword [ebp - 0x38], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x455337
cmp dword [ebp - 0x38], esi
jne 0x455337
cmp edi, ebx
je 0x4552c4
push edi
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [eax + 1]
cmp esi, 0x3fffffff
jle 0x4552c8
xor esi, esi
jmp 0x4552e1
lea eax, [esi + esi]
call fcn.00495fa0
mov eax, esp
push 0xfde9
push esi
push edi
push eax
call fcn.00402100
mov esi, eax
push esi
call fcn.00495461
pop ecx
push eax
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402570
push edi
call fcn.00495548
pop ecx
cmp dword [ebp - 0x1c], ebx
je 0x45533e
mov esi, 0x4d7af4
push esi
call fcn.00495461
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x2c]
call fcn.00402357
cmp eax, 0xffffffff
je 0x45533e
cmp dword [ebp - 0x30], ebx
je 0x45532e
cmp dword [ebp - 0x30], 0xffffffff
je 0x45532e
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov byte [ebp - 0x31], 1
jmp 0x455254
push edi
call fcn.00495548
pop ecx
cmp dword [ebp - 0x30], ebx
je 0x455352
cmp dword [ebp - 0x30], 0xffffffff
je 0x455352
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401129
xor al, al
lea esp, [ebp - 0x4c]
call fcn.00495af3
ret
Function at 0x455906
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
call fcn.00495461
pop ecx
push eax
push dword [ebp + 8]
lea ecx, [esi + 0x24]
call fcn.00402570
push dword [ebp + 0xc]
call fcn.00495461
pop ecx
push eax
push dword [ebp + 0xc]
lea edi, [esi + 0x40]
mov ecx, edi
call fcn.00402570
mov eax, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x14]
mov dword [esi + 0xd4], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0xcc], eax
test ebx, ebx
je 0x455970
push ebx
call fcn.00495461
pop ecx
test eax, eax
je 0x455970
push ebx
call fcn.00495461
pop ecx
push eax
push ebx
lea ecx, [esi + 8]
call fcn.00402570
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x455993
push ebx
call fcn.00495461
pop ecx
test eax, eax
je 0x455993
push ebx
call fcn.00495461
pop ecx
push eax
lea ecx, [esi + 0x5c]
push ebx
call fcn.00402570
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x4559b6
push ebx
call fcn.00495461
pop ecx
test eax, eax
je 0x4559b6
push ebx
call fcn.00495461
pop ecx
push eax
push ebx
lea ecx, [esi + 0x78]
call fcn.00402570
mov ebx, dword [ebp + 0x20]
test ebx, ebx
je 0x4559dc
push ebx
call fcn.00495461
pop ecx
test eax, eax
je 0x4559dc
push ebx
call fcn.00495461
pop ecx
push eax
push ebx
lea ecx, [esi + 0x94]
call fcn.00402570
lea eax, [esi + 0x5c]
cmp dword [eax + 0x14], 8
jb 0x4559e7
mov eax, dword [eax]
cmp dword [edi + 0x14], 8
jb 0x4559ef
mov edi, dword [edi]
lea ecx, [esi + 0x24]
cmp dword [ecx + 0x14], 8
jb 0x4559fa
mov ecx, dword [ecx]
push eax
push edi
push ecx
push str.KAsynHttpRequestThread::start:_taskId:_s_url:_s_parameter:_s
push str.kupdate::KAsynHttpRequestThread::start
push 0x116
push str.H:_rc_v10_personal_20170808_branchCoding_supportwpsupdateUpdateClient_srcweb_asynhttprequest.cpp
push 9
call fcn.004030c6
add esp, 0x20
xor eax, eax
lea ecx, [ebp - 4]
push ecx
push eax
push esi
push 0x4558f7
push eax
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [esi], eax
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret 0x20

Function at 0x456dee
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x502e75], 0
jne 0x456e5e
push 0x118
lea eax, [ebp - 0x11c]
push 0
push eax
mov byte [0x502e75], 1
mov dword [ebp - 0x120], 0x11c
call fcn.00495b20
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExW]
cmp dword [ebp - 0x11c], 5
jne 0x456e57
cmp dword [ebp - 0x118], 1
mov byte [0x502e74], 1
je 0x456e5e
mov byte [0x502e74], 0
mov ecx, dword [ebp - 4]
mov al, byte [0x502e74]
xor ecx, ebp
call fcn.004959f8
leave
ret
Function at 0x4584ae
Capabilities:
Get common file path
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
xor ebx, ebx
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00495b20
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x228], ebx
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
push 0x4d8204
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0049c28c
add esp, 0xc
push ebx
lea eax, [ebp - 0x20c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x4585ce
lea eax, [ebp - 0x20d]
push eax
push esi
lea ecx, [ebp - 0x224]
mov byte [ebp - 0x20d], bl
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], ebx
call fcn.00457aaa
cmp dword [ebp - 0x224], ebx
je 0x4585c3
push dword [ebp - 0x224]
lea eax, [ebp - 0x20c]
push esi
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4585c3
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x4c1660
push dword [ebp - 0x224]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4585c3
mov eax, dword [ebp - 0x214]
cmp eax, ebx
je 0x4585c3
cmp word [eax + 0x12], 0xa
lea ecx, [ebp - 0x224]
sbb al, al
inc al
mov byte [edi], al
call fcn.00411c50
xor eax, eax
jmp 0x4585d3
lea ecx, [ebp - 0x224]
call fcn.00411c50
mov eax, 0x80004005
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004959f8
leave
ret
Function at 0x45f7e8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push dword [ebp + 0xc]
mov esi, dword [0x50383c]
push dword [ebp + 8]
mov byte [ebp - 1], 0
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceW]
mov ebx, eax
test ebx, ebx
jne 0x45f815
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor al, al
jmp 0x45f87d
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov dword [ebp + 8], eax
test eax, eax
je 0x45f811
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x45f871
cmp dword [ebp + 0x10], 0
jne 0x45f84b
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov byte [ebp - 1], 1
jmp 0x45f871
mov eax, dword [ebp + 0x14]
push edi
mov edi, dword [eax]
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
cmp edi, eax
jl 0x45f870
push edi
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call fcn.00495100
add esp, 0xc
mov byte [ebp - 1], 1
pop edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov al, byte [ebp - 1]
pop esi
pop ebx
leave
ret 0x10

Function at 0x45f9e6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
and dword [esi], 0
push edi
mov edi, dword [ebp + 0xc]
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x45fa4f
cmp dword [ebp + 0x10], 1
je 0x45fa27
cmp dword [ebp + 0x10], 2
je 0x45fa27
push 0xd
pop eax
jmp 0x45fa4f
mov eax, dword [ebp - 4]
test edi, edi
je 0x45fa49
test eax, eax
je 0x45fa44
test al, 1
jne 0x45fa22
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x45fa49
jmp 0x45fa22
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
pop edi
pop esi
leave
ret 0xc

Function at 0x45ffec
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov esi, eax
test esi, esi
je 0x460025
cmp esi, 0xffffffff
je 0x460025
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x460019
mov eax, esi
jmp 0x460027
cmp esi, 0xffffffff
je 0x460025
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4604b1
Capabilities:
Delete file

Disassembly:
push 0x47c
mov eax, 0x4be6f0
call fcn.00495a70
lea eax, [ebp - 0x488]
push eax
mov esi, ecx
call fcn.00496768
mov dword [ebp - 0x488], eax
lea eax, [ebp - 0x488]
push eax
mov dword [ebp - 0x484], edx
call fcn.00496741
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
call fcn.00495b20
add esi, 0x208
lea eax, [ebp - 0x218]
push esi
push eax
call fcn.0049755c
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.004973de
xor ecx, ecx
mov word [eax], cx
add esp, 0x24
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x250]
call fcn.004025ee
mov esi, 0x4d8fe4
push esi
mov dword [ebp - 4], ebx
call fcn.00495461
pop ecx
push eax
push esi
lea ecx, [ebp - 0x250]
call fcn.0040136b
cmp dword [ebp - 0x23c], 8
mov eax, dword [ebp - 0x250]
jae 0x46056f
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x480]
push ecx
push eax
call fcn.004975a3
mov edi, eax
pop ecx
pop ecx
cmp edi, 0xffffffff
je 0x46065b
mov esi, 0x4c1660
test byte [ebp - 0x480], 0x10
jne 0x46063c
mov ecx, dword [ebp - 0x488]
mov eax, dword [ebp - 0x484]
sub ecx, 0x3f480
sbb eax, ebx
cmp dword [ebp - 0x474], eax
jg 0x46063c
jl 0x4605c5
cmp dword [ebp - 0x478], ecx
jae 0x46063c
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.004025ee
push esi
mov byte [ebp - 4], 1
call fcn.00495461
pop ecx
push eax
push esi
lea ecx, [ebp - 0x234]
call fcn.0040136b
lea eax, [ebp - 0x45c]
push eax
call fcn.00495461
pop ecx
push eax
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x234]
call fcn.0040136b
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x460624
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push ebx
push 1
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], bl
call fcn.00401129
lea eax, [ebp - 0x480]
push eax
push edi
call fcn.004976ca
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x46058e
push edi
call fcn.0049757d
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x250]
call fcn.00401129
call fcn.00495af3
ret
Function at 0x460778
Capabilities:
Set registry value

Disassembly:
push 0x22c
mov eax, 0x4be778
call fcn.00495a70
lea eax, [ebp - 0x228]
push eax
call fcn.0046066f
xor edi, edi
push edi
push 0x2e
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], edi
call fcn.00431a66
mov esi, eax
cmp esi, 0xffffffff
je 0x460998
xor eax, eax
push 0x208
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.00495b20
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x224], eax
push esi
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x228]
call fcn.0043283d
push dword [ebp - 0x238]
call fcn.0049981b
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
pop ecx
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x230], edi
mov dword [ebp - 0x22c], edi
cmp ebx, 7
jb 0x460884
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_BROWSER_EMULATION
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x234]
call fcn.00404ac4
test eax, eax
jne 0x460884
imul ebx, ebx, 0x3e8
cmp ebx, 0x2710
jbe 0x460864
mov ebx, 0x2711
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x220], ebx
push dword [ebp - 0x234]
call esi
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SCRIPTURL_MITIGATION
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x234]
call fcn.00404ac4
xor ebx, ebx
inc ebx
test eax, eax
jne 0x4608c5
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x220], ebx
push dword [ebp - 0x234]
call esi
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_VIEWLINKEDWEBOC_IS_UNSAFE
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x234]
call fcn.00404ac4
test eax, eax
jne 0x460903
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x220], ebx
push dword [ebp - 0x234]
call esi
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_GPU_RENDERING
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x234]
call fcn.00404ac4
test eax, eax
jne 0x460941
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x220], ebx
push dword [ebp - 0x234]
call esi
push 0x2001f
push str.SoftwareMicrosoftInternet_ExplorerMainFeatureControlFEATURE_SHOW_APP_PROTOCOL_WARN_DIALOG
push reloc.WS2_32.dll_accept
lea ecx, [ebp - 0x234]
call fcn.00404ac4
test eax, eax
jne 0x46097f
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push edi
push dword [ebp - 0x224]
mov dword [ebp - 0x220], ebx
push dword [ebp - 0x234]
call esi
lea ecx, [ebp - 0x234]
call fcn.00404a41
mov ecx, dword [ebp - 0x238]
add ecx, 0xfffffff0
call fcn.00410e69
mov ecx, dword [ebp - 0x228]
add ecx, 0xfffffff0
call fcn.00410e69
call fcn.00495af3
ret
Function at 0x4609ac
Capabilities:
Read .ini file

Disassembly:
push 0x74
mov eax, 0x4be7c0
call fcn.00495a70
lea eax, [ebp - 0x2c]
push 0x1a
push eax
call fcn.0044e8e7
pop ecx
pop ecx
mov eax, dword [ebp - 0x2c]
xor edi, edi
cmp dword [ebp - 0x18], 8
mov dword [ebp - 4], edi
jae 0x4609d6
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.0044de82
pop ecx
pop ecx
cmp dword [ebp - 0x50], 8
mov eax, dword [ebp - 0x64]
mov byte [ebp - 4], 1
jae 0x4609f2
lea eax, [ebp - 0x64]
push eax
call fcn.0044e508
lea eax, [ebp - 0x80]
push 0x17
push eax
call fcn.0044e8e7
add esp, 0xc
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 2
jb 0x460a12
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x48]
call fcn.004099d2
push edi
push 1
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.00401129
cmp dword [ebp - 0x34], 8
mov eax, dword [ebp - 0x48]
jae 0x460a36
lea eax, [ebp - 0x48]
push eax
push 4
push str.LogLevel
push str.Update
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileIntW]
cmp dword [ebp - 0x18], 8
mov ecx, dword [ebp - 0x2c]
jae 0x460a55
lea ecx, [ebp - 0x2c]
push 3
push 0x10000001
push eax
push ecx
push 0x4d93c8
call fcn.00403479
add esp, 0x14
push edi
push 1
lea ecx, [ebp - 0x48]
call fcn.00401129
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.00401129
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401129
call fcn.00495af3
ret

Function at 0x460a92
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
mov edi, 0x104
push edi
mov dword [esi + 0x410], ecx
mov ecx, dword [ebp + 8]
push eax
push esi
mov dword [esi + 0x414], ecx
call fcn.00499826
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x41c], eax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.00495b20
add esp, 0x18
push edi
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 0x414]
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test ebx, ebx
je 0x460b4f
lea edi, [esi + 0x208]
push ebx
push edi
call fcn.0049755c
push str.dump_
push edi
call fcn.0049752b
add esp, 0x10
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004973de
add eax, 2
push eax
push edi
call fcn.0049752b
add esp, 0x10
jmp 0x460b64
lea eax, [ebp - 0x20c]
push eax
lea eax, [esi + 0x208]
push eax
call fcn.0049755c
pop ecx
pop ecx
mov ecx, esi
call fcn.004604b1
push 0x45fe2f
call dword [sym.imp.KERNEL32.DLL_SetUnhandledExceptionFilter]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004959f8
leave
ret 0x14
Function at 0x460c14
Capabilities:
Enumerate gui resources
Get graphical window text

Disassembly:
push 0x240
mov eax, 0x4be7f3
call fcn.00495a70
xor edi, edi
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x24c], edi
mov dword [ebp - 0x248], edi
mov dword [ebp - 0x244], edi
lea eax, [ebp - 0x24c]
push eax
push 0x442df8
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x248]
sub eax, dword [ebp - 0x24c]
sar eax, 2
test eax, eax
je 0x460da9
lea eax, [ebp - 0x234]
push 0x2e
push eax
call fcn.00418d18
mov ecx, eax
call fcn.00418852
mov eax, dword [ebp - 0x248]
sub eax, dword [ebp - 0x24c]
mov dword [ebp - 0x238], edi
sar eax, 2
test eax, eax
je 0x460d93
mov ebx, 0x104
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push eax
call fcn.00495b20
mov eax, dword [ebp - 0x24c]
mov esi, dword [ebp - 0x238]
add esp, 0xc
push ebx
lea ecx, [ebp - 0x218]
push ecx
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x460d29
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x460cf4
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00499872
pop ecx
pop ecx
test eax, eax
jne 0x460d29
mov eax, dword [ebp - 0x24c]
push edi
push edi
push 0x467
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [ebp - 0x23c], 1
jmp 0x460d72
mov eax, dword [ebp - 0x24c]
push ebx
lea ecx, [ebp - 0x218]
push ecx
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_GetClassNameW]
test eax, eax
je 0x460d72
lea eax, [ebp - 0x218]
push eax
push str.TrayImplWindow
call fcn.00499872
pop ecx
pop ecx
test eax, eax
jne 0x460d72
mov eax, dword [ebp - 0x24c]
push 1
push edi
push 0xbc4
push dword [eax + esi*4]
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0x248]
sub eax, dword [ebp - 0x24c]
inc dword [ebp - 0x238]
sar eax, 2
cmp dword [ebp - 0x238], eax
jb 0x460ca0
push edi
push 1
lea ecx, [ebp - 0x234]
call fcn.00401129
cmp dword [ebp - 0x23c], edi
jne 0x460e0d
push str.WpsNotifyWindow
push str.WpsNotifyWndClass
push edi
push 0xfffffffffffffffd
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ebx, eax
cmp ebx, edi
je 0x460e0d
lea eax, [ebp - 0x238]
push eax
push ebx
mov dword [ebp - 0x238], edi
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp dword [ebp - 0x238], edi
je 0x460e0d
push dword [ebp - 0x238]
push edi
push 0x100000
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov esi, eax
cmp esi, edi
je 0x460e0d
push edi
push edi
push 0x469
push ebx
call dword [sym.imp.USER32.dll_PostMessageW]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
lea ecx, [ebp - 0x24c]
call fcn.00411c50
mov eax, dword [ebp - 0x23c]
call fcn.00495af3
ret
Function at 0x466d1b
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4beeec
mov eax, dword fs:[0]
push eax
mov eax, 0x10ac
call fcn.00497500
mov eax, dword [0x5002b0]
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]
mov dword [ebp - 0x1054], eax
xor ebx, ebx
push ebx
lea eax, [ebp - 0x1060]
push eax
lea eax, [ebp - 0x1050]
push eax
xor edi, edi
lea eax, [ebp - 0x104c]
inc edi
push eax
mov dword [ebp - 0x1060], 0xc
mov dword [ebp - 0x1058], edi
mov dword [ebp - 0x105c], ebx
call dword [sym.imp.KERNEL32.DLL_CreatePipe]
test eax, eax
je 0x466f1e
push 0x44
pop esi
push esi
lea eax, [ebp - 0x10b8]
push ebx
push eax
call fcn.00495b20
add esp, 0xc
lea eax, [ebp - 0x10b8]
push eax
mov dword [ebp - 0x10b8], esi
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoA]
mov eax, dword [ebp - 0x1050]
mov dword [ebp - 0x1078], eax
mov dword [ebp - 0x107c], eax
xor eax, eax
push 0x10
mov word [ebp - 0x1088], ax
lea eax, [ebp - 0x1070]
push ebx
push eax
mov dword [ebp - 0x108c], 0x101
call fcn.00495b20
add esp, 0xc
lea eax, [ebp - 0x1070]
push eax
lea eax, [ebp - 0x10b8]
push eax
push ebx
push ebx
push ebx
push edi
push ebx
push ebx
push str.ipconfig__all
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
test eax, eax
je 0x466f0e
push 0xffffffffffffffff
push dword [ebp - 0x1070]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp - 0x1070]
call edi
push dword [ebp - 0x106c]
call edi
push 0xfff
lea eax, [ebp - 0x100f]
push ebx
push eax
mov byte [ebp - 0x1010], bl
call fcn.00495b20
add esp, 0xc
push ebx
lea eax, [ebp - 0x1074]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x104c]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x466f0e
lea eax, [ebp - 0x1010]
push eax
lea ecx, [ebp - 0x102c]
call fcn.004096f4
mov dword [ebp - 4], ebx
push ebx
jmp 0x466eeb
mov ecx, dword [ebp - 0x1054]
cmp dword [ecx + 0x10], ebx
je 0x466eae
push 0x2b
push 1
call fcn.00408eaf
push 0x11
push esi
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x102c]
call fcn.0041dc47
mov ecx, dword [ebp - 0x1054]
push 0xffffffffffffffff
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.0040922a
push ebx
push 1
lea ecx, [ebp - 0x1048]
mov byte [ebp - 4], bl
call fcn.00408711
add esi, 0xf
push esi
lea eax, [ebp - 0x102c]
push eax
call fcn.00466359
mov esi, eax
pop ecx
pop ecx
cmp esi, 0xffffffff
jne 0x466e9a
push ebx
push 1
lea ecx, [ebp - 0x102c]
call fcn.00408711
push dword [ebp - 0x1050]
call edi
push dword [ebp - 0x104c]
call edi
xor eax, eax
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.004959f8
leave
ret
Function at 0x467a80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x5002b0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x467ac9
cmp byte [ebp - 0x194], 2
jne 0x467ac3
mov eax, dword [ebp - 0x194]
shr eax, 8
cmp al, 2
jne 0x467ac3
xor eax, eax
jmp 0x467acc
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 2
pop eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004959f8
leave
ret