joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d2f90
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x24
lea eax, [esp]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
cmp dword [esp + 0x14], 2
jbe 0x100d3011
push 0
call fcn.10051910
add esp, 4
cmp eax, 3
jl 0x100d2ffd
cmp eax, 4
je 0x100d2ffd
push esi
xor esi, esi
cmp word [0x102cca58], si
jbe 0x100d2fef
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push edi
mov edi, 0x102cc870
push 0
push edi
call ebx
push eax
call fcn.100d2c50
movzx ecx, word [0x102cca58]
add esi, 1
add edi, 0xc
cmp esi, ecx
jl 0x100d2fd1
pop edi
pop ebx
mov word [0x102cca58], 0
pop esi
add esp, 0x24
ret
mov edx, dword [0x101a3c6c]
push edx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessAffinityMask]
add esp, 0x24
ret

Function at 0x100d30d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x10166df9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push edi
mov eax, dword [0x101b629c]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov dword [esp + 0x14], esi
mov byte [esi + 4], bl
mov dword [esp + 0x44], ebx
mov dword [esp + 0x10], 1
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.10101f4f
add esp, 4
call fcn.10101f5c
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x100d3147
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
cmp eax, ebx
mov byte [esp + 0x18], 0x61
mov byte [esp + 0x19], 0x62
mov byte [esp + 0x1a], 0x63
mov byte [esp + 0x1b], 0x64
mov byte [esp + 0x1c], 0x65
mov byte [esp + 0x1d], 0x66
mov byte [esp + 0x1e], 0x67
mov byte [esp + 0x1f], 0x68
mov byte [esp + 0x20], 0x69
mov byte [esp + 0x21], 0x6a
mov byte [esp + 0x22], 0x6b
mov byte [esp + 0x23], 0x6c
mov byte [esp + 0x24], 0x6d
mov byte [esp + 0x25], 0x6e
mov byte [esp + 0x26], 0x6f
mov byte [esp + 0x27], 0x70
mov byte [esp + 0x28], 0x71
mov byte [esp + 0x29], 0x72
mov byte [esp + 0x2a], 0x73
mov byte [esp + 0x2b], 0x74
mov byte [esp + 0x2c], 0x76
mov byte [esp + 0x2d], 0x77
mov byte [esp + 0x2e], 0x78
mov byte [esp + 0x2f], 0x79
mov byte [esp + 0x30], 0x75
mov byte [esp + 0x31], 0x41
mov byte [esp + 0x32], 0x42
mov byte [esp + 0x33], 0x43
mov byte [esp + 0x34], 0x44
mov byte [esp + 0x35], 0x45
mov byte [esp + 0x36], 0x46
mov byte [esp + 0x37], 0x47
jle 0x100d321c
mov edi, eax
call fcn.10101f5c
and eax, 0x8000001f
jns 0x100d3201
dec eax
or eax, 0xffffffe0
inc eax
mov al, byte [esp + eax + 0x18]
mov byte [esp + 0xc], al
mov ecx, dword [esp + 0xc]
push ecx
push 1
mov ecx, esi
call fcn.1001e1f0
sub edi, 1
jne 0x100d31f0
mov eax, esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.100ff704
add esp, 0x3c
ret
Function at 0x100d5770
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x884
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x880], eax
mov eax, dword [esp + 0x890]
push ebx
mov ebx, dword [esp + 0x88c]
push esi
push edi
mov dword [esp + 0x10], eax
mov eax, 0x5c
push ebx
lea ecx, [esp + 0x458]
mov word [esp + 0x458], ax
mov word [esp + 0x45a], ax
mov word [esp + 0x45e], ax
mov eax, 0x69
push ecx
lea edx, [esp + 0x694]
xor edi, edi
push edx
mov word [esp + 0x464], 0x2e
mov word [esp + 0x468], 0x50
mov word [esp + 0x46a], 0x68
mov word [esp + 0x46c], 0x79
mov word [esp + 0x46e], 0x73
mov word [esp + 0x470], ax
mov word [esp + 0x472], 0x63
mov word [esp + 0x474], 0x61
mov word [esp + 0x476], 0x6c
mov word [esp + 0x478], 0x44
mov word [esp + 0x47a], 0x72
mov word [esp + 0x47c], ax
mov word [esp + 0x47e], 0x76
mov word [esp + 0x480], 0x65
mov word [esp + 0x482], 0x25
mov word [esp + 0x484], 0x64
mov word [esp + 0x486], di
call fcn.100283e0
add esp, 0xc
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
lea eax, [esp + 0x6a4]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100d59bc
push edi
lea ecx, [esp + 0x10]
push ecx
push 0x18
lea edx, [esp + 0x24]
push edx
push edi
xor eax, eax
push edi
push 0x74080
push esi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x100d59b5
mov al, byte [esp + 0x1b]
test al, al
jbe 0x100d59b5
mov cl, bl
shr al, cl
push 0x210
push edi
and al, 0x10
neg al
sbb al, al
and al, 0xb5
add al, 0xec
mov byte [esp + 0x1c], al
xor eax, eax
mov dword [esp + 0x438], eax
mov dword [esp + 0x43c], eax
mov dword [esp + 0x440], eax
mov dword [esp + 0x444], eax
mov dword [esp + 0x448], eax
mov dword [esp + 0x44c], eax
mov dword [esp + 0x450], eax
mov dword [esp + 0x454], eax
mov byte [esp + 0x458], al
lea eax, [esp + 0x484]
push eax
call fcn.10100160
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x18]
push ecx
push ebx
push edx
lea eax, [esp + 0x494]
push eax
lea ecx, [esp + 0x44c]
push ecx
push esi
call fcn.100d5430
add esp, 0x24
test eax, eax
je 0x100d59b5
xor eax, eax
lea esp, [esp]
movzx edx, word [esp + eax*2 + 0x48c]
mov dword [esp + eax*4 + 0x30], edx
add eax, 1
cmp eax, 0x100
jl 0x100d5980
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x898]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.100d5510
add esp, 0xc
mov edi, 1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x88c]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100ff704
add esp, 0x884
ret
Function at 0x100d59e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x650
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x64c], eax
mov eax, dword [esp + 0x65c]
mov ecx, dword [esp + 0x654]
push ebp
mov dword [esp + 0xc], eax
mov eax, 0x5c
push edi
mov word [esp + 0x42c], ax
mov word [esp + 0x42e], ax
mov word [esp + 0x432], ax
mov eax, 0x69
push ecx
lea edx, [esp + 0x430]
mov word [esp + 0x440], ax
mov word [esp + 0x44c], ax
push edx
lea eax, [esp + 0x45c]
xor ebp, ebp
push eax
mov word [esp + 0x43c], 0x2e
mov word [esp + 0x440], 0x50
mov word [esp + 0x442], 0x68
mov word [esp + 0x444], 0x79
mov word [esp + 0x446], 0x73
mov word [esp + 0x44a], 0x63
mov word [esp + 0x44c], 0x61
mov word [esp + 0x44e], 0x6c
mov word [esp + 0x450], 0x44
mov word [esp + 0x452], 0x72
mov word [esp + 0x456], 0x76
mov word [esp + 0x458], 0x65
mov word [esp + 0x45a], 0x25
mov word [esp + 0x45c], 0x64
mov word [esp + 0x45e], bp
call fcn.100283e0
add esp, 0xc
push ebp
push ebp
push 3
push ebp
push 7
push 0xc0000000
lea ecx, [esp + 0x46c]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x100d5c07
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
push ebp
xor eax, eax
lea edx, [esp + 0x14]
push edx
push 0x18
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x24]
push eax
push ebp
push ebp
push 0x74080
push edi
mov dword [esp + 0x30], ebp
call ebx
test eax, eax
je 0x100d5bed
push esi
push 0x221
call fcn.100ff166
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x100d5bcb
push ebp
lea ecx, [esp + 0x14]
push ecx
push 0x221
push esi
push 0x21
push esi
push 0x7c088
push edi
mov byte [esi + 0xa], 0xec
mov dword [esp + 0x30], ebp
call ebx
test eax, eax
je 0x100d5bc2
xor eax, eax
jmp 0x100d5b90
movzx edx, word [esi + eax*2 + 0x10]
mov dword [esp + eax*4 + 0x34], edx
add eax, 1
cmp eax, 0x100
jl 0x100d5b90
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x668]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.100d5510
add esp, 0xc
mov ebp, 1
push esi
call fcn.100ff229
add esp, 4
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ebx
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.100ff704
add esp, 0x650
ret
pop ebx
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.100ff704
add esp, 0x650
ret
mov ecx, dword [esp + 0x654]
pop edi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.100ff704
add esp, 0x650
ret
Function at 0x100d5c20
Capabilities:
Contain obfuscated stackstrings
Get storage device properties

Disassembly:
mov eax, 0x314c
call fcn.10100130
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0x3148], eax
push ebx
push ebp
mov eax, 0x5c
mov word [esp + 0x18], ax
mov word [esp + 0x1a], ax
mov word [esp + 0x1e], ax
push esi
mov eax, 0x69
push edi
mov edi, dword [esp + 0x3168]
mov word [esp + 0x30], ax
mov word [esp + 0x3c], ax
mov eax, dword [esp + 0x3160]
push eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x50]
xor ebx, ebx
push edx
xor ebp, ebp
mov word [esp + 0x30], 0x2e
mov word [esp + 0x34], 0x50
mov word [esp + 0x36], 0x68
mov word [esp + 0x38], 0x79
mov word [esp + 0x3a], 0x73
mov word [esp + 0x3e], 0x63
mov word [esp + 0x40], 0x61
mov word [esp + 0x42], 0x6c
mov word [esp + 0x44], 0x44
mov word [esp + 0x46], 0x72
mov word [esp + 0x4a], 0x76
mov word [esp + 0x4c], 0x65
mov word [esp + 0x4e], 0x25
mov word [esp + 0x50], 0x64
mov word [esp + 0x52], bx
call fcn.100283e0
add esp, 0xc
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100d5e8c
xor eax, eax
push 0x2710
lea ecx, [esp + 0xa4c]
push ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
call fcn.10100160
add esp, 0xc
push ebx
lea edx, [esp + 0x14]
push edx
push 0x2710
lea eax, [esp + 0xa54]
push eax
push 0xc
lea ecx, [esp + 0x28]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
test eax, eax
je 0x100d5e85
mov ecx, dword [esp + 0xa60]
lea edx, [esp + 0x648]
push edx
lea eax, [esp + 0xa4c]
push eax
push ebx
push ecx
call fcn.100d55f0
add esp, 0x10
cmp byte [edi], bl
jne 0x100d5e4e
movsx dx, byte [esp + 0x648]
push edx
call fcn.10104388
add esp, 4
test eax, eax
jne 0x100d5dc0
movsx ax, byte [esp + 0x65b]
push eax
call fcn.10104388
add esp, 4
test eax, eax
je 0x100d5e4e
mov eax, dword [esp + 0x3164]
cmp eax, ebx
jne 0x100d5de3
lea ecx, [esp + 0x648]
push ecx
push 0x400
push edi
call fcn.100fff8a
add esp, 0xc
jmp 0x100d5e49
cmp eax, 1
jne 0x100d5e10
mov ecx, dword [esp + 0xa58]
lea edx, [esp + 0x248]
push edx
lea eax, [esp + 0xa4c]
push eax
push ebx
push ecx
call fcn.100d55f0
lea edx, [esp + 0x258]
push edx
jmp 0x100d5e3b
cmp eax, 2
jne 0x100d5e49
mov edx, dword [esp + 0xa5c]
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0xa4c]
push ecx
push ebx
push edx
call fcn.100d55f0
lea eax, [esp + 0x258]
push eax
push 0x400
push edi
call fcn.100fff8a
add esp, 0x1c
mov ebp, 1
push 0x2710
lea ecx, [esp + 0xa4c]
push ebx
push ecx
call fcn.10100160
add esp, 0xc
push ebx
lea edx, [esp + 0x14]
push edx
push 0x2710
lea eax, [esp + 0xa54]
push eax
push ebx
push ebx
push 0x700a0
push esi
call dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [esp + 0x3158]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
xor ecx, esp
call fcn.100ff704
add esp, 0x314c
ret
Function at 0x100d62f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10166ee0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101b629c]
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 0x100d635d
push edi
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.10101480
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 0x100d6680
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 0x100d66be
ja 0x100d66b2
cmp ecx, dword [esp + 0x4c]
jbe 0x100d66be
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 0x2c]
cmp ebp, edx
jb 0x100d67ef
mov esi, dword [esp + 0x28]
ja 0x100d66d8
cmp esi, edi
jb 0x100d67ef
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 0x100d67ef
jb 0x100d670b
cmp esi, ecx
jae 0x100d67ef
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 0x100d673a
ja 0x100d6730
cmp ebx, dword [esp + 0x48]
jbe 0x100d673a
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.100d6270
add esp, 0xc
test eax, eax
je 0x100d67c8
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 0x100d67c4
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 0x100d67ba
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.10037ec0
mov esi, dword [esp + 0x40]
add esp, 0x14
add edi, dword [esp + 0x74]
cmp edi, dword [esp + 0x34]
jb 0x100d6761
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 0x100d6710
ja 0x100d67ee
cmp esi, dword [esp + 0x20]
jb 0x100d6710
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x100da200
Capabilities:
Read .ini file

Disassembly:
push 0
push 0x102cca6c
call fcn.10043a00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add esp, 8
push eax
mov eax, dword [esp + 8]
push 0x2ee0
push ecx
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringA]
push 0x102cca6c
call fcn.10043a90
pop ecx
ret 0x10
Function at 0x100da770
Capabilities:
Read .ini file

Disassembly:
push esi
push 0
push 0x102cca6c
call fcn.10043a00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
add esp, 8
push eax
push 0x2ee0
push ecx
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileSectionNamesA]
push 0x102cca6c
mov esi, eax
call fcn.10043a90
add esp, 4
lea eax, [esi - 1]
pop esi
ret 8
Function at 0x100daa00
Capabilities:
Read .ini file

Disassembly:
push esi
push 0
push 0x102cca6c
call fcn.10043a00
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add esp, 8
push eax
push 0xea60
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileSectionA]
push 0x102cca6c
mov esi, eax
call fcn.10043a90
add esp, 4
mov eax, esi
pop esi
ret 0xc
Function at 0x100db860
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1019b970
push 0x100ffc30
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101b629c]
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 0x100db8ff
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100db8ff
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
cmp esi, edi
jb 0x100db8ff
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x100db8ff
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 0x100dbe60
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x102ce18c], eax
je 0x100dbe76
mov eax, 0x10dd
pop ecx
ret
push ebp
push esi
mov esi, dword [0x102ce19c]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x100dbeec
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.100b2280
cmp dword [esi + 4], ebp
jne 0x100dbedb
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x100dbedb
mov edx, eax
and edx, 0xffff0000
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 ecx, dword [edx + 8]
mov dword [eax + 0x18], ecx
mov dword [edx + 8], eax
mov dword [esi + 0x10], ebp
mov edi, dword [esi]
push esi
call fcn.100ee0d8
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x100dbe85
mov dword [0x102ce19c], ebp
call fcn.100dba60
mov esi, dword [0x102ce198]
cmp esi, ebp
je 0x100dbf20
push ebx
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.100ee0d8
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x100dbf08
pop ebx
pop edi
pop esi
mov dword [0x102ce198], ebp
mov dword [0x102ce18c], ebp
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x100dc250
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x102ce190]
test eax, eax
jne 0x100dc2cc
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x100dc26e
xor eax, eax
pop edi
ret 4
push esi
push 8
call fcn.100ee0ad
mov esi, eax
add esp, 4
test esi, esi
jne 0x100dc284
lea edi, [eax + 8]
jmp 0x100dc2a1
push edi
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
jne 0x100dc2b8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push esi
mov edi, eax
call fcn.100ee0d8
add esp, 4
pop esi
mov dword [0x102ce190], edi
mov eax, edi
mov dword [0x102ce194], 0
pop edi
ret 4
mov eax, dword [0x102ce198]
mov dword [esi + 4], edi
mov dword [esi], eax
mov dword [0x102ce198], esi
pop esi
xor eax, eax
pop edi
ret 4

Function at 0x100dcca0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [ecx + 0x3c]
add eax, ecx
movzx ecx, word [eax + 0x14]
push edi
mov edi, dword [esp + 0xc]
cmp edi, dword [ecx + eax + 0x24]
lea ecx, [ecx + eax + 0x18]
jae 0x100dccc0
mov eax, edi
pop edi
ret
push ebx
push esi
movzx esi, word [eax + 6]
xor edx, edx
test esi, esi
jbe 0x100dccea
lea esp, [esp]
mov eax, dword [ecx + 0xc]
cmp edi, eax
jb 0x100dcce0
mov ebx, dword [ecx + 8]
add ebx, eax
cmp edi, ebx
jb 0x100dccf1
add edx, 1
add ecx, 0x28
cmp edx, esi
jb 0x100dccd0
pop esi
pop ebx
or eax, 0xffffffff
pop edi
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
pop esi
pop ebx
add eax, edi
pop edi
ret
Function at 0x100dcde0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe4
mov eax, dword [0x101b629c]
xor eax, esp
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0xe8]
mov ecx, dword [eax + 0x3c]
push ebx
push ebp
mov ebp, dword [esp + 0xf4]
add ecx, eax
push esi
push edi
mov edi, dword [ecx + 0x78]
mov ecx, dword [ecx + 0x7c]
mov dword [esp + 0x20], ecx
mov ecx, dword [edi + eax + 0x1c]
mov edx, dword [edi + eax + 0x20]
mov esi, dword [edi + eax + 0x24]
add ecx, eax
add edx, eax
add esi, eax
xor ebx, ebx
test ebp, 0xffff0000
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + eax + 0x10]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], esi
jne 0x100dce63
cmp ebp, ecx
jb 0x100dce5c
mov edx, dword [edi + eax + 0x14]
lea edx, [edx + ecx - 1]
cmp ebp, edx
ja 0x100dce5c
sub ebp, ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + ebp*4]
jmp 0x100dcecb
xor eax, eax
jmp 0x100dcf96
cmp dword [edi + eax + 0x18], ebx
mov dword [esp + 0x10], ebx
jle 0x100dcecd
jmp 0x100dce74
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov ecx, dword [edx + ecx*4]
mov esi, ebp
add ecx, eax
nop
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x100dcea0
test dl, dl
je 0x100dce9c
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x100dcea0
add ecx, 2
add esi, 2
test dl, dl
jne 0x100dce80
xor ecx, ecx
jmp 0x100dcea5
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x10]
je 0x100dcebc
add ecx, 1
cmp ecx, dword [edi + eax + 0x18]
mov dword [esp + 0x10], ecx
jl 0x100dce70
jmp 0x100dcecd
mov edx, dword [esp + 0x18]
movzx edx, word [edx + ecx*2]
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + edx*4]
add ebx, eax
lea edx, [eax + edi]
cmp ebx, edx
jb 0x100dcf94
mov ecx, dword [esp + 0x20]
add eax, ecx
add eax, edi
cmp ebx, eax
ja 0x100dcf94
push 0x63
lea edx, [esp + 0x2d]
push 0
push edx
mov byte [esp + 0x34], 0
call fcn.10100160
push 0x63
lea eax, [esp + 0x9d]
push 0
push eax
mov byte [esp + 0xa4], 0
call fcn.10100160
mov esi, dword [sym.imp.KERNEL32.DLL_lstrcpyA]
add esp, 0x18
push ebx
lea ecx, [esp + 0x2c]
push ecx
call esi
lea edx, [esp + 0x28]
push 0x2e
push edx
call fcn.10101a50
add esp, 8
test eax, eax
je 0x100dcf94
mov byte [eax], 0
add eax, 1
push eax
lea eax, [esp + 0x90]
push eax
call esi
lea ecx, [esp + 0x20]
mov al, 0x6c
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x28], 0x2e
mov byte [esp + 0x29], 0x64
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], 0
call dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
test eax, eax
je 0x100dcf94
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.100dcde0
add esp, 8
jmp 0x100dcf96
mov eax, ebx
mov ecx, dword [esp + 0xf0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100ff704
add esp, 0xe4
ret