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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push 0x45cd1a
push 0x104
push 0x45ca0e
push 0x44ef8c
push 0x44fb21
push 0x47b7b2
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x402d08
jmp 0x402cff
push 0x45d12a
lea eax, [ebp - 0x100]
push eax
call fcn.004010a7
push 0x44ef92
lea eax, [ebp - 0x100]
push eax
call fcn.004010c5
lea eax, [ebp - 0x100]
push eax
call fcn.004010ef
lea eax, [eax + ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
push 2
lea eax, [ebp - 0x100]
push eax
push 0
push 0x54
call fcn.00401b07
cmp byte [0x45ca0e], 0
jne 0x402cad
leave
ret

Function at 0x402d0a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push 0x45cd1a
push 0x104
push 0x45ca0e
push 0x44ef8c
push str.Array
push 0x47b7b2
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x402d97
jmp 0x402d8e
push 0x45d12a
lea eax, [ebp - 0x100]
push eax
call fcn.004010a7
push 0x44ef92
lea eax, [ebp - 0x100]
push eax
call fcn.004010c5
lea eax, [ebp - 0x100]
push eax
call fcn.004010ef
lea eax, [eax + ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
push 2
lea eax, [ebp - 0x100]
push eax
push 0
push 0x52
call fcn.00401b07
cmp byte [0x45ca0e], 0
jne 0x402d3c
leave
ret

Function at 0x402d99
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
pushal
push 0
push dword [0x453948]
call sub.user32.dll_ShowWindow
push dword [0x45394c]
pop dword [0x4538fc]
push 0
push 0
push 0xb
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push 0
push 1
push 0x43f
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
push eax
push 0
push 0x434
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
cmp dword [ebp - 8], 0
je 0x402e0d
dec dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push 0
push 0x437
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
inc dword [ebp - 8]
push dword [ebp + 8]
call fcn.00415e92
push 0x46b93a
call fcn.004010ef
mov edx, dword [ebp - 8]
mov dword [0x45ff36], edx
sub edx, eax
mov dword [0x45ff32], edx
lea eax, [ebp - 8]
push eax
push 0
push 0x437
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x43f
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x184
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
mov dword [ebp - 0xc], 0
mov edi, dword [0x44f371]
call fcn.00402eda
push 0
push 1
push 0xb
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
cmp dword [ebp - 0xc], 0
je 0x402ebc
push dword [ebp + 8]
call fcn.00402a50
push 0
push 0
push 0x186
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
mov eax, dword [ebp + 8]
mov dword [0x44f3b5], eax
mov dword [0x45ffa2], eax
jmp 0x402ed5
push 0
push dword [0x4538fc]
call sub.user32.dll_ShowWindow
xor eax, eax
mov dword [0x44f3b5], eax
mov dword [0x45ffa2], eax
popal
leave
ret 4
Function at 0x403013
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb4
pushal
mov dword [ebp - 0x14c], 0
push dword [0x453948]
pop dword [0x4538fc]
push 0
push dword [0x453900]
call sub.user32.dll_ShowWindow
mov dword [0x44f3b9], 0
cmp dword [0x45ff96], 0
jne 0x403076
push 0x45ff32
push 0
push 0x434
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
push dword [0x4538c8]
pop dword [0x45ff96]
push 0
push 1
push 0x43f
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x148]
push eax
push 0
push 0x434
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
push 0x45ff32
push 0
push 0x437
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x140]
push eax
push 0
push 0x43e
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x148]
push eax
push 0
push 0x437
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x43f
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0xb
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x184
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push dword [ebp + 8]
push 0x467936
call fcn.004010a7
lea eax, [ebp - 0x40]
push eax
push 0x467936
call fcn.0040cd48
mov al, byte [ebp - 0x40]
or al, al
je 0x4031a7
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x140]
dec esi
dec edi
inc esi
inc edi
mov al, byte [edi]
or al, al
je 0x403179
cmp al, 0x61
jb 0x403164
cmp al, 0x7a
ja 0x403164
and al, 0x5f
mov ah, byte [esi]
cmp ah, 0x61
jb 0x403173
cmp ah, 0x7a
ja 0x403173
and ah, 0x5f
cmp al, ah
je 0x403152
jmp 0x403132
lea eax, [ebp - 0x40]
push eax
push 0
push 0x180
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push 0x20000
push eax
push 0x19a
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
jmp 0x403132
push dword [0x4538c8]
call fcn.00402a50
push 0
push 0
push 0x186
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push 0
push 1
push 0xb
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push dword [0x4538c8]
pop dword [0x44f3b5]
popal
leave
ret 4

Function at 0x403291
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push 0x45cd1a
push 0x104
push 0x45ca0e
push 0x44ef8c
push str.Const
push 0x47b7b2
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x40331e
jmp 0x403315
push 0x45d12a
lea eax, [ebp - 0x100]
push eax
call fcn.004010a7
push 0x44ef92
lea eax, [ebp - 0x100]
push eax
call fcn.004010c5
lea eax, [ebp - 0x100]
push eax
call fcn.004010ef
lea eax, [eax + ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
push 2
lea eax, [ebp - 0x100]
push eax
push 0
push 0x43
call fcn.00401b07
cmp byte [0x45ca0e], 0
jne 0x4032c3
leave
ret
Function at 0x403320
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push 0x45cd1a
push 0x104
push 0x45ca0e
push 0x44ef8c
push str.Struct
push 0x47b7b2
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x4033ad
jmp 0x4033a4
push 0x45d12a
lea eax, [ebp - 0x100]
push eax
call fcn.004010a7
push 0x44ef92
lea eax, [ebp - 0x100]
push eax
call fcn.004010c5
lea eax, [ebp - 0x100]
push eax
call fcn.004010ef
lea eax, [eax + ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
push 2
lea eax, [ebp - 0x100]
push eax
push 0
push 0x53
call fcn.00401b07
cmp byte [0x45ca0e], 0
jne 0x403352
leave
ret

Function at 0x4033af
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb8
pushal
push 0
push dword [0x453900]
call sub.user32.dll_ShowWindow
mov dword [0x44f3b9], 0
push 0
push 0
push 0xb
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push dword [0x453948]
pop dword [0x4538fc]
cmp dword [0x45ff9a], 0
jne 0x403419
push 0x45ff32
push 0
push 0x434
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
push dword [0x4538c8]
pop dword [0x45ff9a]
push 0
push 1
push 0x43f
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x148]
push eax
push 0
push 0x434
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
push 0x45ff32
push 0
push 0x437
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x140]
push eax
push 0
push 0x43e
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x148]
push eax
push 0
push 0x437
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x43f
push dword [0x4538c8]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x184
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push 0x44fb49
push 1
push 0x192
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push 0x2000
push dword [ebp + 8]
push 0x467936
call sub.kernel32.dll_lstrcpynA
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
push eax
push 0x467936
call fcn.0040cd48
mov al, byte [ebp - 0x40]
cmp al, 0x30
jb 0x4034ff
cmp al, 0x39
ja 0x4034ff
jmp 0x4034e0
mov al, byte [ebp - 0x40]
or al, al
je 0x403577
lea esi, [ebp - 0x40]
lea edi, [ebp - 0x140]
dec esi
dec edi
inc esi
inc edi
mov al, byte [edi]
or al, al
je 0x403538
cmp al, 0x61
jb 0x403523
cmp al, 0x7a
ja 0x403523
and al, 0x5f
mov ah, byte [esi]
cmp ah, 0x61
jb 0x403532
cmp ah, 0x7a
ja 0x403532
and ah, 0x5f
cmp al, ah
je 0x403511
jmp 0x4034e0
lea esi, [ebp - 0x40]
push esi
push 0
push 0x180
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
cmp dword [ebp + 0xc], 0x73
jne 0x40355b
mov edx, 0x50000
jmp 0x403560
mov edx, 0x40000
push edx
push eax
push 0x19a
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
jmp 0x4034e0
push dword [0x4538c8]
call fcn.00402a50
push 0
push 0
push 0x186
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push 0
push 1
push 0xb
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push dword [0x4538c8]
pop dword [0x44f3b5]
popal
leave
ret 8
Function at 0x403d31
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push 0x45cd1a
push 0x104
push 0x45ca0e
push 0x44ef8c
push str.Word
push 0x47b7b2
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x403dbe
jmp 0x403db5
push 0x45d12a
lea eax, [ebp - 0x100]
push eax
call fcn.004010a7
push 0x44ef92
lea eax, [ebp - 0x100]
push eax
call fcn.004010c5
lea eax, [ebp - 0x100]
push eax
call fcn.004010ef
lea eax, [eax + ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
push 2
lea eax, [ebp - 0x100]
push eax
push 0
push 0x57
call fcn.00401b07
cmp byte [0x45ca0e], 0
jne 0x403d63
leave
ret

Function at 0x403fcc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
pushal
push 0
push dword [0x453948]
call sub.user32.dll_ShowWindow
push dword [0x45394c]
pop dword [0x4538fc]
push 0
push 0
push 0xb
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
push 0
push 1
push 0x43f
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
lea eax, [ebp - 8]
push eax
push 0
push 0x434
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
cmp dword [ebp - 8], 0
je 0x404043
dec dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push 0
push 0x437
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
inc dword [ebp - 8]
push dword [ebp + 8]
call fcn.00415e92
push 0x46b93a
call fcn.004010ef
mov edx, dword [ebp - 8]
mov dword [0x45ff36], edx
sub edx, eax
mov dword [0x45ff32], edx
lea eax, [ebp - 8]
push eax
push 0
push 0x437
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x43f
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
push 0
push 0
push 0x184
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
mov dword [ebp - 0xc], 0
cmp dword [0x45c4c0], 0
jne 0x4040de
push dword [ebp + 8]
call fcn.0040feb2
push dword [ebp + 8]
call fcn.0040f8bd
push dword [0x45ff66]
call sub.kernel32.dll_GlobalUnlock
push dword [0x45ff66]
call sub.kernel32.dll_GlobalFree
mov dword [0x45ff66], 0
mov edi, dword [0x44f371]
call fcn.00404149
push 0
push 1
push 0xb
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
cmp dword [ebp - 0xc], 0
je 0x40412b
push dword [ebp + 8]
call fcn.00402a50
push 0
push 0
push 0x186
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
mov eax, dword [ebp + 8]
mov dword [0x44f3b5], eax
mov dword [0x45ff9e], eax
jmp 0x404144
push 0
push dword [0x4538fc]
call sub.user32.dll_ShowWindow
xor eax, eax
mov dword [0x44f3b5], eax
mov dword [0x45ff9e], eax
popal
leave
ret 4

Function at 0x404394
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push 0x45cd1a
push 0x104
push 0x45ca0e
push 0x44ef8c
push str.Message
push 0x47b7b2
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x404421
jmp 0x404418
push 0x45d12a
lea eax, [ebp - 0x100]
push eax
call fcn.004010a7
push 0x44ef92
lea eax, [ebp - 0x100]
push eax
call fcn.004010c5
lea eax, [ebp - 0x100]
push eax
call fcn.004010ef
lea eax, [eax + ebp - 0x100]
push eax
push 0x45ca0e
call fcn.0040cd48
push 2
lea eax, [ebp - 0x100]
push eax
push 0
push 0x4d
call fcn.00401b07
cmp byte [0x45ca0e], 0
jne 0x4043c6
leave
ret
Function at 0x404423
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call sub.user32.dll_GetWindowTextA
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x108]
push eax
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x40449c
mov dword [ebp - 4], eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push dword [ebp - 4]
call sub.kernel32.dll_GetFileTime
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
push 0x1c
push dword [ebp + 8]
call sub.user32.dll_GetWindowLongA
mov edx, dword [ebp - 0x110]
mov dword [eax], edx
mov edx, dword [ebp - 0x10c]
mov dword [eax + 4], edx
leave
ret 4

Function at 0x4046af
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push esi
call fcn.00404667
cmp dword [0x45c4cc], 0
je 0x40470d
xor eax, eax
mov dword [ebp - 8], eax
mov esi, dword [0x44fb65]
jmp 0x4046e2
cmp dword [esi], 0
je 0x4046d9
inc eax
jmp 0x4046ee
add esi, 0x108
inc dword [ebp - 8]
cmp byte [esi + 4], 0
je 0x4046ee
cmp dword [ebp - 8], 0x40
jb 0x4046d1
or eax, eax
je 0x40470d
lea eax, [ebp - 4]
push eax
push 0x20
push 0
push 0x4044a0
push 0
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x44fb61], eax
pop esi
leave
ret

Function at 0x404710
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push esi
push edi
push 0x104
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call sub.user32.dll_GetWindowTextA
push dword [ebp + 8]
call fcn.00404423
lea eax, [ebp - 0x104]
push eax
call fcn.004010ef
jmp 0x40475c
cmp byte ss:[eax + ebp - 0x104], 0x5c
jne 0x40475b
mov byte ss:[eax + ebp - 0x104], 0
jmp 0x404760
dec eax
or eax, eax
jne 0x404745
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4047ec
xor edi, edi
mov dword [ebp - 0x108], edi
mov esi, dword [0x44fb65]
jmp 0x4047ae
cmp dword [esi], 0
je 0x40479c
lea eax, [ebp - 0x104]
push eax
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_lstrcmpiA
or eax, eax
je 0x4047e0
jmp 0x4047a2
or edi, edi
jne 0x4047a2
mov edi, esi
add esi, 0x108
inc dword [ebp - 0x108]
cmp byte [esi + 4], 0
je 0x4047bd
cmp dword [ebp - 0x108], 0x40
jb 0x404781
or edi, edi
je 0x4047c3
mov esi, edi
cmp dword [ebp - 0x108], 0x40
jb 0x4047d0
or edi, edi
je 0x4047ec
lea eax, [ebp - 0x104]
push eax
lea eax, [esi + 4]
push eax
call fcn.004010a7
inc dword [esi]
cmp dword [esi], 1
jne 0x4047ec
call fcn.004046af
pop edi
pop esi
leave
ret 4
Function at 0x4047f2
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push esi
push 0x104
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 8]
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x104]
push eax
call fcn.004010ef
jmp 0x404835
cmp byte ss:[eax + ebp - 0x104], 0x5c
jne 0x404834
mov byte ss:[eax + ebp - 0x104], 0
jmp 0x404839
dec eax
or eax, eax
jne 0x40481e
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x404877
mov esi, dword [0x44fb65]
jmp 0x404871
cmp dword [esi], 0
je 0x40486b
lea eax, [ebp - 0x104]
push eax
lea eax, [esi + 4]
push eax
call sub.kernel32.dll_lstrcmpiA
or eax, eax
je 0x40487c
add esi, 0x108
cmp byte [esi + 4], 0
jne 0x404852
pop esi
leave
ret 4
dec dword [esi]
cmp dword [esi], 0
jne 0x404888
call fcn.004046af
pop esi
leave
ret 4
Function at 0x4048e7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call sub.user32.dll_CopyRect
lea esi, [ebp - 0x18]
sub dword [esi + 8], 1
mov eax, dword [esi + 8]
sub eax, dword [esi]
jns 0x404919
mov eax, dword [esi + 8]
xchg dword [esi], eax
mov dword [esi + 8], eax
sub eax, dword [esi]
dec dword [esi]
inc dword [esi + 8]
inc eax
mov dword [ebp - 8], eax
sub dword [esi + 0xc], 1
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 4]
jns 0x40493b
mov eax, dword [esi + 0xc]
xchg dword [esi + 4], eax
mov dword [esi + 0xc], eax
sub eax, dword [esi + 4]
dec dword [esi + 4]
inc dword [esi + 0xc]
inc eax
mov dword [ebp - 4], eax
dec dword [esi + 8]
dec dword [esi + 0xc]
mov edi, dword [ebp + 0x10]
shl edi, 4
add edi, 0x47fd46
cmp dword [ebp + 0xc], 0
jne 0x404a3f
push 0
push dword [0x453904]
push 0
push dword [0x4538b0]
push 2
push dword [ebp - 8]
push dword [esi + 4]
push dword [esi]
push 0x80000004
push 0
push str.Static
push 0
call sub.user32.dll_CreateWindowExA
mov dword [edi], eax
push 4
push eax
call sub.user32.dll_ShowWindow
push 0
push dword [0x453904]
push 0
push dword [0x4538b0]
push dword [ebp - 4]
push 2
push dword [esi + 4]
push dword [esi + 8]
push 0x80000004
push 0
push str.Static
push 0
call sub.user32.dll_CreateWindowExA
mov dword [edi + 4], eax
push 4
push eax
call sub.user32.dll_ShowWindow
push 0
push dword [0x453904]
push 0
push dword [0x4538b0]
push 2
push dword [ebp - 8]
push dword [esi + 0xc]
push dword [esi]
push 0x80000004
push 0
push str.Static
push 0
call sub.user32.dll_CreateWindowExA
mov dword [edi + 8], eax
push 4
push eax
call sub.user32.dll_ShowWindow
push 0
push dword [0x453904]
push 0
push dword [0x4538b0]
push dword [ebp - 4]
push 2
push dword [esi + 4]
push dword [esi]
push 0x80000004
push 0
push str.Static
push 0
call sub.user32.dll_CreateWindowExA
mov dword [edi + 0xc], eax
push 4
push eax
call sub.user32.dll_ShowWindow
jmp 0x404ad7
cmp dword [ebp + 0xc], 1
jne 0x404a97
push 1
push 3
push dword [ebp - 8]
push dword [esi + 4]
push dword [esi]
push dword [edi]
call sub.user32.dll_MoveWindow
push 1
push dword [ebp - 4]
push 3
push dword [esi + 4]
push dword [esi + 8]
push dword [edi + 4]
call sub.user32.dll_MoveWindow
push 1
push 3
push dword [ebp - 8]
push dword [esi + 0xc]
push dword [esi]
push dword [edi + 8]
call sub.user32.dll_MoveWindow
push 1
push dword [ebp - 4]
push 3
push dword [esi + 4]
push dword [esi]
push dword [edi + 0xc]
call sub.user32.dll_MoveWindow
jmp 0x404ad7
cmp dword [ebp + 0xc], 2
jne 0x404ad7
push dword [edi]
call sub.user32.dll_DestroyWindow
mov dword [edi], 0
push dword [edi + 4]
call sub.user32.dll_DestroyWindow
mov dword [edi + 4], 0
push dword [edi + 8]
call sub.user32.dll_DestroyWindow
mov dword [edi + 8], 0
push dword [edi + 0xc]
call sub.user32.dll_DestroyWindow
mov dword [edi + 0xc], 0
pop edi
pop esi
leave
ret 0xc
Function at 0x406309
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x406411
push 1
push 0xb
push 0x402
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 1
push 0xb
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 0
push 0xd
push 0x402
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 0
push 0xd
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 0
push 0xc
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 0
push 0x12
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 1
push 0xe
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 1
push 0xf
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 1
push 1
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 1
push 0x10
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 1
push 0x11
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 0
push dword [0x45391c]
call sub.user32.dll_ShowWindow
push 5
push dword [0x453910]
call sub.user32.dll_ShowWindow
jmp 0x406507
push 0
push 0xb
push 0x402
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 0
push 0xb
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 1
push 0xd
push 0x402
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 1
push 0xd
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 1
push 0xc
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 1
push 0x12
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 0
push 0xe
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 0
push 0xf
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 0
push 1
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 0
push 0x10
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 0
push 0x11
push 0x404
push dword [0x453918]
call sub.user32.dll_SendMessageA
push 5
push dword [0x45391c]
call sub.user32.dll_ShowWindow
push 0
push dword [0x453910]
call sub.user32.dll_ShowWindow
leave
ret 4
Function at 0x407d26
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push 0x45cd1a
push 0
push str.Version
push str.Version
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [ebp - 4], eax
cmp eax, 0x8a7
jae 0x407dd9
push 0x45cd1a
push 0
push str.Back
push str.Color
call sub.kernel32.dll_GetPrivateProfileIntA
push 0x45ca0e
push eax
call fcn.004011b7
mov esi, 0x44fa9b
jmp 0x407d9a
lea esi, [esi + 8]
push 0x45cd1a
push 0x45ca0e
push esi
push str.Color
call sub.kernel32.dll_WritePrivateProfileStringA
push esi
call fcn.004010ef
lea esi, [eax + esi + 1]
cmp dword [esi], 0
jne 0x407d78
mov dword [ebp - 0x28], 0
mov byte [ebp - 0x24], 0x42
jmp 0x407dd3
lea eax, [ebp - 0x23]
push eax
push dword [ebp - 0x28]
call fcn.004011b7
push 0x45cd1a
push 0x45ca0e
lea eax, [ebp - 0x24]
push eax
push str.Color
call sub.kernel32.dll_WritePrivateProfileStringA
inc dword [ebp - 0x28]
cmp dword [ebp - 0x28], 0x10
jb 0x407dac
mov eax, dword [0x44f399]
or eax, eax
je 0x407ea0
mov edx, dword [0x44f2e9]
cmp eax, 1
jne 0x407e50
cmp dword [ebp - 4], 0x8a9
ja 0x407e2c
push 0x45cd1a
push str.C___db___dw___dd___dq___df___dt___byte___word___dword___qword___real4___real8___tbyte
push str.Data
push str.Code
call sub.kernel32.dll_WritePrivateProfileStringA
push 0x45cd1a
push str.MasmmasmArray.api
push str.Array
push 0x44fb06
call sub.kernel32.dll_WritePrivateProfileStringA
cmp dword [ebp - 4], 0x8aa
jae 0x407e77
push 0x45cd1a
push str.masmParse.dll
push str.ParseDll
push str.Code
call sub.kernel32.dll_WritePrivateProfileStringA
jmp 0x407e77
cmp eax, 7
jne 0x407e77
cmp dword [ebp - 4], 0x8a9
ja 0x407e77
push 0x45cd1a
push str.CppcppArray.api
push str.Array
push 0x44fb06
call sub.kernel32.dll_WritePrivateProfileStringA
push 0x45ca0e
push dword [0x44f2e9]
call fcn.004011b7
push 0x45cd1a
push 0x45ca0e
push str.Version
push str.Version
call sub.kernel32.dll_WritePrivateProfileStringA
leave
ret

Function at 0x407ea2
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push esi
mov esi, 0x46fc52
mov dword [ebp - 4], 0x30
jmp 0x407ef4
push 0x45cc16
push 0x100
push esi
push 0x44ef8c
lea eax, [ebp - 4]
push eax
push str.RecentFiles
call sub.kernel32.dll_GetPrivateProfileStringA
cmp byte [esi], 0
je 0x407eeb
push esi
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x407eeb
add esi, 0x100
mov dword [esi], 0
inc byte [ebp - 4]
cmp dword [ebp - 4], 0x39
jbe 0x407eb7
pop esi
leave
ret

Function at 0x407efd
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffffc
push esi
mov dword [ebp - 4], 0x3d30
push 0x45cc16
lea eax, [ebp - 4]
push eax
push str.RecentFiles
call sub.kernel32.dll_WritePrivateProfileSectionA
mov esi, 0x46fc52
mov dword [ebp - 4], 0x30
jmp 0x407f59
cmp byte [esi], 0
je 0x407f53
push esi
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x407f53
push 0x45cc16
push esi
lea eax, [ebp - 4]
push eax
push str.RecentFiles
call sub.kernel32.dll_WritePrivateProfileStringA
inc byte [ebp - 4]
add esi, 0x100
cmp esi, 0x470652
jb 0x407f2c
pop esi
leave
ret