joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41d1d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
push ebx
mov ebx, dword [ebp + 8]
mov dword [0x43fd30], 0
mov eax, dword [0x43fd34]
test eax, eax
je 0x41d1f7
push eax
call fcn.0041f190
pop ecx
mov dword [0x43fd34], 0
lea ecx, [ebp - 0x208]
mov edx, 0x43f0a8
push ecx
sub ecx, edx
mov ax, word [edx]
mov word [ecx + edx], ax
add edx, 2
test ax, ax
jne 0x41d20f
pop eax
push 0x43f2b0
lea eax, [ebp - 0x208]
push eax
call fcn.0041e5f0
add esp, 8
lea eax, [ebp - 0x208]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x308]
push eax
push str.Hot_keys
push str.1007
push str.controls
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x308]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x208]
push eax
push str.Menu_commands:
push 0xff4
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push str.Keys:
push 0xff8
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push str.Change_keys
push 0xff3
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push str.Delete_keys
push 0xff7
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push str.Apply_changes
push 0xff6
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x42a148
push 0xfd6
push ebx
call fcn.004168a0
lea eax, [ebp - 0x208]
push eax
push 0x42a13a
push 2
push ebx
call fcn.004168a0
push 2
push 0x10
push 0x10
push 0xff00ff
push 0x1f46
push 0x43c13c
call fcn.0041d3b0
push 0xffa
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [0x43c138], eax
mov eax, dword [0x43c13c]
push eax
push 0
push 0x1109
mov eax, dword [0x43c138]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [0x440448]
push eax
call fcn.0041d410
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4211e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebp
stosd dword es:[edi], eax
mov byte [ebp - 0x54], 0xe0
mov byte [ebp - 0x53], 0xc2
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00420f7b
mov al, byte [0x8dadde6d]
insd dword es:[edi], dx
fisubr word [ebp + 0x50a8458d]
call fcn.00420f8b
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00420f40
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x421269
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
Function at 0x4212e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xor esp, dword [ecx - 0x7717ba73]
pop ebp
call 0xe99f9b3c
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.00420f8b
push eax
push esi
push dword [ebp + 8]
call fcn.00420f40
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00420f8b
push eax
push esi
push dword [ebp + 8]
call fcn.00420f40
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00420f8b
push eax
push esi
push dword [ebp + 8]
call fcn.00420f40
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00420f7b
mov dword [0x880276d5], eax
popfd
jl 0x421400
invalid
invalid
Function at 0x424280
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0x1b
jne 0x424295
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret 0x14

Function at 0x4250d0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
cmp dword [ebp + 0xc], 0
je 0x4250f6
push 0
push 0
push 0x188
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
jmp 0x425108
push 0
push 0
push 0x188
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
cmp esi, 0xffffffff
je 0x425186
cmp dword [ebp + 0xc], 0
je 0x425127
push 0
push esi
push 0x199
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], eax
jmp 0x425139
push 0
push esi
push 0x199
push ebx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
cmp ebx, dword [0x43c16c]
jne 0x425149
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x34]
jmp 0x42514c
or edi, 0xffffffff
mov eax, edi
mov dword [0x43c164], eax
mov eax, 0x43c160
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
mov dword [0x43c160], edx
push eax
push 0
push 0x1ba6a
mov eax, dword [0x43c180]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
mov eax, dword [0x43c17c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x425190
Capabilities:
Hide graphical window

Disassembly:
or dword [0x43c164], 0xffffffff
mov eax, 0x43c160
mov edx, dword [0x43c15c]
imul ecx, dword [0x43c158], 0x18
mov edx, dword [ecx + edx*4 + 0x4391a0]
mov dword [0x43c160], edx
push eax
push 0
push 0x1ba6a
mov eax, dword [0x43c180]
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
push 0
mov eax, dword [0x43c17c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret
Function at 0x4016c2
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4016f5
push 0xfffffffffffffffe
pop eax
jmp 0x401867
lea eax, [ebp - 0xc]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 0xa]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 4], eax
jne 0x40171e
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40173a
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
lea eax, [ebp - 0x10]
push 0
push eax
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401742
or eax, 0xffffffff
jmp 0x401867
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [esi], 0x42
jne 0x401850
cmp byte [esi + 1], 0x4d
jne 0x401850
push 0
sub edi, 0xe
pop eax
je 0x401770
mov cl, byte [eax + esi + 0xe]
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x401764
cmp dword [esi + 0x10], 0
je 0x40177d
push 0xfffffffffffffff0
jmp 0x401852
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 4]
mov dword [edi + 8], eax
mov eax, dword [esi + 8]
and dword [edi + 4], 0
mov dword [edi + 0xc], eax
movzx eax, word [esi + 0xe]
dec eax
je 0x4017b9
sub eax, 3
je 0x4017b5
sub eax, 4
je 0x4017ae
sub eax, 0x10
jne 0x401850
xor eax, eax
jmp 0x4017bc
mov eax, 0x400
jmp 0x4017bc
push 0x40
jmp 0x4017bb
push 8
pop eax
mov ebx, dword [esi]
push 0
add ebx, eax
add ebx, esi
call dword [sym.imp.USER32.dll_GetDC]
and dword [ebp + 0xc], 0
push 0xc
push eax
mov dword [ebp + 8], eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
cmp eax, 8
jne 0x4017e6
mov dword [ebp + 0xc], 1
cmp word [esi + 0xe], 8
jne 0x401815
cmp dword [ebp + 0xc], 0
je 0x401815
push esi
call fcn.0040186e
pop ecx
mov dword [edi + 4], eax
push 0
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectPalette]
push dword [ebp + 8]
mov dword [ebp - 8], eax
call dword [sym.imp.GDI32.dll_RealizePalette]
push 0
push esi
push ebx
push 4
push esi
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov dword [edi], eax
cmp word [esi + 0xe], 8
jne 0x401842
cmp dword [ebp + 0xc], 0
je 0x401842
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectPalette]
push dword [ebp + 8]
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_ReleaseDC]
jmp 0x401853
push 0xfffffffffffffff8
pop esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x401e0c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00402923
test eax, eax
pop ecx
jne 0x401f61
mov esi, 0x411028
push esi
call fcn.004029ab
test eax, eax
pop ecx
jne 0x401f61
mov eax, dword [ebp + 0x20]
mov ecx, dword [0x411028]
push 0x411034
mov dword [eax], ecx
call fcn.00402964
test eax, eax
pop ecx
jne 0x401f61
mov edi, dword [ebp + 0x1c]
mov eax, dword [0x411034]
mov dword [edi], eax
cmp dword [0x411028], 1
jne 0x401e6f
xor eax, eax
jmp 0x401f61
lea eax, [ebp + 8]
push eax
push 0x411044
call fcn.00401de0
test eax, eax
jne 0x401f61
mov eax, dword [0x411028]
shl eax, 2
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [0x41102c], eax
jne 0x401eae
push 0xfffffffffffffffc
pop eax
jmp 0x401f61
push esi
call fcn.004029d3
mov ebx, eax
pop ecx
test ebx, ebx
je 0x401ee3
push dword [0x41102c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x41102c]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, ebx
jmp 0x401f61
movzx eax, word [ebp + 0x18]
push eax
mov dword [0x411038], edi
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_LoadIconA]
push 0
mov dword [0x41103c], eax
movzx eax, word [ebp + 0x14]
push 0x402139
push dword [ebp + 0xc]
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
mov edi, eax
mov eax, dword [0x41103c]
test eax, eax
je 0x401f26
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
cmp edi, 1
jne 0x401f2f
xor edi, edi
jmp 0x401f37
cmp edi, 2
jne 0x401f37
or edi, 0xffffffff
mov eax, dword [0x41102c]
test eax, eax
je 0x401f5f
mov esi, dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [0x41102c]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4024a7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
push dword [ebp + 8]
call edi
mov esi, eax
test esi, esi
mov dword [ebp - 8], esi
je 0x40262e
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextLengthA]
push esi
call ebx
mov dword [ebp - 4], eax
lea eax, [ebp - 0xd0]
push 0x7f
push eax
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
call esi
push 0x3eb
push dword [ebp + 8]
call edi
mov edi, eax
test edi, edi
mov dword [ebp - 0x10], edi
je 0x40262e
push edi
call ebx
cmp dword [ebp - 4], eax
jge 0x402519
lea eax, [ebp - 0xd0]
push 0x7f
push eax
push edi
call esi
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x40262e
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xd0]
push eax
push esi
call fcn.004071dd
push 1
push 0x40f060
push esi
mov edi, eax
call fcn.004071dd
push esi
push dword [ebp - 8]
movzx ebx, ax
call dword [sym.imp.USER32.dll_ReleaseDC]
and dword [ebp + 8], 0
movzx esi, di
add esi, ebx
shr edi, 0x10
test esi, esi
mov dword [ebp - 0x14], edi
je 0x40262e
test edi, edi
je 0x40262e
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
sub eax, dword [ebp - 0x24]
sub ecx, dword [ebp - 0x20]
cmp eax, esi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
jge 0x4025b8
mov edi, esi
push 1
sub edi, eax
add edi, ebx
add esi, ebx
pop ebx
mov dword [ebp - 4], esi
mov dword [ebp + 8], ebx
jmp 0x4025be
mov edi, dword [ebp + 8]
push 1
pop ebx
mov eax, dword [ebp - 0x14]
cmp ecx, eax
jge 0x4025ce
add eax, 4
mov dword [ebp + 8], ebx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 8], 0
je 0x40262e
mov esi, dword [sym.imp.USER32.dll_GetWindowPlacement]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], 0x2c
push dword [ebp - 0x10]
call esi
mov eax, dword [ebp - 0x34]
push ebx
push dword [ebp - 0xc]
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
sub eax, edi
push dword [ebp - 4]
push dword [ebp - 0x30]
push eax
push dword [ebp - 0x10]
call ebx
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0x2c
push eax
push dword [ebp - 8]
call esi
mov ecx, dword [ebp - 0x34]
push 1
push dword [ebp - 0xc]
lea eax, [edi + edi]
sub ecx, eax
push dword [ebp - 4]
push dword [ebp - 0x30]
push ecx
push dword [ebp - 8]
call ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402964
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x410f20
lea eax, [ebp - 0x14]
push 0x13
push eax
push 0x410790
push 0x40f0a0
push 0x40f094
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jne 0x402993
push 0xfffffffffffffffa
pop eax
leave
ret
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0x40f090
push eax
call fcn.00407964
add esp, 0xc
xor eax, eax
leave
ret
Function at 0x4029ab
Capabilities:
Read .ini file

Disassembly:
push 0x410f20
push 0
push 0x40f0a8
push 0x40f094
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 4]
mov dword [ecx], eax
neg eax
sbb eax, eax
and eax, 6
add eax, 0xfffffffa
ret

Function at 0x4029d3
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
xor ebx, ebx
cmp dword [edi], esi
jbe 0x402a53
push esi
push 0x40f0b8
lea eax, [ebp - 0x94]
push 0x40f0b0
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x14]
push 0x410f20
push 0x13
push eax
lea eax, [ebp - 0x94]
push 0x410790
push eax
push 0x40f094
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x402a50
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x14]
push 0x40f090
push eax
call fcn.00407964
mov eax, dword [edi + 4]
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [eax + esi*4], ecx
inc esi
cmp esi, dword [edi]
jb 0x4029ea
jmp 0x402a53
push 0xfffffffffffffffa
pop ebx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x402b34
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp - 4]
push edi
mov ebx, 0xf003f
push eax
push ebx
push 0
mov edi, 0x80000003
push 0x40f114
push edi
mov dword [ebp - 8], 9
call esi
test eax, eax
jne 0x402b95
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x410790
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0xc], 0
je 0x402bd8
lea eax, [ebp - 4]
push eax
push ebx
push 0
push 0x40f0ec
push edi
call esi
test eax, eax
jne 0x402bd3
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x40f0e4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x402bd8
push 0xfffffffffffffff8
pop eax
jmp 0x402bf8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x20]
push 0x40f090
push eax
call fcn.00407964
movzx eax, word [ebp - 0x14]
mov ecx, dword [ebp + 8]
add esp, 0xc
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x402bfd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
mov edi, 0x40f0bc
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push edi
push eax
call esi
push dword [ebp + 0xc]
lea eax, [ebp - 0xc]
push edi
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0xc]
push 0x411060
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0x410790
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
neg eax
sbb eax, eax
pop edi
and eax, 5
pop esi
add eax, 0xfffffffb
leave
ret
Function at 0x402f48
Capabilities:
Hide graphical window

Disassembly:
test byte [0x4107b8], 2
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_IsWindow]
push esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push edi
mov edi, dword [sym.imp.USER32.dll_UpdateWindow]
je 0x402f85
push dword [0x4107cc]
call ebp
test eax, eax
je 0x402f85
push 5
push dword [0x4107cc]
call esi
push dword [0x4107cc]
call edi
test byte [0x4107b8], 1
mov ebx, dword [esp + 0x14]
je 0x402fa3
push ebx
call ebp
test eax, eax
je 0x402fa3
push 5
push ebx
call esi
push ebx
call edi
jmp 0x402fa8
push 0
push ebx
call esi
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x402fb0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
push esi
push edi
lea eax, [ebp - 0x140]
push 0x105
push eax
push 0x1bc7
call fcn.0040550b
lea eax, [ebp - 0x140]
push eax
call fcn.004078ce
mov ebx, eax
mov edi, 0x7530
cmp ebx, edi
pop ecx
jbe 0x402fec
mov ebx, edi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
add eax, ebx
mov dword [0x4107ac], eax
call esi
add eax, 0x1d4c0
mov dword [0x4107b0], eax
call esi
and dword [0x4107c8], 0
push 0
push 0x3e8
push 0x3e9
push dword [ebp + 8]
add eax, edi
mov dword [0x4107b4], eax
call dword [sym.imp.USER32.dll_SetTimer]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40324a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [0x410f04], 0
push ebx
push esi
push edi
je 0x403282
push dword [ebp + 8]
call fcn.00403437
test eax, eax
pop ecx
jne 0x40328f
test byte [0x4107b8], 1
je 0x4033d5
xor dword [0x4107b8], 1
jmp 0x4033d5
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00403f5d
pop ecx
pop ecx
push 0x1b59
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExA]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x403351
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp + 0xc]
call fcn.004036e4
test eax, eax
pop ecx
je 0x403351
push dword [ebp + 0xc]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push dword [0x410f08]
push 0x1c21
push dword [ebp + 8]
push 0xc
call ebx
push eax
push 0xb
call ebx
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x40000000
push 0x40f1c4
push 0x40f1b4
push 0
call esi
mov ebx, eax
test ebx, ebx
je 0x4033d5
push dword [ebp + 0xc]
push 0
push ebx
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0
push dword [ebp - 4]
call edi
push 5
push ebx
call edi
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0x1c52
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40342f
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
push dword [0x410f08]
push 0x1c85
push dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x40000000
push 0x40f1a4
push 0x40f030
push 0
call esi
mov ebx, eax
test ebx, ebx
jne 0x4033d9
xor eax, eax
jmp 0x403432
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
push 0x31
push dword [ebp - 4]
call esi
push 0
push eax
push 0x30
push ebx
call esi
push 1
push 0
push 0x495
push ebx
call esi
push 0x800000
push 0
push 0x493
push ebx
call esi
push 0xffffff
push 0
push 0x494
push ebx
call esi
push 0
push dword [ebp - 4]
call edi
push 5
push ebx
call edi
push ebx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret