joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1018e55
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x10310f0
call fcn.01025710
sub esp, 0x124
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 8
pop ecx
mov esi, 0x1005dd4
lea edi, [ebp - 0x30]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [eax], ecx
mov eax, dword [ebp + 0x18]
lea edx, [ebp - 0x10]
push edx
push eax
mov dword [eax], ecx
lea eax, [ebp + 0x18]
push eax
push ecx
push dword [ebp + 0x14]
mov dword [ebp + 0x18], ecx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
mov ebx, 0x200
mov edi, 0x1005b2c
mov esi, 0x1005a48
je 0x1018ef2
jle 0x1018ec0
and eax, 0xffff
or eax, 0x80070000
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x1005ccc
push eax
sub esp, 0x40
mov ecx, esp
mov dword [ebp + 0xc], esp
push 0
push ebx
push 0x15c
push edi
push esi
call fcn.0101170a
or dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
call fcn.010265d8
add esp, 0x54
cmp dword [ebp + 0x18], 4
je 0x1018ff2
push 1
push 0
push ebx
push 0x162
push edi
push esi
lea ecx, [ebp - 0x130]
call fcn.0101170a
mov dword [ebp - 4], 1
push dword [ebp + 0x18]
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
call fcn.0101360c
mov byte [ebp - 4], 2
push 4
lea ecx, [ebp - 0xf0]
push ecx
mov ecx, eax
call fcn.0101360c
mov byte [ebp - 4], 3
push dword [ebp + 0x14]
lea ecx, [ebp - 0x70]
push ecx
mov ecx, eax
call fcn.01011e88
mov byte [ebp - 4], 4
sub esp, 0x40
mov ecx, esp
mov dword [ebp + 0xc], esp
push dword [ebp + 0x10]
push ecx
mov ecx, eax
call fcn.01011e88
mov byte [ebp - 4], 4
push 0x3007
push dword [ebp + 8]
call fcn.01011f26
add esp, 0x4c
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x70]
call fcn.0101174b
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.0101174b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xb0]
call fcn.0101174b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.0101174b
push dword [ebp + 0x18]
lea eax, [ebp - 0x30]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push eax
push 0x1005d28
push 0x8000ffff
sub esp, 0x40
mov ecx, esp
mov dword [ebp + 0x14], esp
push 0
push ebx
push 0x163
push edi
push esi
call fcn.0101170a
or dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
call fcn.01011923
add esp, 0x5c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14
Function at 0x101cbe4
Capabilities:
Resume thread

Disassembly:
mov eax, 0x10318be
call fcn.01025710
sub esp, 0x20
push ebx
push esi
push edi
push 0x1007b14
sub esp, 0x40
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ecx, esp
push 0
push 0x200
push 0x171
mov ebx, 0x1007b08
push ebx
mov edi, 0x1007a98
push edi
call fcn.0101170a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.01011772
mov dword [ebp - 4], 1
mov eax, dword [esi + 8]
test eax, eax
je 0x101cce5
cmp dword [esi + 0x10], 2
jne 0x101cce5
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x101ccdd
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
push 0x1007a08
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0
push 0x4000
push 0x184
push ebx
push edi
call fcn.0101170a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.01026cc9
add esp, 0x54
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10079a8
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0
push 0x4000
push 0x187
push ebx
push edi
call fcn.0101170a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.01011891
mov dword [esi + 0x10], 5
add esp, 0x50
mov esi, 0x8007000e
jmp 0x101cd1d
mov byte [esi + 0x14], 1
xor esi, esi
jmp 0x101cd1d
push dword [esi + 0x10]
push 0x100798c
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x10], esp
push 0
push 0x4000
push 0x176
push ebx
push edi
call fcn.0101170a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.01011891
add esp, 0x4c
mov esi, 0x8000ffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.01011818
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x101e12c
Capabilities:
Resume thread

Disassembly:
mov eax, 0x1031bf6
call fcn.01025710
sub esp, 0x20
push ebx
push esi
push edi
push 0x1008424
sub esp, 0x40
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ecx, esp
push 0
push 0x200
push 0x1f7
mov ebx, 0x1007b08
push ebx
mov edi, 0x1007a98
push edi
call fcn.0101170a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.01011772
mov dword [ebp - 4], 1
cmp dword [esi + 8], 0
je 0x101e2ad
mov eax, dword [esi]
mov ecx, esi
mov byte [esi + 5], 1
call dword [eax + 0xc]
cmp byte [ebp + 8], 0
je 0x101e231
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x101e231
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
push 0x1007a08
sub esp, 0x40
mov ecx, esp
mov dword [ebp + 8], esp
push 0
push 0x4000
push 0x20a
push ebx
push edi
call fcn.0101170a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.01026cc9
add esp, 0x54
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10079a8
sub esp, 0x40
mov ecx, esp
mov dword [ebp + 8], esp
push 0
push 0x4000
push 0x20d
push ebx
push edi
call fcn.0101170a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.01011891
mov dword [esi + 0x10], 5
add esp, 0x50
mov esi, 0x8000ffff
jmp 0x101e2af
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
jne 0x101e2ad
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [esi + 8]
push 0x1008360
sub esp, 0x40
mov ecx, esp
mov dword [ebp + 8], esp
push 0
push 0x4000
push 0x219
push ebx
push edi
call fcn.0101170a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
call fcn.01026cc9
add esp, 0x54
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10082f0
sub esp, 0x40
mov ecx, esp
mov dword [ebp + 8], esp
push 0
push 0x4000
push 0x21c
push ebx
push edi
call fcn.0101170a
jmp 0x101e213
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.01011818
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x1025b2a
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x1025b3e
lea eax, [esi + 0x54]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esi + 4], 0xffffffff
je 0x1025b65
push edi
push 0
lea eax, [esp + 0xc]
push eax
lea edi, [esi + 0x54]
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
shl eax, 1
push eax
push edi
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
xor eax, eax
pop esi
pop ecx
ret

Function at 0x1025b6f
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1032983
call fcn.01025710
sub esp, 0x218
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 1
push 0x20019
push 0x100b708
mov edi, 0x80000002
push edi
lea ecx, [ebp - 0x1c]
mov dword [esi], ebx
mov dword [esi + 0x1054], ebx
call fcn.0102592b
test eax, eax
jne 0x1025be5
push 0x100b724
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.01025960
cmp eax, ebx
mov eax, dword [ebp - 0x14]
je 0x1025bd7
mov eax, ebx
xor ecx, ecx
cmp eax, 1
sete cl
mov dword [esi + 0x1054], ecx
push 0x20019
push 0x100b6a0
push edi
lea ecx, [ebp - 0x10]
call fcn.0102592b
cmp eax, ebx
jne 0x1025cc2
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x100b828
push dword [ebp - 0x10]
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x1025c3c
lea eax, [ebp - 0x224]
push eax
lea eax, [esi + 8]
push eax
call fcn.01025a9e
push 0x100b810
lea eax, [esi + 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.01025add
push 0x100b7f0
lea eax, [esi + 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.01025b01
lea eax, [esi + 0xc]
push 0x100b7d8
push eax
lea ecx, [ebp - 0x10]
call fcn.01025b01
push 0x100b7b8
lea edi, [esi + 0x10]
push edi
lea ecx, [ebp - 0x10]
call fcn.01025b01
push 0x100b798
lea eax, [esi + 0x1c]
push eax
lea ecx, [ebp - 0x10]
call fcn.01025b01
push 0x100b774
lea eax, [esi + 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.01025b01
push 0x100b754
lea eax, [esi + 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.01025b01
cmp dword [edi], ebx
jne 0x1025cbc
cmp dword [esi + 0xc], ebx
je 0x1025cc2
mov dword [esi], 1
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
call fcn.01025914
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.01025914
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x1025e71
Capabilities:
Get file size
Persist via application shimming
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x50]
call fcn.010259e5
xor ebx, ebx
cmp dword [esi], ebx
je 0x1025fec
mov eax, dword [ebp + 0x14]
test dword [esi + 0x24], eax
je 0x1025fec
push edi
mov edi, dword [ebp + 8]
cmp edi, ebx
jne 0x1025eaa
mov dword [esi + 0x48], 0x100bb28
jmp 0x1025ee1
push edi
call dword [sym.imp.msvcrt.dll_wcslen]
pop ecx
lea eax, [edi + eax*2 - 2]
xor ecx, ecx
cmp eax, edi
jbe 0x1025ede
cmp ecx, 3
jge 0x1025ed2
dec eax
dec eax
cmp word [eax], 0x5c
je 0x1025ecd
cmp eax, edi
ja 0x1025ec1
inc ecx
cmp eax, edi
ja 0x1025ebc
cmp eax, edi
jbe 0x1025ede
add eax, 2
mov dword [esi + 0x48], eax
jmp 0x1025ee1
mov dword [esi + 0x48], edi
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x4c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
mov dword [esi + 0x44], eax
mov eax, dword [ebp + 0x1c]
inc edi
cmp dword [esi + 0xc], ebx
mov dword [esi + 0x40], eax
je 0x1025fe8
mov eax, dword [esi + 8]
cmp eax, ebx
jne 0x1025f0b
mov eax, 0x10013ec
push ebx
push 0x80
push 4
push ebx
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x1025f3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100ba90
jmp 0x1025fdf
lea ecx, [ebp - 0x1c]
push ecx
push ebx
push edi
push ebx
push 2
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.KERNEL32.dll_LockFileEx]
test eax, eax
jne 0x1025f79
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100b9c8
jmp 0x1025fdf
lea eax, [ebp - 8]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x1025fae
mov eax, dword [ebp - 8]
or eax, dword [ebp - 4]
jne 0x1025fae
or byte [ebp + 0x16], 0xff
push ebx
lea eax, [ebp + 8]
push eax
push 2
lea eax, [ebp + 0x16]
push eax
push dword [esi + 4]
mov byte [ebp + 0x17], 0xfe
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 2
push ebx
push ebx
push ebx
push dword [esi + 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1025fe8
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [esi + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100b900
push esi
call fcn.01025cea
add esp, 0xc
mov dword [esi + 0x3c], edi
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x18
Function at 0x1027391
Capabilities:
Compare security identifiers
List user accounts for group

Disassembly:
mov eax, 0x1032b96
call fcn.01025710
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x100c8e8
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0
mov ebx, 0x4000
push ebx
push 0x144
mov edi, 0x100c7ac
push edi
mov esi, 0x100c728
push esi
call fcn.0101170a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.01011772
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov eax, dword [ebp + 0xc]
cmp word [eax], cx
jne 0x1027402
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.01011818
xor al, al
jmp 0x102754e
lea edx, [ebp - 0x34]
push edx
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x3c]
push edx
push 0xffffffffffffffff
lea edx, [ebp - 0x40]
push edx
push ecx
push eax
push ecx
call sub.NETAPI32.dll_NetLocalGroupGetMembers
test eax, eax
je 0x102745b
jle 0x102742c
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x30], eax
push 0x100c8c4
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x44], esp
push 0
push ebx
push 0x160
push edi
push esi
call fcn.0101170a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
push eax
call fcn.01026e93
add esp, 0x48
and byte [ebp - 0x45], 0
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x4c], esi
xor edi, edi
mov dword [ebp - 0x50], edi
cmp edi, dword [ebp - 0x3c]
jae 0x102748b
mov eax, dword [esi + edi*4]
mov dword [ebp - 0x54], eax
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x10274b6
mov byte [ebp - 0x45], 1
mov dword [ebp - 4], 1
push dword [ebp - 0x40]
call sub.NETAPI32.dll_NetApiBufferFree
mov eax, dword [ebp - 0x30]
test eax, eax
jge 0x102753f
mov dword [ebp - 0x64], eax
push 0x1033e34
lea eax, [ebp - 0x64]
push eax
call sub.msvcrt.dll__CxxThrowException
inc edi
jmp 0x102746b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.01011818
mov al, byte [ebp - 0x45]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x102866e
Capabilities:
Get token membership

Disassembly:
mov eax, 0x1032e53
call fcn.01025710
sub esp, 0x64
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x100d370
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x14], esp
xor ebx, ebx
push ebx
push 0x4000
push 0xa8
push 0x100d25c
mov edi, 0x100d1d8
push edi
call fcn.0101170a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.01011772
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], bl
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], bl
mov byte [ebp - 0x3b], 5
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
push 0x20
push 2
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
jne 0x1028749
call esi
test eax, eax
jg 0x1028709
call esi
jmp 0x1028715
call esi
and eax, 0xffff
or eax, 0x80070000
push 0x100d33c
push eax
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x44], esp
push ebx
push 0x4000
push 0xc5
push 0x100d25c
push edi
call fcn.0101170a
mov byte [ebp - 4], 1
lea eax, [ebp - 0x30]
push eax
call fcn.010264ca
add esp, 0x4c
mov byte [ebp - 4], 3
cmp byte [ebp + 0xc], bl
jne 0x1028764
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x38]
push ebx
call sub.ADVAPI32.dll_CheckTokenMembership
mov dword [ebp - 0x48], eax
jmp 0x10287b5
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 4], 4
cmp dword [ebp - 0x4c], ebx
je 0x102877c
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], ebx
lea eax, [ebp - 0x4c]
push eax
push 1
call fcn.01028499
test eax, eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x38]
je 0x1028797
push dword [ebp - 0x4c]
jmp 0x1028798
push ebx
call sub.ADVAPI32.dll_CheckTokenMembership
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x4c], ebx
je 0x10287b5
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x4c], ebx
cmp dword [ebp - 0x48], ebx
jne 0x1028895
call esi
test eax, eax
jg 0x10287c8
call esi
jmp 0x10287d4
call esi
and eax, 0xffff
or eax, 0x80070000
push 0x100d310
push eax
sub esp, 0x40
mov ecx, esp
mov dword [ebp - 0x50], esp
push ebx
push 0x4000
push 0xdf
push 0x100d25c
push edi
call fcn.0101170a
mov byte [ebp - 4], 3
lea eax, [ebp - 0x30]
push eax
call fcn.010264ca
add esp, 0x4c
jmp 0x1028895
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x60], esi
mov byte [ebp - 4], 9
cmp dword [ebp - 0x38], ebx
je 0x1028948
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
jmp 0x1028948
mov dword [ebp - 4], 1
cmp esi, ebx
jge 0x1028964
mov dword [ebp - 0x70], esi
push 0x1033e34
lea eax, [ebp - 0x70]
push eax
call sub.msvcrt.dll__CxxThrowException
cmp dword [ebp - 0x34], ebx
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.01011818
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4024a7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
je 0x40262e
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push esi
call ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xd0]
push 0x7f
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
call esi
push 0x3eb
push dword [ebp + 8]
call edi
mov edi, eax
test edi, edi
mov dword [ebp - 0x10], edi
je 0x40262e
push edi
call ebx
cmp dword [ebp - 4], eax
jge 0x402519
lea eax, [ebp - 0xd0]
push 0x7f
push eax
push edi
call esi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x40262e
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xd0]
push eax
push esi
call fcn.004071dd
push 1
push 0x40f060
push esi
mov edi, eax
call fcn.004071dd
push esi
push dword [ebp - 8]
movzx ebx, ax
call dword [sym.imp.USER32.dll_ReleaseDC]
and dword [ebp + 8], 0
movzx esi, di
add esi, ebx
shr edi, 0x10
test esi, esi
mov dword [ebp - 0x14], edi
je 0x40262e
test edi, edi
je 0x40262e
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x20]
cmp eax, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
jge 0x4025b8
mov edi, esi
push 1
sub edi, eax
add edi, ebx
add esi, ebx
pop ebx
mov dword [ebp - 4], esi
mov dword [ebp + 8], ebx
jmp 0x4025be
mov edi, dword [ebp + 8]
push 1
pop ebx
mov eax, dword [ebp - 0x14]
cmp ecx, eax
jge 0x4025ce
add eax, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x40262e
mov esi, dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x2c
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x34]
push ebx
push dword [ebp - 0xc]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
sub eax, edi
push dword [ebp - 4]
push dword [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call ebx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x2c
push eax
push dword [ebp - 8]
call esi
mov ecx, dword [ebp - 0x34]
push 1
push dword [ebp - 0xc]
lea eax, [edi + edi]
sub ecx, eax
push dword [ebp - 4]
push dword [ebp - 0x30]
push ecx
push dword [ebp - 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402a5a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [ecx + 4]
mov esi, dword [ecx]
add eax, esi
cmp dword [ebp - 8], eax
jae 0x4029d0
mov dword [ebp - 8], eax
add ecx, 0x28
dec edx
jne 0x4029c1
mov byte [ebp - 0x58], bl
mov byte [ebp - 0x57], bl
mov byte [ebp - 0x56], 0x58
mov byte [ebp - 0x55], bl
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.0040277c
cmp eax, dword ds:[eax]
scasd eax, dword es:[edi]
lea eax, [ebp - 0x58]
push eax
call fcn.0040278c
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00402741
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
dec dword [ebx - 0xe0807bb]
test edx, edx
je 0x402a6a
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.0040277c
les eax, [esi]
leave
and ecx, dword [ebp - 0x17af3fbb]
invalid
Function at 0x402b34
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
clc
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
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
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.0040278c
push eax
push esi
push dword [ebp + 8]
call fcn.00402741
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
mov byte [ebp - 0x1c], 0x2b
call fcn.0040278c
push eax
push esi
push dword [ebp + 8]
call fcn.00402741
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0040277c
push ds
and dword [ebp + 0x7c9d8873], ecx
invalid

Function at 0x405538
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push esi
push 1
pop esi
lea eax, [ebp - 0xb8]
push eax
mov dword [0x410f10], esi
mov dword [ebp - 0xb8], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xa8]
sub eax, 0
je 0x4055c5
dec eax
je 0x4055bd
dec eax
jne 0x4055cf
lea eax, [ebp - 0x24]
mov dword [0x410f10], 2
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x24]
push 4
dec eax
pop ecx
je 0x4055af
dec eax
je 0x4055a3
dec eax
jne 0x4055b5
mov dword [0x410f10], 5
jmp 0x4055b5
mov dword [0x410f10], 3
jmp 0x4055b5
mov dword [0x410f10], ecx
cmp dword [ebp - 0xb4], ecx
jb 0x4055cf
mov dword [0x410f0c], esi
jmp 0x4055cf
mov dword [0x410f10], 7
pop esi
leave
ret