joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4012f8
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
push esi
push edi
push 0x40fad0
push eax
push dword [0x412c48]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp + 8], eax
cmp edi, esi
jne 0x401331
xor al, al
jmp 0x401382
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x40132d
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push 0x80
push 2
push esi
mov ebx, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push esi
mov edi, eax
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebx
cmp edi, esi
je 0x401380
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop edi
pop esi
pop ebp
ret

Function at 0x401386
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x40d8ee
call fcn.00409683
mov eax, dword [0x41204c]
mov ecx, 0x41204c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push str.zlib1.dll
lea ecx, [ebp - 0x14]
call fcn.004010f5
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00401792
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401f7c
mov esi, dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
push eax
push 0x82
call fcn.004012f8
pop ecx
mov bl, al
pop ecx
lea eax, [esi - 0x10]
call fcn.00401f7c
mov al, bl
call fcn.00409722
ret

Function at 0x4013f9
Capabilities:
Delete file

Disassembly:
push 0xc
mov eax, 0x40d8c3
call fcn.00409683
mov eax, dword [0x41204c]
mov ecx, 0x41204c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
push str.RootGenius.zip
lea ecx, [ebp - 0x14]
call fcn.004010f5
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00401792
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00401f7c
mov edi, dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
lea eax, [ebp - 0x10]
push eax
push 0x84
call fcn.004012f8
mov bl, al
pop ecx
pop ecx
test bl, bl
je 0x4014a0
push 1
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
push 0x40fc84
call fcn.004010f5
lea eax, [edi - 0x10]
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.00401b0b
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 0
call fcn.00401fac
add esp, 0xc
push edi
mov bl, al
call esi
lea eax, [edi - 0x10]
call fcn.00401f7c
mov al, bl
call fcn.00409722
ret
Function at 0x4014b0
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x40d890
call fcn.00409683
mov eax, dword [0x41204c]
mov ecx, 0x41204c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
and dword [ebp - 4], 0
push str.RootGeniusEx.zip
lea ecx, [ebp - 0x18]
call fcn.004010f5
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00401792
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00401f7c
mov edi, dword [ebp - 0x14]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call esi
lea eax, [ebp - 0x14]
push eax
push 0x85
call fcn.004012f8
pop ecx
pop ecx
mov byte [ebp - 0xd], al
test al, al
je 0x40155c
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x40fc84
call fcn.004010f5
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], esp
lea eax, [edi - 0x10]
mov dword [ebp - 0x18], esp
call fcn.00401b0b
add eax, 0x10
mov ecx, esp
mov dword [ecx], eax
mov byte [ebp - 4], 0
call fcn.00401fac
add esp, 0xc
push edi
mov byte [ebp - 0xd], al
call esi
lea eax, [edi - 0x10]
call fcn.00401f7c
mov al, byte [ebp - 0xd]
call fcn.00409722
ret

Function at 0x40156d
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
movzx edi, ax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x40fb38
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
and dword [ebp - 0x10], 0x80000000
and eax, 0x7fffffff
mov ebx, dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 0x20], eax
xor esi, esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], esi
fild qword [ebp - 0x24]
fild qword [ebp - 0x14]
fchs
faddp st(1)
fld qword [0x40fcc0]
fmul st(1), st(0)
fmulp st(1)
fcomp qword [0x40fcb8]
fnstsw ax
test ah, 5
jp 0x401607
push 4
mov eax, edi
pop ecx
and eax, 0x3ff
push 0x30
cmp cx, ax
jne 0x4015fa
push 0x40fb40
push 0x40fb48
jmp 0x401604
push str.Warning
push str.C_disk_space_will_cause_the_software_can_not_be_used_
push esi
call ebx
mov byte [ebp - 5], 1
call fcn.00401386
test al, al
jne 0x401619
mov byte [ebp - 5], al
jmp 0x401687
push str.zlib1.dll
lea ecx, [ebp - 0x10]
call fcn.004010f5
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
pop ecx
push dword [eax]
call esi
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401f7c
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004013f9
test al, al
jne 0x401657
mov byte [ebp - 5], al
jmp 0x40167a
push str.RootGenius.dll
lea ecx, [ebp - 0x10]
call fcn.004010f5
pop ecx
push dword [eax]
call esi
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00401f7c
call fcn.004014b0
cmp byte [ebp - 5], 0
jne 0x4016b0
xor esi, esi
push 4
pop eax
and edi, 0x3ff
push 0x30
cmp ax, di
jne 0x4016a3
push 0x40fc0c
push str.Root
jmp 0x4016ad
push str.Error
push str.Root_Genius_failed_to_initialize_
push esi
call ebx
mov al, byte [ebp - 5]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4029ef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411020]
jne 0x4029f9
repz ret
jmp fcn.004033dc

Function at 0x4078dc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403554
and dword [ebp - 4], 0
cmp dword [0x412b60], 0
mov ebx, eax
jne 0x40798d
push 0x40f104
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407a3e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407a3e
push eax
call fcn.004034e2
mov dword [esp], 0x40f0e8
push edi
mov dword [0x412b60], eax
call esi
push eax
call fcn.004034e2
mov dword [esp], 0x40f0d4
push edi
mov dword [0x412b64], eax
call esi
push eax
call fcn.004034e2
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x412b68], eax
call esi
push eax
call fcn.004034e2
pop ecx
mov dword [0x412b70], eax
test eax, eax
je 0x40798d
push 0x40f0a0
push edi
call esi
push eax
call fcn.004034e2
pop ecx
mov dword [0x412b6c], eax
mov eax, dword [0x412b6c]
cmp eax, ebx
je 0x4079e5
cmp dword [0x412b70], ebx
je 0x4079e5
push eax
call fcn.0040355d
push dword [0x412b70]
mov esi, eax
call fcn.0040355d
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4079e5
test edi, edi
je 0x4079e5
call esi
test eax, eax
je 0x4079dc
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4079dc
test byte [ebp - 0xc], 1
jne 0x4079e5
or dword [ebp + 0x10], 0x200000
jmp 0x407a1e
mov eax, dword [0x412b64]
cmp eax, ebx
je 0x407a1e
push eax
call fcn.0040355d
pop ecx
test eax, eax
je 0x407a1e
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407a1e
mov eax, dword [0x412b68]
cmp eax, ebx
je 0x407a1e
push eax
call fcn.0040355d
pop ecx
test eax, eax
je 0x407a1e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x412b60]
call fcn.0040355d
pop ecx
test eax, eax
je 0x407a3e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407a40
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413a3d
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
push dword [esp + 8]
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0x10
mov edx, 0x5658
in eax, dx
call fcn.00413a7e
mov eax, dword [esp]
mov dword fs:[0], eax
add esp, 8
mov esp, ebp
pop ebp
ret 4

Function at 0x41629a
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x4162d2
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x4162c0
mov al, 1
jmp 0x41631c
cmp dword [ebx + 0x54], ecx
jne 0x4162c9
mov al, 2
jmp 0x41631c
cmp dword [ebx + 0x7c], ecx
jne 0x41631c
mov al, 3
jmp 0x41631c
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x4162e7
mov al, 4
jmp 0x41631c
cmp ecx, 5
jne 0x416307
cmp ebx, 0
jne 0x4162f5
mov al, 5
jmp 0x41631c
cmp ebx, 1
jne 0x4162fe
mov al, 6
jmp 0x41631c
cmp ebx, 2
jne 0x416307
mov al, 7
jmp 0x41631c
cmp ecx, 6
jne 0x416313
cmp ebx, 0
jne 0x416315
mov al, 8
jmp 0x41631c
cmp ebx, 1
jne 0x41631c
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e304
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 0x42e3b8
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0042e294
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x42e391
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e3c4
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 0x42e3df
test ebp, ebp
je 0x42e3df
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x42e3e7
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 0x42e427
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 0x42e483
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x42e47e
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 0x42e469
test dl, dl
je 0x42e465
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x42e469
add ecx, 2
add eax, 2
test dl, dl
jne 0x42e449
xor eax, eax
jmp 0x42e46e
sbb eax, eax
or eax, 1
test eax, eax
je 0x42e48d
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x42e436
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 0x42e4a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.0042e304
test eax, eax
jne 0x42e4bc
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.0042e3c4
mov esi, eax
test esi, esi
jne 0x42e4f2
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x42e50c
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x42e604
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.0042e304
mov esi, eax
test esi, esi
jne 0x42e622
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.0042e3c4
mov dword [esp + 0x18], eax
test eax, eax
je 0x42e61a
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.0042e3c4
mov dword [esp + 0x34], eax
test eax, eax
je 0x42e61a
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.0042e3c4
mov dword [esp + 0x28], eax
test eax, eax
je 0x42e61a
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.0042e3c4
mov dword [esp + 0x30], eax
test eax, eax
je 0x42e61a
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x42e7e9
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 0x42e7e9
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 0x42e74c
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x42e7cd
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x42e76f
movzx esi, ax
jmp 0x42e774
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x42e793
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x42e7a2
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x42e7f6
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 0x42e764
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 0x42e729
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x42e81f
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x42e81f
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 0x42e804
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x42e834
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0042e304
mov esi, eax
test esi, esi
je 0x42e8f0
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.0042e3c4
mov ebp, eax
test ebp, ebp
je 0x42e8ef
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.0042e3c4
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x42e8ef
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x42e8ef
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x42e8ee
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 0x42e8d4
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x42eb6d
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 0x42eb90
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x42eb90
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x42eb9a
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 0x42ebdc
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 0x42ec3e
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x42ec39
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 0x42ec24
test dl, dl
je 0x42ec20
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x42ec24
add ecx, 2
add eax, 2
test dl, dl
jne 0x42ec04
xor eax, eax
jmp 0x42ec29
sbb eax, eax
or eax, 1
test eax, eax
je 0x42ec4a
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x42ebf1
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 0x42f0d6
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 0x42f18a
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0042f066
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x42f163
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42f196
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 0x42f1b1
test ebp, ebp
je 0x42f1b1
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x42f1b9
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 0x42f1f9
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 0x42f255
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x42f250
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 0x42f23b
test dl, dl
je 0x42f237
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x42f23b
add ecx, 2
add eax, 2
test dl, dl
jne 0x42f21b
xor eax, eax
jmp 0x42f240
sbb eax, eax
or eax, 1
test eax, eax
je 0x42f25f
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x42f208
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 0x42f276
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.0042f0d6
mov esi, eax
test esi, esi
je 0x42f332
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.0042f196
mov ebp, eax
test ebp, ebp
je 0x42f331
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.0042f196
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x42f331
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x42f331
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x42f330
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 0x42f316
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret