joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b12c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x4b1429
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4b1438
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4b1448
push ebx
call sub.KERNEL32.DLL_GetProcAddress
push 0x4b1438
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4b1450
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov edi, eax
push 0x4b1448
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov esi, eax
push 0x4b1460
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov ebx, eax
mov eax, 0x4c83f8
xor ecx, ecx
mov edx, 0x418
call fcn.0040315c
mov dword [0x4c83f8], esi
mov dword [0x4c83fc], edi
mov dword [0x4c8400], ebx
lea eax, [ebp - 4]
mov edx, 0x4b1478
call fcn.00404758
lea eax, [ebp - 8]
mov edx, 0x4b148c
call fcn.00404758
lea eax, [ebp - 0xc]
mov edx, 0x4b14a0
call fcn.00404758
mov eax, dword [ebp - 4]
call fcn.00404980
push eax
lea eax, [ebp - 4]
call fcn.00404bd8
mov edx, 0x4c8410
pop ecx
call fcn.004029b0
mov eax, dword [ebp - 8]
call fcn.00404980
push eax
lea eax, [ebp - 8]
call fcn.00404bd8
mov edx, 0x4c8510
pop ecx
call fcn.004029b0
mov eax, dword [ebp - 0xc]
call fcn.00404980
push eax
lea eax, [ebp - 0xc]
call fcn.00404bd8
mov edx, 0x4c8610
pop ecx
call fcn.004029b0
mov ebx, dword [0x4cace8]
add ebx, 0x418
push 0x4cacf8
push 0x418
push 0x4c83f8
push ebx
mov eax, dword [0x4c7fdc]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
push 0x4cacf8
push 0
push ebx
mov eax, dword [0x4c6ca0]
mov eax, dword [eax + 0x60]
push eax
push 0
push 0
mov eax, dword [0x4c7fdc]
push eax
call sub.KERNEL32.DLL_CreateRemoteThread
mov dword [0x4cacf4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b1430
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004046e4
ret

Function at 0x4b1654
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
push edi
mov esi, eax
mov edi, 0x4c7fdc
xor ebx, ebx
push esi
push 0
push 0x1f0fff
call sub.KERNEL32.DLL_OpenProcess
mov dword [edi], eax
cmp dword [edi], 0
je 0x4b1706
push 4
push 0x1000
push 0x2d08
push 0
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov dword [0x4cace8], eax
cmp dword [0x4cace8], 0
jne 0x4b16a6
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_CloseHandle
jmp 0x4b1706
mov eax, 0x4b1f30
sub eax, 0x4b18f0
inc eax
mov dword [0x4cacfc], eax
push 0x40
push 0x1000
mov eax, dword [0x4cacfc]
push eax
push 0
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
mov dword [0x4cacec], eax
cmp dword [0x4cacec], 0
jne 0x4b16e6
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_CloseHandle
jmp 0x4b1706
push 0x4cacf8
mov eax, dword [0x4cacfc]
push eax
push 0x4b18f0
mov eax, dword [0x4cacec]
push eax
mov eax, dword [edi]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x4b170c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov esi, eax
mov edi, esp
mov ebp, 0x4c7fdc
xor eax, eax
mov dword [edi], eax
imul ebx, esi, 0x418
add ebx, dword [0x4cace8]
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
jmp 0x4b175e
lea eax, [esp + 4]
push eax
push 4
push edi
push ebx
mov eax, dword [ebp]
push eax
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x4b17eb
push 0xa
call sub.KERNEL32.DLL_Sleep_1
cmp dword [edi], 0x63
jge 0x4b1782
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
sub eax, dword [esp + 8]
sbb edx, dword [esp + 0xc]
cmp edx, 0
jne 0x4b1780
cmp eax, 0xbb8
jb 0x4b173d
jmp 0x4b1782
jl 0x4b173d
push 0x4cacf8
push 0x418
imul eax, esi, 0x83
lea eax, [eax*8 + 0x4c7fe0]
push eax
push ebx
mov eax, dword [ebp]
push eax
call sub.KERNEL32.DLL_WriteProcessMemory
xor eax, eax
mov dword [edi], eax
jmp 0x4b17c7
lea eax, [esp + 4]
push eax
push 4
push edi
push ebx
mov eax, dword [ebp]
push eax
call sub.KERNEL32.DLL_ReadProcessMemory
test eax, eax
je 0x4b17eb
push 0xa
call sub.KERNEL32.DLL_Sleep_1
cmp dword [edi], 0x63
jge 0x4b17eb
call sub.KERNEL32.DLL_GetTickCount
xor edx, edx
sub eax, dword [esp + 8]
sbb edx, dword [esp + 0xc]
cmp edx, 0
jne 0x4b17e9
cmp eax, 0xbb8
jb 0x4b17aa
jmp 0x4b17eb
jl 0x4b17aa
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4b2d90
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x174], eax
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4b2fb6
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00402adc
test eax, eax
jne 0x4b2f8b
xor edx, edx
push ebp
push 0x4b2f73
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x160]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
lea edx, [ebp - 0x168]
xor eax, eax
call fcn.00402b3c
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.0040935c
push dword [ebp - 0x164]
push 0x4b2fd0
lea eax, [ebp - 0x16c]
call fcn.004b2fe4
push dword [ebp - 0x16c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404a40
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402b3c
push 0x40
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4169e0]
call fcn.0041b450
mov ebx, eax
push 0xffff
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x4169e0]
call fcn.0041b450
mov esi, eax
push 0
push 0
mov edx, ebx
mov eax, esi
call fcn.0041b238
call fcn.00402b9c
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
sub eax, 0x64
sbb edx, 0
call fcn.0040317c
cdq
push edx
push eax
mov eax, ebx
call fcn.0041afbc
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, ebx
call fcn.0041af9c
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
call fcn.0040317c
cdq
push edx
push eax
mov edx, ebx
mov eax, esi
call fcn.0041b238
mov eax, ebx
call fcn.004038cc
mov eax, esi
call fcn.004038cc
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.0040315c
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
mov word [ebp - 0x20], 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
push 0
push 0
push dword [ebp - 0xc]
push 0x4b2fdc
lea edx, [ebp - 0x178]
xor eax, eax
call fcn.00402b3c
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call fcn.004b328c
push dword [ebp - 0x174]
lea eax, [ebp - 0x170]
mov edx, 3
call fcn.00404a40
mov eax, dword [ebp - 0x170]
call fcn.00404b80
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2f7a
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b2fbd
lea eax, [ebp - 0x178]
mov edx, 6
call fcn.004046e4
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004046e4
ret
Function at 0x4b9a24
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe1c
push ebx
xor eax, eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b9c02
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4b9a71
lea edx, [ebp - 0x1d4]
xor eax, eax
call fcn.00402b3c
mov eax, dword [ebp - 0x1d4]
lea ecx, [ebp - 4]
mov edx, 0x4b9c18
call fcn.00409294
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402ef0
lea eax, [ebp - 0x1d0]
call fcn.00402c8c
call fcn.0040291c
mov edx, 0x4b9c28
lea eax, [ebp - 0x1d0]
call fcn.00404d9c
call fcn.00403380
call fcn.0040291c
mov edx, 0x4b9c3c
lea eax, [ebp - 0x1d0]
call fcn.00404d9c
call fcn.00403380
call fcn.0040291c
push 0x4b9c48
lea edx, [ebp - 0x1dc]
xor eax, eax
call fcn.00402b3c
push dword [ebp - 0x1dc]
push 0x4b9c58
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.00404a40
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d0]
call fcn.00404d9c
call fcn.00403380
call fcn.0040291c
push 0x4b9c64
lea edx, [ebp - 0x1e4]
xor eax, eax
call fcn.00402b3c
push dword [ebp - 0x1e4]
push 0x4b9c78
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00404a40
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d0]
call fcn.00404d9c
call fcn.00403380
call fcn.0040291c
mov edx, 0x4b9c8c
lea eax, [ebp - 0x1d0]
call fcn.00404d9c
call fcn.00403380
call fcn.0040291c
lea eax, [ebp - 0x1d0]
call fcn.00402fb8
call fcn.0040291c
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404b80
push eax
push 0
mov eax, dword [0x4c6f14]
mov eax, dword [eax]
call fcn.00446a04
push eax
call sub.shell32.dll_ShellExecuteA
mov eax, dword [0x4c6d64]
mov eax, dword [eax]
call fcn.00456b08
jmp 0x4b9bdc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b9c09
lea eax, [ebp - 0x1e4]
mov edx, 5
call fcn.004046e4
lea eax, [ebp - 4]
call fcn.004046c0
ret
Function at 0x4bb660
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
xor eax, eax
push ebp
push 0x4bb764
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x4bb688
mov eax, dword [0x4f2e68]
mov edx, dword [eax]
call dword [edx + 0x44]
push 0
push 0x4ba520
call sub.user32.dll_EnumWindows
mov eax, dword [0x4f2e68]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jge 0x4bb6ba
mov eax, 0x4bb778
call fcn.0042f724
jmp 0x4bb749
lea ecx, [ebp - 4]
xor edx, edx
mov eax, dword [0x4f2e68]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 4]
call fcn.00408e20
call fcn.004bb310
cmp dword [0x4f32f4], 0
jne 0x4bb6f0
mov dl, 1
mov eax, dword [0x4aff30]
call fcn.004b0054
mov dword [0x4f32f4], eax
cmp dword [0x4f32f8], 0
jne 0x4bb70a
mov dl, 1
mov eax, dword [0x4aff90]
call fcn.004b07cc
mov dword [0x4f32f8], eax
cmp dword [0x4f32fc], 0
jne 0x4bb724
mov dl, 1
mov eax, dword [0x4afff0]
call fcn.004b0104
mov dword [0x4f32fc], eax
lea eax, [ebp - 8]
call fcn.004b64b4
mov edx, dword [ebp - 8]
mov eax, 0x4bb790
call fcn.004b56dc
jmp 0x4bb749
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4bb76b
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046e4
ret
Function at 0x4c041c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4c04e4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10d]
push eax
push 0x104
call sub.KERNEL32.DLL_GetTempPathA
push 0x4c04fc
push 0x4c0508
mov ecx, dword [0x4c7668]
mov dl, 1
mov eax, dword [0x416bd4]
call fcn.0041ba20
mov esi, eax
lea eax, [ebp - 4]
call fcn.004c02e8
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x10d]
mov ecx, 0x105
call fcn.00404930
mov edx, dword [ebp - 0x114]
lea eax, [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.004049cc
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.0041b698
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004c0514
mov eax, dword [ebp - 8]
call fcn.004091fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c04eb
lea eax, [ebp - 0x114]
call fcn.004046c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046e4
ret
Function at 0x4c0514
Capabilities:
Acquire debug privileges
Install driver

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b70
mov eax, dword [ebp - 8]
call fcn.00404b70
xor eax, eax
push ebp
push 0x4c06f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor edx, edx
push ebp
push 0x4c06ad
push dword fs:[edx]
mov dword fs:[edx], esp
call sub.KERNEL32.DLL_GetCurrentProcess
mov edx, 0x4c0708
call fcn.004c03a0
test al, al
jne 0x4c057e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c06c2
call sub.KERNEL32.DLL_GetCurrentProcess
mov edx, 0x4c071c
call fcn.004c03a0
test al, al
jne 0x4c059e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c06c2
mov dl, 1
mov eax, dword [0x4323e4]
call fcn.00432490
mov ebx, eax
mov edx, 0x80000002
mov eax, ebx
call fcn.00432530
mov cl, 1
mov edx, 0x4c073c
mov eax, ebx
call fcn.00432674
test al, al
je 0x4c0610
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00432598
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00432674
mov ecx, 1
mov edx, 0x4c0768
mov eax, ebx
call fcn.004329a4
lea eax, [ebp - 0x20]
mov ecx, dword [ebp - 8]
mov edx, 0x4c0778
call fcn.004049cc
mov ecx, dword [ebp - 0x20]
mov edx, 0x4c0788
mov eax, ebx
call fcn.00432978
mov eax, ebx
call fcn.00432500
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x4c079c
call fcn.004049cc
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x10]
call fcn.00404f40
mov eax, dword [ebp - 0x14]
call fcn.00404f60
add eax, eax
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x14]
call fcn.00404f60
add eax, eax
add ax, 2
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 0x14]
call fcn.00404f50
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call sub.ntdll.dll_ZwLoadDriver
test eax, eax
je 0x4c0674
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c06c2
mov edx, 0x80000002
mov eax, ebx
call fcn.00432530
mov cl, 1
mov edx, 0x4c073c
mov eax, ebx
call fcn.00432674
test al, al
je 0x4c069c
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00432798
mov eax, ebx
call fcn.00432500
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c06be
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c06fc
lea eax, [ebp - 0x20]
call fcn.004046c0
lea eax, [ebp - 0x14]
call fcn.00404df4
lea eax, [ebp - 0x10]
call fcn.004046c0
lea eax, [ebp - 8]
mov edx, 2
call fcn.004046e4
ret
Function at 0x415121
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 0x4151d5
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004150b1
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x4151ae
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4151e1
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 0x4151fc
test ebp, ebp
je 0x4151fc
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x415204
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 0x415244
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 0x4152a0
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x41529b
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 0x415286
test dl, dl
je 0x415282
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x415286
add ecx, 2
add eax, 2
test dl, dl
jne 0x415266
xor eax, eax
jmp 0x41528b
sbb eax, eax
or eax, 1
test eax, eax
je 0x4152aa
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x415253
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 0x4152c1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.00415121
test eax, eax
jne 0x4152d9
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.004151e1
mov esi, eax
test esi, esi
jne 0x41530f
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x415329
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret
Function at 0x415421
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x44
push esi
push edi
mov dword [esp + 0x1c], edx
mov edi, ecx
call fcn.00415121
mov esi, eax
test esi, esi
jne 0x41543f
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.004151e1
mov dword [esp + 0x18], eax
test eax, eax
je 0x415437
lea edx, [esp + 0x38]
mov ecx, esi
mov dword [esp + 0x38], 0x65657246
mov dword [esp + 0x3c], 0x7262694c
mov dword [esp + 0x40], 0x797261
call fcn.004151e1
mov dword [esp + 0x34], eax
test eax, eax
je 0x415437
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.004151e1
mov dword [esp + 0x28], eax
test eax, eax
je 0x415437
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.004151e1
mov dword [esp + 0x30], eax
test eax, eax
je 0x415437
mov eax, dword [edi + 0x3c]
push ebx
cmp dword [eax + edi + 0x84], 0
push ebp
je 0x415606
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 0x415606
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 0x415569
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], eax
add eax, edi
mov dword [esp + 0x14], 0
cmp dword [eax], 0
je 0x4155ea
mov dword [esp + 0x18], 0
nop
mov eax, dword [eax]
test eax, eax
jns 0x41558c
movzx esi, ax
jmp 0x415591
lea esi, [edi + 2]
add esi, eax
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4155b0
push dword [esp + 0x58]
and eax, 0x80000000
push eax
push esi
push dword [esp + 0x34]
call ecx
mov ecx, eax
test ecx, ecx
jne 0x4155bf
push esi
push dword [esp + 0x30]
call dword [esp + 0x38]
mov ecx, eax
test ecx, ecx
je 0x415613
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 0x415581
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 0x415546
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
add esp, 0x44
ret
cmp dword [ebx], 0
je 0x41563c
mov esi, dword [esp + 0x10]
xor ebp, ebp
lea ecx, [ecx]
cmp ebp, esi
ja 0x41563c
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 0x415621
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
add esp, 0x44
ret
Function at 0x415651
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, ecx
call fcn.00415121
mov esi, eax
test esi, esi
je 0x41570d
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.004151e1
mov ebp, eax
test ebp, ebp
je 0x41570c
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.004151e1
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x41570c
mov ecx, dword [edi + 0x3c]
cmp dword [ecx + edi + 0x84], 0
je 0x41570c
push ebx
mov ebx, dword [ecx + edi + 0x80]
add ebx, edi
xor esi, esi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x41570b
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 0x4156f1
pop ebx
pop ebp
pop edi
pop esi
add esp, 0x18
ret

Function at 0x417048
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 0x4170fc
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00416fd8
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x4170d5
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret