joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100c93a0
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 0x100c941c
push 0
call fcn.1004eb90
add esp, 4
cmp eax, 4
jg 0x100c93db
mov ecx, dword [0x1019ace4]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessAffinityMask]
add esp, 0x24
ret
push esi
xor esi, esi
cmp word [0x102c3ab0], si
jbe 0x100c9412
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push edi
mov edi, 0x102c38c8
push 0
push edi
call ebx
push eax
call fcn.100c9070
movzx edx, word [0x102c3ab0]
add esi, 1
add edi, 0xc
cmp esi, edx
jl 0x100c93f4
pop edi
pop ebx
mov word [0x102c3ab0], 0
pop esi
add esp, 0x24
ret

Function at 0x100c94d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x1015dcd1
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101ad3b4]
xor eax, esp
mov dword [esp + 0x2c], eax
push edi
mov eax, dword [0x101ad3b4]
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
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call fcn.100f8c0f
add esp, 4
call fcn.100f8c1c
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x100c9557
dec eax
or eax, 0xfffffff8
inc eax
add eax, 8
test eax, eax
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
jle 0x100c962a
mov edi, eax
call fcn.100f8c1c
and eax, 0x8000001f
jns 0x100c9611
dec eax
or eax, 0xffffffe0
inc eax
mov al, byte [esp + eax + 0x14]
mov byte [esp + 8], al
mov ecx, dword [esp + 8]
push ecx
mov ecx, esi
call fcn.1001d000
sub edi, 1
jne 0x100c9600
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.100f611a
add esp, 0x3c
ret
Function at 0x100cbaa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x884
mov eax, dword [0x101ad3b4]
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.10026fc0
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 0x100cbcec
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 0x100cbce5
mov al, byte [esp + 0x1b]
test al, al
jbe 0x100cbce5
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.100f6b80
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.100cb760
add esp, 0x24
test eax, eax
je 0x100cbce5
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 0x100cbcb0
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x898]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.100cb840
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.100f611a
add esp, 0x884
ret
Function at 0x100cbd10
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x650
mov eax, dword [0x101ad3b4]
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.10026fc0
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 0x100cbf37
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 0x100cbf1d
push esi
push 0x221
call fcn.100f5b7c
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x100cbefb
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 0x100cbef2
xor eax, eax
jmp 0x100cbec0
movzx edx, word [esi + eax*2 + 0x10]
mov dword [esp + eax*4 + 0x34], edx
add eax, 1
cmp eax, 0x100
jl 0x100cbec0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x668]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.100cb840
add esp, 0xc
mov ebp, 1
push esi
call fcn.100f5c3f
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.100f611a
add esp, 0x650
ret
pop ebx
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.100f611a
add esp, 0x650
ret
mov ecx, dword [esp + 0x654]
pop edi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.100f611a
add esp, 0x650
ret
Function at 0x100cbf50
Capabilities:
Contain obfuscated stackstrings
Get storage device properties

Disassembly:
mov eax, 0x314c
call fcn.100f6b50
mov eax, dword [0x101ad3b4]
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.10026fc0
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 0x100cc1bc
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.100f6b80
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 0x100cc1b5
mov ecx, dword [esp + 0xa60]
lea edx, [esp + 0x648]
push edx
lea eax, [esp + 0xa4c]
push eax
push ebx
push ecx
call fcn.100cb920
add esp, 0x10
cmp byte [edi], bl
jne 0x100cc17e
movsx dx, byte [esp + 0x648]
push edx
call fcn.100fac88
add esp, 4
test eax, eax
jne 0x100cc0f0
movsx ax, byte [esp + 0x65b]
push eax
call fcn.100fac88
add esp, 4
test eax, eax
je 0x100cc17e
mov eax, dword [esp + 0x3164]
cmp eax, ebx
jne 0x100cc113
lea ecx, [esp + 0x648]
push ecx
push 0x400
push edi
call fcn.100f69aa
add esp, 0xc
jmp 0x100cc179
cmp eax, 1
jne 0x100cc140
mov ecx, dword [esp + 0xa58]
lea edx, [esp + 0x248]
push edx
lea eax, [esp + 0xa4c]
push eax
push ebx
push ecx
call fcn.100cb920
lea edx, [esp + 0x258]
push edx
jmp 0x100cc16b
cmp eax, 2
jne 0x100cc179
mov edx, dword [esp + 0xa5c]
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0xa4c]
push ecx
push ebx
push edx
call fcn.100cb920
lea eax, [esp + 0x258]
push eax
push 0x400
push edi
call fcn.100f69aa
add esp, 0x1c
mov ebp, 1
push 0x2710
lea ecx, [esp + 0xa4c]
push ebx
push ecx
call fcn.100f6b80
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.100f611a
add esp, 0x314c
ret
Function at 0x100cc580
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015dde0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101ad3b4]
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 0x100cc5ed
push edi
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.100f7fd0
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 0x100cc910
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 0x100cc94e
ja 0x100cc942
cmp ecx, dword [esp + 0x4c]
jbe 0x100cc94e
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 0x2c]
cmp ebp, edx
jb 0x100cca7f
mov esi, dword [esp + 0x28]
ja 0x100cc968
cmp esi, edi
jb 0x100cca7f
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 0x100cca7f
jb 0x100cc99b
cmp esi, ecx
jae 0x100cca7f
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 0x100cc9ca
ja 0x100cc9c0
cmp ebx, dword [esp + 0x48]
jbe 0x100cc9ca
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.100cc500
add esp, 0xc
test eax, eax
je 0x100cca58
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 0x100cca54
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 0x100cca4a
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.10035e60
mov esi, dword [esp + 0x40]
add esp, 0x14
add edi, dword [esp + 0x74]
cmp edi, dword [esp + 0x34]
jb 0x100cc9f1
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 0x100cc9a0
ja 0x100cca7e
cmp esi, dword [esp + 0x20]
jb 0x100cc9a0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x100d0520
Capabilities:
Read .ini file

Disassembly:
push 0
push 0x102c3ac4
call fcn.10041030
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 0x102c3ac4
call fcn.100410c0
pop ecx
ret 0x10
Function at 0x100d0a90
Capabilities:
Read .ini file

Disassembly:
push esi
push 0
push 0x102c3ac4
call fcn.10041030
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 0x102c3ac4
mov esi, eax
call fcn.100410c0
add esp, 4
lea eax, [esi - 1]
pop esi
ret 8
Function at 0x100d0d20
Capabilities:
Read .ini file

Disassembly:
push esi
push 0
push 0x102c3ac4
call fcn.10041030
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 0x102c3ac4
mov esi, eax
call fcn.100410c0
add esp, 4
mov eax, esi
pop esi
ret 0xc
Function at 0x100d1ba0
Capabilities:
Parse pe header

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x102c51e4], eax
je 0x100d21b6
mov eax, 0x10dd
pop ecx
ret
push ebp
push esi
mov esi, dword [0x102c51f4]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x100d222c
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.100aa8f0
cmp dword [esi + 4], ebp
jne 0x100d221b
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x100d221b
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.100e4aeb
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x100d21c5
mov dword [0x102c51f4], ebp
call fcn.100d1da0
mov esi, dword [0x102c51f0]
cmp esi, ebp
je 0x100d2260
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.100e4aeb
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x100d2248
pop ebx
pop edi
pop esi
mov dword [0x102c51f0], ebp
mov dword [0x102c51e4], ebp
xor eax, eax
pop ebp
pop ecx
ret
Function at 0x100d2590
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x102c51e8]
test eax, eax
jne 0x100d260c
push edi
call dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x100d25ae
xor eax, eax
pop edi
ret 4
push esi
push 8
call fcn.100e4ac0
mov esi, eax
add esp, 4
test esi, esi
jne 0x100d25c4
lea edi, [eax + 8]
jmp 0x100d25e1
push edi
call dword [sym.imp.KERNEL32.DLL_SuspendThread]
cmp eax, 0xffffffff
jne 0x100d25f8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push esi
mov edi, eax
call fcn.100e4aeb
add esp, 4
pop esi
mov dword [0x102c51e8], edi
mov eax, edi
mov dword [0x102c51ec], 0
pop edi
ret 4
mov eax, dword [0x102c51f0]
mov dword [esi + 4], edi
mov dword [esi], eax
mov dword [0x102c51f0], esi
pop esi
xor eax, eax
pop edi
ret 4

Function at 0x100d30b0
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 0x100d30d0
mov eax, edi
pop edi
ret
push ebx
push esi
movzx esi, word [eax + 6]
xor edx, edx
test esi, esi
jbe 0x100d30fa
lea esp, [esp]
mov eax, dword [ecx + 0xc]
cmp edi, eax
jb 0x100d30f0
mov ebx, dword [ecx + 8]
add ebx, eax
cmp edi, ebx
jb 0x100d3101
add edx, 1
add ecx, 0x28
cmp edx, esi
jb 0x100d30e0
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 0x100d31f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe4
mov eax, dword [0x101ad3b4]
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 0x100d3273
cmp ebp, ecx
jb 0x100d326c
mov edx, dword [edi + eax + 0x14]
lea edx, [edx + ecx - 1]
cmp ebp, edx
ja 0x100d326c
sub ebp, ecx
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + ebp*4]
jmp 0x100d32db
xor eax, eax
jmp 0x100d33a6
cmp dword [edi + eax + 0x18], ebx
mov dword [esp + 0x10], ebx
jle 0x100d32dd
jmp 0x100d3284
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 0x100d32b0
test dl, dl
je 0x100d32ac
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x100d32b0
add ecx, 2
add esi, 2
test dl, dl
jne 0x100d3290
xor ecx, ecx
jmp 0x100d32b5
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x10]
je 0x100d32cc
add ecx, 1
cmp ecx, dword [edi + eax + 0x18]
mov dword [esp + 0x10], ecx
jl 0x100d3280
jmp 0x100d32dd
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 0x100d33a4
mov ecx, dword [esp + 0x20]
add eax, ecx
add eax, edi
cmp ebx, eax
ja 0x100d33a4
push 0x63
lea edx, [esp + 0x2d]
push 0
push edx
mov byte [esp + 0x34], 0
call fcn.100f6b80
push 0x63
lea eax, [esp + 0x9d]
push 0
push eax
mov byte [esp + 0xa4], 0
call fcn.100f6b80
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.100f8710
add esp, 8
test eax, eax
je 0x100d33a4
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 0x100d33a4
lea ecx, [esp + 0x8c]
push ecx
push eax
call fcn.100d31f0
add esp, 8
jmp 0x100d33a6
mov eax, ebx
mov ecx, dword [esp + 0xf0]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100f611a
add esp, 0xe4
ret