joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100d2f30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x2c
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x28], eax
mov al, 0x65
mov byte [esp + 1], al
mov byte [esp + 4], al
mov byte [esp + 0x11], al
mov byte [esp + 0x16], al
push ebp
mov ebp, dword [esp + 0x3c]
mov al, 0x66
mov cl, 0x6c
push esi
mov esi, dword [esp + 0x38]
mov byte [esp + 0x27], al
mov byte [esp + 0x28], al
mov al, 0x69
mov byte [esp + 0xd], cl
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], cl
push edi
mov edi, dword [esp + 0x40]
mov cl, 0x74
mov byte [esp + 0x2d], al
mov byte [esp + 0x2f], al
lea eax, [esp + 0x1c]
mov dl, 0x72
mov byte [esp + 0x1e], cl
mov byte [esp + 0x30], cl
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x14], 0x4b
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], 0x6e
mov byte [esp + 0x1a], 0x33
mov byte [esp + 0x1b], 0x32
mov byte [esp + 0x1c], 0x2e
mov byte [esp + 0x1d], 0x64
mov byte [esp + 0x20], 0
mov byte [esp + 0x24], 0x53
mov byte [esp + 0x27], 0x54
mov byte [esp + 0x28], 0x68
mov byte [esp + 0x29], dl
mov byte [esp + 0x2b], 0x61
mov byte [esp + 0x2c], 0x64
mov byte [esp + 0x2d], 0x47
mov byte [esp + 0x2e], dl
mov byte [esp + 0x2f], 0x6f
mov byte [esp + 0x30], 0x75
mov byte [esp + 0x31], 0x70
mov byte [esp + 0x32], 0x41
mov byte [esp + 0x36], 0x6e
mov byte [esp + 0x39], 0x79
mov byte [esp + 0x3a], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x100d3031
push ebp
push edi
push esi
call eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.100ffae6
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.100ffae6
add esp, 0x2c
ret 0xc
Function at 0x100d3050
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x34
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x30], eax
mov al, 0x65
mov byte [esp + 1], al
mov byte [esp + 4], al
mov byte [esp + 0x11], al
mov byte [esp + 0x18], al
mov byte [esp + 0x1d], al
mov al, 0x73
mov cl, 0x6c
mov byte [esp + 0x1e], al
mov byte [esp + 0x1f], al
mov al, 0x75
mov byte [esp + 5], cl
mov byte [esp + 0xa], cl
mov byte [esp + 0xb], cl
mov cl, 0x6f
mov byte [esp + 0x25], al
mov byte [esp + 0x29], al
mov dl, 0x72
lea eax, [esp + 0x10]
mov byte [esp + 0x1b], cl
mov byte [esp + 0x20], cl
mov byte [esp + 0x24], cl
mov byte [esp + 0x28], cl
push eax
lea ecx, [esp + 4]
push ecx
mov byte [esp + 8], 0x4b
mov byte [esp + 0xa], dl
mov byte [esp + 0xb], 0x6e
mov byte [esp + 0xe], 0x33
mov byte [esp + 0xf], 0x32
mov byte [esp + 0x10], 0x2e
mov byte [esp + 0x11], 0x64
mov byte [esp + 0x14], 0
mov byte [esp + 0x18], 0x47
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x1b], 0x41
mov byte [esp + 0x1c], 0x63
mov byte [esp + 0x1d], 0x74
mov byte [esp + 0x1e], 0x69
mov byte [esp + 0x1f], 0x76
mov byte [esp + 0x21], 0x50
mov byte [esp + 0x22], dl
mov byte [esp + 0x24], 0x63
mov byte [esp + 0x29], dl
mov byte [esp + 0x2a], 0x47
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2e], 0x70
mov byte [esp + 0x2f], 0x43
mov byte [esp + 0x32], 0x6e
mov byte [esp + 0x33], 0x74
mov byte [esp + 0x34], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x100d3154
call eax
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100ffae6
add esp, 0x34
ret
mov ecx, dword [esp + 0x30]
xor ecx, esp
xor ax, ax
call fcn.100ffae6
add esp, 0x34
ret

Function at 0x100d3170
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x38
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x34], eax
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
cmp dword [esp + 0x18], 2
jbe 0x100d3257
push esi
push 0
call fcn.10051920
add esp, 4
cmp eax, 3
jl 0x100d3232
cmp eax, 4
je 0x100d3232
push ebp
push edi
call fcn.100d3050
movzx ebp, ax
movzx edi, bp
xor esi, esi
test edi, edi
jle 0x100d3219
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
jmp 0x100d31d0
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x40], eax
xor ecx, ecx
test esi, esi
lea eax, [esi + esi*2]
lea eax, [eax*4 + 0x102cd880]
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov word [esp + 0x3c], si
jne 0x100d3203
mov dword [esp + 0x38], 1
push eax
lea ecx, [esp + 0x3c]
push ecx
call ebx
push eax
call fcn.100d2f30
add esi, 1
cmp esi, edi
jl 0x100d31d0
pop ebx
pop edi
mov word [0x102cda68], bp
pop ebp
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100ffae6
add esp, 0x38
ret
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
lea edx, [esp + 4]
push edx
push 0x101a4cf4
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcessAffinityMask]
push 1
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessAffinityMask]
pop esi
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.100ffae6
add esp, 0x38
ret
Function at 0x100d3270
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 0x100d32f1
push 0
call fcn.10051920
add esp, 4
cmp eax, 3
jl 0x100d32dd
cmp eax, 4
je 0x100d32dd
push esi
xor esi, esi
cmp word [0x102cda68], si
jbe 0x100d32cf
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_GetCurrentThread]
push edi
mov edi, 0x102cd880
push 0
push edi
call ebx
push eax
call fcn.100d2f30
movzx ecx, word [0x102cda68]
add esi, 1
add edi, 0xc
cmp esi, ecx
jl 0x100d32b1
pop edi
pop ebx
mov word [0x102cda68], 0
pop esi
add esp, 0x24
ret
mov edx, dword [0x101a4cf4]
push edx
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_SetProcessAffinityMask]
add esp, 0x24
ret

Function at 0x100d33b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x101671e9
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x101b7324]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push edi
mov eax, dword [0x101b7324]
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.1010233f
add esp, 4
call fcn.1010234c
and eax, reloc.OLEAUT32.dll_VariantInit
jns 0x100d3427
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 0x100d34fc
mov edi, eax
call fcn.1010234c
and eax, 0x8000001f
jns 0x100d34e1
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.1001e190
sub edi, 1
jne 0x100d34d0
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.100ffae6
add esp, 0x3c
ret
Function at 0x100d5a50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x884
mov eax, dword [0x101b7324]
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.10028430
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 0x100d5c9c
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 0x100d5c95
mov al, byte [esp + 0x1b]
test al, al
jbe 0x100d5c95
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.10100550
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.100d5710
add esp, 0x24
test eax, eax
je 0x100d5c95
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 0x100d5c60
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x898]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.100d57f0
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.100ffae6
add esp, 0x884
ret
Function at 0x100d5cc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x650
mov eax, dword [0x101b7324]
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.10028430
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 0x100d5ee7
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 0x100d5ecd
push esi
push 0x221
call fcn.100ff548
mov esi, eax
add esp, 4
cmp esi, ebp
je 0x100d5eab
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 0x100d5ea2
xor eax, eax
jmp 0x100d5e70
movzx edx, word [esi + eax*2 + 0x10]
mov dword [esp + eax*4 + 0x34], edx
add eax, 1
cmp eax, 0x100
jl 0x100d5e70
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x668]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
call fcn.100d57f0
add esp, 0xc
mov ebp, 1
push esi
call fcn.100ff60b
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.100ffae6
add esp, 0x650
ret
pop ebx
pop edi
mov eax, ebp
pop ebp
mov ecx, dword [esp + 0x64c]
xor ecx, esp
call fcn.100ffae6
add esp, 0x650
ret
mov ecx, dword [esp + 0x654]
pop edi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.100ffae6
add esp, 0x650
ret
Function at 0x100d5f00
Capabilities:
Contain obfuscated stackstrings
Get storage device properties

Disassembly:
mov eax, 0x314c
call fcn.10100520
mov eax, dword [0x101b7324]
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.10028430
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 0x100d616c
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.10100550
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 0x100d6165
mov ecx, dword [esp + 0xa60]
lea edx, [esp + 0x648]
push edx
lea eax, [esp + 0xa4c]
push eax
push ebx
push ecx
call fcn.100d58d0
add esp, 0x10
cmp byte [edi], bl
jne 0x100d612e
movsx dx, byte [esp + 0x648]
push edx
call fcn.10104778
add esp, 4
test eax, eax
jne 0x100d60a0
movsx ax, byte [esp + 0x65b]
push eax
call fcn.10104778
add esp, 4
test eax, eax
je 0x100d612e
mov eax, dword [esp + 0x3164]
cmp eax, ebx
jne 0x100d60c3
lea ecx, [esp + 0x648]
push ecx
push 0x400
push edi
call fcn.1010037a
add esp, 0xc
jmp 0x100d6129
cmp eax, 1
jne 0x100d60f0
mov ecx, dword [esp + 0xa58]
lea edx, [esp + 0x248]
push edx
lea eax, [esp + 0xa4c]
push eax
push ebx
push ecx
call fcn.100d58d0
lea edx, [esp + 0x258]
push edx
jmp 0x100d611b
cmp eax, 2
jne 0x100d6129
mov edx, dword [esp + 0xa5c]
lea eax, [esp + 0x248]
push eax
lea ecx, [esp + 0xa4c]
push ecx
push ebx
push edx
call fcn.100d58d0
lea eax, [esp + 0x258]
push eax
push 0x400
push edi
call fcn.1010037a
add esp, 0x1c
mov ebp, 1
push 0x2710
lea ecx, [esp + 0xa4c]
push ebx
push ecx
call fcn.10100550
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.100ffae6
add esp, 0x314c
ret
Function at 0x100d65d0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101672d0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x101b7324]
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 0x100d663d
push edi
mov ecx, dword [ebp + 0x10]
push ecx
push esi
call fcn.10101870
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 0x100d6980
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 0x100d69be
ja 0x100d69b2
cmp ecx, dword [esp + 0x4c]
jbe 0x100d69be
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], esi
mov ebp, dword [esp + 0x2c]
cmp ebp, edx
jb 0x100d6aef
mov esi, dword [esp + 0x28]
ja 0x100d69d8
cmp esi, edi
jb 0x100d6aef
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 0x100d6aef
jb 0x100d6a0b
cmp esi, ecx
jae 0x100d6aef
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 0x100d6a3a
ja 0x100d6a30
cmp ebx, dword [esp + 0x48]
jbe 0x100d6a3a
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.100d6550
add esp, 0xc
test eax, eax
je 0x100d6ac8
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 0x100d6ac4
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 0x100d6aba
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.100d68b0
mov esi, dword [esp + 0x40]
add esp, 0x14
add edi, dword [esp + 0x74]
cmp edi, dword [esp + 0x34]
jb 0x100d6a61
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 0x100d6a10
ja 0x100d6aee
cmp esi, dword [esp + 0x20]
jb 0x100d6a10
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x100da4f0
Capabilities:
Read .ini file

Disassembly:
push 0
push 0x102cda7c
call fcn.100439d0
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 0x102cda7c
call fcn.10043a60
pop ecx
ret 0x10
Function at 0x100daa60
Capabilities:
Read .ini file

Disassembly:
push esi
push 0
push 0x102cda7c
call fcn.100439d0
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 0x102cda7c
mov esi, eax
call fcn.10043a60
add esp, 4
lea eax, [esi - 1]
pop esi
ret 8
Function at 0x100dacf0
Capabilities:
Read .ini file

Disassembly:
push esi
push 0
push 0x102cda7c
call fcn.100439d0
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 0x102cda7c
mov esi, eax
call fcn.10043a60
add esp, 4
mov eax, esi
pop esi
ret 0xc
Function at 0x100dbb50
Capabilities:
Parse pe header

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

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
cmp dword [0x102cf19c], eax
je 0x100dc166
mov eax, 0x10dd
pop ecx
ret
push ebp
push esi
mov esi, dword [0x102cf1ac]
xor ebp, ebp
cmp esi, ebp
push edi
je 0x100dc1dc
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.100b1ec0
cmp dword [esi + 4], ebp
jne 0x100dc1cb
mov eax, dword [esi + 0x10]
cmp eax, ebp
je 0x100dc1cb
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.100ee4bd
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x100dc175
mov dword [0x102cf1ac], ebp
call fcn.100dbd50
mov esi, dword [0x102cf1a8]
cmp esi, ebp
je 0x100dc210
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.100ee4bd
add esp, 4
cmp edi, ebp
mov esi, edi
jne 0x100dc1f8
pop ebx
pop edi
pop esi
mov dword [0x102cf1a8], ebp
mov dword [0x102cf19c], ebp
xor eax, eax
pop ebp
pop ecx
ret