joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440e10
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4891d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0047fe70
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00440770
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.0047fd9e
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047c585
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047c585
push 1
push 0
push 0
mov ecx, esi
call fcn.0047c52d
push 1
push 0
push 1
mov ecx, esi
call fcn.0047c52d
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047fee2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x440f90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4891f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0047fe70
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00440770
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.0047fd9e
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x441054
cmp dword [esp + 0x40], 1
jne 0x441052
cmp ecx, eax
jge 0x441054
mov eax, ecx
cmp eax, 0xc8
jge 0x441060
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00440e10
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0047fee2
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x441850
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4892a3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047a9a6
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00480118
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00481670
test eax, eax
je 0x44196c
mov ecx, dword [esp + 0x3c]
call fcn.00480145
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x441930
push edi
mov ecx, esi
call fcn.0047d700
mov ecx, esi
call fcn.00441b10
cmp dword [esp + 0x38], 1
jne 0x441965
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047d86a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x443b70
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x443ba3
push esi
call fcn.00451f20
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x443b9c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x443c29
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x443c12
mov eax, dword [esi + 8]
test eax, eax
je 0x443bc7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x443c0e
cmp eax, 2
je 0x443c12
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x443bba
cmp eax, 3
je 0x443bed
cmp eax, 1
jne 0x443bba
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x443bba
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x443bba
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00443c50
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x443c38
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00443c50
add esp, 4
pop esi
ret

Function at 0x4444c0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4444e1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4444e1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4444e1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x45f3a0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x48977b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
lea eax, [esp + 0x14]
push esi
xor esi, esi
push eax
push 0x104
mov dword [esp + 0x1c], esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
jae 0x45f480
lea ecx, [esp + 0x18]
lea edx, [esp + 0x18]
push ecx
push esi
push 0x53c1cc
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp eax, esi
je 0x45f480
lea eax, [esp + 0x18]
push 0x1001
push eax
lea ecx, [esp + 0xc]
call fcn.0047999a
mov dword [esp + 0x128], esi
mov esi, dword [esp + 0x134]
push str.lt_
push 0x53c1c0
mov ecx, esi
call fcn.00476996
push str.gt_
push 0x53c1b4
mov ecx, esi
call fcn.00476996
mov esi, dword [esi]
lea ecx, [esp + 4]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.00479c4e
lea ecx, [esp + 4]
call fcn.00479d12
mov esi, dword [esp + 0x130]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call fcn.00479379
lea ecx, [esp + 4]
mov dword [esp + 0x128], 0xffffffff
call fcn.00479a3a
jmp 0x45f493
mov esi, dword [esp + 0x130]
push 0x54d5e4
mov ecx, esi
call fcn.00479379
mov ecx, dword [esp + 0x120]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x128
ret
Function at 0x47b79b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47b7d3
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004797b2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047978a
jmp 0x47b7df
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47ce89
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47cecb
call fcn.00482b7c
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47cecb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47cec2
xor eax, eax
jmp 0x47ced3
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047ced9
pop edi
pop esi
pop ebx
ret 4

Function at 0x4830ac
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4830da
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4830f8
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00483012
jmp 0x4830f8
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4830f8
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00483012
test edi, edi
mov eax, edi
jne 0x4830e2
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x10001010
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push ebp
nop
nop
mov ebp, esp
add esp, 7
add esp, 0xfffffff9
add esp, 2
sub esp, 2
add esp, 9
add esp, 0xfffffff7
add esp, 8
sub esp, 8
mov esp, ebp
pop ebp
xor eax, 1
add eax, 2
jne 0x10001040
je 0x10001040
call 0x930400c7
rol byte [ebx + eax*4], 0xf0
add eax, 0xc833db33
xor eax, 3
add eax, 4
xor eax, 5
xor ebx, ebx
xor ecx, eax
nop
mov ebx, dword fs:[0x30]
nop
nop
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov ebx, dword [ebx]
mov ebx, dword [ebx]
mov ebx, dword [ebx + 0x10]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100017b0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push ebp
nop
mov ebp, esp
push esi
pop esi
add esp, 9
add esp, 0xfffffff7
nop
nop
mov esp, ebp
pop ebp
mov esi, dword [ebp + 0x10]
push 0xcb2ce3db
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
call fcn.10001010
push eax
call fcn.10001580
mov dword [ebp - 0xc], eax
mov eax, dword [esi]
xor ecx, ecx
add esp, 8
mov cx, word [eax + 0x14]
cmp word [eax + 6], 0
mov dword [ebp - 0x10], 0
lea ebx, [ecx + eax + 0x18]
jbe 0x10001905
add ebx, 0x10
mov dword [ebp - 4], ebx
push ebp
nop
mov ebp, esp
add esp, 9
sub esp, 9
inc ecx
dec ecx
add esp, 2
add esp, 0xfffffffe
nop
mov esp, ebp
nop
pop ebp
cmp dword [ebx], 0
jne 0x10001897
nop
push ebp
nop
mov ebp, esp
push esi
pop esi
add esp, 0xa
sub esp, 0xa
add esp, 6
sub esp, 6
inc ecx
dec ecx
nop
mov esp, ebp
pop ebp
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x100018e5
nop
push ebp
mov ebp, esp
push 0x695b
add esp, 7
sub esp, 7
test esi, esi
push ebx
pop ebx
mov esp, ebp
nop
pop ebp
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
push 4
push 0x1000
mov eax, dword [ebx - 4]
push esi
add eax, ecx
push eax
call dword [ebp - 0xc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx - 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
jmp 0x100018e5
nop
mov ecx, dword [ebx - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebx]
push 4
push 0x1000
add ecx, edx
push eax
push ecx
call dword [ebp - 0xc]
nop
nop
push ebp
nop
mov ebp, esp
add esp, 0xa
add esp, 0xfffffff6
inc ecx
dec ecx
add esp, 9
add esp, 0xfffffff7
nop
mov esp, ebp
nop
nop
pop ebp
mov ecx, dword [ebx]
mov esi, dword [ebx + 4]
mov edi, dword [ebp + 8]
mov edx, ecx
add esi, edi
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [ebx - 8], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x10]
inc eax
add ebx, 0x28
mov edx, dword [ecx]
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov cx, word [edx + 6]
cmp eax, ecx
jl 0x1000180d
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000d2e0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
nop
push ebp
nop
mov ebp, esp
inc ecx
dec ecx
mov esp, ebp
nop
pop ebp
xor eax, 1
add eax, 2
jne 0x1000d300
je 0x1000d300
call 0x9304c387
rol byte [ebx + eax*4], 0xf0
add eax, 0x8b905590
in al, dx
xor eax, 3
add eax, 4
xor eax, 5
nop
push ebp
nop
mov ebp, esp
add esp, 5
sub esp, 5
inc ecx
dec ecx
test esi, esi
inc ecx
dec ecx
nop
mov esp, ebp
pop ebp
nop
push str.PathRemoveFileSpecA
push str.Shlwapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
nop
nop
nop
xor ecx, ecx
mov byte [ebp - 0x18], 0x5c
mov dword [ebp - 0x17], ecx
mov byte [ebp - 0x17], 0x74
mov dword [ebp - 0x13], ecx
mov byte [ebp - 0x16], 0x65
mov word [ebp - 0xf], cx
mov byte [ebp - 0x15], 0x6d
mov byte [ebp - 0xd], cl
mov byte [ebp - 0x14], 0x70
nop
nop
push ebp
nop
nop
mov ebp, esp
inc ecx
dec ecx
add esp, 0xa
sub esp, 0xa
test esi, esi
add esp, 6
sub esp, 6
mov esp, ebp
pop ebp
push 0x10012a48
call eax
lea edx, [ebp - 0x18]
push edx
push 0x10012a48
call dword [sym.imp.KERNEL32.dll_lstrcatA]
nop
nop
push ebp
mov ebp, esp
add esp, 0xa
add esp, 0xfffffff6
inc ecx
dec ecx
add esp, 2
sub esp, 2
push 0xffff8016
nop
mov esp, ebp
nop
nop
pop ebp
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push 0x10012a48
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000d4ea
nop
push ebp
nop
mov ebp, esp
push 0xffffb87d
inc ecx
dec ecx
nop
nop
mov esp, ebp
nop
pop ebp
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x1d4c0
mov dword [ebp - 4], eax
jb 0x1000d4ea
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [ebp - 4]
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push ecx
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
nop
nop
mov ebp, esp
inc ecx
dec ecx
push esi
pop esi
nop
mov esp, ebp
nop
pop ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 4]
push 0x1001004c
push edx
push ebx
call fcn.1000d1b0
xor eax, eax
push ebx
mov dword [ebp - 0xb], eax
mov byte [ebp - 0xc], 0x52
mov word [ebp - 7], ax
mov byte [ebp - 0xb], 0x75
mov byte [ebp - 5], al
mov byte [ebp - 0xa], 0x6e
call fcn.10001370
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000d492
push ebp
nop
mov ebp, esp
add esp, 5
sub esp, 5
push edi
pop edi
add esp, 1
sub esp, 1
test esi, esi
nop
nop
mov esp, ebp
pop ebp
lea ecx, [ebp - 0xc]
push ecx
push esi
call fcn.10001d50
add esp, 8
call eax
push esi
call fcn.10001e20
add esp, 4
push 0x2ddd7efc
call fcn.10001010
push eax
call fcn.10001070
add esp, 8
mov esi, eax
push str.HeapFree
call fcn.10001010
push eax
call esi
push 0xa4057483
mov esi, eax
call fcn.10001010
push eax
call fcn.10001070
add esp, 8
push ebx
push 0
call eax
push eax
call esi
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10002b1a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
call sub.mfc100.dll_Ordinal_9475
movzx eax, byte [0x10342ad0]
mov dl, byte [0x11f6d2e]
xor edi, edi
xor ecx, ecx
test eax, eax
jle 0x10002b7f
mov al, byte [ecx + 0x10342ad1]
mov bl, byte [ecx + 0x10342ad2]
sub bl, dl
sub al, dl
sub bl, 2
sub al, 2
shl al, 4
and bl, 0xf
add bl, al
movzx eax, byte [0x10342ad0]
mov byte [ebp + edi - 0x168], bl
add ecx, 2
inc edi
cmp ecx, eax
jl 0x10002b4c
push 0x1f4
mov byte [ebp + edi - 0x168], 0
call sub.mfc100.dll_Ordinal_265
mov dword [esp], 0x10111b20
push 0x1008b758
push eax
mov dword [ebp - 0x16c], eax
call dword [sym.imp.MSVCR100.dll_sprintf]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
add esp, 0xc
push dword [ebp - 0x16c]
lea eax, [ebp - 0x68]
push 0x64
push eax
mov ebx, 0x1008aec4
push ebx
push 0x1008b754
lea eax, [ebp - 0x168]
push eax
call edi
xor edx, edx
lea ecx, [ebp + edx - 0x68]
mov al, byte [ecx]
test al, al
je 0x10002bec
inc edx
not al
mov byte [ecx], al
cmp edx, 0xc8
jl 0x10002bd5
lea eax, [ebp - 0x68]
push eax
lea ecx, [esi + 0xb8]
call sub.mfc100.dll_Ordinal_12868
push dword [ebp - 0x16c]
lea eax, [ebp - 0x68]
push 0x64
push eax
push ebx
push 0x1008b750
lea eax, [ebp - 0x168]
push eax
call edi
xor edx, edx
lea ecx, [ebp + edx - 0x68]
mov al, byte [ecx]
test al, al
je 0x10002c2f
inc edx
not al
mov byte [ecx], al
cmp edx, 0xc8
jl 0x10002c18
lea eax, [ebp - 0x68]
push eax
lea ecx, [esi + 0x12c]
call sub.mfc100.dll_Ordinal_12868
push dword [ebp - 0x16c]
lea eax, [ebp - 0x68]
push 0x64
push eax
push 0x1008b74c
push str.CHECK2
lea eax, [ebp - 0x168]
push eax
call edi
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.MSVCR100.dll_atoi]
pop ecx
push 0
push eax
push 0xf1
push dword [esi + 0x24c]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x16c]
call sub.mfc100.dll_Ordinal_1296
pop ecx
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 9
mov ecx, esi
call sub.mfc100.dll_Ordinal_12962
mov ecx, dword [ebp - 4]
pop edi
xor eax, eax
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.10083a34
leave
ret

Function at 0x1000360a
Capabilities:
Encode data using base64

Disassembly:
mov edx, 0x180900ba
movzx edx, byte [ebp + edx - 0x180900ba]
xor dl, bl
xor dl, 0xb9
inc dl
call fcn.104485d1
call fcn.104a759a
call fcn.1051d22b

Function at 0x1000375b
Capabilities:
Authenticate hmac

Disassembly:
not ax
mov dword [esp + eax - 0x68183407], edx
inc ecx
ror ecx, 1
pop eax
neg al
jno 0x104c7a64
xor ebx, ecx
sal al, 0x27
ror eax, 0x1a
add edi, ecx
mov ecx, dword [esi]
mov eax, dword [esi + 4]
add esi, 4
call fcn.1044765c
inc ecx
bswap ecx
shl eax, 0xdb
inc ax
ror dl, 0xc3
not ecx
not eax
jae 0x1042d660
Function at 0x1000730e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 4
mov eax, 0x1008501c
call fcn.10083a43
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.page1.0
lea ecx, [esi + 0x1380]
mov dword [ebp - 4], 0x24
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0x130c]
mov byte [ebp - 4], 0x23
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0x1298]
mov byte [ebp - 4], 0x22
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0x1224]
mov byte [ebp - 4], 0x21
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0x11b0]
mov byte [ebp - 4], 0x20
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0x113c]
mov byte [ebp - 4], 0x1f
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0x10c8]
mov byte [ebp - 4], 0x1e
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0x1054]
mov byte [ebp - 4], 0x1d
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xfe0]
mov byte [ebp - 4], 0x1c
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xf6c]
mov byte [ebp - 4], 0x1b
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xef8]
mov byte [ebp - 4], 0x1a
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xe84]
mov byte [ebp - 4], 0x19
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xe10]
mov byte [ebp - 4], 0x18
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xd9c]
mov byte [ebp - 4], 0x17
call sub.mfc100.dll_Ordinal_915
mov byte [ebp - 4], 0x16
lea ecx, [esi + 0xd28]
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xcb4]
mov byte [ebp - 4], 0x15
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xc40]
mov byte [ebp - 4], 0x14
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xbcc]
mov byte [ebp - 4], 0x13
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xb58]
mov byte [ebp - 4], 0x12
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xae4]
mov byte [ebp - 4], 0x11
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xa58]
mov byte [ebp - 4], 0x10
call fcn.10001272
lea ecx, [esi + 0x9ac]
mov byte [ebp - 4], 0xf
call fcn.100019b9
lea ecx, [esi + 0x8f0]
mov byte [ebp - 4], 0xe
call fcn.100019b9
lea ecx, [esi + 0x844]
mov byte [ebp - 4], 0xd
call fcn.100019b9
lea ecx, [esi + 0x798]
mov byte [ebp - 4], 0xc
call fcn.100019b9
lea ecx, [esi + 0x6ec]
mov byte [ebp - 4], 0xb
call fcn.100019b9
lea ecx, [esi + 0x640]
mov byte [ebp - 4], 0xa
call fcn.100019b9
lea ecx, [esi + 0x594]
mov byte [ebp - 4], 9
call fcn.100019b9
lea ecx, [esi + 0x4e8]
mov byte [ebp - 4], 8
call fcn.100019b9
lea ecx, [esi + 0x43c]
mov byte [ebp - 4], 7
call fcn.100019b9
lea ecx, [esi + 0x390]
mov byte [ebp - 4], 6
call fcn.100019b9
lea ecx, [esi + 0x2e4]
mov byte [ebp - 4], 5
call fcn.100019b9
lea ecx, [esi + 0x238]
mov byte [ebp - 4], 4
call fcn.100019b9
lea ecx, [esi + 0x1ac]
mov byte [ebp - 4], 3
call fcn.10001272
lea ecx, [esi + 0x130]
mov byte [ebp - 4], 2
call sub.mfc100.dll_Ordinal_915
lea ecx, [esi + 0xa0]
call dword [sym.imp.mfc100.dll_Ordinal_901]
lea ecx, [esi + 0x9c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call sub.mfc100.dll_Ordinal_946
call fcn.10083b1b
ret
Function at 0x10016157
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100a69a0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x103b26b8], 1
jne 0x1001617d
call fcn.100157ff
cmp eax, dword [0x103b26b4]
jle 0x100161a2
cmp dword [0x103b26c0], 1
jne 0x100161d4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x103b26bc]
sub eax, dword [0x103bcb74]
imul ecx, ecx, 0xea60
cmp eax, ecx
jbe 0x100161d4
cmp dword [0x12ad060], 1
jne 0x100161b5
call fcn.10039b4c
jmp 0x100162c7
mov eax, dword [0x103be1bc]
add eax, 0x52
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_KillTimer]
call fcn.100140fa
jmp 0x100162c7
push ebx
push esi
mov esi, dword [0x35f42ac]
push edi
xor ebx, ebx
xor edi, edi
call fcn.10005f4e
test eax, eax
je 0x1001620d
add esi, 0x53c
mov eax, dword [esi]
test eax, eax
je 0x10016200
cmp dword [eax + 0x334], 1
jne 0x10016200
inc ebx
inc edi
add esi, 4
call fcn.10005f4e
cmp edi, eax
jb 0x100161f0
cmp ebx, dword [0x103b2618]
pop edi
pop esi
pop ebx
jge 0x10016221
cmp dword [0x103b261c], 1
je 0x10016246
cmp dword [0x103b2620], 1
jne 0x1001626f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x103b2624]
sub eax, dword [0x103bcb6c]
imul ecx, ecx, 0xea60
cmp eax, ecx
jb 0x1001626f
cmp dword [0x12ad060], 1
je 0x100161ab
mov eax, dword [0x103be1bc]
add eax, 0x52
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x1008f9c4
jmp 0x100162b5
push 0x32
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x103b2628
call sub.mfc100.dll_Ordinal_6969
lea eax, [ebp - 0x38]
push 0x1008f9bc
push eax
call sub.MSVCR100.dll_strcmp
pop ecx
pop ecx
test eax, eax
jne 0x100162c7
cmp dword [0x12ad060], eax
jne 0x100162c7
mov eax, dword [0x103be1bc]
add eax, 0x52
push eax
push dword [0x100e04bc]
call dword [sym.imp.USER32.dll_KillTimer]
push 0x1008f9b0
call fcn.10006dd0
mov dword [esp], 0x1008f9a8
call fcn.100160a9
pop ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10083a34
leave
ret 0x10