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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x402809
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40281f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402816
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402852
nop
cmp esi, ecx
jae 0x402816
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402840
cmp esi, ecx
jae 0x402816
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402a90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
je 0x402b6d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402b6d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402b6d
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402b03
cmp esi, ecx
jae 0x402b6d
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402af1
cmp esi, ecx
jae 0x402b6d
movzx eax, word [esi]
test ax, ax
je 0x402b6d
mov edx, dword [ebx]
mov edi, eax
mov dword [ebp + 8], eax
mov ecx, 1
mov eax, dword [edx - 8]
sub ecx, dword [edx - 4]
sub eax, edi
or ecx, eax
jge 0x402b36
push edi
mov ecx, ebx
call fcn.00402930
mov edx, dword [ebx]
movzx eax, word [esi]
jmp 0x402b39
mov eax, dword [ebp + 8]
movzx ecx, ax
lea eax, [esi + 2]
push ecx
push eax
push edi
push edx
call fcn.00558f29
push eax
call fcn.004029d0
mov ecx, dword [ebx]
add esp, 0x14
cmp edi, dword [ecx - 8]
jg 0x402b76
mov dword [ecx - 0xc], edi
xor edx, edx
mov ecx, dword [ebx]
lea eax, [edx + 1]
mov word [ecx + edi*2], dx
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 8
push 0x80070057
call fcn.00402d40
int3
Function at 0x40ab1a
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x40ab6d
push esi
push dword [ebp + 8]
call fcn.0040ad03
mov edi, eax
test edi, edi
je 0x40ab68
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40ab68
mov eax, dword [ebp - 8]
jmp 0x40ab7f
mov eax, dword [ebp + 0x10]
jmp 0x40ab7f
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
pop edi
pop esi
leave
ret 0xc

Function at 0x40dc7a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x571c82
call fcn.005540f6
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x40dca0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x40dd00
call fcn.0040a721
push eax
lea ecx, [ebp - 0x10]
call fcn.00402cc0
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x580a18]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.0055addb
push eax
call fcn.004029d0
add esp, 0x14
test esi, esi
je 0x40dcf3
push esi
call fcn.00558fd9
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402e00
mov eax, ebx
call fcn.005540bf
ret 8

Function at 0x419dd6
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
call fcn.0055b48e
pop ecx
test eax, eax
jne 0x419e18
push dword [ebp - 4]
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0x583378
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0040b142
add esp, 0x18
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x419dde
leave
ret
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
leave
ret
Function at 0x4254d0
Capabilities:
Set registry value

Disassembly:
push 8
mov eax, 0x571cf8
call fcn.005540f6
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00406070
and dword [ebp - 4], 0
mov esi, dword [ebp + 8]
cmp esi, 0x80000000
jne 0x42552e
call fcn.0042434b
cmp eax, 1
jne 0x42552e
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push str.SoftwareClasses_
push eax
call fcn.0040ce64
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00406260
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.00402e00
inc esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.00402e00
mov eax, esi
call fcn.005540bf
ret 0x14

Function at 0x425fa7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
in eax, dx
salc
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00425c39
push eax
push esi
push dword [ebp + 8]
call fcn.00425bee
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6

Function at 0x425ffe
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lcall 0xc635, 0x9b45c633
inc ebp
pushfd
xor al, 0xc6
inc ebp
popfd
and dh, al
inc ebp
sahf
sub eax, 0x119f45c6
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00425c39
push eax
push esi
push dword [ebp + 8]
call fcn.00425bee
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
invalid
inc ebp
invalid
Function at 0x426389
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x426300
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x42631e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x42637c
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x426363
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x42636c
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x426376
add ecx, eax
or byte [ecx], 4
invalid
invalid
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x426358
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4262e2
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x4263c9
dec eax
je 0x4263c0
sub eax, 3
je 0x4263b7
mov dword [ebp - 4], 0x40
jmp 0x4263e6
mov dword [ebp - 4], 4
jmp 0x4263cc
mov dword [ebp - 4], 0x20
jmp 0x4263cc
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
invalid
test eax, eax
je 0x426418
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x426398
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00425c29
cmp dword [eax + 0x75ff63df], esp
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x426424
push 0x8000
Function at 0x4264a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
insd dword es:[edi], dx
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.00425c39
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00425bee
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.00425c39
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00425bee
add esp, 0xc
mov dword [ebp - 0x538], eax
invalid
Function at 0x4388d4
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi], ebx
je 0x43891b
push 0x582760
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x43892a
push str.MoveFileTransactedW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43892a
push dword [esi]
mov ecx, edi
push 2
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [0x580a18]
call edi
jmp 0x43892c
cmp dword [esi + 4], ebx
je 0x43892a
pop edi
pop esi
pop ebx
pop ebp
jmp dword [sym.imp.KERNEL32.dll_MoveFileW]
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4554ef
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
mov dword [ebp - 4], ebx
test byte [esi + 4], 1
mov edi, dword [esi + 0xc]
jne 0x455545
push 5
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x45551e
call fcn.0040ffb0
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x455533
call fcn.0040ffb0
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x455545
call fcn.0040ffb0
call fcn.004242fd
cmp dword [eax + 0x3c], 0
je 0x45555a
push edi
mov ecx, ebx
call fcn.00454c1f
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.0045572c
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x88]
test ecx, ecx
je 0x455583
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x88], 0
test ebx, ebx
je 0x45558f
mov edi, ebx
mov dword [eax + 0x88], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x45bb58
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [edi + 4]
call fcn.0040d85b
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
mov esi, eax
mov ecx, edi
and esi, 3
call fcn.0045bd71
cmp esi, 3
je 0x45bb96
mov dword [edi + 0xc], 1
cmp dword [edi], 0
je 0x45bbdf
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x45bbb9
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0040b255
jmp 0x45bbca
push 0xff
mov ecx, esi
call fcn.00402990
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040ae46
jmp 0x45bc03
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x45bc03
push dword [esi]
push dword [ebp - 4]
call fcn.00428173
pop edi
pop esi
leave
ret 0xc
Function at 0x45bcc8
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.0045bd71
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x45bd10
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0040b255
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040ae46
jmp 0x45bd1b
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00428173
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x493055
Capabilities:
Get file system object information

Disassembly:
push 0x4cc
mov eax, 0x57866f
call fcn.0055412a
mov ebx, ecx
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00406330
pop ecx
lea esi, [eax + 0x10]
mov dword [ebp - 0x4d0], esi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x4d0]
push 0
push 0x581a74
call fcn.00408d2c
cmp eax, 0xffffffff
jne 0x49312f
push 0
push 0x592fd0
lea ecx, [ebp - 0x4d0]
call fcn.00408d2c
cmp eax, 0xffffffff
jne 0x49312f
push 0
push 0x58167c
lea ecx, [ebp - 0x4d0]
call fcn.00408d2c
cmp eax, 0xffffffff
jne 0x49312f
mov eax, dword [ebx + 0x14]
sub eax, 0x10
push eax
call fcn.00406330
mov edi, eax
pop ecx
mov dword [ebp - 0x4d4], edi
lea ecx, [edi + 0x10]
mov dword [ebp - 0x4d8], ecx
xor edx, edx
mov byte [ebp - 4], 1
push edx
lea eax, [ebp - 0x218]
push eax
push 0x104
push edx
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SearchPathW]
test eax, eax
jne 0x4930fe
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x580a18]
mov ecx, ebx
call edi
mov ecx, dword [ebp - 0x4d4]
mov edi, eax
call fcn.00402e00
jmp 0x493168
lea eax, [ebp - 0x218]
push eax
call fcn.00558fd9
pop ecx
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x4d0]
call fcn.00406180
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00402e00
mov esi, dword [ebp - 0x4d0]
push 0x105
push 0x2b4
lea eax, [ebp - 0x4cc]
push eax
push 0
push esi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
je 0x493155
mov edi, dword [ebp - 0x4cc]
jmp 0x493168
mov eax, dword [ebx]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x580a18]
mov ecx, ebx
call edi
mov edi, eax
lea ecx, [esi - 0x10]
call fcn.00402e00
mov eax, edi
call fcn.005540d4
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x289c468e
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x4b006751
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x1000b9e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1027a680]
jne 0x1000b9ee
repz ret
jmp fcn.1000dce9

Function at 0x10010edf
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000d8c1
and dword [ebp - 4], 0
cmp dword [0x1027c634], 0
mov ebx, eax
jne 0x10010f90
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10011041
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10011041
push eax
call fcn.1000d84f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1027c634], eax
call esi
push eax
call fcn.1000d84f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1027c638], eax
call esi
push eax
call fcn.1000d84f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1027c63c], eax
call esi
push eax
call fcn.1000d84f
pop ecx
mov dword [0x1027c644], eax
test eax, eax
je 0x10010f90
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000d84f
pop ecx
mov dword [0x1027c640], eax
mov eax, dword [0x1027c640]
cmp eax, ebx
je 0x10010fe8
cmp dword [0x1027c644], ebx
je 0x10010fe8
push eax
call fcn.1000d8ca
push dword [0x1027c644]
mov esi, eax
call fcn.1000d8ca
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10010fe8
test edi, edi
je 0x10010fe8
call esi
test eax, eax
je 0x10010fdf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10010fdf
test byte [ebp - 0xc], 1
jne 0x10010fe8
or dword [ebp + 0x10], 0x200000
jmp 0x10011021
mov eax, dword [0x1027c638]
cmp eax, ebx
je 0x10011021
push eax
call fcn.1000d8ca
pop ecx
test eax, eax
je 0x10011021
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10011021
mov eax, dword [0x1027c63c]
cmp eax, ebx
je 0x10011021
push eax
call fcn.1000d8ca
pop ecx
test eax, eax
je 0x10011021
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1027c634]
call fcn.1000d8ca
pop ecx
test eax, eax
je 0x10011041
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10011043
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10011d55
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x88
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100118a4
lea ecx, [0x100124f7]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], edx
mov dword [esp + 0x6c], 0x13c800
mov edx, dword [0x1027a608]
mov dword [esp + 0x58], edx
mov edx, dword [0x1027a60c]
mov dword [esp + 0x54], edx
mov dword [0x1027a61c], 0x5bf
mov edx, dword [0x1027a610]
mov dword [esp + 0x80], edx
mov edx, dword [0x1027a614]
mov dword [esp + 0x3c], edx
mov edx, dword [0x1027a618]
mov dword [esp + 0x84], edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x10011df5
mov eax, dword [esp + 0x10]
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 8], ecx
je 0x10011e18
jmp 0x10011e04
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0xc], eax
je 0x10011ddf
mov eax, dword [esp + 0xc]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x10011df5
mov eax, dword [esp + 0xc]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 8]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x30], edx
mov dword [0x1027a61c], 0x1307
call fcn.10012c67
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x10], ecx
jne 0x10011dd7
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10011fda
mov dword [0x1027a620], 0x1f85
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x1027a61c], 0x1c7
mov dword [esp + 0x10], eax
jmp 0x10011dd7
Function at 0x10011fda
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1027a620], 0x1b1
mov dword [0x1027a61c], 0x132c
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10012027
mov eax, dword [ebp - 0x30]
add eax, 0x16fb
mov dword [ebp - 0x34], eax
mov dword [0x1027a61c], 0x16db
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
jmp 0x1001210e
mov eax, dword [ebp - 0x2c]
mov cl, byte [eax + 0x100141f5]
mov dl, byte [eax + 0x100141c6]
sub dl, cl
mov byte [ebp + eax - 0x20], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x2c], eax
jne 0x10012027
lea eax, [ebp - 0x20]
mov dword [0x1027a61c], 0xfffefc67
mov dword [ebp - 0x3c], eax
call fcn.10012fe6
mov dword [esp], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
call fcn.100121d5
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ecx
je 0x1001210e
mov eax, dword [ebp - 0x40]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
call fcn.10012392
xor eax, eax
mov ecx, dword [ebp - 0x30]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x1027a620], 0x32b
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x14], ecx
mov ecx, dword [ebp - 0x30]
mov dword [edx + 0x44], ecx
mov dword [0x1027a61c], 0xc1f
cmp ecx, 0
mov dword [ebp - 0x38], eax
jne 0x10012007
mov eax, dword [ebp - 0x38]
add esp, 0x50
pop ebp
ret