joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401f00
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov word [0x408a20], 0
mov word [0x408960], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
test esi, esi
je 0x402107
mov ax, word [esi]
test ax, ax
je 0x402107
mov ebx, dword [sym.imp.USER32.dll_CharNextW]
cmp ax, 0x20
je 0x401f5e
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
jne 0x401f4b
cmp word [esi], 0
je 0x402107
mov ebp, dword [sym.imp.USER32.dll_CharPrevW]
push esi
call ebx
mov esi, eax
mov ax, word [esi]
test ax, ax
je 0x402093
cmp ax, 0x21
jne 0x40207e
push esi
call ebx
mov cx, word [eax]
test cx, cx
je 0x402107
cmp cx, 0x44
jne 0x402017
push eax
call ebx
mov cx, word [eax]
test cx, cx
je 0x401fba
cmp cx, 0x20
jne 0x401fba
push eax
call ebx
mov cx, word [eax]
test cx, cx
jne 0x401fa9
mov cx, word [eax]
mov edi, eax
test cx, cx
je 0x402107
cmp cx, 0x21
je 0x401fd9
push eax
call ebx
mov cx, word [eax]
test cx, cx
jne 0x401fc8
push eax
push edi
call ebp
mov esi, eax
mov cx, word [esi]
test cx, cx
je 0x401ff9
cmp cx, 0x20
jne 0x401ff9
push eax
push edi
call ebp
mov cx, word [eax]
test cx, cx
jne 0x401fe7
sub eax, edi
sar eax, 1
add eax, 2
push eax
push edi
push 0x408a20
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [esp + 0x10], 1
jmp 0x40207e
cmp cx, 0x50
jne 0x4020c8
push eax
call ebx
mov cx, word [eax]
test cx, cx
je 0x40203d
cmp cx, 0x20
jne 0x40203d
push eax
call ebx
mov cx, word [eax]
test cx, cx
jne 0x40202c
mov cx, word [eax]
mov edi, eax
test cx, cx
je 0x402107
cmp cx, 0x21
je 0x40205c
push eax
call ebx
mov cx, word [eax]
test cx, cx
jne 0x40204b
push eax
push edi
call ebp
mov esi, eax
sub eax, edi
sar eax, 1
add eax, 2
push eax
push edi
push 0x408960
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
mov dword [esp + 0x14], 1
cmp word [esi], 0
jne 0x401f6e
xor ax, ax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x402107
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4020af
mov ax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x408a20
call fcn.00402120
add esp, 4
mov ax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ax, word [eax]
cmp ax, 0x4c
jne 0x4020dd
mov ax, 2
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp ax, 0x53
jne 0x4020ef
mov ax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor ecx, ecx
cmp ax, 0x4e
setne cl
dec ecx
and ecx, 4
mov ax, cx
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
xor ax, ax
pop ebx
add esp, 8
ret
Function at 0x4023f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push section..rdata
push 0x403758
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x4086d4], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x4086d0], ecx
shl ecx, 8
add ecx, edx
mov dword [0x4086cc], ecx
shr eax, 0x10
mov dword [0x4086c8], eax
call fcn.00403620
test eax, eax
jne 0x40245a
push 0x1c
call fcn.00402590
add esp, 4
mov dword [ebp - 4], 0
call fcn.00403420
call fcn.00403410
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x408d50], eax
call fcn.00402fe0
mov dword [0x408688], eax
test eax, eax
je 0x40248d
mov eax, dword [0x408d50]
test eax, eax
jne 0x402497
push 0xffffffffffffffff
call fcn.00402940
add esp, 4
call fcn.00402d30
call fcn.00402c40
call fcn.00402910
mov esi, dword [0x408d50]
mov dword [ebp - 0x64], esi
cmp byte [esi], 0x22
jne 0x402576
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
cmp al, 0x22
je 0x4024de
test al, al
je 0x4024de
and eax, 0xff
push eax
call fcn.00402be0
add esp, 4
test eax, eax
je 0x4024b8
inc esi
mov dword [ebp - 0x64], esi
jmp 0x4024b8
cmp byte [esi], 0x22
jne 0x4024e7
inc esi
mov dword [ebp - 0x64], esi
mov al, byte [esi]
test al, al
je 0x4024f7
cmp al, 0x20
ja 0x4024f7
inc esi
mov dword [ebp - 0x64], esi
jmp 0x4024e7
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x30], 1
je 0x402518
mov eax, dword [ebp - 0x2c]
and eax, 0xffff
jmp 0x40251d
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov dword [ebp - 0x60], eax
push eax
call fcn.00402940
jmp 0x40255b
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0x20
jbe 0x4024e7
inc esi
mov dword [ebp - 0x64], esi
jmp 0x402576

Function at 0x402980
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x408704]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
cmp eax, 1
push esi
jne 0x40299f
push ebp
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
test eax, eax
mov dword [0x408700], 1
mov byte [0x4086fc], bl
jne 0x4029f9
mov ecx, dword [0x408d48]
test ecx, ecx
je 0x4029e7
mov esi, dword [0x408d44]
sub esi, 4
cmp esi, ecx
jb 0x4029e7
mov eax, dword [esi]
test eax, eax
je 0x4029e0
call eax
mov ecx, dword [0x408d48]
sub esi, 4
cmp esi, ecx
jae 0x4029d2
push 0x406014
push 0x406010
call fcn.00402a30
add esp, 8
push 0x40601c
push 0x406018
call fcn.00402a30
add esp, 8
test ebx, ebx
jne 0x402a20
push ebp
mov dword [0x408704], 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop esi
pop ebp
pop ebx
ret
Function at 0x402fe0
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [0x408818]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
push esi
xor esi, esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
test eax, eax
jne 0x403022
call edi
mov esi, eax
test esi, esi
je 0x40300c
mov eax, 1
jmp 0x40301d
call ebp
mov ebx, eax
test ebx, ebx
je 0x40312f
mov eax, 2
mov dword [0x408818], eax
cmp eax, 1
jne 0x4030c2
test esi, esi
jne 0x40303b
call edi
mov esi, eax
test esi, esi
je 0x40312f
cmp word [esi], 0
mov eax, esi
je 0x403055
add eax, 2
cmp word [eax], 0
jne 0x403043
add eax, 2
cmp word [eax], 0
jne 0x403043
sub eax, esi
push 0
sar eax, 1
inc eax
push 0
mov ebp, eax
push 0
push 0
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov edi, eax
test edi, edi
je 0x4030b4
push edi
call fcn.00402610
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4030b4
push 0
push 0
push edi
push ebx
push ebp
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x4030a6
push ebx
call fcn.004025c0
add esp, 4
xor ebx, ebx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
cmp eax, 2
jne 0x40312f
test ebx, ebx
jne 0x4030d3
call ebp
mov ebx, eax
test ebx, ebx
je 0x40312f
mov cl, byte [ebx]
mov eax, ebx
test cl, cl
je 0x4030eb
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4030db
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4030db
sub eax, ebx
inc eax
mov esi, eax
push esi
call fcn.00402610
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x40310d
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
mov ecx, esi
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x403870
Capabilities:
Write file on windows

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1a8
mov eax, 0x4063b8
push ebx
push ebp
push esi
push edi
xor ebp, ebp
cmp ecx, dword [eax]
je 0x403894
add eax, 8
inc ebp
cmp eax, 0x406448
jb 0x403885
cmp ecx, dword [ebp*8 + 0x4063b8]
jne 0x403a3b
mov eax, dword [0x408690]
cmp eax, 1
je 0x4039fd
test eax, eax
jne 0x4038c0
cmp dword [0x406214], 1
je 0x4039fd
cmp ecx, 0xfc
je 0x403a3b
lea eax, [esp + 0xb4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4038fb
mov ecx, 5
mov esi, str._program_name_unknown_
lea edi, [esp + 0xb4]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0xb4]
repne scasb al, byte es:[edi]
not ecx
cmp ecx, 0x3c
jbe 0x403944
lea edi, [esp + 0xb4]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 3
mov ebx, ecx
lea ecx, [esp + 0xb8]
sub ecx, 0x3b
push 0x4052e8
add ebx, ecx
push ebx
call fcn.00404190
add esp, 0xc
mov ecx, 6
mov esi, str.Runtime_Error__n_nProgram:
lea edi, [esp + 0x14]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
or ecx, 0xffffffff
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov ebx, ecx
mov esi, edi
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x14]
and ecx, 3
push 0x12010
rep movsb byte es:[edi], byte [esi]
mov edi, 0x4052c8
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.Microsoft_Visual_C_Runtime_Library
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp*8 + 0x4063bc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x1c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.00404290
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
mov eax, dword [0x408c40]
test eax, eax
je 0x403a0e
mov esi, dword [eax + 0x10]
cmp esi, 0xffffffff
jne 0x403a18
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
mov edx, dword [ebp*8 + 0x4063bc]
lea ecx, [esp + 0x10]
push 0
push ecx
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a8
ret
Function at 0x1000412c
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

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

Disassembly:
push ecx
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x100045f3
or eax, eax
ret

Function at 0x1000df9d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d01b8
call fcn.100cece0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.10001da4
and dword [ebp - 4], 0
lea eax, [edi + 0xc]
push eax
lea ecx, [esi + 0xc]
call fcn.10001da4
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov al, byte [edi + 0x2c]
mov byte [esi + 0x2c], al
mov al, byte [edi + 0x2d]
mov byte [esi + 0x2d], al
mov al, byte [edi + 0x2e]
mov byte [esi + 0x2e], al
mov al, byte [edi + 0x2f]
mov byte [esi + 0x2f], al
mov al, byte [edi + 0x30]
mov byte [esi + 0x30], al
mov al, byte [edi + 0x31]
mov byte [esi + 0x31], al
mov ax, word [edi + 0x32]
mov word [esi + 0x32], ax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1001aee9
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d0db4
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100dbeac
mov dword [esi + 8], 0x100d97c0
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x60], eax
push fcn.1000b96d
push 0x1001b0f6
push 6
lea eax, [esi + 0x160]
push 8
push eax
mov byte [ebp - 4], 7
call fcn.10065112
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dbe78
mov dword [esi + 4], 0x100dbe5c
mov dword [esi + 8], 0x100dbe4c
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x100248ea
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
push esi
mov ecx, dword [esp + 8]
lea esi, [edx + ecx]
cmp edx, esi
je 0x10024919
push edi
movzx edi, byte [edx]
mov ecx, eax
and ecx, 0xff
xor ecx, edi
shr eax, 8
movzx ecx, word [ecx*2 + 0x100f75d0]
xor eax, ecx
inc edx
cmp edx, esi
jne 0x100248f9
pop edi
pop esi
ret 4

Function at 0x10029218
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d1c35
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100d9c7c
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100dd620
mov dword [esi + 4], 0x100dd610
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x10058bf0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, edx
xor eax, eax
cmp esi, 8
jb 0x10058c0f
push edi
shr edx, 3
mov edi, dword [ecx + 4]
sub esi, 8
xor edi, dword [ecx]
add ecx, 8
xor eax, edi
dec edx
jne 0x10058bfe
pop edi
cmp esi, 4
jb 0x10058c19
xor eax, dword [ecx]
add ecx, 4
and esi, 3
cmp esi, 2
jbe 0x10058c2a
movzx edx, byte [ecx]
shl edx, 0x10
xor eax, edx
inc ecx
cmp esi, 1
jbe 0x10058c36
xor edx, edx
mov dh, byte [ecx]
xor eax, edx
inc ecx
test esi, esi
pop esi
jbe 0x10058c40
movzx ecx, byte [ecx]
xor eax, ecx
ret

Function at 0x1006500b
Capabilities:
Parse credit card information

Disassembly:
mov edx, dword [ecx + 0x3c]
cmp edx, 2
jge 0x10065024
cmp byte [ecx + 0x42], 0
mov eax, dword [esp + 4]
je 0x10065089
cmp eax, 0x3f
jb 0x10065089
jmp 0x10065078
mov eax, dword [esp + 4]
cmp eax, 0x2c
jb 0x10065089
cmp edx, 3
jl 0x1006503c
cmp eax, 0x2c
jne 0x1006503b
push 0x48
jmp 0x10065088
dec eax
cmp edx, 4
jl 0x1006504b
cmp eax, 0x2c
jne 0x1006504a
push 0x49
jmp 0x10065088
dec eax
cmp eax, 0x3a
jb 0x10065089
cmp byte [ecx + 0x14], 0
je 0x1006506a
cmp eax, 0x3a
jne 0x1006505f
push 0x44
jmp 0x10065088
cmp eax, 0x3b
jne 0x10065068
push 0x45
jmp 0x10065088
dec eax
dec eax
cmp eax, 0x3f
jb 0x10065081
cmp byte [ecx + 0x42], 0
je 0x10065081
cmp eax, 0x3f
jne 0x1006507e
push 0x46
jmp 0x10065088
dec eax
jmp 0x10065089
cmp eax, 0x44
jne 0x10065089
push 0x47
pop eax
ret 4

Function at 0x10065112
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x10065121
pop dword [ebp - 0x1c]
mov eax, 0x5362497c
sub eax, 0x435bf85b
sub dword [ebp - 0x1c], eax
push 0x40
push 0x1000
push 0x41f11
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x1c]
call dword [eax]
mov ecx, 0xf2591815
sub ecx, 0xf258d80b
xor ebx, ebx
add ebx, eax
mov edi, 0xf6206564
sub edi, 0xe60e4764
add edi, dword [ebp - 0x1c]
mov edx, 0xb5cdf1f3
add edx, 0x5517d84a
sub dword [ebp - 0x14], 0x19181c19
mov esi, dword [edi]
mov dword [ebp - 4], 0x85c800c9
add esi, edx
xor dword [ebp - 0xc], eax
mov dword [ebx], esi
add ebx, 0xa354e617
sub ebx, 0xa354e613
add edi, 4
loop 0x1006517d
add eax, 0xb7bd6a82
add eax, 0x48438879
xor ebx, ebx
add ebx, eax
add eax, 0x712f1aa
add eax, 0xf8ed0e5b
mov ecx, 0x5e706776
add ecx, 0xb18f988a
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x10066491
Capabilities:
Parse pe header

Disassembly:
cmp edx, 2
jb 0x100664d5
cmp byte [ecx], 0x4d
jne 0x100664d5
cmp byte [ecx + 1], 0x5a
jne 0x100664d5
cmp edx, 0x40
jb 0x100664d5
mov eax, dword [ecx + 0x3c]
cmp eax, 0x40
jb 0x100664d5
cmp eax, 0x1000
ja 0x100664d5
test al, 7
jne 0x100664d5
push esi
lea esi, [eax + 0x18]
cmp esi, edx
pop esi
ja 0x100664d5
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100664d5
cmp word [ecx + 0x14], 0x60
sbb eax, eax
inc eax
ret
xor al, al
ret
Function at 0x1006660c
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, 0x100d5993
call fcn.100cece0
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
or dword [esi + 0x24], 0xffffffff
lea ecx, [esi + 0x30]
mov byte [esi], 1
mov byte [esi + 1], bl
mov byte [esi + 2], bl
mov byte [esi + 3], bl
mov byte [esi + 4], bl
mov byte [esi + 5], bl
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 1
mov dword [esi + 0x20], ebx
call fcn.10001d48
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], ebx
call fcn.1000250f
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x1006676d
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x100d5a2f
call fcn.100cece0
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
call fcn.10001d48
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.1000250f
mov dword [esi + 0x58], edi
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 4
call fcn.1006680e
lea eax, [esi + 0xb8]
mov dword [eax], edi
mov dword [eax + 4], edi
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 6
call fcn.10001d48
lea ecx, [esi + 0xe4]
mov byte [ebp - 4], 7
call fcn.10001d48
mov ecx, dword [ebp - 0xc]
lea eax, [esi + 0xf0]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
lea eax, [esi + 0xfc]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x1006a14a
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d5eb3
call fcn.100cece0
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
lea ecx, [esi + 0x38]
mov dword [esi], eax
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov ax, word [edi + 0x30]
mov word [esi + 0x30], ax
mov al, byte [edi + 0x32]
mov byte [esi + 0x32], al
mov al, byte [edi + 0x33]
mov byte [esi + 0x33], al
mov al, byte [edi + 0x34]
mov byte [esi + 0x34], al
mov al, byte [edi + 0x35]
mov byte [esi + 0x35], al
mov al, byte [edi + 0x36]
mov byte [esi + 0x36], al
lea eax, [edi + 0x38]
push eax
call fcn.10001da4
and dword [ebp - 4], 0
lea eax, [edi + 0x44]
push eax
lea ecx, [esi + 0x44]
call fcn.100025c2
mov eax, dword [edi + 0x50]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [edi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, dword [edi + 0x5c]
mov dword [esi + 0x5c], eax
mov eax, dword [edi + 0x60]
mov dword [esi + 0x60], eax
mov ax, word [edi + 0x64]
mov word [esi + 0x64], ax
mov ax, word [edi + 0x66]
mov word [esi + 0x66], ax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x1006eb4f
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x100d627d
call fcn.100cece0
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], 0x100d9a00
mov dword [esi + 4], 0x100dbeac
mov dword [esi + 8], 0x100e0910
mov dword [esi + 0xc], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 5
call fcn.1000250f
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 6
call fcn.100369a3
mov ecx, dword [ebp - 0xc]
mov dword [esi], 0x100e1d6c
mov dword [esi + 4], 0x100e1d50
mov dword [esi + 8], 0x100e1d40
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret