joyce8/EMBER2024-capa huggingface dataset:
Function at 0x461ec4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x487730], 0
je 0x462013
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x486940]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x462013
mov eax, dword [0x487734]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x487730]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x461fe2
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x487730]
call fcn.00413138
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x461fda
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x461fda
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x461fda
mov eax, dword [ebp - 0x14]
call fcn.0046a9ec
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x461fda
push ebp
call fcn.00461e80
pop ecx
test al, al
jne 0x461fda
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x461f96
mov eax, dword [ebp - 0x14]
call fcn.00469580
dec eax
jle 0x461fda
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00431328
cmp byte [ebp - 1], 0
je 0x461fda
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x461fda
mov edx, dword [ebp - 0x14]
mov eax, dword [0x487734]
call fcn.00461648
inc edi
dec ebx
jne 0x461f29
mov eax, dword [0x487734]
cmp dword [eax + 8], 0
jle 0x461ffa
mov eax, dword [0x487734]
call fcn.004616d8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x462013
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00461ce8
pop ecx
test al, al
jne 0x462013
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4655dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x465628
mov eax, esi
call fcn.00452b8c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x465628
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x465628
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x465767
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x465668
cmp eax, 0x108
ja 0x465668
mov eax, esi
call fcn.00452b8c
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x46575e
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xec]
test al, al
jne 0x465767
jmp 0x46575e
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x465747
cmp eax, 0x20a
ja 0x465747
test byte [esi + 0x50], 0x80
jne 0x46569a
sub eax, 0x203
je 0x465697
sub eax, 3
je 0x465697
sub eax, 3
jne 0x46569a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x4656ae
dec eax
je 0x4656c3
dec eax
je 0x4656e0
dec eax
je 0x4656c3
jmp 0x4656e7
mov ecx, ebx
mov eax, dword [0x486940]
mov eax, dword [eax]
mov edx, esi
call fcn.0045c598
jmp 0x46575e
cmp byte [esi + 0x5d], 1
jne 0x4656d9
mov eax, esi
mov si, 0xffed
call fcn.00431328
jmp 0x465767
or word [esi + 0x54], 1
jmp 0x46575e
and word [esi + 0x54], 0xfffe
jmp 0x46575e
mov eax, dword [0x4876ec]
cmp byte [eax + 0x20], 0
je 0x46575e
mov eax, dword [0x4876ec]
cmp dword [eax + 0x1c], 0
je 0x46575e
mov eax, dword [ebx]
mov edx, dword [0x4876ec]
cmp eax, dword [edx + 0x1c]
jne 0x46575e
lea eax, [ebp - 0x114]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.00452ad0
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.00431328
jmp 0x465767
cmp eax, 0xb00b
jne 0x46575e
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.00463efc
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x468c1c
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 0x468c38
cmp dword [esi + 4], 0
je 0x468c65
test byte [ebx + 0x55], 1
jne 0x468c57
mov eax, ebx
call fcn.00467874
test eax, eax
jne 0x468c57
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x468d75
mov edx, esi
mov eax, ebx
call fcn.0046873c
jmp 0x468d75
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 0x468d6e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0046a9ec
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.00465510
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00468c1c
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.0046a9ec
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x468d75
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 0x46f254
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48676c]
cmp byte [eax + 0xc], 0
je 0x46f3c1
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46f3ba
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x487740], 0
jne 0x46f2a8
push 0x46f3c8
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x46f3d0
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487740], eax
cmp dword [0x48319c], 0
jne 0x46f3a3
push 0x46f3e0
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x48319c], eax
cmp dword [0x48319c], 0
je 0x46f3a3
push 0x46f3ec
mov eax, dword [0x48319c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487744], eax
push 0x46f3fc
mov eax, dword [0x48319c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487748], eax
push 0x46f410
mov eax, dword [0x48319c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48774c], eax
push 0x46f428
mov eax, dword [0x48319c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487750], eax
push 0x46f440
mov eax, dword [0x48319c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487754], eax
push 0x46f454
mov eax, dword [0x48319c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487758], eax
push 0x46f46c
mov eax, dword [0x48319c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x48775c], eax
push 0x46f484
mov eax, dword [0x48319c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487760], eax
push 0x46f4a0
mov eax, dword [0x48319c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487764], eax
push 0x46f4ac
mov eax, dword [0x48319c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x487768], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f3c1
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x476670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x4766d2
call fcn.00476620
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00472970
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00472970
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x476750
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x484e0c], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x47682a
cmp dword [0x484e08], 0
jne 0x47682a
cmp dword [0x484fec], 0
je 0x4767e4
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.00476520
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4767ca
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.00476520
add esp, 8
mov ebx, eax
test eax, eax
jne 0x4767ca
lea ebx, [ebp - 0x84]
jmp 0x4767cb
inc ebx
call fcn.0047670c
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x476865
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x484e10
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00472970
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x484e13
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x476865
cmp dword [0x484e08], 0
je 0x476844
cmp dword [0x484e08], 0xffffffff
je 0x476865
push esi
call dword [0x484e08]
pop ecx
mov eax, dword [0x484e0c]
test eax, eax
je 0x476865
cmp dword [0x484e0c], 0xffffffff
je 0x476865
cmp byte [eax], 0
je 0x476865
push esi
push eax
call fcn.00476670
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x476ffc
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x487ffc], 0
jne 0x47707d
cmp dword [0x48801c], 0
jne 0x47702c
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x48801c], eax
test eax, eax
jne 0x47702c
push str.GetEnvironmentStrings_failed
call fcn.0047687c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x48801c]
jmp 0x477040
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00472970
pop ecx
mov edi, eax
test eax, eax
jne 0x477038
lea edi, [ebp + 1]
push edi
call fcn.00472274
pop ecx
mov ebx, eax
mov dword [0x488000], ebx
test ebx, ebx
jne 0x47706a
xor eax, eax
jmp 0x477140
push edi
mov edx, dword [0x48801c]
push edx
push ebx
call fcn.00472820
add esp, 0xc
jmp 0x47709d
xor esi, esi
mov ebx, dword [0x487ffc]
jmp 0x477097
push eax
call fcn.00472970
pop ecx
test eax, eax
jne 0x477093
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x477087
lea ebx, [esi + 4]
push 4
mov dword [0x488004], ebx
inc ebx
push ebx
call fcn.00471d4c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x4770c0
xor eax, eax
jmp 0x477140
cmp dword [0x487ffc], 0
jne 0x4770f1
xor esi, esi
mov ebx, dword [0x488000]
mov eax, dword [esp]
mov ebp, eax
jmp 0x4770e2
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00472970
pop ecx
mov edi, eax
test eax, eax
jne 0x4770d8
jmp 0x477122
xor esi, esi
mov ebx, dword [0x487ffc]
mov eax, dword [esp]
mov edi, eax
jmp 0x47711c
push eax
call fcn.00472970
pop ecx
test eax, eax
je 0x477111
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x477115
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x477100
mov eax, dword [0x487ffc]
test eax, eax
je 0x477132
push eax
call fcn.00472284
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x487ffc], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4d8430
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x467300
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push 4
mov esi, ecx
push eax
call fcn.004e2940
lea edi, [esi + 0x59c]
mov ecx, edi
mov dword [esp + 0xc], edi
call fcn.00502b70
mov edx, dword [esp + 0x12]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x644]
and edx, 0xffff
push 0xcc0020
and eax, 0xffff
push edx
push eax
mov eax, dword [esp + 0x34]
xor edx, edx
push ecx
mov dword [esp + 0x30], 0
mov dx, word [eax + 6]
push edx
xor edx, edx
mov dx, word [eax + 4]
push edx
xor edx, edx
mov dx, word [eax + 2]
push edx
xor edx, edx
mov dx, word [eax]
push edx
push ecx
call dword [0x4680ac]
test eax, eax
jne 0x4d84d7
call fcn.004bc1b0
push eax
push 0x482314
push 0xffffffffffffffff
push 0x49d558
call fcn.004eb090
add esp, 0x10
lea ebp, [esi + 0x3dc]
mov ecx, ebp
mov dword [esp + 0x28], ebp
call fcn.00502b70
mov eax, dword [esi + 0x2d8]
mov byte [esp + 0x20], 1
test eax, eax
je 0x4d8514
push eax
push 1
lea eax, [esp + 0x18]
push 4
push eax
call 0x51209a
add esp, 0x10
test eax, eax
jne 0x4d8514
mov ecx, esi
call fcn.004da6c0
mov ecx, ebp
mov byte [esp + 0x20], 0
call fcn.00502b80
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call fcn.00502b80
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4da0d0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x467498
push eax
mov eax, dword [esp + 0x18]
mov dword fs:[0], esp
sub esp, 0x60
test eax, eax
push esi
push edi
je 0x4da1a8
push ebx
mov ebx, dword [esp + 0x7c]
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 0x38]
push ebp
rep stosd dword es:[edi], eax
mov eax, ebx
mov ebp, dword [esp + 0x84]
push ebp
mov ecx, dword [eax]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x4c], edx
call dword [fcn.004682a8]
mov ecx, eax
mov esi, ebp
lea edi, [esp + 0x4c]
lea edx, [esp + 0x3c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x1c]
mov edi, ebp
push ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xf
push ecx
push edx
call fcn.004eeb90
lea eax, [esp + 0x38]
push 0x10
lea ecx, [esp + 0x2c]
push eax
push ecx
call fcn.004ef450
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
add esp, 0x18
mov dword [ebx], edx
mov edx, dword [esp + 0x28]
mov dword [ebx + 4], eax
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], edx
pop ebp
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
add esp, 0x6c
ret
mov edi, dword [esp + 0x7c]
push edi
call dword [fcn.004682a8]
xor esi, esi
xor ecx, ecx
test eax, eax
jbe 0x4da1d1
movsx edx, byte [ecx + edi]
imul edx, eax
add edx, esi
and edx, 0xfbaf
inc ecx
cmp ecx, eax
mov esi, edx
jb 0x4da1bb
push 0x3e8
call 0x511667
add esp, 4
mov dword [esp + 8], eax
push esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x74], 0
call fcn.004edaa0
mov edi, dword [esp + 0x78]
xor esi, esi
lea ecx, [esp + 8]
call fcn.004edb40
mov dl, byte [esi + edi]
xor dl, al
mov byte [esi + edi], dl
inc esi
cmp esi, 0x10
jb 0x4da1fa
mov eax, dword [esp + 8]
mov dword [esp + 0x70], 0xffffffff
test eax, eax
je 0x4da22a
push eax
call 0x50f543
add esp, 4
mov ecx, dword [esp + 0x68]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x6c
ret
Function at 0x4da280
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x467536
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
push edi
xor edi, edi
mov esi, ecx
push 1
push edi
mov dword [esp + 0x14], esi
call fcn.00502e90
lea ecx, [esi + 0x290]
mov dword [esp + 0x28], edi
call fcn.004efcb0
lea ecx, [esi + 0x3dc]
mov byte [esp + 0x28], 1
call fcn.00502b50
lea ecx, [esi + 0x56c]
mov byte [esp + 0x28], 2
call fcn.00502b50
lea ecx, [esi + 0x584]
mov byte [esp + 0x28], 3
call fcn.00502b50
lea ecx, [esi + 0x59c]
mov byte [esp + 0x28], 4
call fcn.00502b50
lea ecx, [esi + 0x5b4]
mov byte [esp + 0x28], 5
call fcn.00502b50
lea ecx, [esi + 0x5cc]
mov byte [esp + 0x28], 6
call fcn.00502b50
lea ecx, [esi + 0x5e4]
mov byte [esp + 0x28], 7
call fcn.00502b50
lea ecx, [esi + 0x648]
mov byte [esp + 0x28], 8
call fcn.004ea980
lea ecx, [esi + 0x754]
call fcn.004bc5b0
mov eax, dword [esp + 0x30]
mov dword [esi], 0x468874
mov dword [0x49d5d4], esi
push eax
mov ecx, esi
mov byte [esp + 0x2c], 9
mov dword [esi + 0x560], edi
mov dword [esi + 0x55c], edi
call fcn.004da7d0
mov eax, dword [esp + 0x34]
lea ecx, [esp + 8]
lea edx, [esp + 0x10]
push ecx
push edx
push eax
mov dword [esi + 0x294], eax
mov dword [esi + 0x2d8], edi
mov dword [esi + 0x500], edi
mov dword [esi + 0x554], 1
mov dword [esi + 0xfd8], edi
mov dword [esi + 0xfd4], edi
mov dword [esp + 0x14], 0x10
call dword [fcn.004685a4]
cmp eax, 0xffffffff
je 0x4da3f5
mov eax, dword [esp + 0x17]
mov ecx, dword [esp + 0x16]
mov edx, dword [esp + 0x15]
and eax, 0xff
push eax
mov eax, dword [esp + 0x18]
and ecx, 0xff
and edx, 0xff
push ecx
and eax, 0xff
push edx
push eax
lea ecx, [esi + 0x5c]
push 0x482694
push ecx
call dword [fcn.00468538]
add esp, 0x18
jmp 0x4da40a
push 0x57
call fcn.004bc150
add esp, 4
lea edx, [esi + 0x5c]
push eax
push edx
call dword [fcn.004682ac]
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret 8
Function at 0x4e33a0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x467a7b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call fcn.004efcb0
xor edi, edi
mov dword [esi], 0x4688d8
mov eax, dword [0x49d570]
push edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x14], 0x30
mov dword [esp + 0x18], 0xb
mov dword [esp + 0x1c], 0x4308c0
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
call dword [0x4680d4]
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], edi
push ecx
mov dword [esp + 0x3c], 0x4735d0
mov dword [esp + 0x40], edi
call dword [0x468388]
mov edx, dword [0x49d570]
push edi
push edx
push edi
push edi
push 0xc8
push 0xc8
push 0x80000000
push 0x80000000
push 0xcf0000
push 0x4735d0
push 0x4735d0
push edi
call dword [fcn.00468404]
push esi
push 0xffffffffffffffeb
push eax
mov dword [esi + 0x4c], eax
call dword [fcn.004684e0]
mov eax, dword [0x49d570]
push 0x129
push eax
call dword [0x4683d0]
push 0x2000
push 0x10
mov dword [esi + 0x50], eax
mov ecx, dword [0x49d570]
push 0x10
push 1
push 0x68
push ecx
call dword [0x468384]
push 0x47c
mov dword [esi + 0x54], eax
call fcn.004bfa70
add esp, 4
test eax, eax
jne 0x4e34c8
mov edx, dword [0x49d56c]
mov eax, dword [esp + 0x50]
push eax
mov dword [edx + 0x93c], esi
call fcn.004e35a0
add esp, 4
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x54]
lea ebx, [esi + 0x5c]
lea eax, [esi + 0x74]
push 0x482af8
push eax
mov dword [esi + 0x60], ecx
mov dword [ebx], 0x58
mov dword [esi + 0x64], 0x68
mov dword [esi + 0x70], edx
mov dword [esi + 0x6c], 0x402
mov dword [esi + 0x68], 7
call dword [fcn.004682ac]
push ebx
push edi
call dword [fcn.00468340]
lea ecx, [esi + 0xb4]
push 0x50
push ecx
call fcn.004d89f0
mov edx, dword [esi + 0x4c]
add esp, 8
push edi
push 0x1388
push 0x12
push edx
call dword [0x4684f4]
mov dword [esi + 0x58], eax
call dword [fcn.0046828c]
push 0x104
push 0x49d6f8
mov dword [0x49d6f0], eax
call dword [0x46826c]
cmp dword [0x49bfa8], edi
jne 0x4e3567
mov ebx, dword [0x468290]
push 0x1f4
call ebx
cmp dword [0x49bfa8], edi
je 0x4e3558
mov ecx, dword [esp + 0x40]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x4edce0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467c38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
mov ecx, 0x4ae220
push edi
mov dword [ebp - 0x20], ecx
call fcn.00502b70
mov dword [ebp - 4], 0
call dword [fcn.0046828c]
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4edd29
mov dword [ebp + 8], 0x4ae280
mov esi, dword [ebp + 8]
mov ebx, dword [0x468000]
push 0
push 1
push 0
lea eax, [ebp - 0x14]
push 0
push eax
call ebx
test eax, eax
je 0x4eddd3
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
push esi
push ebx
push ecx
call dword [0x468004]
test eax, eax
je 0x4eddae
test ebx, ebx
lea ecx, [ebx - 1]
je 0x4eddc2
lea edx, [ecx + ecx*2]
lea eax, [ecx + edx*4]
lea edi, [eax + eax*8]
test cl, 1
je 0x4edd81
rdtsc
mov dword [ebp + 8], eax
mov edx, dword [ebp + 8]
imul edx, ecx
mov eax, edx
shl eax, 4
add eax, edx
jmp 0x4edd8d
rdtsc
mov dword [ebp + 0xc], eax
mov edx, dword [ebp + 0xc]
mov eax, edi
and eax, edx
mov dl, byte [esi]
sub edi, 0x75
xor dl, al
mov eax, ecx
mov byte [esi], dl
inc esi
dec ecx
test eax, eax
jne 0x4edd68
push eax
mov eax, dword [ebp - 0x14]
push eax
call dword [0x468008]
jmp 0x4edebc
mov ecx, ebx
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x14]
push 0
push eax
call dword [0x468008]
jmp 0x4edebc
mov edi, dword [fcn.00468278]
call edi
cmp eax, 0x80090016
jne 0x4edebc
push 0
push 1
push 0
lea ecx, [ebp - 0x10]
push 0
push ecx
mov dword [ebp - 0x1c], 0x64
call ebx
test eax, eax
jne 0x4ede0b
push 8
push 1
push eax
lea edx, [ebp - 0x10]
push eax
push edx
call ebx
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x84]
push eax
push ecx
push 6
push edx
call dword [0x46800c]
mov ecx, dword [ebp - 0x10]
mov ebx, dword [0x468010]
lea eax, [ebp - 0x18]
push eax
push 2
push ecx
call ebx
mov esi, dword [0x468014]
test eax, eax
jne 0x4ede57
call edi
cmp eax, 0x8009000d
jne 0x4ede57
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push 0
push 2
push eax
call esi
mov eax, dword [ebp - 0x18]
mov edi, dword [0x468018]
test eax, eax
je 0x4ede67
push eax
call edi
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x18]
push ecx
push 1
push edx
call ebx
test eax, eax
jne 0x4ede92
call dword [fcn.00468278]
cmp eax, 0x8009000d
jne 0x4ede92
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
push 0
push 1
push ecx
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4ede9c
push eax
call edi
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4edeac
push 0
push eax
call dword [0x468008]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push edx
push eax
call fcn.004edce0
add esp, 8
mov ecx, 0x4ae220
mov dword [ebp - 4], 0xffffffff
call fcn.00502b80
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret