joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4580c8
Capabilities:
Check if file exists

Disassembly:
push 0x2c
mov eax, 0x4b4270
call fcn.00473a66
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [esi], vtable.CTiXmlConfig.0
call fcn.00428264
and dword [ebp - 4], 0
lea ebx, [esi + 0x270]
mov edi, 0x4f930c
push edi
mov ecx, ebx
mov dword [esi], vtable.CProtectorConfig.0
mov dword [ebp - 0x14], ebx
call fcn.0040a6cc
mov byte [ebp - 4], 2
lea eax, [esi + 0x274]
push edi
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0040a6cc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0042d1df
mov byte [ebp - 4], 6
push edi
lea ecx, [ebp - 0x10]
call fcn.0040a6cc
mov byte [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str._appdata_pcmasterconfig_
call fcn.00418464
mov byte [ebp - 4], 9
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x38]
call fcn.0044aba1
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x10]
call fcn.0040aac8
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00409a10
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jmp 0x45818d
mov edi, str.winguard.cfg
push edi
call fcn.00413682
pop ecx
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.0040a99e
push dword [ebp - 0x10]
mov ecx, esi
call fcn.00439b50
push str.WinGuard
mov ecx, esi
call fcn.00439b85
push 0
mov ecx, esi
call fcn.0042eff1
cmp byte [0x4fae10], 0
jne 0x4581d7
push 0x4fae10
mov ecx, esi
call fcn.00452b28
mov edi, str.TC_Protect:
push edi
call fcn.00413682
pop ecx
push eax
push edi
mov ecx, ebx
call fcn.0040a8e3
mov edi, str.TC_Guard:
push edi
call fcn.00413682
pop ecx
push eax
push edi
lea ecx, [esi + 0x274]
call fcn.0040a8e3
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0042d237
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00473b3e
ret 4
Function at 0x45848c
Capabilities:
Read .ini file

Disassembly:
push 0x4c
mov eax, 0x4b43ce
call fcn.00473acf
mov dword [ebp - 0x38], ecx
and dword [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.00441068
mov byte [ebp - 4], 1
push str..url
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00418219
add esp, 0xc
mov byte [ebp - 4], 2
push dword [eax]
lea ecx, [ebp - 0x58]
call fcn.0044c954
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00409a10
test esi, esi
je 0x4586a9
mov edi, 0x800
mov ebx, 0x4c5650
cmp dword [0x4fb384], 0x3e8
jge 0x4586a9
lea ecx, [ebp - 0x58]
call fcn.004398f8
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0x58]
call fcn.00455bf6
mov byte [ebp - 4], 4
push 0x10
lea ecx, [ebp - 0x58]
call fcn.004398d6
test eax, eax
je 0x458562
lea ecx, [ebp - 0x58]
call fcn.0043c70d
test eax, eax
jne 0x458562
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
push ecx
mov eax, esp
mov dword [ebp - 0x3c], esp
push eax
lea ecx, [ebp - 0x58]
call fcn.00455bf6
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
call fcn.0045848c
jmp 0x458690
push 0x10
lea ecx, [ebp - 0x58]
call fcn.004398d6
test eax, eax
jne 0x458690
lea ecx, [ebp - 0x58]
call fcn.0043992d
test edx, edx
ja 0x458682
jb 0x458591
cmp eax, 0x2800
ja 0x458682
push 0x4f930c
lea ecx, [ebp - 0x30]
call fcn.0040a6cc
mov byte [ebp - 4], 7
push dword [ebp - 0x34]
lea ecx, [ebp - 0x30]
push edi
push edi
call fcn.0040a86e
push eax
push 0x4c2d20
push 0x4c5674
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x30]
call fcn.0042871f
mov esi, dword [ebp - 0x30]
cmp dword [esi - 4], 1
push 8
jle 0x4585e4
push dword [esi - 0xc]
lea ecx, [ebp - 0x30]
call fcn.0040a631
mov esi, dword [ebp - 0x30]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x3c], esp
push esi
call fcn.0041aac0
mov byte [ebp - 4], 8
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x38]
call fcn.0044e822
mov byte [ebp - 4], 9
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x458616
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
call fcn.004286e1
test eax, eax
je 0x458666
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x45862f
lea eax, [ebp - 0x2c]
push dword [ebp - 0x34]
push eax
push 0x4c5674
push ebx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [ebp - 0x38]
cmp dword [eax], 0
je 0x458666
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
call fcn.0040a8a7
mov byte [ebp - 4], 0xa
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x38]
call fcn.0044e63b
mov byte [ebp - 4], 7
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041a4a1
mov byte [ebp - 4], 4
lea ecx, [esi - 0x10]
call fcn.00409a10
inc dword [0x4fb384]
push 0xf
call dword [sym.imp.KERNEL32.dll_Sleep]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00409a10
cmp dword [ebp - 0x40], 0
jne 0x4584f1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004410ad
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00409a10
call fcn.00473b52
ret 4
Function at 0x458eda
Capabilities:
Create thread

Disassembly:
push 8
mov eax, 0x4b4628
call fcn.00473a66
push 0x10
call fcn.00474303
pop ecx
mov ecx, eax
mov dword [ebp - 0x14], ecx
xor esi, esi
mov dword [ebp - 4], esi
cmp ecx, esi
je 0x458f0f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0044a74d
jmp 0x458f11
xor eax, eax
or dword [ebp - 4], 0xffffffff
push esi
push esi
push eax
push 0x453b56
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
xor ebx, ebx
push 0x1e
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x458f3c
inc ebx
cmp ebx, 0x64
jl 0x458f29
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [ebp - 0x10], esi
setne al
call fcn.00473b3e
ret
Function at 0x460079
Capabilities:
Check if file exists
Create thread

Disassembly:
push 0x2a4
mov eax, 0x4b5de0
call fcn.00473acf
mov esi, ecx
lea ecx, [ebp - 0x2ac]
call fcn.0042d1df
mov dword [ebp - 4], 1
push 0x4f930c
lea ecx, [ebp - 0x290]
call fcn.0040a6cc
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x28c], esp
mov edi, str.configuserinfo.cfg
push edi
call fcn.00418464
mov byte [ebp - 4], 4
push ecx
mov eax, esp
mov dword [ebp - 0x288], esp
push eax
lea ecx, [ebp - 0x2b0]
call fcn.004330a8
mov byte [ebp - 4], 5
lea eax, [ebp - 0x284]
push eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2b0]
call fcn.004330ec
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x290]
call fcn.0040aac8
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x284]
add ecx, 0xfffffff0
call fcn.00409a10
mov ebx, dword [ebp - 0x290]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4602e2
push 0
push 1
push 0x4c9ca0
push edi
lea ecx, [ebp - 0x280]
call fcn.004334f0
mov byte [ebp - 4], 8
push 0
push str.AutoLogin
mov edi, 0x4c9c80
push edi
lea ecx, [ebp - 0x280]
call fcn.00455daa
test eax, eax
je 0x4602d3
and dword [ebp - 0x284], 0
push 0x4c9c7c
push edi
lea eax, [ebp - 0x28c]
push eax
lea ecx, [ebp - 0x280]
call fcn.00455d62
mov byte [ebp - 4], 9
push 0x4c9c78
push edi
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x280]
call fcn.00455d62
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x28c]
cmp dword [eax - 0xc], 0
je 0x460269
mov eax, dword [ebp - 0x288]
cmp dword [eax - 0xc], 0
je 0x460269
lea edi, [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x28c]
lea ecx, [esi + 0x44]
push eax
mov byte [esi + 0x18], 1
call fcn.0040aac8
lea eax, [ebp - 0x288]
lea ecx, [esi + 0x48]
push eax
call fcn.0040aac8
push edi
mov byte [esi + 0x18], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
push ecx
lea eax, [ebp - 0x288]
mov ecx, esp
mov dword [ebp - 0x284], esp
push eax
call fcn.0040a8a7
mov byte [ebp - 4], 0xb
push ecx
lea eax, [ebp - 0x28c]
mov ecx, esp
mov dword [ebp - 0x294], esp
push eax
call fcn.0040a8a7
mov byte [ebp - 4], 0xc
mov byte [ebp - 4], 0xa
mov ecx, esi
call fcn.0044cfb5
mov dword [ebp - 0x284], eax
test eax, eax
jne 0x460269
mov eax, dword [esi]
xor edi, edi
push edi
push edi
push 0x801
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push esi
push edi
push 0x45a0d8
call fcn.00478d3e
add esp, 0xc
xor eax, eax
cmp dword [ebp - 0x284], eax
sete al
mov esi, eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x288]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x28c]
add ecx, 0xfffffff0
call fcn.00409a10
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x280]
call fcn.0042622f
mov byte [ebp - 4], 1
lea ecx, [ebx - 0x10]
call fcn.00409a10
mov dword [ebp - 4], 0x10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2ac]
call fcn.0042d237
mov eax, esi
call fcn.00473b52
ret
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x280]
call fcn.0042622f
mov byte [ebp - 4], 1
lea ecx, [ebx - 0x10]
call fcn.00409a10
mov dword [ebp - 4], 0x12
xor esi, esi
inc esi
jmp 0x4602bc
Function at 0x461232
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor esi, esi
push esi
push esi
push 3
push esi
push 3
mov ebx, ecx
mov eax, dword [ebx + 0x98]
push SysReAllocStringLen
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x4612ed
push edi
xor eax, eax
mov dword [ebp - 0x14], esi
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov ecx, edx
add ecx, 0xffffffff
adc eax, 0xffffffff
cmp eax, esi
ja 0x4612e3
jb 0x461299
cmp ecx, 0x27fe
ja 0x4612e3
inc edx
push edx
mov dword [ebp - 0xc], esi
call fcn.00474aa6
mov edi, eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
push esi
push edi
call fcn.00473120
add esp, 0x10
push esi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x14]
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4612d8
push dword [ebp - 0x14]
mov ecx, ebx
push edi
call fcn.0045ae09
mov dword [ebp - 8], eax
cmp edi, esi
je 0x4612e3
push edi
call fcn.00474a9b
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, dword [ebp - 8]
pop esi
pop ebx
leave
ret
Function at 0x463469
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x1777
jne 0x46347c
call fcn.00451818
jmp 0x4634ad
cmp dword [ebp + 0xc], 0x1778
jne 0x46348c
call fcn.0043a171
jmp 0x4634ad
cmp dword [ebp + 0xc], 0x1779
jne 0x4634a7
push ecx
push 0
push 0x45a0d8
call fcn.00478d3e
add esp, 0xc
jmp 0x4634ad
mov eax, dword [ebp + 0x14]
and dword [eax], 0
xor eax, eax
pop ebp
ret 0x10

Function at 0x4643cf
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x4b6c53
call fcn.00473a66
mov esi, ecx
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
jne 0x4643ec
push ebx
call fcn.0044a54a
jmp 0x464467
lea eax, [esi + 0x10d4]
push eax
lea ecx, [ebp + 0x10]
call fcn.0040a8a7
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x10]
cmp dword [eax - 0xc], ebx
je 0x464458
lea eax, [esi + 0x10c4]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], ebx
je 0x464431
push ecx
mov ecx, esp
mov dword [ebp - 0x10], esp
push eax
call fcn.0040a8a7
mov byte [ebp - 4], 1
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.0046428d
cmp al, bl
je 0x464447
mov edi, 0x4c9e34
push edi
call fcn.00413682
pop ecx
push eax
push edi
lea ecx, [ebp + 0x10]
call fcn.0040a99e
push 5
push ebx
push ebx
push dword [ebp + 0x10]
push ebx
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
xor eax, eax
call fcn.00473b3e
ret 0x10

Function at 0x4656d9
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
dec eax
push esi
mov esi, ecx
je 0x4656f4
dec eax
jne 0x4656fe
mov dword [esi + 0x10c4], 1
jmp 0x4656fe
mov dword [esi + 0x10c8], 1
push 3
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x469578
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor esi, esi
push esi
push esi
mov edi, ecx
push edi
push 0x460022
push esi
push esi
call fcn.00478972
push esi
push esi
push edi
push 0x46480d
push esi
push esi
call fcn.00478972
mov eax, dword [ebp + 0x14]
add esp, 0x30
mov dword [eax], esi
pop edi
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x46cb31
Capabilities:
Create thread

Disassembly:
push 0x20
mov eax, 0x4b8eb9
call fcn.00473acf
mov eax, dword [ebp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, ecx
mov dword [ebp - 0x2c], eax
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
mov ecx, 0x4fb2dc
call fcn.0044231c
xor ebx, ebx
mov dword [ebp - 0x24], eax
cmp esi, ebx
je 0x46cb72
lea ecx, [esi + 0x410]
mov dword [ebp - 0x28], ecx
jmp 0x46cb75
mov dword [ebp - 0x28], ebx
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [eax + 4]
call fcn.0043ee9e
cmp esi, ebx
je 0x46cb90
lea eax, [esi + 0x414]
mov dword [ebp - 0x28], eax
jmp 0x46cb93
mov dword [ebp - 0x28], ebx
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x28]
push eax
add ecx, 0x10
call fcn.0043ef36
call edi
mov ecx, esi
call fcn.00459752
call edi
push ebx
push ebx
push esi
push 0x45d72c
push ebx
push ebx
call fcn.00478972
add esp, 0x18
call edi
push 0x10e4
call fcn.00474303
pop ecx
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], ebx
cmp ecx, ebx
je 0x46cbdf
call fcn.00466bbe
jmp 0x46cbe1
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
lea ecx, [esi + 0x924]
call fcn.0043995a
mov ecx, dword [esi + 0x924]
push ebx
push dword [esi + 4]
call fcn.004431f1
mov ecx, dword [esi + 0x924]
xor edi, edi
push 0x1d4c0
inc edi
push edi
call fcn.0045bd1e
push 0xb0
call fcn.00474303
pop ecx
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], edi
cmp ecx, ebx
je 0x46cc32
call fcn.004425de
jmp 0x46cc34
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
lea ecx, [esi + 0x928]
call fcn.0043998a
push ebx
push ecx
mov eax, esp
mov dword [ebp - 0x24], esp
push 0x88
push SysReAllocStringLen
push ebx
push ecx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 0x182
mov dword [ebp - 0x14], 0x15f
mov dword [eax], ebx
mov eax, esp
lea ecx, [ebp - 0x20]
mov dword [eax], ecx
mov ecx, dword [esi + 0x928]
mov dword [ebp - 0x24], esp
push dword [esi + 4]
call fcn.00443243
mov eax, dword [ebp - 0x2c]
mov dword [eax], ebx
xor eax, eax
call fcn.00473b52
ret 0x10
Function at 0x46d089
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x4b9055
call fcn.00473a66
mov esi, ecx
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [ebp + 8]
mov byte [esi + 0x18], 1
cmp dword [edi + 4], 1
jne 0x46d0b5
mov ecx, esi
call fcn.0044cb41
lea eax, [edi + 0x414]
push eax
lea ecx, [ebp - 0x10]
call fcn.00431491
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp - 0x10]
lea ecx, [esi + 0x48]
call fcn.0040aa78
lea eax, [edi + 0x14]
push eax
call fcn.00413682
pop ecx
push eax
lea eax, [edi + 0x14]
push eax
lea ecx, [esi + 0x4c]
call fcn.0040a8e3
lea eax, [edi + 0x214]
push eax
call fcn.00413682
pop ecx
push eax
lea eax, [edi + 0x214]
push eax
lea ecx, [esi + 0x44]
call fcn.0040a8e3
mov eax, dword [edi + 4]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 8]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x1c]
push eax
mov byte [esi + 0x18], bl
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
push ebx
push esi
push 0x46af1a
push ebx
push ebx
call fcn.00478972
add esp, 0x18
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00409a10
call fcn.00473b3e
ret 4
Function at 0x46d8db
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x40]
xor al, al
mov bl, 1
cmp ecx, 0xffffffff
je 0x46da71
push edi
mov edi, 0x10000000
cmp ecx, 0x7c
je 0x46da70
cmp ecx, 0x29
jne 0x46d91f
cmp dword [esi + 0x10], 0
jne 0x46da70
test dword [esi + 0x44], edi
jne 0x46d91f
push 5
call fcn.004a3322
pop ecx
jmp 0x46da59
cmp ecx, 0x2e
jne 0x46d93a
push 5
lea ecx, [esi + 0x18]
call fcn.0042724b
mov ecx, esi
call fcn.0042b95f
jmp 0x46da59
cmp ecx, 0x5c
jne 0x46d997
mov ecx, esi
call fcn.0042b95f
mov eax, dword [esi + 0x44]
and eax, 0x80
je 0x46d96c
cmp byte [esi + 0x3e], 0x62
jne 0x46d96c
push 4
lea ecx, [esi + 0x18]
call fcn.0042724b
mov ecx, esi
call fcn.0042b95f
jmp 0x46da60
test eax, eax
je 0x46d98b
cmp byte [esi + 0x3e], 0x42
jne 0x46d98b
push 4
lea ecx, [esi + 0x18]
call fcn.0042724b
mov eax, dword [esi + 0x1c]
add eax, 8
xor dword [eax], 1
jmp 0x46d960
mov ecx, esi
call fcn.00436ae8
jmp 0x46da59
cmp ecx, 0x5b
jne 0x46d9c1
mov ecx, esi
call fcn.0042b95f
mov ecx, esi
call fcn.00438742
cmp dword [esi + 0x40], 0x5d
je 0x46d92e
push 4
call fcn.004a3322
pop ecx
jmp 0x46d92e
cmp ecx, 0x28
jne 0x46d9ed
mov ecx, esi
call fcn.0042b95f
mov ecx, esi
call fcn.0042bb12
cmp dword [esi + 0x40], 0x29
mov bl, al
je 0x46d9e4
push 5
call fcn.004a3322
pop ecx
mov ecx, esi
call fcn.0042b95f
jmp 0x46da55
cmp ecx, 0x5e
jne 0x46d9f9
push 2
jmp 0x46d958
cmp ecx, 0x24
jne 0x46da05
push 3
jmp 0x46d958
cmp ecx, 0x2a
je 0x46da4d
cmp ecx, 0x2b
je 0x46da4d
cmp ecx, 0x3f
je 0x46da4d
cmp ecx, 0x7b
je 0x46da4d
cmp ecx, 0x7d
jne 0x46da2a
test dword [esi + 0x44], edi
jne 0x46da2a
push 6
jmp 0x46d914
cmp ecx, 0x5d
jne 0x46da3b
test dword [esi + 0x44], edi
jne 0x46da3b
push 4
jmp 0x46d914
movzx eax, byte [esi + 0x3e]
push eax
lea ecx, [esi + 0x18]
call fcn.00435192
jmp 0x46d92e
push 0xa
call fcn.004a3322
pop ecx
test bl, bl
je 0x46da60
mov ecx, esi
call fcn.00436b7c
mov ecx, dword [esi + 0x40]
mov al, 1
mov bl, al
cmp ecx, 0xffffffff
jne 0x46d8f5
pop edi
pop esi
pop ebx
ret
Function at 0x46e16b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1772
push esi
mov esi, ecx
cmp dword [ebp + 0xc], eax
jne 0x46e199
push eax
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push esi
push 0
push 0x46d07d
call fcn.00478d3e
add esp, 0xc
jmp 0x46e19f
mov eax, dword [ebp + 0x14]
and dword [eax], 0
xor eax, eax
pop esi
pop ebp
ret 0x10

