joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a467
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x459176
call fcn.0043ed72
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.00434bf5
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x42a4b2
call fcn.00434bf5
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x42a4c3
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x42a4d0
or eax, 0xffffffff
jmp 0x42a62c
mov ecx, esi
call fcn.00429fae
mov dword [ebp - 0x14], eax
call fcn.0042d0f1
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x42a54e
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x42a54e
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42a54e
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00429e5f
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x42a54e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x42a54e
mov ecx, ebx
call fcn.0042a93a
test eax, eax
je 0x42a54e
push 0
mov ecx, ebx
call fcn.0042a955
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0042e979
push dword [ebp - 0x14]
call fcn.0042d049
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.0042a26f
xor edi, edi
cmp eax, edi
je 0x42a5ab
test byte [esi + 0x3c], 0x10
je 0x42a595
push 4
pop edi
mov ecx, esi
call fcn.0042a821
test ax, 0x100
je 0x42a58b
push 5
pop edi
push edi
mov ecx, esi
call fcn.0042cc11
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x42a5ab
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.0042a9bc
or dword [ebp - 4], 0xffffffff
jmp 0x42a5d6
cmp dword [ebp - 0x28], edi
je 0x42a5e4
push 1
mov ecx, ebx
call fcn.0042a955
cmp dword [ebp - 0x2c], edi
je 0x42a5f4
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x42a60d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x42a60d
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.00429fe8
cmp dword [esi + 0x58], edi
je 0x42a629
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0043ee17
ret
Function at 0x42a696
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x42a6b6
cmp dword [edi + 0x54], 0
jne 0x42a6b6
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00434bf5
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.0042a65d
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x42e068
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x42e0a1
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0040d2b4
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004053df
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x42f5bf
Capabilities:
Get graphical window text

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
push 0x464e5c
mov ecx, edi
call fcn.0040165b
cmp dword [esi + 0x4c], 0
push dword [esp + 0xc]
jne 0x42f612
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
test esi, esi
je 0x42f625
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, edi
call fcn.0040d2b4
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, edi
call fcn.004053df
jmp 0x42f625
mov ecx, esi
call fcn.0042a761
test eax, eax
je 0x42f625
push edi
mov ecx, eax
call fcn.0042e068
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
pop edi
pop esi
ret 8

Function at 0x42fb03
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x42fb46
call fcn.00434bf5
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x42fb46
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x42fb61
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042f6bd
test ebx, ebx
mov esi, eax
je 0x42fb5f
test edi, edi
je 0x42fb5f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4367c0
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x1f4]
sub esp, 0x274
mov eax, dword [0x47a030]
xor eax, ebp
mov dword [ebp + 0x1f0], eax
cmp dword [ebp + 0x200], 0x800
mov eax, dword [ebp + 0x1fc]
push esi
mov dword [ebp - 0x40], eax
mov esi, ecx
lea eax, [ebp + 0x1e8]
jne 0x43685e
push 0x4617bc
push 4
push eax
call fcn.0043dc76
push eax
call fcn.00401607
add esp, 0x10
push ebx
push edi
call fcn.0043f1c6
mov edi, dword [eax]
call fcn.0043f1c6
xor ebx, ebx
mov dword [eax], ebx
lea eax, [ebp + 0x1e8]
push eax
push dword [ebp - 0x40]
lea eax, [ebp - 0x3c]
push esi
push 0x111
mov esi, 0x112
push esi
push eax
call fcn.0043f16c
add esp, 0x18
mov dword [ebp - 0x40], eax
call fcn.0043f1c6
cmp dword [eax], ebx
je 0x436875
call fcn.0043f1c6
push dword [eax]
call fcn.00425280
pop ecx
jmp 0x43687c
push 4
push eax
push 3
push dword [ebp + 0x200]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x43680f
jmp 0x4368ee
call fcn.0043f1c6
mov dword [eax], edi
cmp dword [ebp - 0x40], 0xffffffff
je 0x4368ea
cmp dword [ebp - 0x40], esi
jae 0x4368ea
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push 0x3c
mov esi, eax
lea eax, [ebp - 0x7c]
push ebx
push eax
mov dword [ebp - 0x80], 0x40
call fcn.0043ee50
add esp, 0xc
push 0x460df8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x4368dc
push str.FindActCtxSectionStringW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x4368dc
lea ecx, [ebp - 0x80]
push ecx
push esi
push 2
push ebx
push ebx
call eax
test eax, eax
je 0x4368dc
push ebx
push ebx
push esi
jmp 0x4368e2
push ebx
push ebx
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
jmp 0x4368ec
xor eax, eax
pop edi
pop ebx
mov ecx, dword [ebp + 0x1f0]
xor ecx, ebp
pop esi
call fcn.0043aa05
add ebp, 0x1f4
leave
ret
Function at 0x43aa05
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47a030]
jne 0x43aa0f
repz ret
jmp fcn.00442da4
Function at 0x43e06b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x43e0a8
cmp dword [ebp + 0x14], edi
je 0x43e0a8
cmp ecx, edi
jne 0x43e0af
call fcn.0043f1c6
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0043d7b1
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x43e0c3
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x43e0e4
cmp ebx, 0xffffffff
je 0x43e0d3
push ebx
push edi
push ecx
call fcn.0043ee50
add esp, 0xc
cmp esi, edi
je 0x43e090
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x43e090
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x43e100
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x43e107
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x43e1f8
test word [esi + 0xc], 0x10c
je 0x43e15b
mov eax, dword [esi + 4]
test eax, eax
je 0x43e15b
jl 0x43e259
cmp ebx, eax
mov edi, ebx
jb 0x43e12c
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x43e200
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0043b039
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x43e1f0
cmp ebx, dword [ebp - 0xc]
jb 0x43e1c8
cmp dword [ebp - 0xc], 0
je 0x43e185
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x43e17a
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x43e181
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x43e190
mov eax, SysReAllocString
cmp ebx, eax
ja 0x43e190
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x43e22c
push eax
push dword [ebp - 8]
push esi
call fcn.00440d75
pop ecx
push eax
call fcn.0044c800
add esp, 0xc
test eax, eax
je 0x43e26b
cmp eax, 0xffffffff
je 0x43e259
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x43e1f0
push esi
call fcn.0044af0a
cmp eax, 0xffffffff
pop ecx
je 0x43e25d
cmp dword [ebp - 4], 0
je 0x43e22c
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x43e10f
mov eax, dword [ebp + 0x14]
jmp 0x43e0aa
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x43e217
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0043ee50
add esp, 0xc
call fcn.0043f1c6
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x43e0a0
cmp dword [ebp + 0xc], 0xffffffff
je 0x43e242
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0043ee50
add esp, 0xc
call fcn.0043f1c6
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x43e0a0
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x43e0aa
or dword [esi + 0xc], 0x10
jmp 0x43e25d
Function at 0x441b17
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x47a1c0]
je 0x441b32
inc edi
cmp edi, 0x17
jb 0x441b23
cmp edi, 0x17
jae 0x441cb2
push ebp
push 3
call fcn.0044f822
cmp eax, 1
pop ecx
je 0x441c7e
push 3
call fcn.0044f822
test eax, eax
pop ecx
jne 0x441b66
cmp dword [0x479d80], 1
je 0x441c7e
cmp ebx, 0xfc
je 0x441cb1
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x47f208
push ebp
call fcn.0044aea5
add esp, 0xc
test eax, eax
je 0x441b9c
push esi
push esi
push esi
push esi
push esi
call fcn.0043d6b5
add esp, 0x14
push 0x104
mov esi, 0x47f221
push esi
push 0
mov byte [0x47f325], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x441be0
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0044aea5
add esp, 0xc
test eax, eax
je 0x441be0
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0043d6b5
add esp, 0x14
push esi
call fcn.00441580
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x441c25
push esi
call fcn.00441580
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x47f51c
push 0x462c24
sub ecx, eax
push ecx
push eax
call fcn.0044f76f
add esp, 0x14
test eax, eax
je 0x441c25
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0043d6b5
add esp, 0x14
jmp 0x441c27
xor esi, esi
push 0x462c20
push ebx
push ebp
call fcn.0044f6fe
add esp, 0xc
test eax, eax
je 0x441c47
push esi
push esi
push esi
push esi
push esi
call fcn.0043d6b5
add esp, 0x14
push dword [edi*8 + 0x47a1c4]
push ebx
push ebp
call fcn.0044f6fe
add esp, 0xc
test eax, eax
je 0x441c69
push esi
push esi
push esi
push esi
push esi
call fcn.0043d6b5
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0044f541
add esp, 0xc
jmp 0x441cb1
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x441cb1
cmp ebp, 0xffffffff
je 0x441cb1
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x47a1c4]
push dword [esi]
call fcn.00441580
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x44f541
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004426dc
xor ebx, ebx
cmp dword [0x47fd0c], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x44f617
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x44f6f7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x44f6f7
push eax
call fcn.0044266e
mov dword [esp], 0x463130
push edi
mov dword [0x47fd0c], eax
call esi
push eax
call fcn.0044266e
mov dword [esp], 0x46311c
push edi
mov dword [0x47fd10], eax
call esi
push eax
call fcn.0044266e
mov dword [0x47fd14], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0043d438
test eax, eax
pop ecx
pop ecx
je 0x44f5e5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043d6b5
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x44f617
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0044266e
cmp eax, ebx
pop ecx
mov dword [0x47fd1c], eax
je 0x44f617
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0044266e
pop ecx
mov dword [0x47fd18], eax
mov eax, dword [0x47fd18]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x44f69c
cmp dword [0x47fd1c], ecx
je 0x44f69c
push eax
call fcn.004426e5
push dword [0x47fd1c]
mov esi, eax
call fcn.004426e5
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x44f69c
cmp edi, ebx
je 0x44f69c
call esi
cmp eax, ebx
je 0x44f669
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x44f669
test byte [ebp - 0x18], 1
jne 0x44f69c
lea eax, [ebp - 0x10]
push eax
call fcn.0043d46f
test eax, eax
pop ecx
je 0x44f684
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043d6b5
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x44f693
or dword [ebp + 0x10], 0x200000
jmp 0x44f6d7
or dword [ebp + 0x10], 0x40000
jmp 0x44f6d7
mov eax, dword [0x47fd10]
cmp eax, dword [ebp - 8]
je 0x44f6d7
push eax
call fcn.004426e5
cmp eax, ebx
pop ecx
je 0x44f6d7
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x44f6d7
mov eax, dword [0x47fd14]
cmp eax, dword [ebp - 8]
je 0x44f6d7
push eax
call fcn.004426e5
cmp eax, ebx
pop ecx
je 0x44f6d7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47fd0c]
call fcn.004426e5
cmp eax, ebx
pop ecx
je 0x44f6f7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44f6f9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x415f73
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x415fb2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x415fb2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x415fb2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x415fb2
cmp dword [ecx + 0x74], 0xe
jbe 0x415fb2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x428380
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4283ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4283ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x31403140
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x433060
nop
nop
nop
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
pop eax
nop
nop
nop
nop
nop
mov esi, 0x50ed7034
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219

