joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416b31
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040cd34
xor ebx, ebx
cmp dword [0x432ab4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x416c07
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x416ce7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x416ce7
push eax
call fcn.0040ccc6
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x432ab4], eax
call esi
push eax
call fcn.0040ccc6
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x432ab8], eax
call esi
push eax
call fcn.0040ccc6
mov dword [0x432abc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004102fd
test eax, eax
pop ecx
pop ecx
je 0x416bd5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00409410
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x416c07
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040ccc6
cmp eax, ebx
pop ecx
mov dword [0x432ac4], eax
je 0x416c07
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ccc6
pop ecx
mov dword [0x432ac0], eax
mov eax, dword [0x432ac0]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x416c8c
cmp dword [0x432ac4], ecx
je 0x416c8c
push eax
call fcn.0040cd3d
push dword [0x432ac4]
mov esi, eax
call fcn.0040cd3d
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x416c8c
cmp edi, ebx
je 0x416c8c
call esi
cmp eax, ebx
je 0x416c59
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x416c59
test byte [ebp - 0x18], 1
jne 0x416c8c
lea eax, [ebp - 0x10]
push eax
call fcn.00410334
test eax, eax
pop ecx
je 0x416c74
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00409410
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x416c83
or dword [ebp + 0x10], 0x200000
jmp 0x416cc7
or dword [ebp + 0x10], 0x40000
jmp 0x416cc7
mov eax, dword [0x432ab8]
cmp eax, dword [ebp - 8]
je 0x416cc7
push eax
call fcn.0040cd3d
cmp eax, ebx
pop ecx
je 0x416cc7
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x416cc7
mov eax, dword [0x432abc]
cmp eax, dword [ebp - 8]
je 0x416cc7
push eax
call fcn.0040cd3d
cmp eax, ebx
pop ecx
je 0x416cc7
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x432ab4]
call fcn.0040cd3d
cmp eax, ebx
pop ecx
je 0x416ce7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416ce9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41d1f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x421d03
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x430710]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x432ae8
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x432ae8
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x426735
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.0041c570
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x42032f
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x430710]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042026e
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.004092b0
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 0x42037e
cmp dword [ebp - 0x1c], 5
jb 0x420396
jmp 0x420392
cmp dword [ebp - 0x10], 1
jne 0x420396
cmp dword [ebp - 0x1c], 4
ja 0x420392
jne 0x420396
cmp dword [ebp - 0x18], 0
jbe 0x420396
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x42a858
call fcn.00420104
test eax, eax
jge 0x4203b7
mov byte [0x431cec], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040932a
add ebp, 0x78
leave
ret
Function at 0x6cfc1537
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
cmp dword [ebp + 0x10], 2
jne 0x6cfc158c
mov edx, 0x6d018064
mov esi, dword [ebp + 8]
mov dword [0x6d018060], 0x10
mov ecx, 4
mov edi, edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x20], 0xb8
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1d], 0xe0ff0000
mov esi, dword [ebp + 8]
mov ecx, 4
mov dword [ebp - 0x1f], edx
mov edx, dword [ebp - 0x20]
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov dword [eax], edx
mov edx, dword [ebp - 0x1d]
mov dword [eax + 3], edx
mov ebx, dword [0x6d018060]
lea eax, [ebp - 0x20]
xor esi, esi
mov dword [ebp - 0x20], esi
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x40
mov dword [esp + 4], ebx
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [ebp - 0x2c], eax
call eax
sub esp, 0x10
test eax, eax
je 0x6cfc1654
cmp dword [ebp + 0x10], 0
mov esi, 0x6d018064
mov eax, 0x6d018074
mov ecx, ebx
cmovne esi, eax
cmp dword [0x6d018084], 0
mov edi, dword [ebp + 8]
rep movsb byte es:[edi], byte [esi]
jne 0x6cfc160c
mov dword [esp], str.ntdll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edx
mov dword [esp + 4], str.NtFlushInstructionCache
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ecx
push ecx
mov dword [0x6d018084], eax
mov esi, dword [0x6d018084]
test esi, esi
je 0x6cfc162f
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [esp + 8], ebx
mov ecx, dword [ebp + 8]
mov dword [esp], eax
mov dword [esp + 4], ecx
call esi
sub esp, 0xc
lea eax, [ebp - 0x20]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
mov eax, 1
sub esp, 0x10
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6cfc173e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
xor esi, esi
push ebx
sub esp, 0x2c
mov ebx, dword [ebp + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 4], esi
mov dword [esp], 0x40000
call dword [sym.imp.KERNEL32.dll_HeapCreate]
xor edx, edx
sub esp, 0xc
mov edi, eax
mov dword [esp + 8], 0xa
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
sub esp, 0xc
mov esi, eax
test ebx, ebx
jle 0x6cfc17bf
xor ecx, ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov esi, eax
sub esp, 0x10
xor eax, eax
cmp eax, ebx
jge 0x6cfc17bf
mov ecx, dword [ebp + 0x10]
mov edx, eax
and edx, 7
mov dl, byte [ecx + edx]
mov ecx, dword [ebp + 8]
xor dl, byte [ecx + eax]
mov byte [esi + eax], dl
inc eax
jmp 0x6cfc17a4
call fcn.6cfc1719
mov dword [esp], esi
call fcn.6cfc1504
xor eax, eax
xor edx, edx
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 8], 0x6cfc14ea
mov dword [esp + 4], edx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6cfc181f
Capabilities:
Write file on windows

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x14], pe_nt_image_headers32
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], 0x40000000
mov dword [esp], 0x6d0180c0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
sub esp, 0x1c
cmp eax, 0xffffffff
je 0x6cfc18cd
xor edi, edi
mov ebx, eax
mov dword [ebp - 0x1c], edi
mov edi, 0x19000
test esi, esi
jle 0x6cfc18a9
cmp edi, esi
lea eax, [ebp - 0x1c]
cmovg edi, esi
xor ecx, ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 8], edi
mov eax, dword [ebp + 8]
mov dword [esp], ebx
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
sub esp, 0x14
test eax, eax
jne 0x6cfc18b5
mov dword [esp], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
jmp 0x6cfc18cd
mov eax, dword [ebp - 0x1c]
add dword [ebp + 8], eax
mov dword [esp], 0x3e8
sub esi, eax
call dword [sym.imp.KERNEL32.dll_Sleep]
push eax
jmp 0x6cfc1878
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x6cfc18f4
Capabilities:
Read file on windows
Read from mailslot

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push ebx
sub esp, 0x34
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x10]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x14]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [0x6d0180a0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
sub esp, 0x14
test eax, eax
je 0x6cfc1972
mov edx, dword [ebp - 0x14]
mov eax, dword [ebx]
cmp edx, 0xffffffff
je 0x6cfc1972
xor ecx, ecx
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
lea ecx, [ebp - 0xc]
mov dword [esp + 0xc], ecx
add eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [0x6d0180a0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0xc]
add dword [ebx], eax
sub esp, 0x14
jmp 0x6cfc1909
mov eax, dword [ebp + 0xc]
cmp dword [ebx], eax
sete al
mov ebx, dword [ebp - 4]
leave
movzx eax, al
ret

Function at 0x6cfc19ef
Capabilities:
Create mailslot
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x26aa
xor edx, edx
mov dword [esp + 0x38], 0x5c
div ecx
mov dword [esp + 0x34], 0x74
mov dword [esp + 0x30], 0x6f
mov dword [esp + 0x2c], 0x6c
mov dword [esp + 0x28], 0x73
mov dword [esp + 0x24], 0x6c
mov dword [esp + 0x20], 0x69
mov dword [esp + 0x1c], 0x61
mov dword [esp + 0x18], 0x6d
mov dword [esp + 0x14], 0x5c
mov dword [esp + 0x10], 0x2e
mov dword [esp + 0xc], 0x5c
mov dword [esp + 8], 0x5c
mov dword [esp + 4], str._c_c_c_c_c_c_c_c_c_c_c_c_cslot__d
mov dword [esp], 0x6d0180c0
mov dword [esp + 0x3c], edx
call fcn.6cfc17fc
xor eax, eax
mov dword [esp + 8], 0xffffffff
mov dword [esp + 0xc], eax
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp], 0x6d0180c0
call dword [sym.imp.KERNEL32.dll_CreateMailslotA]
mov dword [0x6d0180a0], eax
sub esp, 0x10
inc eax
je 0x6cfc1af1
xor edx, edx
xor eax, eax
mov dword [esp + 8], 0x6cfc18d5
mov dword [esp + 4], edx
mov dword [esp], edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
sub esp, 0x18
mov dword [esp], ecx
call fcn.6cfc1982
mov eax, dword [0x6d0180a0]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
leave
ret

Function at 0x6cfc1b0b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
cmp dword [ebp + 0xc], 1
jne 0x6cfc1b47
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [0x6d018100], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x6cfc1af4
mov dword [esp + 4], edx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
sub esp, 0x18
leave
mov eax, 1
ret 0xc
Function at 0x6cfc1d50
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call fcn.6cfc7b30
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov dword [esp], 2
call fcn.6cfc7b30
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x6cfc1db0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x6d018128]
test esi, esi
jle 0x6cfc1ed0
mov eax, dword [0x6d01812c]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp ebx, edx
jb 0x6cfc1de4
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x6cfc1e67
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x6cfc1dd0
mov dword [esp], ebx
call fcn.6cfc25a0
mov edi, eax
test eax, eax
je 0x6cfc1ef7
mov eax, dword [0x6d01812c]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call fcn.6cfc26e0
mov edx, dword [0x6d01812c]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x6cfc1ed7
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x6cfc1e60
lea edx, [eax - 4]
and edx, 0xfffffffb
jne 0x6cfc1e70
add dword [0x6d018128], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
cmp eax, 2
mov edx, 4
mov eax, 0x40
mov ecx, dword [esp + 0x20]
cmove eax, edx
mov edx, dword [esp + 0x14]
add ebx, dword [0x6d01812c]
mov dword [ebx + 8], ecx
mov dword [ebx + 4], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x6cfc1e60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call fcn.6cfc1d50
lea esi, [esi]
lea esi, [esi]
xor esi, esi
jmp 0x6cfc1dee
mov eax, dword [0x6d01812c]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call fcn.6cfc1d50
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call fcn.6cfc1d50
lea esi, [esi]
nop
Function at 0x6cfc2210
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x6d018138
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x6d018130]
sub esp, 4
test ebx, ebx
je 0x6cfc2265
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x6cfc225e
test esi, esi
je 0x6cfc225e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x6cfc2240
mov dword [esp], 0x6d018138
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x6cfc25a0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [0x6cfc0000], 0x5a4d
jne 0x6cfc25c5
mov ecx, dword [0x6cfc003c]
cmp dword [ecx + 0x6cfc0000], 0x4550
lea edx, [ecx + 0x6cfc0000]
je 0x6cfc25d0
ret
cmp word [ecx + 0x6cfc0018], 0x10b
jne 0x6cfc25c5
push esi
movzx eax, word [ecx + 0x6cfc0014]
push ebx
movzx esi, word [ecx + 0x6cfc0006]
mov ebx, dword [esp + 0xc]
lea eax, [edx + eax + 0x18]
sub ebx, 0x6cfc0000
test si, si
je 0x6cfc2618
xor ecx, ecx
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x6cfc260e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x6cfc261a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x6cfc2600
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4a2930
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6c000]
push edi
jmp 0x4a294a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4a2951
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2940
mov eax, 1
add ebx, ebx
jne 0x4a2963
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4a2974
jne 0x4a2993
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2993
dec eax
add ebx, ebx
jne 0x4a2980
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4a2958
add ebx, ebx
jne 0x4a298f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4a29e5
xor ecx, ecx
sub eax, 3
jb 0x4a29ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4a2a1a
sar eax, 1
mov ebp, eax
jmp 0x4a29b6
add ebx, ebx
jne 0x4a29b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2984
inc ecx
add ebx, ebx
jne 0x4a29c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4a2984
add ebx, ebx
jne 0x4a29d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4a29c6
jne 0x4a29e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4a29c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4a2a04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4a29f6
jmp 0x4a2946
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4a2a04
add edi, ecx
jmp 0x4a2946
pop esi
mov edi, esi
mov ecx, 0x20a7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4a2a22
cmp byte [edi], 0x11
jne 0x4a2a22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4a2a27
lea edi, [esi + 0x9f000]
mov eax, dword [edi]
or eax, eax
je 0x4a2a9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xa28fc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xa2a64]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4a2a54
mov ecx, edi
jns 0x4a2a83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xa2a68]
or eax, eax
je 0x4a2a99
mov dword [ebx], eax
add ebx, 4
jmp 0x4a2a71
call dword [esi + 0xa2a78]
mov ebp, dword [esi + 0xa2a6c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4a2ad3
sub esp, 0xffffff80
jmp 0x4549ae
Function at 0x4083ae
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push ebp
mov ebp, esp
jmp 0x4083c7
nop
cld
xor edx, edx
mov edx, dword fs:[edx + 0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4083e6
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4083dd
cmp edi, 0x6a4abc5b
mov ebx, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4083d5
mov eax, ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 4
mov esp, ebp
pop ebp
jmp 0x40842e
nop
pop edx
pop eax
pop ecx
push edx
pushal
mov ebx, eax
mov edi, ecx
xor al, al
scasb al, byte es:[edi]
jne 0x40843a
dec edi
sub edi, ecx
xchg ecx, edi
mov eax, dword [ebx + 0x3c]
mov esi, dword [ebx + eax + 0x78]
lea esi, [esi + ebx + 0x18]
lodsd eax, dword [esi]
xchg edx, eax
lodsd eax, dword [esi]
push eax
lodsd eax, dword [esi]
xchg ebp, eax
lodsd eax, dword [esi]
xchg ebp, eax
add eax, ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ecx
dec edx
je 0x408489
mov esi, dword [eax + edx*4]
add esi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x408475
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
jmp 0x40845f
shl edx, 1
add ebp, edx
movzx eax, word [ebp + ebx]
shl eax, 2
add eax, dword [esp]
mov eax, dword [ebx + eax]
add eax, ebx
pop ecx
mov dword [esp + 0x1c], eax
popal
ret
Function at 0x40b24c
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 0x40b300
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0040b1dc
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x40b2d9
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40b30c
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 0x40b327
test ebp, ebp
je 0x40b327
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x40b32f
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 0x40b36f
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 0x40b3cb
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x40b3c6
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 0x40b3b1
test dl, dl
je 0x40b3ad
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x40b3b1
add ecx, 2
add eax, 2
test dl, dl
jne 0x40b391
xor eax, eax
jmp 0x40b3b6
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b3d5
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x40b37e
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 0x40b3ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.0040b24c
test eax, eax
jne 0x40b404
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.0040b30c
mov esi, eax
test esi, esi
jne 0x40b43a
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x40b454
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret