joyce8/EMBER2024-capa huggingface dataset:
Function at 0x77de45
Capabilities:
Execute anti-debugging instructions

Disassembly:
push esi
mov byte [esp + 7], ch
jmp 0x77dea4
pop dword [esp + 0x12]
xchg byte [esp + 0x12], ch
pop edx
bts edx, ebp
stc
rdtsc
jmp 0x77deb7
mov cl, bh
push dword [esp + 1]
xchg ebx, eax
sub esp, 0xe
mov si, 0x4ecd
mov si, cx
jmp 0x77de8e
bswap esi
lea esi, [ebx - 0xca]
btc bx, si
pushal
rcl dx, 1
jmp 0x77defa
pop edi
mov ebx, 0x6788830f
dec al
mov ebp, dword [esp + 2]
neg ebx
jmp 0x77df63
xchg word [esp + 9], dx
mov ebx, 0xa2221da7
pop bp
add esp, 0x24
xchg byte [esp + 5], al
pop ebp
jmp 0x77dee4
add edi, eax
xchg ah, bl
inc ah
pop word [esp + 4]
mov cl, bl
cld
jmp 0x77df3a
mov byte [esp + 1], bl
xchg ch, ah
bsf edi, edi
not edx
bts edx, ebx
xchg dword [esp + 2], edi
jmp 0x77df10
mov al, ch
inc di
cld
push word [esp + 1]
pop ax
pop bp
jmp 0x77df8c
pop bp
add esp, 0
bsr edi, ebx
dec bp
bts dx, ax
mov eax, ecx
jmp 0x77df72
mov dl, 0xc0
mov dl, 0x97
mov dh, dl
push esp
bswap ebp
mov ebx, dword [esp + 2]
jmp 0x77df26
xchg byte [esp], dh
neg bh
xchg dh, ah
btr edi, eax
add esp, 0
rcr di, 4
jmp 0x77dfcb
xchg dl, ah
mov word [esp + 1], bp
rdtsc
neg bl
xchg ebx, edx
lea esp, [esp + 2]
jmp 0x77df4a
shl bp, 4
mov bx, word [esp]
std
mov bx, word [esp]
mov ecx, 0x214b5393
mov ebx, dword [esp]
jmp 0x77dfdd
inc bx
cpuid
sete bl
rdtsc
lea esp, [esp]
mov bp, 0x99ef
jmp 0x77df9f
stc
mov si, cx
xchg esi, edx
mov dl, byte [esp]
mov bh, cl
mov cl, ah
jmp 0x77ed71
rdtsc
mov bp, word [esp]
mov al, 0xca
add esp, 0
call fcn.0077e4e5
insd dword es:[edi], dx
call 0x7060026d
test dword [reloc.RASAPI32.dll_RasHangUpA], eax
xor eax, 0xbe4324b6
inc ebx
and eax, 0xad5e3bab
cld
dec ebp
int3
ror esi, cl
add esp, 0
lea esi, [ebp*4]
add esp, 0
cld
setns ah
jmp 0x77e8d9
lea eax, [ecx + esi]
lea esp, [esp]
mov byte [esp], ah
mov ax, bp
cld
mov ebx, dword [esp]
jmp 0x77e963
Function at 0x77e2bf
Capabilities:
Execute anti-debugging instructions

Disassembly:
xor di, 0x55c7
mov ebp, dword [esp + 4]
pop bx
jmp 0x77e289
add esp, 0xf
pop cx
not si
mov word [esp + 2], ax
jmp 0x77e15a
mov bx, 0x54d6
dec ebp
stc
xchg bl, ch
xchg bp, si
mov dword [esp + 0xc], edx
jmp 0x77e170
neg di
pop word [esp + 1]
not ax
lea esp, [esp + 4]
jmp 0x77e23a
not ecx
not edx
push ebx
xchg dword [esp], ecx
cpuid
lea edi, [edi + edi]
jmp 0x77e198
xchg dh, ch
stc
std
lea esp, [esp + 7]
cpuid
pop edi
jmp 0x77e1ec
dec ah
bsf ebp, edx
xchg bx, di
push dword [esp + 6]
std
xchg bl, ch
jmp 0x77e1bd
xchg dword [esp], edx
bsr esi, eax
bsr ebp, esp
push dword [esp + 2]
or ch, bh
xchg cx, di
jmp 0x77e223
push dword [esp + 3]
add bx, 0x64d9
mov dh, ah
sub edx, esi
pop dx
mov edi, 0x69def78
jmp 0x77e1db
sub esp, 0x1f
mov edx, eax
pop cx
pushal
lea esp, [esp + 0x45]
mov dx, word [esp]
jmp 0x77e260
mov edi, edx
pushal
xchg ecx, ebp
xchg word [esp + 0x1a], bp
xchg esi, eax
add esp, 0x18
jmp 0x77e20d
neg si
mov ah, bh
shl ch, 4
mov bx, word [esp]
jmp 0x77e2a1
mov bx, 0x2733
rcl cx, 8
setno dh
xchg ah, bh
bswap ebx
mov cx, bx
jmp 0x77e24a
lea esi, [edi*4]
or dl, al
pop word [esp]
bswap esi
rdtsc
inc bl
jmp 0x77e1ae
mov dx, 0x2aae
mov bx, di
lea esi, reloc.RASAPI32.dll_RasHangUpA
sub esp, 0x13
mov di, word [esp + 0xc]
neg bp
jmp 0x77e2f1
jmp 0x77e187
mov cx, bp
mov edi, dword [esp + 1]
pushfd
pop dword [esp]
call fcn.0077e31b
dec edi
salc
inc ecx
ret
cmc
lea edi, [eax + edx]
sub esp, 0x14
popal
inc si
neg si
jmp 0x77e2c4
rdtsc
xchg dword [esp + 0xa], ebp
xchg ecx, ebx
mov byte [esp + 0xf], al
not edi
xchg dword [esp + 8], eax
jmp 0x77e2da
Function at 0x10001dd7
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x10035750]
push esi
push edi
xor esi, esi
lea edi, [ecx - 1]
test edi, edi
jl 0x10001e14
lea eax, [edi + esi]
cdq
sub eax, edx
sar eax, 1
lea edx, [eax + eax*2]
mov edx, dword [edx*4 + 0x100355d4]
cmp edx, dword [ebp + 8]
je 0x10001eb0
jbe 0x10001e0d
lea esi, [eax + 1]
jmp 0x10001e10
lea edi, [eax - 1]
cmp esi, edi
jle 0x10001deb
cmp ecx, 0x20
jge 0x10001e6d
cmp ecx, esi
jle 0x10001e41
lea eax, [ecx + ecx*2]
sub ecx, esi
push ebx
mov ebx, ecx
lea eax, [eax*4 + 0x100355d0]
lea edi, [eax - 0xc]
push 0xc
push edi
push eax
call fcn.100176d0
add esp, 0xc
dec ebx
mov eax, edi
jne 0x10001e2c
pop ebx
mov eax, dword [ebp + 8]
lea esi, [esi + esi*2]
shl esi, 2
mov dword [esi + 0x100355d4], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x100355d8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
inc dword [0x10035750]
mov dword [esi + 0x100355d0], eax
jmp 0x10001eb0
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
mov edx, 0x100355d0
mov ecx, dword [edx]
cmp ecx, eax
jae 0x10001e86
mov esi, edi
mov eax, ecx
add edx, 0xc
inc edi
cmp edx, 0x10035750
jl 0x10001e7c
mov edx, dword [ebp + 8]
lea ecx, [esi + esi*2]
shl ecx, 2
mov dword [ecx + 0x100355d4], edx
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x100355d8], edx
mov dword [ecx + 0x100355d0], eax
pop edi
pop esi
pop ebp
ret
Function at 0x100045b0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
push esi
push edi
push 9
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
mov dword [ebp - 0x38], ebx
rep stosd dword es:[edi], eax
call fcn.1000789b
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.100019a1
pop ecx
test eax, eax
pop ecx
jl 0x10004717
cmp dword [ebp - 0x20], 0x3e8
mov esi, dword [ebp + 0xc]
jne 0x10004693
cmp esi, ebx
jne 0x10004600
or eax, 0xffffffff
jmp 0x10004727
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call fcn.10017a10
push ebx
mov word [ebp - 0x10], 2
call fcn.1000283f
mov dword [ebp - 0xc], eax
mov ax, word [esi + 0xc]
mov esi, dword [sym.imp.WS2_32.dll_ntohs]
add esp, 0x10
mov word [ebp - 0xe], ax
push dword [ebp - 0xe]
call esi
test ax, ax
je 0x10004670
lea eax, [ebp + 0x10]
push 4
push eax
push 4
push 0xffff
push edi
mov dword [ebp + 0x10], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [ebp - 0xe]
call esi
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
call fcn.100027c9
pop ecx
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x10]
push 0x10
push eax
push edi
call 0x1000364b
mov esi, eax
cmp esi, 0xffffffff
je 0x10004725
push edi
call fcn.10006f16
pop ecx
jmp 0x10004725
cmp esi, ebx
jne 0x1000469e
xor eax, eax
jmp 0x10004727
mov ax, word [esi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
test ax, ax
je 0x100046e4
cmp dword [ebp - 0x20], 6
jne 0x100046c9
push 0x100354b4
call fcn.10004f82
test eax, eax
pop ecx
je 0x100046e4
mov word [esi + 2], bx
jmp 0x100046e4
lea eax, [ebp + 0xc]
push 4
push eax
push 4
push 0xffff
push edi
mov dword [ebp + 0xc], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp dword [0x10035504], 4
jne 0x100046fc
push ebx
call dword [sym.imp.WS2_32.dll_htonl]
cmp dword [esi + 4], eax
jne 0x1000470e
push ebx
jmp 0x10004705
cmp dword [ebp - 0x20], 6
je 0x1000470e
push dword [esi + 4]
call fcn.1000283f
pop ecx
mov dword [esi + 4], eax
push dword [ebp + 0x10]
push esi
jmp 0x10004676
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call 0x1000364b
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x10005077
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x10035504]
push esi
cmp eax, 9
je 0x10005087
cmp eax, 0xb
jne 0x100050af
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x10035520]
cmp eax, 0x3e8
jae 0x100050a8
call esi
push 1
mov dword [0x10035520], eax
pop eax
pop esi
ret
call esi
mov dword [0x10035520], eax
xor eax, eax
pop esi
ret
Function at 0x10006327
Capabilities:
Get socket status
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.WS2_32.dll_ioctlsocket]
push edi
lea eax, [ebp - 4]
mov edi, 0x8004667e
push eax
push edi
push ebx
mov dword [ebp - 4], 1
call esi
cmp eax, 0xffffffff
je 0x100063a9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call 0x100034cf
lea ecx, [ebp - 0xc]
xor eax, eax
push ecx
lea ecx, [ebp - 0x110]
push eax
push ecx
push eax
push eax
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x110], 1
mov dword [ebp - 0xc], 5
mov dword [ebp - 8], eax
call dword [sym.imp.WS2_32.dll_select]
xor ecx, ecx
test eax, eax
lea eax, [ebp - 4]
setg cl
push eax
dec ecx
push edi
push ebx
mov dword [ebp + 8], ecx
call esi
cmp eax, 0xffffffff
jne 0x100063ae
or eax, 0xffffffff
jmp 0x100063c5
cmp dword [ebp + 8], 0
jne 0x100063c2
push 0
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push ebx
call fcn.10003541
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10007210
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
and byte [ebp - 0x244], 0
push esi
push edi
push 0x7f
pop ecx
xor eax, eax
lea edi, [ebp - 0x243]
and byte [ebp - 0x44], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0xc
xor eax, eax
pop ecx
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push eax
call fcn.100071c3
lea eax, [ebp - 0x44]
push eax
push 0x1003b100
lea eax, [ebp - 0x244]
push str._s_s
push eax
call fcn.10017c10
add esp, 0x14
call fcn.10004b41
test eax, eax
je 0x100072de
and dword [ebp - 0x10], 0
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x1c]
push dword [ebp + 0x28]
or al, 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp + 0x30]
mov esi, eax
test esi, esi
je 0x100072b6
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0x10]
call fcn.1000dc30
cmp dword [ebp + 0x2c], 0
je 0x100072cd
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [ebp + 0x2c]
call fcn.100176d0
add esp, 0xc
test byte [ebp + 0x1c], 4
jne 0x1000730d
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x1000730d
push dword [ebp + 0x30]
lea eax, [ebp - 0x244]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000e18a
mov esi, eax
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x10007313
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa44
push ebx
push esi
push edi
push 0x7f
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x243]
mov byte [ebp - 0x244], bl
push 0xc
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x43]
mov byte [ebp - 0x44], bl
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push eax
call fcn.100071c3
lea eax, [ebp - 0x44]
push eax
push 0x1003b100
lea eax, [ebp - 0x244]
push str._s_s
push eax
call fcn.10017c10
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xa42]
mov word [ebp - 0xa44], bx
rep stosd dword es:[edi], eax
add esp, 0x14
stosw word es:[edi], ax
lea eax, [ebp - 0xa44]
push 0x800
push eax
lea eax, [ebp - 0x244]
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call fcn.10004b41
test eax, eax
je 0x10007415
xor eax, eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp + 0x1c]
push dword [ebp + 0x28]
or al, 4
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [ebp + 0x30]
mov esi, eax
cmp esi, ebx
je 0x100073ee
lea eax, [ebp - 0xa44]
push eax
push dword [ebp - 0x10]
call fcn.1000de45
cmp dword [ebp + 0x2c], ebx
je 0x10007404
lea eax, [ebp - 0x10]
push 0x10
push eax
push dword [ebp + 0x2c]
call fcn.100176d0
add esp, 0xc
test byte [ebp + 0x1c], 4
jne 0x10007444
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
jmp 0x10007444
push dword [ebp + 0x30]
lea eax, [ebp - 0xa44]
push eax
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1000e258
mov esi, eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100075e8
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
push edi
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, edi
jne 0x1000760c
xor eax, eax
jmp 0x10007631
lea eax, [ebp - 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x10007628
push dword [ebp - 4]
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 1
pop edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
leave
ret

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

Disassembly:
cmp dword [0x10035504], 3
jne 0x10007643
jmp fcn.100094ef
ret
Function at 0x10007b5f
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10029608
push 0x100180f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 0x14]
cmp esi, dword [0x100357d8]
ja 0x10007c92
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x10007c92
cmp dword [ebp + 0x10], edi
je 0x10007c92
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x20]
push eax
push 1
push 1
push esi
call dword [sym.imp.IMAGEHLP.dll_ImageDirectoryEntryToData]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x10007c92
mov dword [ebp - 4], edi
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x10007c89
add eax, esi
mov dword [ebp - 0x24], eax
push dword [ebp + 8]
push eax
call fcn.1001cf30
pop ecx
pop ecx
test eax, eax
jne 0x10007c79
mov eax, dword [ebp - 0x1c]
mov edi, dword [eax + 0x10]
add edi, esi
mov dword [ebp - 0x28], edi
mov eax, dword [edi]
test eax, eax
je 0x10007c79
mov esi, edi
mov dword [ebp - 0x30], esi
xor edx, edx
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
sete dl
mov dword [ebp - 0x2c], edx
test edx, edx
jne 0x10007c41
cmp eax, dword [0x100357d8]
jbe 0x10007c3b
mov dword [ebp - 0x34], eax
cmp byte [eax], 0x68
jne 0x10007c3b
lea esi, [eax + 1]
mov dword [ebp - 0x30], esi
xor eax, eax
cmp dword [esi], ecx
sete al
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x10007c6e
lea eax, [ebp - 0x38]
push eax
push 0x40
push 4
push esi
call ebx
push 0
push 4
lea eax, [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x38]
push 4
push esi
call ebx
add edi, 4
mov dword [ebp - 0x28], edi
mov esi, dword [ebp + 0x14]
jmp 0x10007bff
add dword [ebp - 0x1c], 0x14
jmp 0x10007bce
or dword [ebp - 4], 0xffffffff
push 1
pop eax
jmp 0x10007c94
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x10007ca5
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
test ebx, ebx
je 0x10007e38
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x10007e38
cmp dword [ebp + 0x14], 0
jne 0x10007d43
mov ecx, 0x88
xor eax, eax
lea edi, [ebp - 0x264]
mov dword [ebp - 0x268], 0x224
rep stosd dword es:[edi], eax
push fcn.10007ca5
call fcn.10008050
pop ecx
mov dword [ebp + 0x14], eax
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x10007d50
lea eax, [ebp - 0x268]
push eax
push edi
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x10007d3a
mov eax, dword [ebp - 0x24c]
cmp eax, dword [ebp + 0x14]
je 0x10007d2b
push eax
push esi
push ebx
push dword [ebp + 8]
call fcn.10007b5f
lea eax, [ebp - 0x268]
push eax
push edi
call sub.KERNEL32.dll_Module32Next
jmp 0x10007d11
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x10007d50
push dword [ebp + 0x14]
push esi
push ebx
push dword [ebp + 8]
call fcn.10007b5f
cmp dword [ebp + 0x1c], 0
je 0x10007daf
and byte [ebp - 0x44], 0
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x43]
push dword [ebp + 8]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push eax
call fcn.10017b20
push dword [ebp + 0x18]
lea eax, [ebp - 0x26]
push eax
call fcn.10017b20
add esp, 0x10
mov dword [ebp - 8], ebx
mov dword [ebp - 4], esi
push 0xffffffffffffffff
push dword [0x100357d4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 0x44
lea esi, [ebp - 0x44]
push 0x11
pop ecx
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x100357c0
call fcn.100081bb
jmp 0x10007e27
and byte [ebp - 0x44], 0
push 0x10
pop ecx
xor eax, eax
lea edi, [ebp - 0x43]
push 0xffffffffffffffff
rep stosd dword es:[edi], eax
push dword [0x100357d4]
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor ebx, ebx
cmp dword [0x100357c8], ebx
mov dword [ebp + 0x14], ebx
jle 0x10007e27
mov eax, dword [0x100357c4]
push 0x11
pop ecx
lea edi, [ebp - 0x44]
push dword [ebp + 8]
lea esi, [ebx + eax]
lea eax, [ebp - 0x44]
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.1001cf30
pop ecx
test eax, eax
pop ecx
jne 0x10007e05
mov eax, dword [ebp + 0x10]
cmp dword [ebp - 8], eax
je 0x10007e18
inc dword [ebp + 0x14]
add ebx, 0x44
mov eax, dword [ebp + 0x14]
cmp eax, dword [0x100357c8]
jl 0x10007ddb
jmp 0x10007e27
push 1
mov ecx, 0x100357c0
push dword [ebp + 0x14]
call fcn.100081e7
push dword [0x100357d4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push 1
pop eax
jmp 0x10007e3a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x18
Function at 0x10007ea2
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
xor esi, esi
cmp dword [0x100357d8], esi
jne 0x10007ec5
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x18]
mov dword [0x100357d8], eax
push 0xffffffffffffffff
push esi
mov ecx, 0x100357c0
call fcn.100080aa
cmp dword [0x100357d4], esi
jne 0x10007eec
push str.apihook
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x100357d4], eax
pop esi
leave
ret

Function at 0x100083ad
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp edi, esi
jne 0x100083c2
xor eax, eax
jmp 0x10008446
push ebx
push 1
pop eax
push esi
push 0x80
push 3
push esi
push eax
push bind
push dword [ebp + 8]
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [ebp + 8], ebx
jne 0x100083f0
mov dword [ebp + 0xc], esi
jmp 0x10008442
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x10008402
mov dword [ebp + 0xc], esi
jmp 0x10008439
push esi
push esi
push esi
push 2
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
cmp ebx, esi
jne 0x1000841a
mov dword [ebp + 0xc], esi
jmp 0x10008432
push esi
push esi
push esi
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
jne 0x1000844a
cmp ebx, 0xffffffff
mov dword [ebp + 0xc], esi
je 0x10008439
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
pop ebx
pop edi
pop esi
pop ebp
ret
mov ecx, dword [ebp + 8]
mov dword [edi + 4], ebx
mov dword [edi], ecx
mov dword [edi + 8], eax
jmp 0x10008442
Function at 0x1000871b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x298
push ebx
push edi
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x18]
mov dword [ebp - 8], ebx
push eax
push dword [ebp + 8]
call fcn.100083ad
pop ecx
test eax, eax
pop ecx
je 0x10008850
mov ecx, dword [ebp - 0x10]
push esi
cmp word [ecx], 0x5a4d
jne 0x10008842
mov edx, dword [ecx + 0x3c]
cmp dword [edx + ecx], 0x4550
lea esi, [edx + ecx]
jne 0x10008842
mov di, word [esi + 0x14]
cmp di, bx
je 0x10008842
movzx eax, word [esi + 6]
lea eax, [eax + eax*4]
shl eax, 3
push eax
movzx eax, di
add eax, edx
lea eax, [eax + ecx + 0x18]
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.100176d0
add esp, 0xc
cmp word [esi + 6], bx
mov dword [ebp + 8], ebx
jbe 0x10008842
lea edi, [ebp - 0x298]
push str..data
push edi
call fcn.10017250
pop ecx
test eax, eax
pop ecx
jne 0x100087d3
push str..rdata
push edi
call fcn.10017250
pop ecx
test eax, eax
pop ecx
je 0x1000882f
mov eax, dword [edi + 0x10]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x298]
push eax
push esi
push dword [edi + 0xc]
push dword [ebp - 0x10]
call fcn.100088d9
mov dword [ebp - 0xc], eax
xor eax, eax
add esp, 0x10
xor ebx, ebx
cmp dword [ebp - 4], eax
jle 0x1000882f
mov ecx, dword [ebp - 0xc]
cmp byte [ebx + ecx], 0
jne 0x10008828
test eax, eax
jle 0x10008824
push dword [ebp + 0xc]
mov edx, ebx
sub edx, eax
add edx, ecx
push edx
call fcn.1001cf30
pop ecx
test eax, eax
pop ecx
jne 0x10008824
mov dword [ebp - 8], 1
xor eax, eax
jmp 0x10008829
inc eax
inc ebx
cmp ebx, dword [ebp - 4]
jl 0x100087fb
movzx eax, word [esi + 6]
inc dword [ebp + 8]
add edi, 0x28
cmp dword [ebp + 8], eax
jl 0x100087b1
lea eax, [ebp - 0x18]
push eax
call fcn.10008457
mov eax, dword [ebp - 8]
pop ecx
pop esi
pop edi
pop ebx
leave
ret

Function at 0x1000888c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x100]
push 0x100
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [ebp - 0x100]
push eax
push str._sTemp
push dword [ebp + 8]
call fcn.10017c10
add esp, 0xc
pop edi
leave
ret