joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10040480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x100782d8]
xor eax, esp
mov dword [esp + 0x24], eax
xor al, al
mov dl, 0x66
mov cl, 0x4c
mov byte [esp + 1], al
mov byte [esp + 3], al
mov byte [esp + 4], al
mov byte [esp + 5], al
mov byte [esp + 0x20], al
mov byte [esp + 6], cl
mov byte [esp + 7], cl
mov cl, 0x65
mov byte [esp + 0xb], dl
mov byte [esp + 0xc], dl
mov byte [esp + 0x17], dl
mov dl, 0x72
push 0x21
lea eax, [esp + 4]
push eax
mov byte [esp + 8], 5
mov byte [esp + 0xa], 9
mov byte [esp + 0x10], 0x42
mov byte [esp + 0x11], 0x5f
mov byte [esp + 0x12], 0x4f
mov byte [esp + 0x15], 0x69
mov byte [esp + 0x16], 0x63
mov byte [esp + 0x17], cl
mov byte [esp + 0x18], 0x54
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1a], 0x73
mov byte [esp + 0x1b], 0x6b
mov byte [esp + 0x1c], 0x5f
mov byte [esp + 0x1d], 0x52
mov byte [esp + 0x1e], cl
mov byte [esp + 0x20], dl
mov byte [esp + 0x21], cl
mov byte [esp + 0x22], 0x73
mov byte [esp + 0x23], 0x68
mov byte [esp + 0x24], 0x53
mov byte [esp + 0x25], 0x74
mov byte [esp + 0x26], 0x61
mov byte [esp + 0x27], dl
call fcn.10001270
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1004309b
add esp, 0x28
ret

Function at 0x10040550
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x100782d8]
xor eax, esp
mov dword [esp + 0x28], eax
xor al, al
mov cl, 0x4c
mov byte [esp + 6], cl
mov byte [esp + 7], cl
mov cl, 0x42
mov dl, 0x72
mov byte [esp + 1], al
mov byte [esp + 3], al
mov byte [esp + 4], al
mov byte [esp + 5], al
mov byte [esp + 0x24], al
mov byte [esp + 8], cl
mov byte [esp + 0xa], cl
mov cl, 0x65
push 0x25
lea eax, [esp + 4]
push eax
mov byte [esp + 8], 5
mov byte [esp + 0xa], 9
mov byte [esp + 0x11], 0x5f
mov byte [esp + 0x13], dl
mov byte [esp + 0x14], 0x69
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], cl
mov byte [esp + 0x17], 0x4e
mov byte [esp + 0x18], 0x50
mov byte [esp + 0x19], 0x43
mov byte [esp + 0x1a], 0x5f
mov byte [esp + 0x1b], 0x50
mov byte [esp + 0x1c], 0x6f
mov byte [esp + 0x1d], 0x77
mov byte [esp + 0x1e], cl
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x5f
mov byte [esp + 0x21], 0x52
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], 0x66
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], 0x73
mov byte [esp + 0x27], 0x68
mov byte [esp + 0x28], 0x53
mov byte [esp + 0x29], 0x74
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2b], dl
call fcn.10001270
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1004309b
add esp, 0x2c
ret
Function at 0x10040630
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x100782d8]
xor eax, esp
mov dword [esp + 0x28], eax
xor al, al
mov cl, 0x4c
mov byte [esp + 6], cl
mov byte [esp + 7], cl
mov cl, 0x66
mov byte [esp + 1], al
mov byte [esp + 3], al
mov byte [esp + 4], al
mov byte [esp + 5], al
mov dl, 0x65
mov byte [esp + 0x25], al
mov byte [esp + 0xb], cl
mov byte [esp + 0xc], cl
mov cl, 0x73
push 0x26
lea eax, [esp + 4]
push eax
mov byte [esp + 8], 5
mov byte [esp + 0xa], 9
mov byte [esp + 0x10], 0x42
mov byte [esp + 0x11], 0x5f
mov byte [esp + 0x12], 0x4f
mov byte [esp + 0x15], 0x69
mov byte [esp + 0x16], 0x63
mov byte [esp + 0x17], dl
mov byte [esp + 0x18], 0x54
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], 0x6b
mov byte [esp + 0x1c], 0x5f
mov byte [esp + 0x1d], 0x4f
mov byte [esp + 0x1e], 0x6e
mov byte [esp + 0x1f], dl
mov byte [esp + 0x20], 0x4b
mov byte [esp + 0x21], dl
mov byte [esp + 0x22], 0x79
mov byte [esp + 0x23], 0x46
mov byte [esp + 0x24], 0x69
mov byte [esp + 0x25], 0x6e
mov byte [esp + 0x26], 0x69
mov byte [esp + 0x27], cl
mov byte [esp + 0x28], 0x68
mov byte [esp + 0x29], 0x54
mov byte [esp + 0x2a], 0x61
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2c], 0x6b
call fcn.10001270
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1004309b
add esp, 0x2c
ret

Function at 0x10040720
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x28
mov eax, dword [0x100782d8]
xor eax, esp
mov dword [esp + 0x24], eax
mov cl, 0x4c
xor al, al
mov byte [esp + 6], cl
mov byte [esp + 7], cl
mov cl, 0x42
mov byte [esp + 8], cl
mov byte [esp + 0xa], cl
mov cl, 0x65
mov byte [esp + 1], al
mov byte [esp + 3], al
mov byte [esp + 4], al
mov byte [esp + 5], al
mov dl, 0x69
mov byte [esp + 0x23], al
mov byte [esp + 0xe], cl
mov byte [esp + 0x15], cl
mov byte [esp + 0x17], cl
mov cl, 0x73
push 0x24
lea eax, [esp + 4]
push eax
mov byte [esp + 8], 5
mov byte [esp + 0xa], 9
mov byte [esp + 0x11], 0x5f
mov byte [esp + 0x13], 0x72
mov byte [esp + 0x14], dl
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x17], 0x4e
mov byte [esp + 0x18], 0x50
mov byte [esp + 0x19], 0x43
mov byte [esp + 0x1a], 0x5f
mov byte [esp + 0x1b], 0x4f
mov byte [esp + 0x1c], 0x6e
mov byte [esp + 0x1e], 0x4b
mov byte [esp + 0x20], 0x79
mov byte [esp + 0x21], 0x46
mov byte [esp + 0x22], dl
mov byte [esp + 0x23], 0x6e
mov byte [esp + 0x24], dl
mov byte [esp + 0x25], cl
mov byte [esp + 0x26], 0x68
mov byte [esp + 0x27], 0x54
mov byte [esp + 0x28], 0x61
mov byte [esp + 0x29], cl
mov byte [esp + 0x2a], 0x6b
call fcn.10001270
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.1004309b
add esp, 0x28
ret
Function at 0x1004309b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100782d8]
jne 0x100430a5
repz ret
jmp fcn.10046b87

Function at 0x100449be
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
jne 0x100449eb
call fcn.100460b7
mov dword [eax], esi
call fcn.100460a4
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10044716
add esp, 0x14
push 0x16
pop eax
pop esi
ret
test dword [esp + 0xc], 0xfffffff9
jne 0x100449c7
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10044a1a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.100460ca
pop ecx
call fcn.100460a4
mov eax, dword [eax]
pop esi
ret
test al, 0x10
jne 0x10044a41
test al, 1
je 0x10044a41
test byte [esp + 0xc], 2
je 0x10044a41
call fcn.100460b7
mov dword [eax], 5
call fcn.100460a4
mov dword [eax], 0xd
jmp 0x10044a11
xor eax, eax
pop esi
ret
Function at 0x1005018f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.10049749
xor ebx, ebx
cmp dword [0x1007dcf0], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x10050264
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x100501cf
xor eax, eax
jmp 0x10050328
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1006b7e0
push edi
call esi
cmp eax, ebx
je 0x100501c8
push eax
call fcn.100496e6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1007dcf0], eax
call esi
push eax
call fcn.100496e6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1007dcf4], eax
call esi
push eax
call fcn.100496e6
mov dword [0x1007dcf8], eax
lea eax, [ebp - 8]
push eax
call fcn.10044bc3
test eax, eax
pop ecx
pop ecx
je 0x10050232
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1004461a
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x10050264
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.100496e6
cmp eax, ebx
pop ecx
mov dword [0x1007dd00], eax
je 0x10050264
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100496e6
pop ecx
mov dword [0x1007dcfc], eax
mov eax, dword [0x1007dcfc]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x100502dd
cmp dword [0x1007dd00], esi
je 0x100502dd
push eax
call fcn.10049752
pop ecx
call eax
cmp eax, ebx
je 0x100502aa
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x1007dd00]
call fcn.10049752
pop ecx
call eax
test eax, eax
je 0x100502aa
test byte [ebp - 0x18], 1
jne 0x100502dd
lea eax, [ebp - 0xc]
push eax
call fcn.10044bfa
test eax, eax
pop ecx
je 0x100502c5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1004461a
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x100502d4
or dword [ebp + 0x10], 0x200000
jmp 0x1005030e
or dword [ebp + 0x10], 0x40000
jmp 0x1005030e
mov eax, dword [0x1007dcf4]
cmp eax, esi
je 0x1005030e
push eax
call fcn.10049752
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1005030e
mov eax, dword [0x1007dcf8]
cmp eax, esi
je 0x1005030e
push dword [ebp - 4]
push eax
call fcn.10049752
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x1007dcf0]
call fcn.10049752
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401270
Capabilities:
Encrypt data using rc4 prga
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x473a88
push 0x427890
mov eax, dword fs:[0]
push eax
add esp, 0xffffffc8
push ebx
push esi
push edi
mov eax, dword [0x47e014]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], 0
jne 0x4012ba
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x4012f0
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x34]
jmp 0x40147b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0x4550
je 0x401328
push 0xbf
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x38]
jmp 0x40147b
mov eax, dword [ebp - 0x24]
movzx ecx, word [eax + 0x14]
test ecx, ecx
jne 0x401354
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3c]
jmp 0x40147b
mov edx, dword [ebp - 0x24]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], 0
jmp 0x401377
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0x28], edx
jae 0x401426
push 0x465678
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
add eax, dword [ebp - 0x20]
push eax
call fcn.00431f60
add esp, 8
test eax, eax
jne 0x401421
mov ecx, dword [ebp - 0x28]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 0x20]
cmp dword [edx + ecx + 0xc], 0
je 0x4013c2
mov eax, dword [ebp - 0x28]
imul eax, eax, 0x28
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + eax + 0x10], 0
jne 0x4013c4
jmp 0x401426
mov edx, dword [ebp - 0x28]
imul edx, edx, 0x28
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx + 0xc]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0x40
jb 0x4013f1
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 4], 0x727444
je 0x4013f3
jmp 0x401426
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 8], 0
jne 0x401407
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov dword [eax + 8], edx
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x40]
jmp 0x40147b
jmp 0x40136e
push 0xc0
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x44]
jmp 0x40147b
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401730
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp dword [ecx], 0x678
jne 0x401751
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
cmp eax, dword [ebp + 0xc]
jbe 0x401763
push 0xc1
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x4018ab
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x4018a8
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x40188c
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x10]
push eax
call fcn.004272d0
add esp, 0xc
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
add eax, 0x5c
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x14]
push edx
call fcn.004272d0
add esp, 0xc
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x18], 0
je 0x401869
lea ecx, [ebp - 0x10]
push ecx
push 0x40
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x401867
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 0x664
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call fcn.004272d0
add esp, 0xc
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 8], 1
jmp 0x401870
mov dword [ebp - 8], 1
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 8
Function at 0x401bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x47f9f8]
mov dword [ebp - 4], eax
jmp 0x401bd9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x401bf6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x401bd0
mov esp, ebp
pop ebp
ret

Function at 0x401c00
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x47fa08], eax
je 0x401c1e
mov eax, 0x10dd
jmp 0x401cff
mov eax, dword [0x47fa18]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x401c9c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x401c7a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x401c7a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.00401d70
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.004216b8
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x401c26
mov dword [0x47fa18], 0
call fcn.00401d10
mov ecx, dword [0x47fa14]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x401ce9
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004216b8
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x401cb4
mov dword [0x47fa14], 0
mov dword [0x47fa08], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402270
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x402285
xor eax, eax
jmp 0x4022fa
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x4022b2
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x4022f5
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x4022f3
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x4022ef
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x4022f3
xor eax, eax
jmp 0x4022fa
jmp 0x4022a9
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4023a0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x47fa0c], 0
je 0x4023b9
mov eax, dword [0x47fa0c]
jmp 0x402459
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x4023cb
xor eax, eax
jmp 0x402459
push 8
call fcn.00421e78
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x402421
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x40240a
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.004216b8
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x47fa0c], eax
mov dword [0x47fa10], 0
mov eax, dword [ebp - 4]
jmp 0x402459
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x40243b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x4023eb
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x47fa14]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x47fa14], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x402c80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.00402d50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x402d3c
cmp dword [ebp - 4], 0x50000000
jb 0x402cbc
cmp dword [ebp - 4], 0x80000000
ja 0x402cbc
mov dword [ebp - 4], 0x80010000
jmp 0x402c95
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00427170
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x402ce2
jmp 0x402d3c
cmp dword [ebp - 0x10], 0x10000
jne 0x402d25
cmp dword [ebp - 0x14], 0x10000
jb 0x402d25
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x402d18
mov eax, dword [ebp - 0x24]
jmp 0x402d3e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x402d37
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.00402d50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x402c95
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x402d80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.00402e50
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x402e44
cmp dword [ebp - 4], 0x50000000
jb 0x402dc1
cmp dword [ebp - 4], 0x80000000
ja 0x402dc1
mov dword [ebp - 4], 0x4fff0000
jmp 0x402d9a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00427170
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x402de7
jmp 0x402e44
cmp dword [ebp - 0x10], 0x10000
jne 0x402e2a
cmp dword [ebp - 0x14], 0x10000
jb 0x402e2a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x402e1d
mov eax, dword [ebp - 0x24]
jmp 0x402e46
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x402e3f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.00402e50
add esp, 4
mov dword [ebp - 4], eax
jmp 0x402d9a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x402e80
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x47fa08], eax
je 0x402ea5
mov eax, 0x10dd
jmp 0x40303d
cmp dword [0x47fa0c], 0
je 0x402eb8
mov eax, dword [0x47fa0c]
jmp 0x40303d
cmp dword [ebp + 8], 0
jne 0x402ec8
mov eax, 6
jmp 0x40303d
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x402ef1
mov dword [ebp - 0xc], 6
mov ecx, dword [ebp - 0xc]
mov dword [0x47fa0c], ecx
mov edx, dword [ebp + 8]
mov dword [0x47fa10], edx
mov eax, dword [ebp - 0xc]
jmp 0x40303d
push 0x18
call fcn.00421e78
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x402f4a
mov dword [ebp - 0xc], 8
mov ecx, dword [ebp - 0xc]
mov dword [0x47fa0c], ecx
cmp dword [ebp - 0x18], 0
je 0x402f39
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.004216b8
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [0x47fa10], ecx
mov eax, dword [ebp - 0xc]
jmp 0x40303d
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.00401900
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00401900
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0
je 0x402f8a
cmp dword [ebp - 8], 0x1e
jbe 0x402fa6
mov dword [ebp - 0xc], 9
cmp dword [0x47fa00], 0
je 0x402fa1
jmp 0x402f1a
jmp 0x402f11
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x402fcd
mov dword [ebp - 0xc], 9
cmp dword [0x47fa00], 0
je 0x402fc8
jmp 0x402f1a
jmp 0x402f11
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0x40
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x402ffa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x402f11
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x47fa18]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [0x47fa18], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8