Function at 0x46e623
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push dword [ebp + 8]
push 0x42387d
push 0
push 0
call fcn.00478972
add esp, 0x18
test eax, eax
je 0x46e653
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
leave
ret 4

Function at 0x46f1b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x1c], edi
jne 0x46f279
mov edx, dword [ebp + 0xc]
xor esi, esi
inc esi
cmp edx, esi
jne 0x46f1f2
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
mov dword [ebp + 0x1c], esi
push dword [ebp + 0x10]
push esi
call fcn.00439c67
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
cmp dword [ebp + 0x1c], edi
je 0x46f279
mov eax, esi
jmp 0x46f27b
cmp edx, 0x4a
jne 0x46f20c
lea eax, [ebp + 0x1c]
push eax
push dword [ebp + 0x14]
mov dword [ebp + 0x1c], esi
push dword [ebp + 0x10]
push edx
call fcn.0046e1a6
jmp 0x46f1dd
mov eax, 0x113
cmp edx, eax
jne 0x46f22a
lea edx, [ebp + 0x1c]
push edx
push dword [ebp + 0x14]
mov dword [ebp + 0x1c], esi
push dword [ebp + 0x10]
push eax
call fcn.00463469
jmp 0x46f1dd
cmp edx, 0x803
jne 0x46f246
push edi
push edi
push ecx
push 0x4647b5
push edi
push edi
call fcn.00478972
add esp, 0x18
jmp 0x46f274
mov eax, 0x801
cmp edx, eax
jne 0x46f267
lea edx, [ebp + 0x1c]
push edx
push dword [ebp + 0x14]
mov dword [ebp + 0x1c], esi
push dword [ebp + 0x10]
push eax
call fcn.00439c9b
jmp 0x46f1dd
cmp edx, 0x704
jne 0x46f279
call fcn.0044cb41
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebp
ret 0x18
Function at 0x4728ad
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x50048c], 0
push esi
push edi
jne 0x47281e
call fcn.00472778
test eax, eax
je 0x472863
mov eax, dword [0x50048c]
cmp eax, 1
jne 0x47283f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x472863
jmp 0x4728a5
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x4728a5
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x472867
xor eax, eax
jmp 0x4728a5
mov eax, dword [esi]
push dword [0x50048c]
call edi
mov edi, eax
test edi, edi
je 0x472889
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x4728a5
lea edi, [esi + 0xff0]
push esi
push dword [0x50048c]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x47288f
mov eax, esi
pop edi
pop esi
ret
jmp 0x47280a

Function at 0x473108
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4f9340]
jne 0x473112
repz ret
jmp fcn.0047ca79
Function at 0x496d85
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4f9340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0047df74
and dword [ebp - 0x14], 0
cmp dword [0x501368], 0
mov dword [ebp - 0x18], eax
jne 0x496e38
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x496ee0
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4d2804
push ebx
call edi
test eax, eax
je 0x496ee0
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x501368], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x50136c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x501370], eax
call edi
push eax
call esi
mov dword [0x501378], eax
test eax, eax
je 0x496e38
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x501374], eax
mov eax, dword [0x501374]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x496e91
cmp dword [0x501378], ecx
je 0x496e91
push eax
call esi
push dword [0x501378]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x496e91
test ebx, ebx
je 0x496e91
call edi
test eax, eax
je 0x496e88
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x496e88
test byte [ebp - 8], 1
jne 0x496e91
or dword [ebp + 0x10], 0x200000
jmp 0x496ec4
mov eax, dword [0x50136c]
cmp eax, dword [ebp - 0x18]
je 0x496ec4
push eax
call esi
test eax, eax
je 0x496ec4
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x496ec4
mov eax, dword [0x501370]
cmp eax, dword [ebp - 0x18]
je 0x496ec4
push eax
call esi
test eax, eax
je 0x496ec4
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x501368]
call esi
test eax, eax
je 0x496ee0
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x496ee2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00473108
leave
ret