joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003ec80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x134]
mov ecx, 0x4d
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x70], 0x44
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0x100af9cc
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x44], 1
xor eax, eax
mov word [ebp - 0x3e], ax
mov dword [ebp - 0x3c], 0
mov ax, word [ebp + 0x10]
mov word [ebp - 0x40], ax
mov esi, esp
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x70]
push ecx
push 0
push 0
push 0x200
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp esi, esp
call fcn.100705ff
test eax, eax
je 0x1003ed61
cmp dword [ebp + 0x14], 0
je 0x1003ed32
mov esi, esp
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp esi, esp
call fcn.100705ff
mov esi, esp
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100705ff
mov esi, esp
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, esp
call fcn.100705ff
mov eax, 1
jmp 0x1003ed63
xor eax, eax
push edx
mov ecx, ebp
push eax
lea edx, [0x1003ed94]
call fcn.100705a7
pop eax
pop edx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
add esp, 0x134
cmp ebp, esp
call fcn.100705ff
mov esp, ebp
pop ebp
ret 0x10

Function at 0x1003ee40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0
je 0x1003eefc
mov eax, dword [ebp + 8]
push eax
call fcn.10070622
add esp, 4
add eax, 0x208
mov dword [ebp - 0x14], eax
xor ecx, ecx
mov eax, dword [ebp - 0x14]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1006daa9
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x1003eefc
mov eax, dword [ebp - 0x14]
shl eax, 1
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
call fcn.1006ff30
add esp, 0xc
push str.c:dproject_anyshellv3utilsdebugutils.cpp
push str.CDebugUtils::DebugView
mov eax, dword [ebp + 8]
push eax
push str._s___s___s
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.1007006a
add esp, 0x18
mov esi, esp
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp esi, esp
call fcn.100705ff
mov eax, dword [ebp - 0x20]
push eax
call fcn.1006da71
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.100705ff
mov esp, ebp
pop ebp
ret 4
Function at 0x10040f70
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x14]
push 0x13ad
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x210], eax
test eax, eax
je 0x10041075
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x214]
push ecx
push dword [ebp - 0x210]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
test eax, eax
je 0x10040fed
push edi
push dword [ebp - 0x214]
call ebx
test eax, eax
je 0x10041075
mov edi, 1
jmp 0x10041075
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
push dword [ebp - 0x210]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov ebx, eax
test ebx, ebx
je 0x1004106f
push str.tadb.exe
push ebx
call fcn.1006eb63
add esp, 8
test eax, eax
jne 0x1004106f
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x20c]
mov ecx, esi
push 0x104
push eax
call fcn.100413c0
test eax, eax
je 0x10041066
lea eax, [ebp - 0x20c]
push eax
push 0x104
push dword [esi]
call fcn.1006e6e1
add esp, 0xc
mov dword [esi + 4], edi
push ebx
call fcn.1006da71
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x14]
push 0x4a13
push 0
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x214], eax
test eax, eax
je 0x100410c9
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x210]
push ecx
push dword [ebp - 0x214]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
mov esi, eax
test esi, esi
je 0x100410c9
push 0
push dword [ebp - 0x210]
call ebx
push esi
call fcn.1006da71
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
Function at 0x100412d0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
xor esi, esi
mov dword [ebp - 8], 0
push edi
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], eax
je 0x1004131e
mov edi, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test esi, esi
je 0x100412fd
test eax, eax
jne 0x10041336
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push ebx
call edi
push 0x3e8
mov esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 4]
jmp 0x100412f5
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov esi, eax
mov eax, dword [ebp - 4]
mov edi, dword [ebp + 0x10]
test esi, esi
jne 0x10041343
mov dword [edi], 0x7d1
test eax, eax
jne 0x1004134d
mov dword [edi], 0x7d2
test esi, esi
je 0x100413ab
test eax, eax
je 0x100413ab
inc eax
push eax
mov dword [ebp - 4], eax
call fcn.1006daa9
mov esi, eax
add esp, 4
test esi, esi
je 0x100413a0
push 0
lea eax, [ebp - 8]
mov dword [esi], 0
push eax
push dword [ebp - 4]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1004139a
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jae 0x100413a0
mov byte [esi + eax], 0
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi], 0x7d4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov dword [edi], 0x7d3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100413c0
Capabilities:
Check if file exists
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa78
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa78], eax
test eax, eax
jne 0x100413f0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 8
push ebx
push esi
xor eax, eax
xor ebx, ebx
push 0x206
push eax
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push eax
call fcn.1006ff30
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x824], ax
lea eax, [ebp - 0x822]
push eax
call fcn.1006ff30
add esp, 0x18
lea eax, [ebp - 0x824]
push ebx
push 0x1a
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100415fa
push str.TencentAndroidServer_
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1006ff30
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x414], ax
lea eax, [ebp - 0x412]
push eax
call fcn.1006ff30
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1006e6e1
push 0x100afc0c
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.1006e675
add esp, 0x30
lea eax, [ebp - 0xa74]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100414f5
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 8
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
test byte [ebp - 0xa74], 0x10
je 0x100415bd
lea eax, [ebp - 0xa48]
push 0x100a306c
push eax
call fcn.1006eb63
add esp, 8
test eax, eax
je 0x100415bd
mov eax, 0x100a3070
lea ecx, [ebp - 0xa48]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1004155a
test dx, dx
je 0x10041556
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1004155a
add ecx, 4
add eax, 4
test dx, dx
jne 0x10041534
xor eax, eax
jmp 0x1004155f
sbb eax, eax
or eax, 1
test eax, eax
je 0x100415bd
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e6e1
lea eax, [ebp - 0xa48]
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
push str._tadb.exe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
add esp, 0x24
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100415d1
lea eax, [ebp - 0xa74]
push eax
push esi
call edi
test eax, eax
jne 0x10041500
jmp 0x100415d6
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
test ebx, ebx
je 0x100415fa
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
push dword [ebp - 0xa78]
call fcn.1006e6e1
add esp, 0xc
mov ecx, dword [ebp - 4]
mov eax, ebx
pop esi
xor ecx, ebp
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 8
Function at 0x10041ac0
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str._adb_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10041b59
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x10041b59
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
push str.tadb.exe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.1006e675
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x20c]
je 0x10041b99
push 0x104
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
jmp 0x10041ba9
push eax
push 0x104
push dword [esi]
call fcn.1006e6e1
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [esi + 4], 1
xor ecx, ebp
pop esi
call fcn.1006f41a
mov esp, ebp
pop ebp
ret
Function at 0x10042040
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x234
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
mov edi, ecx
push 0x206
push eax
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x232]
push eax
call fcn.1006ff30
add esp, 0xc
lea eax, [ebp - 0x234]
push 0
push 0x23
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str._adb_
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.1006e675
add esp, 0xc
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100420d9
push eax
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x100420d9
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
push esi
push str.history.dat
lea eax, [ebp - 0x234]
push 0x104
push eax
call fcn.1006e675
add esp, 0xc
lea eax, [ebp - 0x234]
xor esi, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push dword [ebp + 8]
test eax, eax
mov ecx, 1
xorps xmm0, xmm0
cmove esi, ecx
xor eax, eax
mov word [ebp - 0x18], ax
mov word [ebp - 6], ax
lea eax, [ebp - 0x18]
push 0x1009be08
push eax
movdqu xmmword [ebp - 0x16], xmm0
call fcn.10022f40
xor eax, eax
xorps xmm0, xmm0
cmp dword [ebp + 0xc], eax
mov word [ebp - 0x2c], ax
mov word [ebp - 0x1a], ax
setne al
push eax
lea eax, [ebp - 0x2c]
push 0x1009be08
push eax
movdqu xmmword [ebp - 0x2a], xmm0
call fcn.10022f40
add esp, 0x18
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x18]
push eax
push str.history
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test esi, esi
pop esi
je 0x1004218e
mov ecx, dword [edi + 0x10]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x234]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 8
Function at 0x100433f0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2f20
call fcn.1006f8b0
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xfa4]
mov dword [ebp - 0x2f18], 0x3e8
mov dword [ebp - 0x2f1c], eax
lea eax, [ebp - 0x2714]
mov dword [ebp - 0x2f10], eax
lea eax, [ebp - 0x7d4]
mov dword [ebp - 0x2f04], eax
lea eax, [ebp - 0x1f44]
mov dword [ebp - 0x2efc], eax
lea eax, [ebp - 0x2ee4]
push esi
mov dword [ebp - 0x2ef4], eax
mov esi, ecx
lea eax, [ebp - 0x1774]
mov dword [ebp - 0x2f0c], 0x3e8
push edi
mov ecx, 0x1013df24
mov dword [ebp - 0x2eec], eax
mov dword [ebp - 0x2f00], 0x3e8
mov dword [ebp - 0x2ef8], 0x3e8
mov dword [ebp - 0x2ef0], 0x3e8
mov dword [ebp - 0x2ee8], 0x3e8
mov dword [ebp - 0x2f20], 0x3c
call fcn.10089b90
mov ecx, eax
lea edi, [ecx + 2]
jmp 0x100434b0
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x100434b0
sub ecx, edi
lea edx, [ebp - 0x2f20]
push edx
sar ecx, 1
push SysReAllocString
inc ecx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x10043502
push dword [ebp - 0x2f10]
lea eax, [esi + 4]
mov dword [esi], 1
push 0x3e8
push eax
call fcn.1006e6e1
movzx eax, word [ebp - 0x2f08]
add esp, 0xc
mov dword [esi + 0x7d4], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1006f41a
mov esp, ebp
pop ebp
ret

Function at 0x100439b0
Capabilities:
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi], 0
jne 0x100439c5
call fcn.100433f0
xor edi, edi
mov dword [ebp - 0xc], 0x100a3380
push edi
push edi
push edi
push edi
push 0x100af9cc
mov dword [ebp - 8], edi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov ebx, eax
test ebx, ebx
je 0x10043aa1
movzx eax, word [esi + 0x7d4]
lea ecx, [esi + 4]
push edi
push edi
push 3
push edi
push edi
push eax
push ecx
push ebx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
jne 0x10043a1e
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0
push 0x84000000
lea eax, [ebp - 0xc]
push eax
push 0
push 0x100a3388
push dword [ebp + 8]
push str.POST
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp + 8], eax
test eax, eax
jne 0x10043a5d
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push ebx
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x10043a90
mov ecx, edx
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10043a70
sub ecx, esi
push ecx
push edx
push 0x31
push str.Content_Type:_application_x_www_form_urlencoded_r_n
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov edi, eax
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push dword [ebp - 4]
call esi
push ebx
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10044970
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009644b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10138e70]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x88
call fcn.1006d67e
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x100449c4
push dword [ebx + 0xac]
mov ecx, eax
call fcn.10046c40
mov edi, eax
jmp 0x100449c6
xor edi, edi
mov esi, dword [ebx + 4]
lea eax, [edi + 0x20]
push eax
mov ecx, 0x10113458
mov dword [ebp - 4], 0xffffffff
mov dword [ebx + 0xa8], edi
call fcn.10027250
push 0
movzx eax, ax
push eax
push ecx
mov eax, esp
push 0x40100
push 0x6cf0000
push 0
push ecx
mov dword [eax], 0
mov ecx, edi
mov eax, esp
push esi
mov dword [eax], section..data
call fcn.10024a50
mov eax, dword [ebx + 0xa8]
push 5
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10045170
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push 0x30
push 0
push esi
call fcn.1006ff30
push pe_nt_image_headers32
lea eax, [ebp - 0x114]
mov dword [ebp - 0x118], 0x114
push 0
push eax
mov ebx, 0x30
call fcn.1006ff30
add esp, 0x18
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x100451d4
cmp dword [ebp - 0x114], 6
jae 0x100451d9
mov ebx, 0x2c
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], ebx
test eax, eax
jne 0x100451fb
push edi
call dword [sym.imp.USER32.dll_GetParent]
or dword [esi + 4], 1
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
jmp 0x10045201
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10045211
movdqu xmm0, xmmword [eax]
movdqu xmmword [esi + 0x10], xmm0
mov eax, dword [0x1013ded4]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x20], eax
xor ecx, ebp
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x1c]
pop edi
mov dword [esi + 0x28], eax
pop esi
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 0x18
Function at 0x100452e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SetWindowLongW]
mov ebx, ecx
push edi
push ebx
push 0xffffffffffffffeb
push dword [ebx + 4]
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebx + 4]
call edi
mov ecx, eax
and ecx, 0xff30ffff
or ecx, 0x80000000
cmp eax, ecx
je 0x10045320
push ecx
push 0xfffffffffffffff0
push dword [ebx + 4]
call esi
push 0xffffffffffffffec
push dword [ebx + 4]
call edi
mov ecx, eax
and ecx, 0xfffbffff
or ecx, 0x88
cmp eax, ecx
je 0x10045341
push ecx
push 0xffffffffffffffec
push dword [ebx + 4]
call esi
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 1
push eax
push dword [ebx + 4]
mov dword [ebp - 0x48], 1
push dword [ebx + 0xac]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x44], 1
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
call fcn.1002dbb0
mov dword [ebx + 0x3c], eax
lea esi, [ebx + 0x48]
add esp, 0xc
mov dword [eax + 0xe4], 0x100455a0
cmp dword [esi + 0x14], 8
jb 0x100453ec
mov esi, dword [esi]
mov eax, dword [ebx + 0x3c]
push 0xffffffffffffffeb
push dword [eax + 4]
call edi
mov edi, eax
test edi, edi
je 0x10045417
push esi
push 0x824
push dword [edi + 0xa0]
call fcn.1006e6e1
add esp, 0xc
push esi
push edi
call fcn.1002e1a0
cmp dword [ebx + 0x44], 2
jne 0x1004549b
push 0x204
push 0x2be
lea eax, [ebp - 8]
mov ecx, ebx
push eax
call fcn.10044f70
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 4
push 0x204
push 0x2be
push dword [ebp - 4]
push dword [ebp - 8]
push 0
push dword [ebx + 4]
call esi
mov eax, dword [ebx + 0x3c]
push 4
push 0x1e0
push 0x2bc
push 0x23
push 1
push 0
push dword [eax + 4]
call esi
mov ecx, ebx
call fcn.10044690
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [ebx + 0x40]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
call dword [eax + 0x10]
push dword [ebx + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x20]
push 0x100465e0
push 0x493e0
push 0x7e9
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [0x1013dda0]
mov esi, dword [ebx + 0xac]
add edi, 0x10
push edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esi + 0x34]
lea eax, [ebp - 4]
push eax
call fcn.10025ab0
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebx + 0x34]
lea eax, [ebp - 4]
mov dword [ebp - 4], ecx
push eax
lea ecx, [esi + 4]
call fcn.100233a0
lea eax, [ebx + 0x38]
mov dword [ebp - 4], eax
lea ecx, [esi + 0x10]
lea eax, [ebp - 4]
push eax
call fcn.100233a0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100463f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x10138e70]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0
mov edx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x4c], edx
jne 0x100465c2
mov edi, dword [ebp + 0xc]
cmp edi, 1
jne 0x10046448
lea eax, [ebp - 0x48]
push eax
push edx
push dword [ebp + 0x10]
push edi
call fcn.100452e0
mov dword [ebx], eax
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0xf
jne 0x10046493
lea eax, [ebp - 0x44]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp dword [esi + 0x44], 2
jne 0x10046468
push eax
mov ecx, esi
call fcn.10044d70
lea eax, [ebp - 0x44]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndPaint]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0x10]
cmp edi, 2
jne 0x100464d5
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 1
push eax
push edx
push ecx
push 2
mov ecx, esi
call fcn.10045520
cmp dword [ebp - 0x48], 0
mov dword [ebx], eax
je 0x100465a4
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x210
jne 0x1004651c
cmp word [ebp + 0x10], 2
jne 0x100464fe
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov dword [ebx], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x201
jne 0x10046553
push edx
push 2
push 0xa1
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
mov dword [ebx], 1
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 0x18
cmp edi, 0x111
jne 0x100465aa
mov eax, 0x3e9
cmp ax, cx
jne 0x100465aa
mov eax, ecx
mov dword [ebp - 0x48], 0
shr eax, 0x10
cmp word [ebp - 0x48], ax
jne 0x100465aa
push 0
push 0
push 0x10
push dword [esi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
pop esi
mov dword [ebx], 0
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x4c]
push 0
push ebx
push edx
push ecx
push edi
push dword [ebp + 8]
mov ecx, esi
call fcn.10026e80
test eax, eax
jne 0x10046430
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1006f41a
mov esp, ebp
pop ebp
ret 0x18