Function at 0x40206c
Capabilities:
Allocate or change rwx memory

Disassembly:
sub ebp, 0x82
mov esi, eax
mov edx, dword [0x404080]
or dl, 1
imul edx, eax
mov eax, dword [0x404080]
sub eax, edx
mov ebx, esi
mov edx, eax
mov eax, 0x404084
call fcn.00401fe6
xor eax, eax
mov dword [ebp + 0x7e], eax
lea eax, [ebp + 0x7e]
push eax
mov eax, esi
jmp 0x4020ea
push ebx
push ecx
push edx
push esi
push edi
enter 0x84, 0
jmp 0x402010
or al, 0x40
mov edi, 0x40389b
push eax
sub edi, fcn.00403045
push edi
push fcn.00403045
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
cmp dword [ebp + 0x7e], 0
je 0x402129
mov eax, fcn.00403045
mov ebx, esi
mov edx, edi
call fcn.00401fe6
mov edx, 0x1c000
mov eax, 0x404084
mov ebx, esi
call fcn.00402630
lea edx, [ebp - 2]
mov eax, esi
mov dword [ebp - 2], 1
call fcn.00402bb7
lea edx, [esi + 0x1c000]
add edx, esi
lea eax, [esi - 1]
lea ebx, [ebp - 2]
and eax, 0x404084
call fcn.00403045
lea esp, [ebp + 0x82]
pop ebp
pop edi
pop esi
pop edx
pop ecx
pop ebx
ret
Function at 0x102a3b2
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 8], 0
cmp dword [ebp + 8], 1
push ebx
push esi
push edi
mov ebx, ecx
mov edi, 0x1029050
mov esi, 0x80000001
je 0x10563e4
push dword [ebp + 8]
push 0x1029164
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_SHOpenRegStream2W]
mov dword [ebp - 4], eax
test eax, eax
je 0x102a43e
push eax
call dword [sym.imp.SHLWAPI.dll_IStream_Reset]
test eax, eax
jl 0x102a43e
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp - 4]
jne 0x1056423
call fcn.0102a44f
test eax, eax
jl 0x1056417
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 8], 0
jne 0x1056448
cmp dword [ebx + 0x30], 0
jne 0x105647f
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 8], 0
je 0x105643c
jmp 0x102a42d
push 8
lea eax, [ebx + 0x20]
push eax
push 0xb
push 0x48
push 0x102917c
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
push 8
lea eax, [ebx + 0x28]
push eax
push 0xb
push 0x48
push 0x10290fc
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_Ordinal_631]
jmp 0x102a3d6
mov dword [ebx + 0x30], 1
jmp 0x102a41a
call fcn.01072390
test eax, eax
jge 0x102a41a
mov dword [ebp - 8], 1
jmp 0x102a41a
mov dword [ebx + 0x30], 1
jmp 0x102a423
lea eax, [ebp + 8]
push eax
push 0x20006
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x102a42d
push 0x1029164
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x102a42d
cmp dword [ebp + 0x14], 0
je 0x105648f
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.010720a9
and dword [ebx + 0x30], 0
jmp 0x102a437
Function at 0x102a8df
Capabilities:
Terminate process

Disassembly:
call fcn.01029fc5
push 0x5c
push 0x102aa18
call fcn.0102eb1c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x10b0fec
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
jne 0x1059a92
xor esi, esi
inc esi
mov eax, dword [0x10b0174]
cmp eax, esi
je 0x1059ab1
mov eax, dword [0x10b0174]
test eax, eax
jne 0x102aa6d
mov dword [0x10b0174], esi
push 0x102aa10
push 0x102aa04
call fcn.0102a8b6
pop ecx
pop ecx
test eax, eax
jne 0x1059b6b
mov eax, dword [0x10b0174]
cmp eax, esi
jne 0x102a992
push 0x102aa00
push 0x102a9d4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x10b0174], 2
cmp dword [ebp - 0x20], ebx
jne 0x102a99f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x10b26f8], ebx
jne 0x1059abe
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x1059b6b
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
jbe 0x102aa40
cmp cx, 0x22
je 0x1059b08
inc eax
inc eax
jmp 0x102a9ba
cmp cx, bx
jne 0x102aa78
movzx ecx, word [eax]
cmp cx, bx
jne 0x1059ae0
test byte [ebp - 0x40], 1
je 0x102aa82
movzx ecx, word [ebp - 0x3c]
push ecx
push eax
push ebx
push 0x1000000
call fcn.01022cfd
jmp 0x1059af4
mov dword [0x10b2a60], esi
jmp 0x102a96e
cmp dword [ebp - 0x1c], ebx
je 0x102aa45
jmp 0x102a9c6
push 0xa
pop ecx
jmp 0x102aa5b
cmp eax, esi
jne 0x1059aa1
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x102a935
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x102a921
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x102a96e
push 0x10b26f8
call fcn.01079d99
pop ecx
test eax, eax
je 0x102a9ab
push ebx
push 2
push ebx
call dword [0x10b26f8]
jmp 0x102a9ab
cmp cx, 0x20
ja 0x102aa51
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x102aa45
mov dword [0x10b2a5c], eax
cmp dword [0x10b011c], ebx
jne 0x1059b48
push eax
call dword [sym.imp.msvcrt.dll_exit]
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
jmp 0x102a9d0
cmp dword [0x10b2a60], ebx
jne 0x1059b56
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10b2a5c]
jmp 0x1059b77
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.0102ce74
ret