joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43b590
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48f943
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00481302
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00486a72
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00487fca
test eax, eax
je 0x43b6ac
mov ecx, dword [esp + 0x3c]
call fcn.00486a9f
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43b670
push edi
mov ecx, esi
call fcn.00484061
mov ecx, esi
call fcn.0043b810
cmp dword [esp + 0x38], 1
jne 0x43b6a5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004841cb
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x43e0d0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43e103
push esi
call fcn.004411c0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43e0fc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43e189
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43e172
mov eax, dword [esi + 8]
test eax, eax
je 0x43e127
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43e16e
cmp eax, 2
je 0x43e172
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43e11a
cmp eax, 3
je 0x43e14d
cmp eax, 1
jne 0x43e11a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43e11a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43e11a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043e1b0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43e198
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043e1b0
add esp, 4
pop esi
ret

Function at 0x449d10
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x449db3
test eax, eax
jbe 0x449db3
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x449db3
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x449d5e
xor esi, esi
jmp 0x449d64
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x449d8f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.0044bc60
add esi, eax
push esi
mov ebx, esi
call fcn.0044bc60
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x449d70
pop ebp
test edi, edi
pop edi
jne 0x449db3
test ebx, ebx
je 0x449db3
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046fc00
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x449ef5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x44a00d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x44a00d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00481754
mov esi, eax
test esi, esi
je 0x44a00d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x44a00d
mov ecx, esi
call fcn.00449e60
cmp edi, eax
jge 0x44a00d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x449f93
mov dword [esp + 0x34], 1
jmp 0x449fee
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x44a00d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00449410
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x452720
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x6a816c]
xor edx, edx
cmp eax, edx
jne 0x452746
xor eax, eax
mov byte [eax + 0x6a806c], al
inc eax
cmp eax, 0x100
jl 0x45272e
mov dword [0x6a816c], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x6a806c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4527d7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4527aa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x452778
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x452850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4528a3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x45288a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459220
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49029e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00459b40
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x6577fc
call fcn.0047fa46
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4592b3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0047fa46
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4592ac
push 0
mov ecx, eax
call fcn.00450350
mov dword [esi + 0xc], eax
jmp 0x4592b5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4592b5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4820f8
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x482130
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.004801ac
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00480184
jmp 0x48213c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4837ea
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 0x48382c
call fcn.004894d1
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48382c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x483823
xor eax, eax
jmp 0x483834
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048383a
pop edi
pop esi
pop ebx
ret 4
Function at 0x489a01
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x489a2f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x489a4d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00489967
jmp 0x489a4d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x489a4d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00489967
test edi, edi
mov eax, edi
jne 0x489a37
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401060
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2c
test eax, eax
push esi
mov esi, ecx
je 0x401071
mov eax, dword [eax + 0x1c]
push eax
mov ecx, esi
call fcn.0047b4d2
test eax, eax
jne 0x401091
push str.Unable_to_subclass_existing_header__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
pop esi
add esp, 0x2c
ret 8
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 4]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0
push 0x1203
push ecx
mov dword [esp + 0x18], 0x14
call edi
mov edx, dword [esp + 0x1c]
or dh, 0x20
mov dword [esp + 0x1c], edx
call fcn.004834fa
mov eax, dword [eax + 8]
push 0x1000
push 0
push 0
push 0
push 0x137
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
lea edx, [esp + 8]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x1c]
push edx
push 0
push 0x1204
push eax
call edi
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [esi + 0x3c], ecx
mov eax, 1
pop esi
add esp, 0x2c
ret 8

Function at 0x4020e0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x160
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x1108
push eax
call edi
push eax
call fcn.00477222
test eax, eax
je 0x402111
lea ecx, [esi + 0x40]
call fcn.004771e2
push 0x4001
lea ecx, [esp + 0xc]
push 0x160
push ecx
push 0
push 0x4ad128
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x40215c
mov dword [esi + 0x44], eax
lea eax, [esi + 0x40]
test eax, eax
je 0x40213e
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x1c]
push eax
push 0
push 0x1109
push edx
call edi
push eax
call fcn.00477222
mov eax, dword [esp + 0x16c]
mov dword [esi + 0x3c], eax
pop edi
pop esi
add esp, 0x160
ret 4

Function at 0x402170
Capabilities:
Get disk information
Get file system object information

Disassembly:
sub esp, 0x1f4
lea eax, [esp + 0x14]
push ebx
push esi
push eax
mov ebx, ecx
push 0x80
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x402206
mov al, byte [esp + 0x1c]
lea esi, [esp + 0x1c]
test al, al
je 0x402206
push ebp
mov ebp, dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
push edi
push esi
lea ecx, [esp + 0x14]
push 0x4ad12c
push ecx
call fcn.00463fac
mov al, byte [esp + 0x1c]
add esp, 0xc
cmp al, 0x42
jle 0x4021ec
push 0x200
lea edx, [esp + 0xa8]
push 0x160
push edx
lea eax, [esp + 0x1c]
push 0
push eax
call ebp
lea ecx, [esp + 0xb0]
push 0xffff0000
push ecx
mov ecx, ebx
call fcn.00402b60
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov al, byte [esi + ecx + 1]
lea esi, [esi + ecx + 1]
test al, al
jne 0x4021a2
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x1f4
ret
Function at 0x402660
Capabilities:
Get common file path
Set current directory

Disassembly:
sub esp, 0x3e8
lea eax, [esp]
push esi
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov ecx, dword [esp + 0x3f0]
mov esi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push ecx
call esi
test eax, eax
jne 0x40269e
lea edx, [esp + 4]
push edx
call esi
xor eax, eax
pop esi
add esp, 0x3e8
ret 4
lea eax, [esp + 4]
push eax
call esi
mov eax, 1
pop esi
add esp, 0x3e8
ret 4

Function at 0x4026c0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0xcf8
lea eax, [esp + 0x140]
push ebx
mov ebx, dword [esp + 0xd00]
push ebp
push esi
push edi
push eax
mov ebp, ecx
push ebx
call fcn.004024a0
lea edi, [esp + 0x150]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x14f], 0x5c
je 0x40272d
mov edi, 0x4ad124
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x150]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x150]
lea ecx, [esp + 0x538]
push eax
push 0x4ad140
push ecx
call fcn.00463fac
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x538]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
test edi, edi
je 0x402841
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x150]
push ecx
push edx
lea eax, [esp + 0x928]
push 0x4ad138
push eax
call fcn.00463fac
add esp, 0x10
lea ecx, [esp + 0x920]
push ecx
mov ecx, ebp
call fcn.00402660
test eax, eax
je 0x40282d
mov esi, 0x4ad134
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x4027cd
test cl, cl
je 0x4027c9
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x4027cd
add eax, 2
add esi, 2
test cl, cl
jne 0x4027a9
xor eax, eax
jmp 0x4027d2
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40282d
mov esi, 0x4ad130
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x402803
test cl, cl
je 0x4027ff
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x402803
add eax, 2
add esi, 2
test cl, cl
jne 0x4027df
xor eax, eax
jmp 0x402808
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40282d
lea eax, [esp + 0x3c]
push ebx
push eax
mov ecx, ebp
call fcn.00402b60
push ebx
mov ecx, ebp
call fcn.00476fd3
test eax, eax
je 0x40282d
push ebx
mov ecx, ebp
call fcn.00402380
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x402767
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcf8
ret 4
Function at 0x402850
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x910
xor eax, eax
push ebx
push ebp
mov ebp, dword [esp + 0x91c]
push esi
mov ebx, ecx
push edi
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ecx + ebp - 1], 0x5c
je 0x4028a0
mov edi, 0x4ad124
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebp
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push ebp
lea eax, [esp + 0x154]
push 0x4ad140
push eax
call fcn.00463fac
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x150]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
test edi, edi
je 0x402994
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x538]
push eax
push ebp
push 0x4ad138
push ecx
call fcn.00463fac
add esp, 0x10
lea edx, [esp + 0x538]
mov ecx, ebx
push edx
call fcn.00402660
test eax, eax
je 0x40296d
mov esi, 0x4ad134
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40292e
test cl, cl
je 0x40292a
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40292e
add eax, 2
add esi, 2
test cl, cl
jne 0x40290a
xor eax, eax
jmp 0x402933
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40296d
mov esi, 0x4ad130
lea eax, [esp + 0x3c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x402964
test cl, cl
je 0x402960
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x402964
add eax, 2
add esi, 2
test cl, cl
jne 0x402940
xor eax, eax
jmp 0x402969
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x402982
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x402994
jmp 0x4028d3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x910
ret 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x910
ret 4
Function at 0x4029d0
Capabilities:
Get file system object information

Disassembly:
sub esp, 0x1c8
mov eax, dword [esp + 0x1cc]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push eax
call fcn.00402af0
mov edi, eax
xor ebp, ebp
test edi, edi
mov dword [esp + 0x10], edi
mov esi, 0xffff0000
jle 0x402ac9
mov edx, dword [esp + 0x1dc]
lea ecx, [esp + 0x14]
push ecx
push ebp
push edx
mov ecx, ebx
call fcn.00402b10
cmp esi, 0xffff0000
jne 0x402a81
mov edi, 0x4ad124
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x200
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x7c]
and ecx, 3
push 0x160
rep movsb byte es:[edi], byte [esi]
push eax
lea ecx, [esp + 0x20]
push 0
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
lea edx, [esp + 0x84]
push 0xffff0000
push edx
mov ecx, ebx
call fcn.00402b60
mov edi, dword [esp + 0x10]
mov esi, eax
jmp 0x402a90
lea eax, [esp + 0x14]
push esi
push eax
mov ecx, ebx
call fcn.00402b60
mov esi, eax
push esi
mov ecx, ebx
call fcn.004026c0
inc ebp
cmp edi, ebp
je 0x402aaf
mov ecx, dword [ebx + 0x1c]
push esi
push 2
push 0x1102
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebx + 0x1c]
push esi
push 0
push 0x1113
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp ebp, edi
jl 0x4029fe
push esi
mov ecx, ebx
call fcn.00402380
push esi
mov ecx, ebx
call fcn.00402270
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c8
ret 4
Function at 0x402f50
Capabilities:
Get graphical window text

Disassembly:
mov eax, dword [esp + 0x18]
sub esp, 0x34
test eax, eax
mov edx, ecx
jne 0x402f8b
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x50]
push ecx
push eax
push 0x23
mov ecx, edx
call fcn.00476ef4
add esp, 0x34
ret 0x18
push edi
mov ecx, 0xd
xor eax, eax
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0x1c]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 4]
mov dword [esp + 8], 0xffff0002
push ecx
push 0
push 0x1100
push edx
mov dword [esp + 0x1c], 0x63
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 1
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
add esp, 0x34
ret 0x18
Function at 0x407470
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4875e2
push eax
mov dword fs:[0], esp
sub esp, 0x120
push ebp
push esi
push edi
mov esi, ecx
call fcn.004834fa
mov ebp, dword [eax + 4]
mov ecx, esi
call fcn.00409a70
mov ecx, esi
call fcn.0040a270
mov ecx, esi
call fcn.004121a0
test eax, eax
je 0x4074b8
mov ecx, esi
call fcn.00413300
mov eax, dword [ebp + 0xe8]
test eax, eax
je 0x4074ed
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x4ad604
call fcn.0047c161
lea ecx, [esi + 0x6c]
call fcn.00458f10
push 5
lea ecx, [esi + 0x1574]
call fcn.0047b807
jmp 0x407650
lea edi, [ebp + 0xd0]
push 0x4ad5f0
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0047c388
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov dword [esp + 0x13c], 0
call fcn.0047be68
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.0044c9e0
mov eax, dword [0x4b20c8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push 0x4ad134
push 0x4ad5ec
lea ecx, [esp + 0x14]
mov byte [esp + 0x13c], 3
call fcn.00475ae6
push 0x4b61a0
push 0x4ad5e8
lea ecx, [esp + 0x14]
call fcn.00475ae6
push str.Version.dat
lea ecx, [esp + 0x28]
push edi
push ecx
call fcn.0047c388
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x138], 4
call fcn.0047c22c
lea ecx, [esp + 0x24]
mov byte [esp + 0x134], 3
call fcn.0047c0f3
mov edx, dword [esp + 0x10]
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x2c]
rep stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x30]
push 0x100
push eax
push 0
push str.addb.ads
push str.VERSION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0047c27c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0xc]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x4ad5a0
push ecx
call fcn.0047617b
add esp, 0xc
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call fcn.0047be68
lea ecx, [esi + 0x6c]
call fcn.00458f10
mov byte [esp + 0x134], 2
lea ecx, [esp + 0x14]
call fcn.0047c0f3
lea ecx, [esp + 0x18]
mov byte [esp + 0x134], 1
call fcn.0047c0f3
lea ecx, [esp + 0xc]
mov byte [esp + 0x134], 0
call fcn.0047c0f3
lea ecx, [esp + 0x10]
mov dword [esp + 0x134], 0xffffffff
call fcn.0047c0f3
lea eax, [esp + 0x28]
push eax
call fcn.00476352
lea ecx, [esp + 0x20]
push str.today:__Y
push ecx
lea ecx, [esp + 0x30]
call fcn.00476365
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov dword [esp + 0x13c], 5
call fcn.0047be68
lea ecx, [esi + 0x1854]
call fcn.00458f10
mov eax, dword [ebp + 0xe0]
push 0
test eax, eax
je 0x4076d3
mov ecx, esi
call fcn.0047b807
mov dword [esi + 0x1bf8], 1
mov eax, dword [ebp + 0xe4]
test eax, eax
je 0x4076ca
mov eax, dword [esi + 0x1c]
push 0
push 0x64
push 0x194
push eax
jmp 0x4076e1
mov ecx, esi
call fcn.0040a7e0
jmp 0x4076e7
mov ecx, dword [esi + 0x1c]
push 0x1f4
push 0x196
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
lea ecx, [esp + 0x20]
mov dword [esp + 0x134], 0xffffffff
call fcn.0047c0f3
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x12c
ret