joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454af0
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x454b0c
cmp dword [esi + 4], 0
je 0x454b39
test byte [ebx + 0x55], 1
jne 0x454b2b
mov eax, ebx
call fcn.00453690
test eax, eax
jne 0x454b2b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x454c49
mov edx, esi
mov eax, ebx
call fcn.00454614
jmp 0x454c49
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x454c42
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00456998
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0045132c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00454af0
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00456998
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454c49
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45b374
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x515f70]
cmp byte [eax + 0xc], 0
je 0x45b4e1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45b4da
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x516ba0], 0
jne 0x45b3c8
push 0x45b4e8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45b4f0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x516ba0], eax
cmp dword [0x510f2c], 0
jne 0x45b4c3
push 0x45b500
call sub.kernel32.dll_LoadLibraryA
mov dword [0x510f2c], eax
cmp dword [0x510f2c], 0
je 0x45b4c3
push 0x45b50c
mov eax, dword [0x510f2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x516ba4], eax
push 0x45b51c
mov eax, dword [0x510f2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x516ba8], eax
push 0x45b530
mov eax, dword [0x510f2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x516bac], eax
push 0x45b548
mov eax, dword [0x510f2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x516bb0], eax
push 0x45b560
mov eax, dword [0x510f2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x516bb4], eax
push 0x45b574
mov eax, dword [0x510f2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x516bb8], eax
push 0x45b58c
mov eax, dword [0x510f2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x516bbc], eax
push 0x45b5a4
mov eax, dword [0x510f2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x516bc0], eax
push 0x45b5c0
mov eax, dword [0x510f2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x516bc4], eax
push 0x45b5cc
mov eax, dword [0x510f2c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x516bc8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b4e1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45f3ec
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404c74
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45f43b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404ee4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x466cbc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x466d0c]
test si, 4
je 0x466cd0
or bl, 1
test si, 8
je 0x466cda
or bl, 4
test si, 1
je 0x466ce4
or bl, 8
test si, 2
je 0x466cee
or bl, 0x10
test si, 0x10
je 0x466cf8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466d07
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x466d10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x466d48]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466d29
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x466d38
or bl, 4
test esi, 0x20000000
je 0x466d43
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46d40c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46d41e
add esp, 0xfffffff0
call fcn.00404160
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425548
mov eax, dword [0x515698]
mov dword [eax + 4], ebx
mov dword [eax], 0x46d7b0
mov eax, dword [0x5156ac]
mov dword [eax + 4], ebx
mov dword [eax], 0x46d7bc
mov eax, ebx
call fcn.0046d7c8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41bfd4]
call fcn.00403df8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41bfd4]
call fcn.00403df8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41bfd4]
call fcn.00403df8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41bfd4]
call fcn.00403df8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41bfd4]
call fcn.00403df8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x469be0
push eax
push 0
push 0
mov eax, dword [0x515a48]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426ffc]
call fcn.00428834
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426ffc]
call fcn.00428834
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426ffc]
call fcn.00428834
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0046dc18
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46dae0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46dae0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x46dae0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46d55b
call fcn.004041b8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x46d8c4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46da6f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x46da50
mov dl, 1
mov eax, dword [0x41c638]
call fcn.00403df8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404c74
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x46da3f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0045b6d4
test al, al
je 0x46da32
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x46da80
lea eax, [ebp - 0x254]
call fcn.0040b294
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x46da32
xor eax, eax
push ebp
push 0x46da2b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x46dab8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x46da14
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ee4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x46da14
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404ee4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46da32
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x46d935
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004210e8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46da76
lea eax, [ebp - 0x260]
call fcn.00404c74
ret

Function at 0x46e3b8
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x516bec]
cmp byte [eax + 0xa5], 0
jne 0x46e429
cmp dword [0x516c04], 0
jne 0x46e3ea
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x46e374
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x516c04], eax
cmp dword [0x516c00], 0
jne 0x46e405
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x516c00], eax
cmp dword [0x516c08], 0
jne 0x46e429
push esp
push 0
push 0
push 0x46e318
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x516c08], eax
pop edx
ret
Function at 0x46eabc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x516bec]
cmp dword [eax + 0x30], 0
je 0x46eb66
cmp dword [ebx + 0x94], 0
jne 0x46eb60
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x46ea4c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x46eb60
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x46eb26
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x46eb60
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041e6d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46eb35
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x46f6c4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x46f6f9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404d64
jmp 0x46f706
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404cc8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4708d0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x470911
mov eax, esi
call fcn.00456c9c
test al, al
je 0x470911
mov eax, dword [ebx + 0x84]
call fcn.00456998
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x470911
push 0
mov eax, dword [ebx + 0x84]
call fcn.00456998
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x477e34
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41b380]
call fcn.00405730
xor eax, eax
push ebp
push 0x477f78
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51120c], 0
jne 0x477e87
mov ecx, dword [0x515474]
mov dl, 1
mov eax, dword [0x408898]
call fcn.0040e804
call fcn.004045c8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00403610
mov eax, ebx
call fcn.00405524
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x477f88
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406c14
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00405534
test eax, eax
jle 0x477f1f
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x477f18
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404efc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404ee4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00409880
test eax, eax
jne 0x477f18
mov ebx, 0x15
jmp 0x477f24
mov ebx, 0x10
jmp 0x477f24
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x51120c]
call fcn.00477d30
mov eax, dword [ebp - 8]
call fcn.00477d30
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406c2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477f7f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404c98
lea eax, [ebp - 0x10]
mov edx, dword [0x41b380]
call fcn.00405800
ret

Function at 0x492517
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x511f8e
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x49256f
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x511faf
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x492565
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x492573
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x49f004
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405124
xor eax, eax
push ebp
push 0x49f084
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40]
mov edx, 0x3c
call fcn.0040825c
mov dword [ebp - 0x3c], 0x40
mov dword [ebp - 0x40], 0x3c
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, 0x49f090
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
call fcn.00405134
mov dword [ebp - 0x2c], eax
mov eax, 0x49f0a0
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 5
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f08b
lea eax, [ebp - 4]
call fcn.00404c74
ret

Function at 0x4a6a34
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x512494], 0
mov eax, dword [0x515f50]
cmp dword [eax], 2
jne 0x4a6c0d
mov eax, dword [0x5157b4]
cmp dword [eax], 5
jl 0x4a6c0d
call fcn.004a3b64
test al, al
jne 0x4a6a65
call fcn.004a3b70
call fcn.004a3b5c
mov dword [0x51249c], eax
push 0x4a6c10
mov eax, dword [0x51249c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512460], eax
cmp dword [0x512460], 0
jne 0x4a6ac0
mov edx, 0x8000
mov eax, 0x4a6c24
call fcn.00410684
mov dword [0x512498], eax
mov eax, dword [0x512498]
mov dword [0x51249c], eax
push 0x4a6c10
mov eax, dword [0x51249c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512460], eax
cmp dword [0x512460], 0
je 0x4a6c08
push 0x4a6c30
mov eax, dword [0x51249c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512464], eax
cmp dword [0x512464], 0
je 0x4a6c08
push 0x4a6c3c
mov eax, dword [0x51249c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512468], eax
cmp dword [0x512468], 0
je 0x4a6c08
mov byte [0x512494], 1
push 0x4a6c4c
mov eax, dword [0x51249c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51246c], eax
push 0x4a6c58
mov eax, dword [0x51249c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512470], eax
push 0x4a6c64
mov eax, dword [0x51249c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512474], eax
push 0x4a6c74
mov eax, dword [0x51249c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512478], eax
push 0x4a6c84
mov eax, dword [0x51249c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51247c], eax
mov edx, 0x8000
mov eax, 0x4a6c9c
call fcn.00410684
mov dword [0x5124a0], eax
cmp dword [0x5124a0], 0
je 0x4a6c0d
push 0x4a6cac
mov eax, dword [0x5124a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512480], eax
push 0x4a6cc8
mov eax, dword [0x5124a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512484], eax
push 0x4a6ce8
mov eax, dword [0x5124a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512488], eax
push 0x4a6d04
mov eax, dword [0x5124a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x51248c], eax
push 0x4a6d1c
mov eax, dword [0x5124a0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x512490], eax
ret
call fcn.004a69b4
ret
Function at 0x4a8aec
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4a8c14
push dword fs:[eax]
mov dword fs:[eax], esp
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.004a89d4
mov eax, dword [esi]
call fcn.0040616c
add eax, 0x28
push eax
lea eax, [ebp - 8]
mov ecx, 1
mov edx, dword [0x49ff64]
call fcn.00406348
add esp, 4
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x1c]
mov ecx, 0x1c
call fcn.00402e44
mov ebx, 0x1c
mov eax, dword [ebp - 8]
lea edx, [eax + ebx]
lea eax, [ebp - 0x2c]
mov ecx, 0x1c
call fcn.00402e44
add ebx, 0x1c
mov eax, dword [esi]
call fcn.0040616c
mov dword [ebp - 0xc], eax
mov eax, dword [0x515de4]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x30]
lea edx, [ebp - 8]
mov ecx, ebx
call fcn.004a1434
add ebx, 4
mov eax, dword [ebp - 8]
add eax, ebx
xor ecx, ecx
mov edx, 3
call fcn.00403610
add ebx, 3
mov eax, dword [ebp - 8]
mov byte [eax + ebx], 0x3a
inc ebx
mov eax, dword [esi]
mov byte [eax + 2], 0
mov eax, dword [esi]
mov byte [eax + 3], 0
push ebx
mov eax, dword [esi]
call fcn.0040616c
push eax
lea ecx, [ebp - 8]
mov eax, dword [esi]
xor edx, edx
call fcn.004a1370
mov edx, dword [ebp - 8]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x94]
mov ebx, eax
mov eax, ebx
call fcn.004a1188
mov edx, esi
mov ecx, dword [ebp + 0x10]
call fcn.004a142c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8c1b
lea eax, [ebp - 8]
mov edx, dword [0x49ff64]
call fcn.00406474
ret

Function at 0x4be5f4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4be665
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 8]
mov eax, dword [esi + 0x30]
call fcn.004099b4
mov eax, dword [ebp - 8]
mov esi, dword [0x515540]
mov esi, dword [esi]
mov edx, dword [ebx]
call esi
mov esi, eax
push ebx
mov ecx, esi
dec ecx
mov eax, dword [ebx]
mov edx, 1
call fcn.00405194
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be66c
lea eax, [ebp - 8]
call fcn.00404c74
ret

Function at 0x4c67e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4c683a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004c67d4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004c3d90
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004c39ac
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c6841
lea eax, [ebp - 4]
call fcn.00404c74
ret
Function at 0x4d79d8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4d7a06
mov eax, ebx
call fcn.004d848c
cmp dword [ebx + 0x40], 0
je 0x4d79ff
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4d7a77
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4d7a69
cmp dword [ebx + 8], 0
je 0x4d7a28
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4d7a3a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4d7a69
cmp dword [ebx + 8], 0
je 0x4d7a1b
cmp eax, 3
je 0x4d7a4d
dec eax
jne 0x4d7a1b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4d7a1b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4d7a1b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4d7a95
cmp dword [ebx + 0x14], 0xcc
je 0x4d7a95
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004d7aa0
pop ebx
ret