joyce8/EMBER2024-capa huggingface dataset:
Function at 0x541de8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x5d7ee0]
je 0x541e03
inc edi
cmp edi, 0x17
jb 0x541df4
cmp edi, 0x17
jae 0x541f83
push ebp
push 3
call fcn.0054a8c0
cmp eax, 1
pop ecx
je 0x541f4f
push 3
call fcn.0054a8c0
test eax, eax
pop ecx
jne 0x541e37
cmp dword [0x5d7400], 1
je 0x541f4f
cmp ebx, 0xfc
je 0x541f82
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x5e4600
push ebp
call fcn.00539f02
add esp, 0xc
test eax, eax
je 0x541e6d
push esi
push esi
push esi
push esi
push esi
call fcn.0053111f
add esp, 0x14
push 0x104
mov esi, 0x5e4619
push esi
push 0
mov byte [0x5e471d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x541eb1
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00539f02
add esp, 0xc
test eax, eax
je 0x541eb1
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0053111f
add esp, 0x14
push esi
call fcn.005374c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x541ef6
push esi
call fcn.005374c0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x5e4914
push 0x59d05c
sub ecx, eax
push ecx
push eax
call fcn.00531b31
add esp, 0x14
test eax, eax
je 0x541ef6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0053111f
add esp, 0x14
jmp 0x541ef8
xor esi, esi
push 0x59d058
push ebx
push ebp
call fcn.00539f67
add esp, 0xc
test eax, eax
je 0x541f18
push esi
push esi
push esi
push esi
push esi
call fcn.0053111f
add esp, 0x14
push dword [edi*8 + 0x5d7ee4]
push ebx
push ebp
call fcn.00539f67
add esp, 0xc
test eax, eax
je 0x541f3a
push esi
push esi
push esi
push esi
push esi
call fcn.0053111f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0054a703
add esp, 0xc
jmp 0x541f82
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x541f82
cmp ebp, 0xffffffff
je 0x541f82
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x5d7ee4]
push dword [esi]
call fcn.005374c0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x54a703
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0053ba0e
xor ebx, ebx
cmp dword [0x5e4ab4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x54a7d9
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x54a8b9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x59f1b0
push edi
call esi
cmp eax, ebx
je 0x54a8b9
push eax
call fcn.0053b9a0
mov dword [esp], 0x59f1a0
push edi
mov dword [0x5e4ab4], eax
call esi
push eax
call fcn.0053b9a0
mov dword [esp], 0x59f18c
push edi
mov dword [0x5e4ab8], eax
call esi
push eax
call fcn.0053b9a0
mov dword [0x5e4abc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00539c8f
test eax, eax
pop ecx
pop ecx
je 0x54a7a7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0053111f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x54a7d9
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0053b9a0
cmp eax, ebx
pop ecx
mov dword [0x5e4ac4], eax
je 0x54a7d9
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0053b9a0
pop ecx
mov dword [0x5e4ac0], eax
mov eax, dword [0x5e4ac0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x54a85e
cmp dword [0x5e4ac4], ecx
je 0x54a85e
push eax
call fcn.0053ba17
push dword [0x5e4ac4]
mov esi, eax
call fcn.0053ba17
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x54a85e
cmp edi, ebx
je 0x54a85e
call esi
cmp eax, ebx
je 0x54a82b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x54a82b
test byte [ebp - 0x18], 1
jne 0x54a85e
lea eax, [ebp - 0x10]
push eax
call fcn.00539cc6
test eax, eax
pop ecx
je 0x54a846
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0053111f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x54a855
or dword [ebp + 0x10], 0x200000
jmp 0x54a899
or dword [ebp + 0x10], 0x40000
jmp 0x54a899
mov eax, dword [0x5e4ab8]
cmp eax, dword [ebp - 8]
je 0x54a899
push eax
call fcn.0053ba17
cmp eax, ebx
pop ecx
je 0x54a899
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x54a899
mov eax, dword [0x5e4abc]
cmp eax, dword [ebp - 8]
je 0x54a899
push eax
call fcn.0053ba17
cmp eax, ebx
pop ecx
je 0x54a899
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x5e4ab4]
call fcn.0053ba17
cmp eax, ebx
pop ecx
je 0x54a8b9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x54a8bb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5615ac
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5d72e0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00561541
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00530d30
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x5615fb
cmp dword [ebp - 0x1c], 5
jb 0x561613
jmp 0x56160f
cmp dword [ebp - 0x10], 1
jne 0x561613
cmp dword [ebp - 0x1c], 4
ja 0x56160f
jne 0x561613
cmp dword [ebp - 0x18], 0
jbe 0x561613
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x59fbfc
call fcn.00561432
test eax, eax
jge 0x561634
mov byte [0x5d984c], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0053042b
add ebp, 0x78
leave
ret
Function at 0x413cb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aeb0b
mov eax, dword fs:[0]
push eax
push ecx
mov dword [ebp - 0x10], 0xcccccccc
mov eax, dword [0x4db440]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00413d60
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.CPReaderWriterLock.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0041b860
mov dword [ebp - 4], 0
push 0
push 0
push 1
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00465415
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
cmp ebp, esp
call fcn.00480439
mov esp, ebp
pop ebp
ret
Function at 0x44bfc0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
xor eax, eax
jne 0x44bfcf
xor ecx, ecx
jne 0x44bfcf
mov esi, esp
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
cmp esi, esp
call fcn.00480439
pop esi
add esp, 4
cmp ebp, esp
call fcn.00480439
mov esp, ebp
pop ebp
ret 4

Function at 0x44c120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, 0xcccccccc
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 4], ecx
xor eax, eax
cmp dword [ebp + 0x10], 0
setne al
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44c160
push 0x80004005
call fcn.00407f20
xor ecx, ecx
jne 0x44c144
mov dword [ebp - 0x10], 0
mov esi, esp
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp esi, esp
call fcn.00480439
mov dword [ebp - 0x18], eax
cmp dword [ebp + 8], 0
je 0x44c27c
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jbe 0x44c274
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jbe 0x44c263
cmp dword [ebp - 0x1c], 2
jbe 0x44c1cc
cmp dword [ebp - 0x1c], 7
je 0x44c202
jmp 0x44c263
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x44c1f1
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
test edx, edx
je 0x44c200
mov eax, dword [ebp + 8]
mov word [eax], 0
mov eax, 0xd
jmp 0x44c27f
jmp 0x44c272
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x44c252
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jb 0x44c252
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
jne 0x44c252
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
shr eax, 1
cmp eax, 1
jbe 0x44c261
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shr edx, 1
mov eax, dword [ebp + 8]
movzx ecx, word [eax + edx*2 - 4]
test ecx, ecx
je 0x44c261
mov edx, dword [ebp + 8]
mov word [edx], 0
mov eax, 0xd
jmp 0x44c27f
jmp 0x44c272
mov eax, dword [ebp + 8]
mov word [eax], 0
mov eax, 0xd
jmp 0x44c27f
jmp 0x44c27c
mov ecx, dword [ebp + 8]
mov word [ecx], 0
mov eax, dword [ebp - 0x18]
push edx
mov ecx, ebp
push eax
lea edx, [0x44c2a4]
call fcn.0048045c
pop eax
pop edx
pop esi
add esp, 0x1c
cmp ebp, esp
call fcn.00480439
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44c2c0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov dword [ebp - 0xc], 0xcccccccc
mov dword [ebp - 8], 0xcccccccc
mov dword [ebp - 4], 0xcccccccc
mov dword [ebp - 4], ecx
xor eax, eax
cmp dword [ebp + 8], 0
setne al
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x44c2fb
push 0x80004005
call fcn.00407f20
xor ecx, ecx
jne 0x44c2df
xor edx, edx
jne 0x44c2ff
xor eax, eax
jne 0x44c2ff
movzx ecx, byte [ebp + 0x10]
test ecx, ecx
je 0x44c31c
cmp dword [ebp + 0x14], 0xffffffff
jne 0x44c31c
mov eax, 0x57
jmp 0x44c375
cmp dword [ebp + 0x14], 0xffffffff
jne 0x44c33b
mov esi, esp
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp esi, esp
call fcn.00480439
add eax, 1
mov dword [ebp + 0x14], eax
movzx eax, byte [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 6
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
shl ecx, 1
mov esi, esp
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, esp
call fcn.00480439
pop esi
add esp, 0xc
cmp ebp, esp
call fcn.00480439
mov esp, ebp
pop ebp
ret 0x10
Function at 0x456d56
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x456e09
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x457474
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x457497
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x457497
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x4574a1
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x4574e3
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x457545
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x457540
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x45752b
test dl, dl
je 0x457527
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x45752b
add ecx, 2
add eax, 2
test dl, dl
jne 0x45750b
xor eax, eax
jmp 0x457530
sbb eax, eax
or eax, 1
test eax, eax
je 0x457551
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x4574f8
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8

Function at 0x4575dc
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jge 0x4575fe
mov eax, 0xfffffffd
jmp 0x4576d0
cmp dword [0x3108860], 0
je 0x4576a9
cmp dword [0x3108864], 5
jl 0x45762c
cmp dword [0x3108864], 7
jg 0x45762c
mov eax, 1
jmp 0x457631
mov eax, 0
test eax, eax
jne 0x45764a
cmp dword [0x3108864], 0xfffffffb
je 0x45764a
xor eax, eax
jmp 0x45764f
mov eax, 1
test eax, eax
je 0x45767b
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x457664
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
cmp dword [0x3108860], 0
jne 0x4576c6
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4576d0
mov esp, ebp
pop ebp
ret 4
Function at 0x460847
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4608fb
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004607d7
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x4608d4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x460907
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x460922
test ebp, ebp
je 0x460922
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x46092a
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x46096a
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4609c6
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4609c1
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4609ac
test dl, dl
je 0x4609a8
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4609ac
add ecx, 2
add eax, 2
test dl, dl
jne 0x46098c
xor eax, eax
jmp 0x4609b1
sbb eax, eax
or eax, 1
test eax, eax
je 0x4609d0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x460979
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x4609e7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00460847
test eax, eax
jne 0x4609ff
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.00460907
mov esi, eax
test esi, esi
jne 0x460a35
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x460a4f
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x460b47
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.00460847
mov esi, eax
test esi, esi
jne 0x460b65
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x64616f4c
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x41797261
mov byte [esp + 0x44], 0
call fcn.00460907
mov dword [esp + 0x18], eax
test eax, eax
je 0x460b5d
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.00460907
mov dword [esp + 0x34], eax
test eax, eax
je 0x460b5d
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x50746547
mov dword [esp + 0x3c], 0x41636f72
mov dword [esp + 0x40], 0x65726464
mov word [esp + 0x44], 0x7373
mov byte [esp + 0x46], 0
call fcn.00460907
mov dword [esp + 0x28], eax
test eax, eax
je 0x460b5d
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x4d746547
mov dword [esp + 0x3c], 0x6c75646f
mov dword [esp + 0x40], 0x6e614865
mov dword [esp + 0x44], 0x41656c64
mov byte [esp + 0x48], 0
call fcn.00460907
mov dword [esp + 0x30], eax
test eax, eax
je 0x460b5d
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x460d2c
mov ecx, dword [eax + edi + 0x80]
add ecx, edi
xor esi, esi
lea ebx, [ecx + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x10], esi
cmp dword [ebx], esi
je 0x460d2c
mov eax, ebx
mov ebp, ecx
mov eax, dword [eax]
add eax, edi
push eax
mov dword [esp + 0x2c], eax
call dword [esp + 0x24]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x460c8f
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x460d10
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x460cb2
movzx esi, ax
jmp 0x460cb7
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x460cd6
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x460ce5
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x460d39
mov eax, dword [ebp + 0x10]
add eax, dword [esp + 0x18]
mov dword [eax + edi], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
inc ecx
mov dword [esp + 0x14], ecx
shl ecx, 2
add eax, ecx
add eax, edi
mov dword [esp + 0x18], ecx
cmp dword [eax], 0
jne 0x460ca7
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
inc esi
mov dword [esp + 0x10], esi
lea eax, [esi + esi*4]
lea ebp, [ecx + eax*4]
cmp dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
jne 0x460c6c
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x460d62
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x460d62
mov eax, dword [ebx]
add eax, edi
push eax
call dword [esp + 0x3c]
push eax
call dword [esp + 0x40]
add ebx, 0x14
inc ebp
cmp dword [ebx], 0
jne 0x460d47
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x460d77
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.00460847
mov esi, eax
test esi, esi
je 0x460e33
push ebp
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x65657246
mov dword [esp + 0x14], 0x7262694c
mov dword [esp + 0x18], 0x797261
call fcn.00460907
mov ebp, eax
test ebp, ebp
je 0x460e32
lea edx, [esp + 0x10]
mov ecx, esi
mov dword [esp + 0x10], 0x4d746547
mov dword [esp + 0x14], 0x6c75646f
mov dword [esp + 0x18], 0x6e614865
mov dword [esp + 0x1c], 0x41656c64
mov byte [esp + 0x20], 0
call fcn.00460907
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x460e32
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x460e32
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x460e31
lea ebx, [ebx]
add eax, edi
push eax
call edx
push eax
call ebp
mov edx, dword [esp + 0x10]
lea esi, [esi + 1]
lea eax, [esi + esi*4]
mov eax, dword [ebx + eax*4 + 0xc]
test eax, eax
jne 0x460e17
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret
Function at 0x4c8eac
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x30]
movzx eax, byte [eax + 2]
and eax, 1
leave
ret

Function at 0x4cbdc6
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x4cbe7a
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004cbd56
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x4cbe53
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cbe86
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x4cbea1
test ebp, ebp
je 0x4cbea1
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x4cbea9
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x4cbee9
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x4cbf45
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x4cbf40
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x4cbf2b
test dl, dl
je 0x4cbf27
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x4cbf2b
add ecx, 2
add eax, 2
test dl, dl
jne 0x4cbf0b
xor eax, eax
jmp 0x4cbf30
sbb eax, eax
or eax, 1
test eax, eax
je 0x4cbf4f
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x4cbef8
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret