joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10073620
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100eaf38
push 0x1007eec0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x100f83e0]
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
push 0x1c
lea eax, [ebp - 0x34]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
cmp word [ecx], 0x5a4d
jne 0x100736bf
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100736bf
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x100736bf
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x100736bf
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 0x100737f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ecx
push esi
mov esi, dword [0x101137a0]
test esi, esi
je 0x1007381a
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call edi
mov esi, dword [esi + 4]
test esi, esi
jne 0x10073803
pop edi
pop esi
pop ecx
ret

Function at 0x100738a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
call fcn.10073880
mov esi, eax
cmp esi, dword [esp + 0x2c]
jae 0x1007394a
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
lea eax, [esi - 0x50000000]
cmp eax, 0x30000000
ja 0x100738d7
mov esi, 0x80010000
jmp 0x10073940
xor eax, eax
push 0x1c
lea ecx, [esp + 0x10]
push ecx
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
call ebx
test eax, eax
je 0x1007394a
cmp dword [esp + 0x1c], 0x10000
mov eax, dword [esp + 0x18]
jne 0x10073933
cmp eax, 0x10000
jb 0x10073933
push 0x40
push 0x3000
push 0x10000
push esi
call edi
test eax, eax
jne 0x1007394c
add esi, 0x10000
jmp 0x10073940
mov edx, dword [esp + 0xc]
add eax, edx
call fcn.10073880
mov esi, eax
cmp esi, dword [esp + 0x2c]
jb 0x100738c3
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x10073a10
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebx
push esi
mov esi, eax
cmp esi, 0x7ff80000
push edi
lea edi, [esi - 0x7ff80000]
ja 0x10073a28
mov edi, 0x10000
cmp esi, 0x80000000
lea ebx, [esi + 0x7ff80000]
jb 0x10073a3b
mov ebx, 0xfff80000
mov eax, dword [0x101137a4]
test eax, eax
mov edx, dword [0x101137a0]
jne 0x10073a55
test edx, edx
je 0x10073a68
mov eax, edx
mov dword [0x101137a4], eax
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10073a68
cmp ecx, edi
jb 0x10073a68
cmp ecx, ebx
jbe 0x10073b6d
test edx, edx
mov eax, edx
mov dword [0x101137a4], eax
je 0x10073a96
test eax, eax
je 0x10073a8a
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10073a8a
cmp ecx, edi
jb 0x10073a8a
cmp ecx, ebx
jbe 0x10073b68
mov eax, dword [eax + 4]
test eax, eax
jne 0x10073a77
mov dword [0x101137a4], eax
mov eax, esi
and eax, 0xffff
sub esi, eax
cmp esi, 0x40000000
jbe 0x10073ac0
lea eax, [esi - 0x40000000]
push edi
call fcn.10073960
add esp, 4
test eax, eax
jne 0x10073b29
cmp esi, 0x40000000
jae 0x10073ad5
push ebx
lea eax, [esi + 0x40000000]
call fcn.100738a0
add esp, 4
test eax, eax
jne 0x10073b29
cmp esi, 0x40000000
jbe 0x10073af6
push esi
lea eax, [esi - 0x40000000]
call fcn.100738a0
add esp, 4
test eax, eax
jne 0x10073b29
cmp esi, 0x40000000
jae 0x10073b0b
lea eax, [esi + 0x40000000]
push esi
call fcn.10073960
add esp, 4
test eax, eax
jne 0x10073b29
push edi
mov eax, esi
call fcn.10073960
add esp, 4
test eax, eax
jne 0x10073b29
push ebx
mov eax, esi
call fcn.100738a0
add esp, 4
test eax, eax
je 0x10073b94
mov dword [eax], 0x52727464
mov dword [eax + 8], 0
mov ecx, dword [0x101137a0]
mov dword [eax + 4], ecx
mov dword [0x101137a4], eax
mov dword [0x101137a0], eax
xor edx, edx
lea ecx, [eax + 0xffa8]
mov esi, 0x38b
mov dword [ecx + 0x40], edx
mov edx, ecx
sub ecx, 0x48
sub esi, 1
jne 0x10073b56
mov dword [eax + 8], edx
jmp 0x10073b6d
mov dword [0x101137a4], eax
mov esi, dword [eax + 8]
cmp esi, edi
jb 0x10073b94
cmp esi, ebx
ja 0x10073b94
mov edx, dword [esi + 0x40]
push 0x48
push 0xcc
push esi
mov dword [eax + 8], edx
call fcn.100770c0
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x10073bd0
Capabilities:
Hook routines via microsoft detours

Disassembly:
cmp dword [esi], 0x52727464
je 0x10073bdb
xor eax, eax
ret
push edi
lea edi, [esi + 0x10000]
xor ecx, ecx
lea edx, [esi + 0x88]
lea ebx, [ebx]
mov eax, dword [edx]
test eax, eax
je 0x10073bfe
cmp eax, esi
jb 0x10073c13
cmp eax, edi
jae 0x10073c13
add ecx, 1
add edx, 0x48
cmp ecx, 0x38d
jb 0x10073bf0
mov eax, 1
pop edi
ret
xor eax, eax
pop edi
ret
Function at 0x10073ce0
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x101137b0], eax
je 0x10073cf6
mov eax, 0x10dd
pop ecx
ret
push ebx
push ebp
push esi
mov esi, dword [0x101137c0]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x10073d4c
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [esp]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x10]
push eax
movzx eax, byte [edx + 0x36]
push ecx
mov ecx, dword [esi + 0xc]
push eax
push ecx
call ebx
cmp dword [esi + 4], ebp
jne 0x10073d3b
mov edi, dword [esi + 0x10]
cmp edi, ebp
je 0x10073d3b
call fcn.10073ba0
mov dword [esi + 0x10], ebp
mov edi, dword [esi]
push esi
call fcn.100770a5
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x10073d10
mov dword [0x101137c0], ebp
call fcn.10073820
mov esi, dword [0x101137bc]
cmp esi, ebp
je 0x10073d7e
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edx, dword [esi + 4]
push edx
call ebx
mov edi, dword [esi]
push esi
call fcn.100770a5
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x10073d67
pop edi
pop esi
mov dword [0x101137bc], ebp
mov dword [0x101137b0], ebp
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x100740b0
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x101137b4]
test eax, eax
jne 0x1007412c
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x100740ce
xor eax, eax
pop edi
ret 4
push esi
push 8
call fcn.1007775b
mov esi, eax
add esp, 4
test esi, esi
jne 0x100740e4
lea edi, [eax + 8]
jmp 0x10074101
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x10074118
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.100770a5
add esp, 4
pop esi
mov dword [0x101137b4], edi
mov eax, edi
mov dword [0x101137b8], 0
pop edi
ret 4
mov eax, dword [0x101137bc]
mov dword [esi + 4], edi
mov dword [esi], eax
mov dword [0x101137bc], esi
pop esi
xor eax, eax
pop edi
ret 4
Function at 0x100743f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x101137b0], eax
je 0x10074408
mov eax, 0x10dd
pop ecx
ret 8
mov eax, dword [0x101137b4]
test eax, eax
jne 0x1007450d
push ebp
mov ebp, dword [esp + 0xc]
test ebp, ebp
jne 0x10074426
lea eax, [ebp + 6]
pop ebp
pop ecx
ret 8
cmp dword [ebp], 0
jne 0x10074441
mov eax, 6
mov dword [0x101137b8], ebp
mov dword [0x101137b4], eax
pop ebp
pop ecx
ret 8
push ebx
push esi
push edi
push 0x18
call fcn.1007775b
mov esi, eax
add esp, 4
test esi, esi
jne 0x1007445c
lea edi, [eax + 8]
jmp 0x100744ee
mov eax, dword [ebp]
push 0
push eax
call fcn.10073c70
mov ecx, dword [esp + 0x1c]
push 0
push ecx
mov ebx, eax
call fcn.10073c70
movzx ecx, byte [ebx + 0x36]
mov edi, dword [ebx + 0x40]
sub edi, ecx
test ecx, ecx
je 0x100744e0
cmp ecx, 0x1e
ja 0x100744e0
cmp dword [ebx + 0x44], eax
jne 0x100744e0
lea edx, [esp + 0x10]
push edx
push 0x40
push ecx
push edi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100744b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x100744ee
mov ecx, dword [0x101137c0]
mov dword [esi + 8], ebp
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], edi
mov dword [esi + 4], 1
mov eax, dword [esp + 0x10]
pop edi
mov dword [esi + 0x14], eax
mov dword [esi], ecx
mov dword [0x101137c0], esi
pop esi
pop ebx
xor eax, eax
pop ebp
pop ecx
ret 8
cmp dword [0x101137a8], 0
mov edi, 9
jne 0x100744f4
mov dword [0x101137b4], edi
test esi, esi
je 0x10074501
push esi
call fcn.100770a5
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov dword [0x101137b8], ebp
pop ebp
pop ecx
ret 8
Function at 0x100745b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100eaf58
push 0x1007eec0
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100f83e0]
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 edi, edx
mov dword [ebp - 0x80], edi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x60], ecx
test eax, eax
mov esi, 0x10000
je 0x10074600
lea esi, [eax + 0x10000]
xor eax, eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov ebx, dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
lea ecx, [ecx]
push 0x1c
lea edx, [ebp - 0x7c]
push edx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x1007464e
mov eax, dword [ebp - 0x70]
mov ecx, eax
and ecx, 0xfff
cmp ecx, 0xfff
je 0x1007464e
mov edx, dword [ebp - 0x7c]
add eax, edx
cmp eax, esi
jae 0x1007466e
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.100770aa
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x6c], 0x1000
jne 0x10074743
mov eax, dword [ebp - 0x68]
cmp al, 1
je 0x10074743
test eax, 0x100
jne 0x10074743
mov dword [ebp - 4], 0
push 0
push 0x40
lea eax, [ebp - 0x5c]
push eax
push esi
push edi
call ebx
test eax, eax
jne 0x100746bd
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
lea esi, [eax + ecx]
jmp 0x10074620
cmp word [ebp - 0x5c], 0x5a4d
jne 0x100746a8
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x70]
ja 0x100746a8
cmp eax, 0x40
jb 0x100746a8
push 0
push 0xf8
mov ecx, dword [ebp - 0x60]
push ecx
add eax, esi
push eax
push edi
call ebx
test eax, eax
jne 0x100746fc
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
lea esi, [eax + ecx]
jmp 0x10074620
mov edx, dword [ebp - 0x60]
cmp dword [edx], 0x4550
je 0x1007471c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
lea esi, [eax + ecx]
jmp 0x10074620
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x10074650
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x7c]
lea esi, [eax + ecx]
jmp 0x10074620
Function at 0x100753f0
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
mov ecx, dword [esp + 0x30]
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x34]
mov eax, ebx
or eax, 4
test ecx, ecx
jne 0x1007540b
mov ecx, dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push edx
push eax
call ecx
test eax, eax
je 0x10075473
mov ecx, dword [esp + 0x48]
xor eax, eax
test ecx, ecx
je 0x10075452
mov dword [esp + 4], ecx
mov eax, 1
mov edx, dword [esp + 0xc]
push eax
lea ecx, [esp + 8]
push ecx
push edx
call fcn.100750a0
test eax, eax
jne 0x1007547c
mov eax, dword [esp + 0xc]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
xor eax, eax
pop ebx
add esp, 0x18
ret 0x30
mov eax, dword [esp + 0x44]
test eax, eax
mov ecx, dword [esp + 0x10]
je 0x1007549f
mov edx, dword [esp + 0xc]
mov dword [eax], edx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], edx
test bl, 4
jne 0x100754ab
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, 1
pop ebx
add esp, 0x18
ret 0x30

Function at 0x10075fdf
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x1011385c], 0
push esi
jne 0x10075f52
call fcn.10075e7d
test eax, eax
je 0x10075f95
mov eax, dword [0x1011385c]
cmp eax, 1
jne 0x10075f73
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x10075f95
pop esi
ret
push eax
call dword [0x10113864]
test eax, eax
jne 0x10075fdd
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x10075f99
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x1011385c]
call dword [0x10113864]
mov edi, eax
test edi, edi
je 0x10075fc0
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x10075fdc
lea edi, [esi + 0xff0]
push esi
push dword [0x1011385c]
call dword [0x10113860]
add esi, 0x10
cmp esi, edi
jb 0x10075fc6
mov eax, esi
pop edi
pop esi
ret
jmp 0x10075f3f

Function at 0x100770aa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100f83e0]
jne 0x100770b4
repz ret
jmp fcn.10082c81
Function at 0x10084c58
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 + 0x100f8a58]
je 0x10084c73
inc edi
cmp edi, 0x17
jb 0x10084c64
cmp edi, 0x17
jae 0x10084df3
push ebp
push 3
call fcn.1009012f
cmp eax, 1
pop ecx
je 0x10084dbf
push 3
call fcn.1009012f
test eax, eax
pop ecx
jne 0x10084ca7
cmp dword [0x10113aec], 1
je 0x10084dbf
cmp ebx, 0xfc
je 0x10084df2
push 0x100d1ca0
mov ebx, 0x314
push ebx
mov ebp, 0x10113ee0
push ebp
call fcn.1007f0c7
add esp, 0xc
test eax, eax
je 0x10084cdd
push esi
push esi
push esi
push esi
push esi
call fcn.100777cf
add esp, 0x14
push 0x104
mov esi, 0x10113ef9
push esi
push 0
mov byte [0x10113ffd], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10084d21
push 0x100d1c88
push 0x2fb
push esi
call fcn.1007f0c7
add esp, 0xc
test eax, eax
je 0x10084d21
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.100777cf
add esp, 0x14
push esi
call fcn.10077970
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x10084d66
push esi
call fcn.10077970
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x101141f4
push 0x100d1c84
sub ecx, eax
push ecx
push eax
call fcn.1007e8d3
add esp, 0x14
test eax, eax
je 0x10084d66
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.100777cf
add esp, 0x14
jmp 0x10084d68
xor esi, esi
push 0x100d1c80
push ebx
push ebp
call fcn.1007f056
add esp, 0xc
test eax, eax
je 0x10084d88
push esi
push esi
push esi
push esi
push esi
call fcn.100777cf
add esp, 0x14
push dword [edi*8 + 0x100f8a5c]
push ebx
push ebp
call fcn.1007f056
add esp, 0xc
test eax, eax
je 0x10084daa
push esi
push esi
push esi
push esi
push esi
call fcn.100777cf
add esp, 0x14
push 0x12010
push 0x100d1c58
push ebp
call fcn.1008ff72
add esp, 0xc
jmp 0x10084df2
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x10084df2
cmp ebp, 0xffffffff
je 0x10084df2
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x100f8a5c]
push dword [esi]
call fcn.10077970
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 0x1008ff72
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100843ec
xor ebx, ebx
cmp dword [0x10114598], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x10090048
push 0x100d2f54
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x10090128
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100d2f48
push edi
call esi
cmp eax, ebx
je 0x10090128
push eax
call fcn.1008437e
mov dword [esp], 0x100d2f38
push edi
mov dword [0x10114598], eax
call esi
push eax
call fcn.1008437e
mov dword [esp], 0x100d2f24
push edi
mov dword [0x1011459c], eax
call esi
push eax
call fcn.1008437e
mov dword [0x101145a0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.1008291d
test eax, eax
pop ecx
pop ecx
je 0x10090016
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100777cf
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x10090048
push 0x100d2f08
push edi
call esi
push eax
call fcn.1008437e
cmp eax, ebx
pop ecx
mov dword [0x101145a8], eax
je 0x10090048
push 0x100d2ef0
push edi
call esi
push eax
call fcn.1008437e
pop ecx
mov dword [0x101145a4], eax
mov eax, dword [0x101145a4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x100900cd
cmp dword [0x101145a8], ecx
je 0x100900cd
push eax
call fcn.100843f5
push dword [0x101145a8]
mov esi, eax
call fcn.100843f5
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x100900cd
cmp edi, ebx
je 0x100900cd
call esi
cmp eax, ebx
je 0x1009009a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1009009a
test byte [ebp - 0x18], 1
jne 0x100900cd
lea eax, [ebp - 0x10]
push eax
call fcn.10082954
test eax, eax
pop ecx
je 0x100900b5
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.100777cf
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x100900c4
or dword [ebp + 0x10], 0x200000
jmp 0x10090108
or dword [ebp + 0x10], 0x40000
jmp 0x10090108
mov eax, dword [0x1011459c]
cmp eax, dword [ebp - 8]
je 0x10090108
push eax
call fcn.100843f5
cmp eax, ebx
pop ecx
je 0x10090108
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10090108
mov eax, dword [0x101145a0]
cmp eax, dword [ebp - 8]
je 0x10090108
push eax
call fcn.100843f5
cmp eax, ebx
pop ecx
je 0x10090108
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x10114598]
call fcn.100843f5
cmp eax, ebx
pop ecx
je 0x10090128
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1009012a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100953c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x19c
push 4
push 0x3000
mov eax, dword [ebp - 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100953f7
xor eax, eax
jmp 0x1009548f
mov ecx, dword [ebp - 8]
push ecx
push 0
mov edx, dword [ebp - 4]
push edx
call fcn.100770c0
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 0
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x10095435
jmp 0x10095473
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x1009544a
jmp 0x10095473
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x4550
je 0x10095463
jmp 0x10095473
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx + 0x28]
mov dword [ebp - 0xc], edx
xor eax, eax
jne 0x10095409
cmp dword [ebp - 4], 0
je 0x1009548c
push 0x8000
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x10096030
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100f83e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10114778], 0
jne 0x100960c8
mov dword [ebp - 0x21c], 0
mov word [ebp - 0x218], 0
push 0x208
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.100770c0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x21c], eax
mov ecx, dword [ebp - 0x21c]
mov dword [0x10114778], ecx
xor eax, eax
cmp dword [0x10114778], 0
setne al
jmp 0x100960cd
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100770aa
mov esp, ebp
pop ebp
ret
Function at 0x10096e20
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
add eax, 0x44
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x30], 0
je 0x10096e67
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x30]
push eax
call fcn.10096cd0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x30]
push edx
call fcn.10096d50
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 8], 0
je 0x10096e89
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 8]
push eax
call fcn.10096300
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 0
je 0x10096eab
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 4]
push ecx
call fcn.10096300
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
je 0x10096ecb
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x34], 0
je 0x10096eeb
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x34], 0
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x3c], 0
je 0x10096f0b
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x40], 0
je 0x10096f5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
push 0x3a98
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x40], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0xc]
add eax, 0x44
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esp, ebp
pop ebp
ret