joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10075b10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x40
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x3c], eax
push 0x264d4161
call fcn.10070150
add esp, 4
test eax, eax
je 0x10075c98
push ebx
mov bl, 0x6c
mov cl, 0x62
mov al, 0x2e
push esi
mov byte [esp + 8], bl
mov byte [esp + 9], 0x69
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], 0x65
mov byte [esp + 0xc], 0x67
mov byte [esp + 0xd], bl
mov byte [esp + 0xe], al
mov byte [esp + 0xf], 0x64
mov byte [esp + 0x10], bl
mov byte [esp + 0x11], bl
mov byte [esp + 0x12], 0
mov edx, edx
mov byte [esp + 0x24], bl
mov byte [esp + 0x25], 0x69
mov byte [esp + 0x26], cl
mov byte [esp + 0x27], 0x47
mov byte [esp + 0x28], 0x4c
mov byte [esp + 0x29], 0x45
mov byte [esp + 0x2a], 0x53
mov byte [esp + 0x2b], 0x76
mov byte [esp + 0x2c], 0x32
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], 0x64
mov byte [esp + 0x2f], bl
mov byte [esp + 0x30], bl
mov byte [esp + 0x31], 0
mov edi, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea eax, [esp + 8]
push eax
call esi
test eax, eax
je 0x10075c96
lea ecx, [esp + 0x24]
push ecx
call esi
test eax, eax
je 0x10075c96
mov al, 0x66
mov byte [esp + 0x3d], al
mov byte [esp + 0x3e], al
mov cl, 0x61
mov al, 0x73
push edi
mov byte [esp + 0x38], 0x65
mov byte [esp + 0x39], 0x67
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], 0x53
mov byte [esp + 0x3c], 0x77
mov byte [esp + 0x3d], cl
mov byte [esp + 0x3e], 0x70
mov byte [esp + 0x3f], 0x42
mov byte [esp + 0x40], 0x75
mov byte [esp + 0x43], 0x65
mov byte [esp + 0x44], 0x72
mov byte [esp + 0x45], al
mov byte [esp + 0x46], 0
mov edx, edx
mov byte [esp + 0x18], 0x67
mov byte [esp + 0x19], bl
mov byte [esp + 0x1a], 0x52
mov byte [esp + 0x1b], 0x65
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x1e], 0x50
mov byte [esp + 0x1f], 0x69
mov byte [esp + 0x20], 0x78
mov byte [esp + 0x21], 0x65
mov byte [esp + 0x22], bl
mov byte [esp + 0x23], al
mov byte [esp + 0x24], 0
mov dl, dl
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x10]
push eax
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov dword [0x10248f84], eax
push ebx
pop ebx
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x2c]
push edx
call esi
push eax
call edi
mov dword [0x10248f80], eax
mov eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
mov eax, 1
call fcn.100aa646
add esp, 0x40
ret
Function at 0x10075f30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101189a8
push 0x100aaa10
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10132f1c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov al, 0x64
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], 0x33
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0x39
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], al
mov al, 0x6c
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
xor ebx, ebx
mov byte [ebp - 0x20], bl
mov edi, edi
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dh, dh
mov dword [ebp - 0x3c], ebx
mov ah, ah
cmp eax, ebx
jne 0x10075fa5
xor eax, eax
jmp 0x10076018
mov byte [ebp - 0x38], 0x44
mov byte [ebp - 0x37], 0x69
mov byte [ebp - 0x36], 0x72
mov cl, 0x65
mov byte [ebp - 0x35], cl
mov byte [ebp - 0x34], 0x63
mov dl, 0x74
mov byte [ebp - 0x33], dl
mov byte [ebp - 0x32], 0x33
mov byte [ebp - 0x31], 0x44
mov byte [ebp - 0x30], 0x43
mov byte [ebp - 0x2f], 0x72
mov byte [ebp - 0x2e], cl
mov byte [ebp - 0x2d], 0x61
mov byte [ebp - 0x2c], dl
mov byte [ebp - 0x2b], cl
mov byte [ebp - 0x2a], 0x39
mov byte [ebp - 0x29], bl
mov ebp, ebp
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dl, dl
cmp eax, ebx
je 0x10075fa1
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 8]
push edx
call eax
mov dword [ebp - 0x3c], eax
nop
jmp 0x1007600e
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100aa646
mov esp, ebp
pop ebp
ret 4
Function at 0x10076040
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x101189c8
push 0x100aaa10
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10132f1c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov al, 0x64
mov byte [ebp - 0x28], al
mov byte [ebp - 0x27], 0x33
mov byte [ebp - 0x26], al
mov byte [ebp - 0x25], 0x39
mov byte [ebp - 0x24], 0x2e
mov byte [ebp - 0x23], al
mov al, 0x6c
mov byte [ebp - 0x22], al
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], 0
mov ebx, ebx
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ah, ah
xor esi, esi
cmp eax, esi
je 0x1007613f
mov byte [ebp - 0x3c], 0x44
mov byte [ebp - 0x3b], 0x69
mov bl, 0x72
mov byte [ebp - 0x3a], bl
mov cl, 0x65
mov byte [ebp - 0x39], cl
mov byte [ebp - 0x38], 0x63
mov dl, 0x74
mov byte [ebp - 0x37], dl
mov byte [ebp - 0x36], 0x33
mov byte [ebp - 0x35], 0x44
mov byte [ebp - 0x34], 0x43
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], cl
mov byte [ebp - 0x31], 0x61
mov byte [ebp - 0x30], dl
mov byte [ebp - 0x2f], cl
mov byte [ebp - 0x2e], 0x39
mov byte [ebp - 0x2d], 0x45
mov byte [ebp - 0x2c], 0x78
mov byte [ebp - 0x2b], 0
mov eax, eax
lea ecx, [ebp - 0x3c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov bl, bl
cmp eax, esi
je 0x1007613f
mov dword [ebp - 0x40], esi
push eax
pop eax
mov dword [ebp - 4], esi
lea edx, [ebp - 0x40]
push edx
mov ecx, dword [ebp + 8]
push ecx
call eax
mov dh, dh
cmp eax, esi
jl 0x10076138
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x40]
jmp 0x10076141
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100aa646
mov esp, ebp
pop ebp
ret 4
Function at 0x100778c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x30
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov cl, 0x64
mov dword [esp], eax
mov al, 0x31
mov byte [esp + 8], cl
mov dl, 0x33
mov byte [esp + 0xa], cl
mov byte [esp + 0xe], cl
mov cl, 0x6c
push ebp
mov ebp, dword [esp + 0x40]
mov byte [esp + 0xd], dl
mov byte [esp + 0x19], dl
mov byte [esp + 0xf], al
mov byte [esp + 0x10], al
mov byte [esp + 0x13], cl
mov byte [esp + 0x14], cl
mov cl, 0x44
mov byte [esp + 0x1b], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1f], al
mov al, 0x65
lea edx, [esp + 0xc]
push edx
mov byte [esp + 0x15], 0x2e
mov byte [esp + 0x19], 0
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1e], cl
mov byte [esp + 0x21], 0x4f
mov byte [esp + 0x22], 0x6e
mov byte [esp + 0x24], 0x32
mov byte [esp + 0x25], 0x43
mov byte [esp + 0x26], 0x72
mov byte [esp + 0x27], al
mov byte [esp + 0x28], 0x61
mov byte [esp + 0x29], 0x74
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], cl
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], 0x76
mov byte [esp + 0x2e], 0x69
mov byte [esp + 0x2f], 0x63
mov byte [esp + 0x30], al
mov byte [esp + 0x31], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
jne 0x100779ac
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
jne 0x100779ac
mov eax, 0x80004005
pop ebp
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100aa646
add esp, 0x30
ret 0x18
lea ecx, [esp + 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10077995
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push ebx
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push ebp
push edx
push edi
push ecx
push esi
call eax
mov ecx, dword [esp + 0x30]
pop ebp
xor ecx, esp
call fcn.100aa646
add esp, 0x30
ret 0x18
Function at 0x1007d340
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x20
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x1c], eax
mov cl, 0x72
mov dl, 0x67
mov al, 0x61
mov byte [esp + 4], 0x50
mov byte [esp + 5], cl
mov byte [esp + 6], 0x6f
mov byte [esp + 7], dl
mov byte [esp + 8], 0x6d
mov byte [esp + 9], al
mov byte [esp + 0xa], 0x6e
mov byte [esp + 0xb], 0
mov dl, dl
mov byte [esp + 0xc], 0x50
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x6f
mov byte [esp + 0xf], dl
mov byte [esp + 0x10], cl
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0x6d
mov byte [esp + 0x13], 0x20
mov byte [esp + 0x14], 0x4d
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x6e
mov byte [esp + 0x17], al
mov byte [esp + 0x18], dl
mov byte [esp + 0x19], 0x65
mov byte [esp + 0x1a], cl
mov byte [esp + 0x1b], 0
mov dh, dh
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.USER32.dll_FindWindowA]
push eax
pop eax
test eax, eax
jne 0x1007d3ea
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.100aa646
add esp, 0x20
ret
mov dword [esp], 0
xchg ebx, eax
xchg ebx, eax
lea edx, [esp]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ch, ch
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp]
xor ecx, esp
call fcn.100aa646
add esp, 0x20
ret
Function at 0x1007d420
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
sub esp, 0x244
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x240], eax
mov cl, 0x73
mov al, 0x65
mov dl, 0x2e
push esi
mov byte [esp + 0x138], cl
mov byte [esp + 0x139], 0x76
mov byte [esp + 0x13a], 0x63
mov byte [esp + 0x13b], 0x68
mov byte [esp + 0x13c], 0x6f
mov byte [esp + 0x13d], cl
mov byte [esp + 0x13e], 0x74
mov byte [esp + 0x13f], dl
mov byte [esp + 0x140], al
mov byte [esp + 0x141], 0x78
mov byte [esp + 0x142], al
mov byte [esp + 0x143], 0
mov ebx, ebx
mov byte [esp + 0x12e], al
mov al, 0x6c
mov byte [esp + 0x12c], 0x75
mov byte [esp + 0x12d], cl
mov byte [esp + 0x12f], 0x72
mov byte [esp + 0x130], 0x33
mov byte [esp + 0x131], 0x32
mov byte [esp + 0x132], dl
mov byte [esp + 0x133], 0x64
mov byte [esp + 0x134], al
mov byte [esp + 0x135], al
mov byte [esp + 0x136], 0
nop
mov ch, ch
push 0x128
lea eax, [esp + 8]
push 0
push eax
call fcn.100aacb0
add esp, 0xc
mov ch, ch
mov dword [esp + 4], 0x128
mov edx, edx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov bh, bh
cmp esi, 0xffffffff
je 0x1007d60f
lea ecx, [esp + 4]
push ecx
push esi
call sub.KERNEL32.dll_Process32First
mov esi, esi
test eax, eax
je 0x1007d606
jmp 0x1007d540
mov bh, bh
xor eax, eax
jmp 0x1007d550
mov cl, byte [esp + eax + 0x28]
mov byte [esp + eax + 0x144], cl
add eax, 1
test cl, cl
jne 0x1007d550
mov cl, cl
lea edx, [esp + 0x144]
push edx
call fcn.100298b0
add esp, 4
push ecx
pop ecx
lea ecx, [esp + 0x138]
lea eax, [esp + 0x144]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x1007d5a4
test dl, dl
je 0x1007d5a0
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x1007d5a4
add eax, 2
add ecx, 2
test dl, dl
jne 0x1007d584
xor eax, eax
jmp 0x1007d5a9
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x1007d5f1
push eax
mov eax, dword [esp + 0x10]
push 1
push eax
push 0
push 0x400
call fcn.100334a0
add esp, 0x14
nop
test eax, eax
je 0x1007d5f1
push eax
call fcn.1005eab0
add esp, 4
mov ah, ah
mov edx, dword [esp + 0xc]
push 0
push 0
lea ecx, [esp + 0x134]
push ecx
push edx
call fcn.10023fd0
add esp, 0x10
or eax, edx
jne 0x1007d627
lea eax, [esp + 4]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
mov al, al
test eax, eax
jne 0x1007d540
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bh, bh
xor eax, eax
pop esi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.100aa646
add esp, 0x244
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, ebx
mov ecx, dword [esp + 0x244]
mov eax, dword [esp + 0xc]
pop esi
xor ecx, esp
call fcn.100aa646
add esp, 0x244
ret
Function at 0x10081c90
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x100e9611
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10132f1c]
xor eax, esp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [0x10132f1c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 0
mov dword [esi + 0x10], esi
mov dword [esp + 0x10], esi
mov dword [esi + 0x14], esi
mov dword [esp + 0x40], 1
mov eax, dword [esi + 0x10]
mov byte [eax], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0xc], 1
xchg ebx, eax
xchg ebx, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.100acb2a
add esp, 4
mov cl, cl
call fcn.100acb37
and eax, 0x80000007
jns 0x10081d1b
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
mov ecx, ecx
nop
mov byte [esp + 0x14], 0x61
mov byte [esp + 0x15], 0x62
mov byte [esp + 0x16], 0x63
mov byte [esp + 0x17], 0x64
mov byte [esp + 0x18], 0x65
mov byte [esp + 0x19], 0x66
mov byte [esp + 0x1a], 0x67
mov byte [esp + 0x1b], 0x68
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1d], 0x6a
mov byte [esp + 0x1e], 0x6b
mov byte [esp + 0x1f], 0x6c
mov byte [esp + 0x20], 0x6d
mov byte [esp + 0x21], 0x6e
mov byte [esp + 0x22], 0x6f
mov byte [esp + 0x23], 0x70
mov byte [esp + 0x24], 0x71
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x73
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x28], 0x76
mov byte [esp + 0x29], 0x77
mov byte [esp + 0x2a], 0x78
mov byte [esp + 0x2b], 0x79
mov byte [esp + 0x2c], 0x75
mov byte [esp + 0x2d], 0x41
mov byte [esp + 0x2e], 0x42
mov byte [esp + 0x2f], 0x43
mov byte [esp + 0x30], 0x44
mov byte [esp + 0x31], 0x45
mov byte [esp + 0x32], 0x46
mov byte [esp + 0x33], 0x47
push edx
pop edx
test eax, eax
jle 0x10081dfe
mov edi, eax
lea esp, [esp]
call fcn.100acb37
and eax, 0x8000001f
jns 0x10081de1
dec eax
or eax, 0xffffffe0
inc eax
mov esi, esi
mov al, byte [esp + eax + 0x14]
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.1001a310
mov ebx, ebx
sub edi, 1
jne 0x10081dd0
mov eax, esi
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100aa646
add esp, 0x3c
ret
Function at 0x10084dc0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ebc30
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10132f1c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x18]
push eax
push 0x40
push edi
mov esi, dword [ebp + 8]
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
call ebx
test eax, eax
je 0x10084e2d
push edi
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.100abe40
add esp, 0xc
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
push eax
push edi
push esi
call ebx
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10085220
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x28]
push ebp
push esi
mov esi, dword [esp + 0x4c]
push edi
mov edi, dword [esp + 0x30]
mov ecx, edi
add ecx, dword [esp + 0x38]
mov eax, edx
adc eax, dword [esp + 0x3c]
mov dword [esp + 0x38], ecx
cmp eax, esi
mov dword [esp + 0x3c], eax
jb 0x1008525e
ja 0x10085252
cmp ecx, dword [esp + 0x4c]
jbe 0x1008525e
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 0x2c]
cmp ebp, edx
jb 0x1008538f
mov esi, dword [esp + 0x28]
ja 0x10085278
cmp esi, edi
jb 0x1008538f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
cdq
sub ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
sbb eax, edx
cmp ebp, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
ja 0x1008538f
jb 0x100852ab
cmp esi, ecx
jae 0x1008538f
push ebx
lea esp, [esp]
mov ebx, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
mov eax, dword [esp + 0x4c]
sub ebx, esi
sbb edi, ebp
cmp edi, eax
mov dword [esp + 0x14], edi
jb 0x100852da
ja 0x100852d0
cmp ebx, dword [esp + 0x48]
jbe 0x100852da
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov edi, eax
mov edx, dword [esp + 0x44]
push ebx
push ebp
push esi
call fcn.10084d40
add esp, 0xc
test eax, eax
je 0x10085368
mov edi, dword [esp + 0x44]
mov eax, ebx
sub eax, dword [esp + 0x58]
add eax, edi
cmp edi, eax
mov dword [esp + 0x34], eax
jae 0x10085364
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x60]
push edx
push eax
push ecx
push edi
call dword [esp + 0x8c]
add esp, 0x14
cmp eax, 1
jne 0x1008535a
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x50]
push edx
push eax
push ecx
xor eax, eax
xor ecx, ecx
mov edx, edi
sub edx, dword [esp + 0x50]
sbb eax, ecx
mov ecx, dword [esp + 0x74]
add edx, esi
mov esi, dword [esp + 0x78]
adc eax, ebp
push eax
push edx
call fcn.100850a0
mov esi, dword [esp + 0x40]
add esp, 0x14
add edi, dword [esp + 0x74]
cmp edi, dword [esp + 0x34]
jb 0x10085301
mov edi, dword [esp + 0x14]
sub ebx, dword [esp + 0x18]
sbb edi, dword [esp + 0x1c]
add esi, ebx
adc ebp, edi
cmp ebp, dword [esp + 0x24]
mov dword [esp + 0x2c], esi
jb 0x100852b0
ja 0x1008538e
cmp esi, dword [esp + 0x20]
jb 0x100852b0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x100891d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10118e58
push 0x100aaa10
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x10132f1c]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, edx
mov al, al
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dh, dh
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov eax, eax
cmp word [ecx], 0x5a4d
jne 0x10089277
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov edi, edi
cmp dword [eax], 0x4550
jne 0x10089277
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x10089277
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x10089277
mov dword [ebp - 4], 0xfffffffe
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xfffffffe
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100898c0
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1024ac8c], eax
je 0x100898d6
mov eax, 0x10dd
pop ecx
ret
push ebp
push esi
mov esi, dword [0x1024ac9c]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x10089962
xchg ebx, eax
xchg ebx, eax
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0xc]
push eax
movzx eax, byte [edx + 0x17]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call fcn.100607c0
mov al, al
cmp dword [esi + 4], ebp
jne 0x1008994b
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x1008994b
mov edx, eax
and edx, 0xffff0000
mov edi, edi
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov ch, ch
mov ecx, dword [edx + 8]
mov dword [eax + 0x18], ecx
push eax
pop eax
mov dword [edx + 8], eax
push ebx
pop ebx
mov cl, cl
mov dword [esi + 0x10], ebp
push ebx
pop ebx
mov edi, dword [esi]
mov ch, ch
push esi
call fcn.1009c380
add esp, 4
push eax
pop eax
mov esi, edi
mov ah, ah
cmp edi, ebp
jne 0x100898e5
mov dword [0x1024ac9c], ebp
mov edx, edx
call fcn.10089400
mov ecx, ecx
mov esi, dword [0x1024ac98]
cmp esi, ebp
je 0x100899a2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 4]
push edx
call ebx
mov eax, eax
mov edi, dword [esi]
mov bl, bl
push esi
call fcn.1009c380
add esp, 4
push eax
pop eax
mov esi, edi
push ecx
pop ecx
cmp edi, ebp
jne 0x10089982
pop ebx
mov dword [0x1024ac98], ebp
mov eax, eax
mov dword [0x1024ac8c], ebp
mov ah, ah
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x10089d60
Capabilities:
Suspend thread

Disassembly:
mov ch, ch
mov eax, dword [0x1024ac90]
test eax, eax
jne 0x10089df8
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x10089d84
xor eax, eax
pop edi
ret 4
push esi
push 8
call fcn.1009c350
add esp, 4
mov esi, eax
mov ch, ch
test esi, esi
jne 0x10089d9e
lea edi, [eax + 8]
mov ebp, ebp
jmp 0x10089dc2
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10089ddf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ah, ah
mov cl, cl
push esi
call fcn.1009c380
add esp, 4
mov dh, dh
nop
mov dword [0x1024ac90], edi
mov bl, bl
mov dword [0x1024ac94], 0
mov cl, cl
mov eax, eax
pop esi
mov eax, edi
pop edi
ret 4
mov dword [esi + 4], edi
nop
mov eax, dword [0x1024ac98]
mov dword [esi], eax
mov esi, esi
mov dword [0x1024ac98], esi
mov ecx, ecx
pop esi
xor eax, eax
pop edi
ret 4

Function at 0x1008a9d0
Capabilities:
Enumerate pe sections

Disassembly:
push edi
mov ecx, ecx
mov cl, cl
mov esi, esi
mov bh, bh
mov ecx, ecx
mov ecx, dword [esp + 8]
mov eax, dword [ecx + 0x3c]
add eax, ecx
push ecx
pop ecx
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
mov bh, bh
mov edi, dword [esp + 0xc]
cmp edi, dword [ecx + 0xc]
jae 0x1008a9fd
mov eax, edi
pop edi
ret
push ebx
push esi
xor esi, esi
cmp word [eax + 6], si
jbe 0x1008aa27
mov edx, dword [ecx + 0xc]
cmp edi, edx
jb 0x1008aa17
mov ebx, dword [ecx + 8]
add ebx, edx
cmp edi, ebx
jb 0x1008aa2e
add ecx, 0x28
mov cl, cl
movzx edx, word [eax + 6]
add esi, 1
cmp esi, edx
jb 0x1008aa07
pop esi
pop ebx
or eax, 0xffffffff
pop edi
ret
mov eax, dword [ecx + 0x14]
pop esi
sub eax, edx
pop ebx
add eax, edi
pop edi
ret