joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43fc40
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x24]
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
jmp fcn.0043fca0
Function at 0x4403b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x472c64
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x472c7c]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
sub esp, 4
test ebx, ebx
je 0x440405
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 0x4403fe
test esi, esi
je 0x4403fe
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4403e0
mov dword [esp], 0x472c64
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x4405f0
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
cmp word [edx], 0x5a4d
je 0x440600
repz ret
add edx, dword [edx + 0x3c]
cmp dword [edx], 0x4550
jne 0x4405fd
xor eax, eax
cmp word [edx + 0x18], 0x10b
sete al
ret

Function at 0x440620
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x440658
xor edx, edx
nop
mov ecx, dword [eax + 0xc]
cmp ecx, ebx
ja 0x44064e
add ecx, dword [eax + 8]
cmp ebx, ecx
jb 0x44065a
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x440640
xor eax, eax
pop ebx
pop esi
ret
Function at 0x10003001
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, dword [esi + 0x3c]
add ebx, esi
push 0x40
lea eax, [ebx + 0x18]
push 0x3000
push dword [eax + 0x38]
mov dword [ebp - 4], ecx
push 0
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], eax
call dword [0xb45070]
mov edi, eax
mov dword [ebp - 0x10], edi
test edi, edi
je 0x1000316b
push 0x40
mov edx, esi
mov ecx, edi
call 0x10005240
mov esi, dword [edi + 0x3c]
movzx eax, word [ebx + 0x14]
add esi, edi
push eax
mov edx, ebx
mov ecx, esi
call 0x10005240
mov eax, dword [ebp - 8]
lea ebx, [esi + 0x18]
movzx ecx, word [eax + 0x14]
movzx esi, word [esi + 0x14]
lea edx, [eax + 0x18]
movzx eax, word [eax + 6]
add ecx, edx
add esi, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x100030c9
mov ebx, ecx
sub ebx, esi
mov edi, eax
push 0x28
lea edx, [ebx + esi]
mov ecx, esi
call 0x10005240
add esi, 0x28
dec edi
jne 0x10003087
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
test eax, eax
je 0x100030c9
lea esi, [ecx + 0x14]
mov ebx, eax
mov edx, dword [esi]
mov ecx, dword [esi - 8]
push dword [esi - 4]
add edx, dword [ebp + 8]
add ecx, edi
call 0x10005240
lea esi, [esi + 0x28]
dec ebx
jne 0x100030ae
mov ebx, dword [ebp - 0xc]
push ebx
mov edx, edi
mov ecx, edi
call fcn.10001f85
push dword [ebp - 0x18]
mov ecx, dword [0xb46438]
mov edx, edi
call fcn.10001ee1
mov edx, dword [ebx + 0x60]
test edx, edx
je 0x10003168
cmp dword [ebx + 0x64], 0
je 0x10003168
xor eax, eax
lea ecx, [edx + edi]
inc eax
sub eax, dword [ecx + 0x10]
cmp eax, dword [ecx + 0x14]
jae 0x10003110
push eax
push ecx
push dword [ebx + 0x64]
mov ecx, edi
call fcn.10001eb3
mov ecx, eax
xor eax, eax
jmp 0x10003114
xor eax, eax
mov ecx, eax
mov edx, dword [ebp - 4]
push 2
mov dword [edx + 4], ecx
mov edx, dword [ebx + 0x60]
pop ecx
lea esi, [edx + edi]
sub ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
jae 0x1000313d
push ecx
push esi
push dword [ebx + 0x64]
mov ecx, edi
call fcn.10001eb3
mov ecx, eax
xor eax, eax
jmp 0x1000313f
mov ecx, eax
mov edx, dword [ebp - 4]
push 3
mov dword [edx + 8], ecx
mov edx, dword [ebx + 0x60]
pop ecx
lea esi, [edx + edi]
sub ecx, dword [esi + 0x10]
cmp ecx, dword [esi + 0x14]
jae 0x10003162
push ecx
push esi
push dword [ebx + 0x64]
mov ecx, edi
call fcn.10001eb3
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x100010a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10001240
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x10001164
cmp dword [ebp - 4], 0x50000000
jb 0x100010e1
cmp dword [ebp - 4], 0x80000000
ja 0x100010e1
mov dword [ebp - 4], 0x4fff0000
jmp 0x100010ba
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100c2d20
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x10001107
jmp 0x10001164
cmp dword [ebp - 0x14], 0x10000
jne 0x1000114a
cmp dword [ebp - 0x18], 0x10000
jb 0x1000114a
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000113d
mov eax, dword [ebp - 8]
jmp 0x10001166
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000115f
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10001240
add esp, 4
mov dword [ebp - 4], eax
jmp 0x100010ba
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10001170
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10001270
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000122c
cmp dword [ebp - 4], 0x50000000
jb 0x100011ac
cmp dword [ebp - 4], 0x80000000
ja 0x100011ac
mov dword [ebp - 4], 0x80010000
jmp 0x10001185
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call fcn.100c2d20
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100011d2
jmp 0x1000122c
cmp dword [ebp - 0x14], 0x10000
jne 0x10001215
cmp dword [ebp - 0x18], 0x10000
jb 0x10001215
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10001208
mov eax, dword [ebp - 8]
jmp 0x1000122e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10001227
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10001270
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10001185
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002070
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1050be6c], eax
je 0x1000208e
mov eax, 0x10dd
jmp 0x1000216f
mov eax, dword [0x1050be7c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000210c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x100020ea
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x100020ea
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.10001710
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.100c1895
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x10002096
mov dword [0x1050be7c], 0
call fcn.10001a30
mov ecx, dword [0x1050be78]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x10002159
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.100c1895
add esp, 4
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x10002124
mov dword [0x1050be78], 0
mov dword [0x1050be6c], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10002660
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1050be70], 0
je 0x10002679
mov eax, dword [0x1050be70]
jmp 0x10002719
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1000268b
xor eax, eax
jmp 0x10002719
push 8
call fcn.100c0b72
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100026e1
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x100026ca
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.100c1895
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x1050be70], eax
mov dword [0x1050be74], 0
mov eax, dword [ebp - 8]
jmp 0x10002719
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x100026fb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
jmp 0x100026ab
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x1050be78]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x1050be78], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10004ad0
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
nop
xor eax, eax
test cl, 1
je 0x10004aeb
bts eax, 7
shr ecx, 1
test cl, 1
je 0x10004af6
bts eax, 6
shr ecx, 1
test cl, 1
je 0x10004b01
bts eax, 5
shr ecx, 1
test cl, 1
je 0x10004b0c
bts eax, 4
shr ecx, 1
test cl, 1
je 0x10004b17
bts eax, 3
shr ecx, 1
test cl, 1
je 0x10004b22
bts eax, 2
shr ecx, 1
test cl, 1
je 0x10004b2d
bts eax, 1
test cl, 2
je 0x10004b36
bts eax, 0
shl eax, 0x18
mov ecx, eax
add eax, eax
sar ecx, 0x1f
and ecx, 0x4c11db7
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov edx, ecx
sar edx, 0x1f
and edx, 0x4c11db7
lea eax, [ecx + ecx]
xor edx, eax
mov ecx, edx
sar ecx, 0x1f
and ecx, 0x4c11db7
lea eax, [edx + edx]
xor ecx, eax
mov ebx, ecx
sar ebx, 0x1f
and ebx, 0x4c11db7
lea eax, [ecx + ecx]
xor ebx, eax
mov eax, dword [ebp - 4]
xor edx, edx
lea esi, [edi + eax*4]
lea ecx, [edx + 1]
test bl, 1
je 0x10004bd2
mov eax, 0x20
sub eax, ecx
bts edx, eax
inc ecx
shr ebx, 1
cmp ecx, 0x21
jl 0x10004bc3
mov ecx, dword [ebp - 4]
inc ecx
mov dword [esi], edx
mov dword [ebp - 4], ecx
cmp ecx, 0xff
jle 0x10004ae0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10004c00
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0x100ed144
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push eax
mov dword [edi], 0xffffffff
mov dword [ebp + 0xc], 0
call fcn.100c4491
add esp, 0xc
test eax, eax
je 0x10004c39
xor al, al
pop edi
mov esp, ebp
pop ebp
ret 0xc
push ebx
push 0x400
call fcn.100c44d8
add esp, 4
mov ebx, eax
mov dword [ebp + 8], ebx
push dword [ebp + 0xc]
test ebx, ebx
jne 0x10004c65
call fcn.100c46ef
add esp, 4
xor al, al
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
push 0x400
push 1
push ebx
call fcn.100c48f8
add esp, 0x10
test eax, eax
je 0x10004cbb
push esi
nop word [eax + eax]
mov esi, ebx
mov ebx, dword [edi]
lea esi, [esi + 1]
movzx ecx, byte [esi - 1]
movzx edx, bl
xor edx, ecx
shr ebx, 8
mov ecx, dword [ebp - 4]
xor ebx, dword [ecx + edx*4]
mov dword [edi], ebx
sub eax, 1
jne 0x10004c82
push dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x400
push 1
push ebx
call fcn.100c48f8
add esp, 0x10
test eax, eax
jne 0x10004c80
pop esi
push ebx
call fcn.100c4a33
push dword [ebp + 0xc]
call fcn.100c46ef
not dword [edi]
add esp, 8
mov al, 1
pop ebx
pop edi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100fa040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100e5640
push 0x64
mov edi, edx
mov esi, ecx
call fcn.100c0ba2
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x10005ed1
push 0x64
push 0
push ebx
call fcn.100c2d20
lea eax, [ebx + 4]
mov byte [ebx], 1
add esp, 0xc
mov dword [eax + 4], 0
mov dword [eax + 8], 0
xorps xmm0, xmm0
movups xmmword [eax + 0xc], xmm0
movq qword [eax + 0x1c], xmm0
mov dword [eax + 0x24], 0
push 2
push eax
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
call fcn.100bffeb
lea eax, [ebx + 0x34]
push eax
call fcn.100c01c7
add esp, 0xc
mov dword [0x10869ddc], ebx
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebx + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.10004d90
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x10816cf4
mov dword [0x10869f74], eax
call fcn.100c0007
add esp, 4
test eax, eax
jne 0x10005eec
mov eax, dword [0x10816d20]
cmp eax, 0x7fffffff
je 0x10005ef3
test edi, edi
je 0x10005de9
movups xmm0, xmmword [edi]
movups xmmword [0x1088f3c8], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x10005df3
xorps xmm0, xmm0
movups xmmword [0x1088f3c8], xmm0
movq qword [0x1088f3d8], xmm0
xorps xmm0, xmm0
push 0x10816cf4
movups xmmword [0x1088f5e0], xmm0
movq qword [0x1088f5f0], xmm0
call fcn.100c002c
add esp, 4
cmp dword [0x10886fbc], 0
jne 0x10005edb
mov dword [0x10893800], 0x100fac88
test esi, esi
je 0x10005e5c
cmp byte [esi], 0
mov ecx, 0x10893810
je 0x10005e59
mov edx, 1
sub edx, esi
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x10005e59
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x10005e46
mov byte [ecx], 0
mov esi, dword [0x10869ddc]
mov al, 1
mov dword [0x10886fbc], 0x10893800
mov dword [0x10893808], 0x100062f0
mov dword [0x1089380c], 0x10006300
xchg byte [esi], al
push 4
call fcn.100c0b72
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x100066d0
push 0
push 0
call fcn.100c969a
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10005f05
cmp dword [esi + 0x60], 0
jne 0x10005f00
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100c0b64
mov esp, ebp
pop ebp
ret
mov dword [0x10869ddc], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100c0b64
mov esp, ebp
pop ebp
ret
push 5
call fcn.100c0673
dec eax
push 6
mov dword [0x10816d20], eax
call fcn.100c0673
call fcn.100c972b
push 6
mov dword [ebp - 0x4c], 0
call fcn.100c0673
int3
Function at 0x10006dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10886fbc]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.100c27a0
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x10006e87
mov eax, dword [edi]
test eax, eax
je 0x10006e40
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x10006e40
test ebx, ebx
je 0x10006e40
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x10006e40
cmp dword [ebp + 0xc], esi
je 0x10006e87
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x10006e60
mov eax, dword [edi + 4]
cmp eax, 3
je 0x10006e54
cmp eax, 1
jne 0x10006e60
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10014450
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.10014680
test al, al
je 0x100145ac
push esi
mov esi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958d4f
call esi
lea eax, [ebp - 4]
mov dword [0x958d4f], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958d4f
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958d88
call esi
lea eax, [ebp - 4]
mov dword [0x958d88], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958d88
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958dbe
call esi
lea eax, [ebp - 4]
mov dword [0x958dbe], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958dbe
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 4
push 0x958dda
call esi
lea eax, [ebp - 4]
mov dword [0x958dda], 0x36a
push eax
push dword [ebp - 4]
push 4
push 0x958dda
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5be217
call esi
lea eax, [ebp - 4]
mov byte [0x5be217], 0x8d
push eax
push dword [ebp - 4]
push 1
push 0x5be217
call esi
lea eax, [ebp - 4]
push eax
push 0x40
push 1
push 0x5be237
call esi
lea eax, [ebp - 4]
mov byte [0x5be237], 0x8d
push eax
push dword [ebp - 4]
push 1
push 0x5be237
call esi
push 0x10014730
push 0x787070
push 0xe8
call fcn.100bed50
push 0x7870be
push 0x787078
push 0xe9
call fcn.100bed50
push 0x10014860
push 0x786d60
push 0xe8
call fcn.100bed50
push 0x7870be
push 0x786d68
push 0xe9
call fcn.100bed50
add esp, 0x30
pop esi
cmp dword [0x102c7368], 0
jbe 0x10014670
push 0x10014ba0
push 0x5b8619
push 0xe8
call fcn.100bed50
push 0x10014ba0
push 0x786ca4
push 0xe8
call fcn.100bed50
mov eax, dword [0x102c7368]
add esp, 0x18
cmp eax, 2
je 0x100145f3
cmp eax, 4
jne 0x10014602
push 0x1c0f
call fcn.10049ca0
mov eax, dword [0x102c7368]
cmp eax, 3
je 0x1001460c
cmp eax, 4
jne 0x10014670
push 0x180f
call fcn.10049ca0
push 0x1c0d
call fcn.10049ca0
push 0x1c0e
call fcn.10049ca0
push 0x1c10
call fcn.10049ca0
push 0x1c16
call fcn.10049ca0
push 0x1c1f
call fcn.10049ca0
push 0x1c29
call fcn.10049ca0
push 0x1c2a
call fcn.10049ca0
push 0x1c2b
call fcn.10049ca0
push 0x1c2c
call fcn.10049ca0
mov esp, ebp
pop ebp
ret
Function at 0x10024050
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x102a42bd], 1
jne 0x1002406b
mov byte [0x102a42bd], 0
mov dword [0xe8cb3c], 0
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x102a2bd8]
cmp eax, 0x5dc
jae 0x10024086
mov byte [0x102a42bd], 0
ret
mov ecx, 0x102a22b0
call fcn.10071ab0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x102a42b8], eax
mov byte [0x102a42bd], 1
mov dword [0xe8cb3c], 1
ret
Function at 0x100256a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp dword [0x102c71c4], 2
je 0x100257d2
push esi
push edi
push 0x15
mov esi, 0x861110
call esi
mov edi, 0x85ec20
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 0x21
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 1
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 0x49
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 0x4f
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 0xe
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 8
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 7
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
push 0x41
call esi
mov ecx, eax
call edi
test al, al
jne 0x100257d0
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102a34d8]
cmp eax, 0x3e8
jb 0x100257d0
call esi
cmp byte [0x102a34dd], 1
mov dword [0x102a34d8], eax
jne 0x10025782
pop edi
mov byte [0x102a34dd], 0
mov dword [0xe8cb3c], 0
pop esi
ret
mov ecx, 0x102a22b0
call fcn.10071ab0
mov eax, 0x10857be8
mov dword [eax], 0xffffffff
add eax, 8
cmp eax, 0x10858228
jl 0x10025791
mov dword [0x10857be0], 0
mov dword [0x10858238], 0
mov dword [0x10858228], 2
mov byte [0x102a34dd], 1
mov dword [0xe8cb3c], 1
pop edi
pop esi
ret
Function at 0x10028ea0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x102a2c38]
cmp eax, 0x5dc
jb 0x10028f25
cmp byte [0x102a2c3d], 1
jne 0x10028edb
mov byte [0x102a2c3d], 0
mov dword [0xe8cb3c], 0
pop esi
mov esp, ebp
pop ebp
ret
mov al, byte [0x10865d14]
lea ecx, [ebp - 8]
mov dword [ebp - 7], 0
mov edx, 6
mov byte [ebp - 3], 0
mov dword [ebp - 8], 0xd0f306c1
mov byte [ebp - 4], al
mov byte [ebp - 3], 0
call fcn.100b5210
call esi
mov dword [0x10865d18], eax
call esi
mov dword [0x102a2c38], eax
mov byte [0x102a2c3d], 1
mov dword [0xe8cb3c], 1
pop esi
mov esp, ebp
pop ebp
ret