joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ff6a2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
inc ebx
test eax, eax
jne 0x100ff6ce
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x100ff856
cmp dword [ebp + 8], ebx
je 0x100ff6d9
cmp dword [ebp + 8], 2
jne 0x100ff6bf
mov edx, dword [eax]
xor ecx, ecx
push esi
push 0x104c
call fcn.100ff4d0
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x100ff855
push edi
mov ecx, esi
call fcn.100fba5e
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 8]
call fcn.1015ba5d
mov edi, eax
test edi, edi
je 0x100ff722
push dword [ebp - 8]
mov ecx, dword [esi + 0x10]
mov edx, edi
call fcn.1015bc2e
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, esi
call fcn.100ff867
mov ecx, dword [esi + 0x10]
call fcn.100e24e4
mov ecx, esi
call fcn.100e1bc9
test eax, eax
je 0x100ff75a
mov ecx, esi
call fcn.100fef2a
test eax, eax
je 0x100ff75a
mov eax, dword [esi + 0x24]
cmp dword [eax + 0x134], 0
je 0x100ff75a
mov edx, esi
call fcn.1010a3ca
cmp dword [esi + 0x38], 0
je 0x100ff764
or dword [esi + 0x48], 0xc
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + 4]
lea edi, [eax + 0x14]
test ecx, ecx
je 0x100ff826
mov esi, dword [ebp + 0xc]
dec ecx
cmp dword [edi + 0x10], 0
mov dword [ebp - 0xc], ecx
je 0x100ff814
cmp dword [edi + 0x24], 0
je 0x100ff7aa
mov edx, dword [ebp + 8]
mov ecx, edi
push esi
call fcn.100d89aa
mov ecx, dword [ebp - 0xc]
cmp eax, 0x80004001
je 0x100ff814
xor ebx, ebx
test eax, eax
setns bl
jmp 0x100ff814
cmp byte [edi + 0x3c], 0
jge 0x100ff7b5
mov eax, dword [edi + 0x5c]
jmp 0x100ff7bf
push 7
pop edx
mov ecx, edi
call fcn.10110711
mov dword [ebp - 8], eax
test eax, eax
je 0x100ff7db
push esi
push dword [ebp + 8]
mov ecx, eax
call dword [0x101a77c4]
call dword [ebp - 8]
neg eax
sbb eax, eax
and ebx, eax
test byte [edi + 0x3d], 4
je 0x100ff7e6
mov eax, dword [edi + 0x68]
jmp 0x100ff7f0
push 0xa
pop edx
mov ecx, edi
call fcn.10110711
mov dword [ebp - 8], eax
test eax, eax
je 0x100ff811
push fcn.100e3210
push esi
push dword [ebp + 8]
mov ecx, eax
call dword [0x101a77c4]
call dword [ebp - 8]
neg eax
sbb eax, eax
and ebx, eax
mov ecx, dword [ebp - 0xc]
add edi, 0x78
test ecx, ecx
jne 0x100ff778
mov esi, dword [ebp - 0x10]
test ebx, ebx
je 0x100ff84c
test dword [esi + 0x48], 0x100
je 0x100ff84c
mov edx, dword [esi + 0x18]
mov eax, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
and eax, 0x100000
push eax
push ecx
push dword [esi + 0x34]
mov ecx, dword [esi + 0x10]
call fcn.1010d1ec
mov ebx, eax
push esi
call fcn.100ff470
mov eax, ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10166ce0
mov esp, ebp
pop ebp
ret 8
Function at 0x100ffa29
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
xor edx, edx
mov dword [ebp - 0x10], edx
mov ecx, dword [esi + 0x4f8]
mov eax, dword [esi + 0x4f4]
mov dword [ebp - 8], ecx
test ecx, ecx
jne 0x100ffa6d
mov dword [esi + 0x4d0], eax
push ebx
mov ebx, dword [esi + 0x28]
mov eax, dword [ebx + 4]
test eax, eax
jne 0x100ffa7c
inc eax
jmp 0x100ffbcd
cmp dword [esi + 0x4d0], eax
je 0x100ffa5c
xor eax, eax
jmp 0x100ffbce
add ebx, 0x14
push edi
dec eax
cmp dword [ebx + 0x10], 0
mov dword [ebp - 0xc], eax
je 0x100ffbc0
cmp dword [ebx + 0x24], 0
jne 0x100ffabc
test byte [ebx + 0x3c], 4
je 0x100ffa9f
mov edx, dword [ebx + 0x48]
jmp 0x100ffab1
push 2
pop edx
mov ecx, ebx
call fcn.10110711
mov ecx, dword [ebp - 8]
mov edx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
test edx, edx
je 0x100ffbc0
mov edi, dword [ebx + 0x14]
test edi, edi
jne 0x100ffb1d
test ecx, ecx
jne 0x100ffbc0
push 0x3c
push 8
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
je 0x100ffb7a
mov dword [ebx + 0x14], edi
mov dword [edi], 0x3c
mov ecx, dword [esi + 0x28]
mov ecx, dword [ecx]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 0x10]
mov dword [edi + 8], ecx
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x44]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x2c]
mov dword [edi + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x58]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x4d4]
mov dword [edi + 0x24], eax
mov eax, dword [esi + 0x4d0]
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x2c], eax
cmp dword [ebx + 0x24], 0
mov eax, dword [edi + 0x30]
mov ecx, dword [esi + 0x54]
mov dword [ebp - 0x14], eax
push edi
je 0x100ffb7e
xor edx, edx
test ecx, ecx
mov ecx, ebx
setne dl
inc edx
call fcn.100d883b
cmp eax, 0x80004001
jne 0x100ffb70
push edi
push 0
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [ebx + 0x14], 0
mov ecx, dword [ebp - 8]
jmp 0x100ffbbd
test eax, eax
jns 0x100ffb97
cmp dword [ebp - 8], 0
je 0x100ffb5b
xor eax, eax
jmp 0x100ffbcc
xor eax, eax
test ecx, ecx
mov ecx, dword [ebp - 0x10]
setne al
inc eax
push eax
call dword [0x101a77c4]
call dword [ebp - 0x10]
test eax, eax
je 0x100ffb74
mov ecx, dword [ebp - 8]
test ecx, ecx
je 0x100ffbb4
mov eax, dword [edi + 0x30]
cmp dword [ebp - 0x14], eax
jne 0x100ffb7a
imul eax, eax, 0x34
add ecx, eax
add dword [esi + 0x4f8], eax
mov dword [ebp - 8], ecx
mov eax, dword [edi + 0x30]
add dword [esi + 0x4f4], eax
mov eax, dword [ebp - 0xc]
add ebx, 0x78
test eax, eax
jne 0x100ffa80
inc eax
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10166ce0
mov esp, ebp
pop ebp
ret
Function at 0x100ffbdd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0xc], edx
push edi
mov edi, dword [ebx + 0x28]
mov eax, dword [edi + 4]
test eax, eax
jne 0x100ffc06
inc eax
jmp 0x100ffcd7
add edi, 0x14
push esi
dec eax
cmp dword [edi + 0x10], 0
mov dword [ebp - 8], eax
je 0x100ffcca
cmp dword [edi + 0x24], 0
mov ecx, dword [ebx + 0x54]
je 0x100ffc33
test ecx, ecx
jne 0x100ffc2c
mov esi, 0x100e2eb0
jmp 0x100ffc65
mov esi, 0x100e2f40
jmp 0x100ffc65
mov dl, byte [edi + 0x3c]
test ecx, ecx
jne 0x100ffc48
test dl, 8
je 0x100ffc44
mov esi, dword [edi + 0x4c]
jmp 0x100ffc61
push 3
jmp 0x100ffc54
test dl, 0x10
je 0x100ffc52
mov esi, dword [edi + 0x50]
jmp 0x100ffc61
push 4
pop edx
mov ecx, edi
call fcn.10110711
mov esi, eax
mov eax, dword [ebp - 8]
test esi, esi
je 0x100ffcca
push 0x2c
push 8
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
test edx, edx
je 0x100ffce7
mov dword [edx], 0x2c
mov ecx, dword [ebx + 0x28]
push edx
push esi
push 5
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
mov ecx, dword [ebx + 0x10]
mov dword [edx + 8], ecx
mov eax, dword [ebx + 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [edx + 0x10], eax
mov eax, dword [ebx + 0x44]
mov dword [edx + 0x14], eax
mov eax, dword [ebx + 0x2c]
mov dword [edx + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [edx + 0x24], eax
mov dword [edx + 0x28], edi
mov esi, dword [ebx + 0x6c]
mov ecx, esi
push dword [ebx + 0x70]
call dword [0x101a77c4]
call esi
mov eax, dword [ebp - 8]
add edi, 0x78
test eax, eax
jne 0x100ffc0a
inc eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10166ce0
mov esp, ebp
pop ebp
ret
xor eax, eax
jmp 0x100ffcd6
Function at 0x101047b5
Capabilities:
Get file version info

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, edx
mov ebx, ecx
xor ecx, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], ecx
mov dword [esi], ecx
push edi
mov edi, ecx
test ebx, ebx
je 0x10104986
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10104986
cmp dword [eax + 4], ecx
je 0x10104986
lea ecx, [ebp - 0xc]
push ecx
push dword [eax + 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x10104883
push eax
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x10104844
mov esi, 0x8007000e
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x10104832
push dword [ebx]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov dword [ebx], eax
test edi, edi
je 0x1010483d
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, esi
jmp 0x1010498b
push edi
push dword [ebp - 0x10]
xor eax, eax
push eax
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
push dword [eax + 0x14]
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10104883
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 8]
push eax
push 0x10018f30
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10104883
cmp dword [ebp - 0x14], 0x14
jae 0x1010489f
mov esi, 0x8000ffff
jmp 0x1010481e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x1010489a
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x1010481e
mov esi, dword [ebp - 4]
mov eax, dword [ebx + 0x18]
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x18]
jne 0x101048ab
sub ecx, edx
sar ecx, 1
lea eax, [ecx + 0x59]
push eax
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [ebp - 0x10], eax
mov dword [esi], eax
test eax, eax
je 0x10104819
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
movzx eax, dx
push eax
mov eax, dword [ebx + 0x18]
shr edx, 0x10
push edx
mov eax, dword [eax + 0x10]
push dword [eax + 4]
mov eax, dword [ebp - 0x18]
push 0x10028a40
push 0x10025fd4
inc eax
push eax
push dword [ebp - 0x10]
call fcn.1003f277
mov esi, eax
add esp, 0x24
test esi, esi
js 0x1010481e
mov ecx, dword [ebx + 0x18]
xor ebx, ebx
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx + 4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x1010492c
mov ebx, dword [ebp - 4]
sub ecx, edx
sar ecx, 1
mov eax, dword [ebx]
add eax, 0x74
xor ebx, ebx
jmp 0x1010497c
test ecx, ecx
je 0x10104832
movzx edx, word [eax]
cmp edx, 0x41
jb 0x1010495c
cmp edx, 0x5a
jbe 0x10104976
cmp edx, 0x61
jb 0x10104966
cmp edx, 0x7a
jbe 0x10104976
cmp edx, 0x30
jb 0x10104970
cmp edx, 0x39
jbe 0x10104976
push 0x5f
pop edx
mov word [eax], dx
add eax, 2
sub ecx, 2
cmp word [eax], bx
jne 0x10104947
jmp 0x10104832
mov eax, 0x80070057
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1010bd2c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test edx, edx
je 0x1010bd51
movzx eax, byte [ecx]
xor eax, esi
shr esi, 8
movzx eax, al
xor esi, dword [eax*4 + 0x10029430]
inc ecx
sub edx, 1
jne 0x1010bd39
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x1010be85
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, edx
test edi, edi
je 0x1010bf14
test esi, esi
je 0x1010bf04
push 0
push 0x100080
push 3
push 0
push 1
push SysReAllocString
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
je 0x1010bf04
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x1010bed1
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx], eax
cmp eax, 0xffffffff
je 0x1010bf04
xor eax, eax
push eax
push eax
push eax
push 2
push eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov ebx, eax
test ebx, ebx
je 0x1010bf04
push 0
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
push ebx
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
jne 0x1010bf1b
cmp dword [edi], 0xffffffff
je 0x1010bf14
push dword [edi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
test esi, esi
je 0x1010bf1b
and dword [esi], 0
mov eax, dword [esi]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1010bf83
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
xor esi, esi
lea eax, [ebp - 0x20c]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x210], esi
lea eax, [ebp - 0x210]
mov edx, 0x103
mov ecx, 0x10029830
push eax
call fcn.1010bf42
mov edi, eax
mov ebx, esi
test edi, edi
js 0x1010c06b
mov ebx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x1010c006
mov edx, 0x103
cmp eax, edx
jae 0x1010c006
lea ecx, [ebx + eax]
cmp ecx, edx
jb 0x1010c00b
mov edi, 0x80004005
test edi, edi
js 0x1010c06b
push 0x5c
pop ecx
mov word [ebp + eax*2 - 0x20c], cx
mov edx, 0x104
push 0x10029830
lea ecx, [ebp - 0x20c]
call fcn.1003f209
test eax, eax
js 0x1010c06b
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [0x101a5fc4], eax
test eax, eax
je 0x1010c071
push 0x10029848
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1010c071
push 2
mov ecx, edi
call dword [0x101a77c4]
call edi
mov esi, eax
jmp 0x1010c071
mov dword [0x101a5fc4], esi
mov ecx, dword [ebp - 4]
pop edi
mov dword [0x101a5fc0], esi
xor ecx, ebp
pop esi
pop ebx
call fcn.10166ce0
mov esp, ebp
pop ebp
ret
Function at 0x1010d9c5
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0
push 0
xor edi, edi
push 5
inc edi
push 0x800
mov esi, edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov dword [ebp - 4], eax
test eax, eax
jle 0x1010da48
add eax, eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov ebx, eax
test ebx, ebx
je 0x1010da48
push dword [ebp - 4]
push ebx
push 5
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
cmp dword [ebp - 4], eax
jne 0x1010da1b
push ebx
call sub.msvcrt.dll__wtol
pop ecx
mov esi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp esi, edi
je 0x1010da48
cmp esi, 2
je 0x1010da48
lea eax, [esi - 0x32]
cmp eax, 9
ja 0x1010da38
cmp esi, 0x37
jne 0x1010da48
cmp esi, 0x1f4
jl 0x1010da4a
cmp esi, 0x258
jge 0x1010da4a
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101105a7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, edx
mov dword [ebp - 0x10], ecx
push edi
mov edi, dword [ebx + 4]
test edi, edi
jne 0x101105cf
xor eax, eax
inc eax
jmp 0x101106ff
push esi
lea esi, [ebx + 0x14]
mov eax, dword [esi + 4]
dec edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x101106a6
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 8
push 0
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esi + 0x10], eax
test eax, eax
je 0x1011064a
cmp dword [ebp + 8], 1
jne 0x101106a6
mov ecx, dword [ebp - 0x10]
mov edx, esi
call fcn.100d83cd
test eax, eax
jne 0x10110627
and dword [esi + 0x24], eax
test byte [esi + 0x3c], 1
je 0x10110651
mov edi, dword [esi + 0x40]
jmp 0x1011065c
cmp dword [esi + 0x24], 0
je 0x1011061c
lea ecx, [ebp - 8]
xor edx, edx
push ecx
push ecx
lea eax, [esi + 0xc]
inc edx
push eax
mov ecx, esi
call fcn.100d87c2
test eax, eax
js 0x1011064a
cmp dword [esi + 0xc], 0
jne 0x101106a6
xor eax, eax
jmp 0x101106fe
xor edx, edx
mov ecx, esi
call fcn.10110711
mov edi, eax
test edi, edi
je 0x1011064a
lea eax, [ebp - 8]
mov ecx, edi
push eax
push 4
lea eax, [ebp - 0x14]
push eax
push 2
call dword [0x101a77c4]
call edi
test eax, eax
je 0x1011064a
cmp dword [ebp - 0x14], 0x10000
jne 0x1011064a
lea ecx, [ebp - 8]
push ecx
push 4
lea eax, [esi + 0xc]
mov ecx, edi
push eax
push 1
call dword [0x101a77c4]
call edi
test eax, eax
je 0x1011064a
cmp dword [esi + 0xc], 0
je 0x1011064a
mov edi, dword [ebp - 0x18]
add esi, 0x78
test edi, edi
jne 0x101105d3
cmp dword [ebp + 8], 1
jne 0x101106fb
inc edi
cmp dword [ebx + 4], 1
jbe 0x101106fb
lea esi, [ebx + 0x8c]
cmp dword [esi + 0x10], 0
je 0x101106f2
xor eax, eax
test edi, edi
je 0x101106f2
mov edx, dword [esi + 0xc]
lea ecx, [ebx + 0x20]
cmp dword [ecx], edx
je 0x101106e4
inc eax
add ecx, 0x78
cmp eax, edi
jb 0x101106d6
jmp 0x101106f2
xor edx, edx
mov ecx, esi
inc edx
call fcn.101104b3
and dword [esi + 0xc], 0
inc edi
add esi, 0x78
cmp edi, dword [ebx + 4]
jb 0x101106c4
xor eax, eax
inc eax
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10166ce0
mov esp, ebp
pop ebp
ret 4
Function at 0x10110752
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, edx
mov dword [ebp - 0x10], ecx
push esi
mov esi, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 4]
mov dword [ebp - 8], edx
and dword [esi], edx
test ebx, ebx
jne 0x10110787
xor eax, eax
inc eax
jmp 0x10110847
lea esi, [eax + 0x14]
push edi
dec ebx
cmp dword [esi + 0x10], 0
je 0x10110833
mov eax, dword [esi + 0x18]
test al, 4
jne 0x1011082d
or eax, 4
lea edi, [ebp - 0x34]
mov dword [esi + 0x18], eax
xor eax, eax
cmp dword [esi + 0x24], 0
push 9
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], 0x24
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x28], eax
je 0x101107f1
lea eax, [ebp - 0x34]
xor edx, edx
push eax
inc edx
mov ecx, esi
call fcn.1004aba9
cmp eax, 0x80004001
je 0x101107eb
test eax, eax
js 0x10110859
test eax, eax
js 0x1011082a
jmp 0x1011081b
test byte [esi + 0x3c], 2
jne 0x1011082d
xor edx, edx
mov ecx, esi
inc edx
call fcn.10110711
mov edi, eax
test edi, edi
je 0x1011082a
lea eax, [ebp - 0x34]
mov ecx, edi
push eax
push 1
call dword [0x101a77c4]
call edi
test eax, eax
je 0x10110859
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10110827
cmp eax, 0xc
jb 0x10110859
mov dword [esi + 0x20], eax
mov edx, dword [ebp - 8]
add edx, dword [esi + 0x20]
mov dword [ebp - 8], edx
add esi, 0x78
test ebx, ebx
jne 0x1011078b
mov eax, dword [ebp + 8]
mov dword [eax], edx
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10166ce0
mov esp, ebp
pop ebp
ret 4
xor eax, eax
jmp 0x10110846
Function at 0x10112abe
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x101a4c2c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
mov ebx, edx
push 0
push eax
mov edi, ecx
call sub.msvcrt.dll_memset
xor eax, eax
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], eax
test edi, edi
je 0x10112b1a
test ebx, ebx
je 0x10112b1a
push 0x10018f30
push edi
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x10112b1f
mov esi, 0x80070057
and dword [ebx], 0
test esi, esi
js 0x10112beb
test edi, edi
je 0x10112b51
lea eax, [ebp - 0x214]
mov edx, 0x103
push eax
mov ecx, edi
call fcn.1010bf42
mov esi, eax
mov eax, dword [ebp - 0x214]
mov dword [ebp - 0x210], eax
jmp 0x10112b56
mov esi, 0x80070057
test esi, esi
jns 0x10112b69
and dword [ebp - 0x210], 0
test esi, esi
js 0x10112beb
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov ecx, eax
test ecx, ecx
je 0x10112b96
mov edx, 0x103
cmp ecx, edx
jae 0x10112b96
mov eax, dword [ebp - 0x210]
add eax, ecx
cmp eax, edx
jb 0x10112b9b
mov esi, 0x80004005
test esi, esi
js 0x10112beb
push 0x5c
pop eax
mov word [ebp + ecx*2 - 0x20c], ax
mov edx, 0x104
push edi
lea ecx, [ebp - 0x20c]
call fcn.1003f209
mov esi, eax
test esi, esi
js 0x10112beb
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
jne 0x10112be9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x10112beb
movzx esi, si
or esi, 0x80070000
jmp 0x10112beb
mov dword [ebx], eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10166ce0
mov esp, ebp
pop ebp
ret

Function at 0x10112e67
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
xor esi, esi
mov ebx, ecx
and dword [ebp - 4], esi
push edi
mov edi, edx
test edi, edi
jne 0x10112e89
mov eax, 0x80004003
jmp 0x10112f14
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x10029d38
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x10112ebb
jg 0x10112eae
mov esi, eax
jmp 0x10112eb7
movzx esi, ax
or esi, 0x80070000
test esi, esi
js 0x10112f12
lea eax, [ebp - 8]
mov dword [ebp - 8], 4
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x10
push ebx
push 0
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x10112ef1
jg 0x10112ee6
mov esi, eax
jmp 0x10112f09
movzx esi, ax
or esi, 0x80070000
jmp 0x10112f09
cmp dword [ebp - 0xc], 4
jne 0x10112f04
cmp dword [ebp - 8], 4
jne 0x10112f04
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
jmp 0x10112f09
mov esi, 0x8007000d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x101132e5
Capabilities:
Read .ini file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
push 0x1003b6db
push 0x2000
mov edi, edx
mov dword [ebp - 0xc], ecx
call fcn.1016721c
mov ebx, eax
mov esi, ebx
mov dword [ebp - 0x18], ebx
neg esi
pop ecx
sbb esi, esi
and esi, 0x7ff8fff2
add esi, 0x8007000e
pop ecx
test ebx, ebx
je 0x10113345
push edi
push 0x1000
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
test eax, eax
je 0x10113477
cmp eax, 0xffe
jne 0x10113345
mov esi, 0x8007007a
test esi, esi
js 0x10113477
xor ecx, ecx
mov dword [ebp - 0x10], ecx
cmp word [ebx], cx
je 0x10113474
mov edi, ebx
xor edx, edx
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, dx
jne 0x10113362
lea eax, [ebp - 4]
mov dword [ebp - 4], edx
push eax
sub edi, ecx
push 0x1002a150
push ebx
sar edi, 1
call dword [sym.imp.msvcrt.dll_wcstok_s]
add esp, 0xc
test eax, eax
je 0x10113464
cmp dword [ebp - 4], 0
je 0x10113464
mov ecx, eax
call fcn.101131fb
mov ecx, dword [ebp - 4]
mov edx, eax
mov dword [ebp - 8], edx
test ecx, ecx
jne 0x101133b0
mov eax, ecx
jmp 0x101133ba
call fcn.101131fb
mov edx, dword [ebp - 8]
xor ecx, ecx
mov dword [ebp - 4], eax
cmp word [edx], cx
je 0x10113466
cmp word [eax], cx
je 0x10113466
mov eax, ecx
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x10199528]
add ecx, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
cmp dword [ecx], 0
jne 0x101133fd
push dword [eax + 0x10199524]
push edx
call sub.msvcrt.dll__wcsicmp
pop ecx
pop ecx
test eax, eax
je 0x1011340c
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
add eax, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xf0
jb 0x101133d4
jmp 0x10113464
mov ecx, dword [ebp - 4]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 0x10]
jne 0x10113412
sub ecx, edx
sar ecx, 1
push 0x1003b6db
push 2
pop edx
lea eax, [ecx + 1]
xor ecx, ecx
mov dword [ebp - 0xc], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1016721c
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
test eax, eax
jne 0x10113451
mov esi, 0x8007000e
test esi, esi
js 0x10113464
push dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, eax
call fcn.1003f1d4
mov esi, eax
xor ecx, ecx
lea ebx, [ebx + edi*2]
add ebx, 2
test esi, esi
jns 0x10113352
mov ebx, dword [ebp - 0x18]
push ebx
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete_void__]
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4