joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a432
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x41a478
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x41a473
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x41a45d
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x41a465
cmp edx, ebx
jne 0x41a5b3
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x41a434
add eax, dword [eax + 4]
jmp 0x41a421
mov dword [ebp + 0xc], ebx
jmp 0x41a483
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41a49b
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41a517
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41a4fe
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41a507
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41a511
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41a4f3
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41a47d
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41a564
dec eax
je 0x41a55b
sub eax, 3
je 0x41a552
mov dword [ebp - 4], 0x40
jmp 0x41a581
mov dword [ebp - 4], 4
jmp 0x41a567
mov dword [ebp - 4], 0x20
jmp 0x41a567
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x41a5b3
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41a533
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.00419dc4
ja 0x41a542
les ebx, [edi + 0x6a1475ff]
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x41a5bf
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41a48c
Capabilities:
Inspect section memory permissions

Disassembly:
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
add byte [eax - 0x15], ah
push ds
Function at 0x41a8e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi + 0x7fffff9], ebx
and byte [ebp - 0x661], 0
mov byte [ebp - 0x660], 0xb0
mov byte [ebp - 0x65f], 0x9d
mov byte [ebp - 0x65e], 0x99
mov byte [ebp - 0x65d], 0x88
mov byte [ebp - 0x65c], 0xb9
mov byte [ebp - 0x65b], 0x94
mov byte [ebp - 0x65a], 0x94
mov byte [ebp - 0x659], 0x97
mov byte [ebp - 0x658], 0x9b
mov byte [ebp - 0x657], 0xf8
lea eax, [ebp - 0x664]
push eax
call fcn.00419dd4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419d89
add esp, 0xc
mov dword [ebp - 0x67c], eax
and byte [ebp - 0x524], 0
and byte [ebp - 0x523], 0
mov byte [ebp - 0x522], 0x15
and byte [ebp - 0x521], 0
mov byte [ebp - 0x520], 0xa2
mov byte [ebp - 0x51f], 0x8f
mov byte [ebp - 0x51e], 0x8b
mov byte [ebp - 0x51d], 0x9a
mov byte [ebp - 0x51c], 0xac
mov byte [ebp - 0x51b], 0x98
mov byte [ebp - 0x51a], 0x8f
mov byte [ebp - 0x519], 0x8f
mov byte [ebp - 0x518], 0xea
lea eax, [ebp - 0x524]
push eax
call fcn.00419dd4
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00419d89
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.00419dc4
jo 0x41a9f0
cmp al, 0xcd
and byte [ebp - 0x514], 0
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
invalid
test esp, esi
cli
Function at 0x41d6e8
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x42900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x41d733
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041d905
test al, al
jne 0x41d72d
sub edx, 2
cmp edx, edi
jne 0x41d713
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41d755
lea eax, [edi + 2]
cmp edx, eax
je 0x41d755
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041d634
add esp, 0x10
jmp 0x41d84f
push esi
lea ecx, [ebp - 0x255]
call fcn.0041d905
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41d798
push dword [ebp - 0x25c]
jmp 0x41d745
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x41d7d5
cmp word [ebp - 0x226], 0
je 0x41d7f6
cmp word [ebp - 0x226], ax
jne 0x41d7d5
cmp word [ebp - 0x224], 0
je 0x41d7f6
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041d634
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41d842
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41d7af
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41d82a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41d84f
push 0x41d464
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00421120
add esp, 0x10
jmp 0x41d81f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004148a7
leave
ret

Function at 0x41e678
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x402b38
push 0x402b30
push 0x401bcc
push 0x1f
call fcn.0041e573
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e6ac
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c2c4]
call esi
jmp 0x41e6b2
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41e6f6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x402b48
push 0x402b40
push 0x401bf0
push 0x21
call fcn.0041e573
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e72d
push dword [ebp + 8]
mov ecx, esi
call dword [0x42c2c4]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x41e735
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x402b50
push 0x402b48
push 0x401c04
push 0x22
call fcn.0041e573
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41e76f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42c2c4]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x514490
Capabilities:
Resolve dns

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x2c
mov ebx, eax
mov ebp, edx
mov edx, ecx
mov ecx, 0x10
xor eax, eax
mov edi, ebx
rep stosb byte es:[edi], al
mov word [ebx], 2
and edx, 0xffff
mov dword [esp], edx
call sub.WS2_32.dll_htons
push edi
mov word [ebx + 2], ax
test ebp, ebp
je 0x5144e8
mov dword [esp], ebp
call sub.WS2_32.dll_inet_addr
push esi
mov dword [esp + 0x1c], eax
cmp eax, 0xffffffff
je 0x5144ec
mov dword [ebx + 4], eax
mov eax, 1
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
xor eax, eax
jmp 0x5144d6
mov dword [esp], ebp
call sub.WS2_32.dll_gethostbyname
push ecx
test eax, eax
je 0x514510
lea edx, [esp + 0x1c]
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov esi, dword [eax]
mov edi, edx
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x1c]
jmp 0x5144d6
mov dword [esp], 0x94
call fcn.00505cd8
xor eax, eax
jmp 0x5144de

Function at 0x514520
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x4c
mov esi, eax
mov ebp, edx
mov ebx, ecx
mov dword [esp + 0x1c], 1
mov dword [esp], 0x68c300
call fcn.00509098
mov edi, eax
call fcn.00513738
test eax, eax
je 0x514704
call fcn.00513738
test eax, eax
je 0x5146b0
mov ecx, ebp
mov edx, ebx
lea eax, [esp + 0x20]
call fcn.00514490
test eax, eax
je 0x514710
mov eax, dword [esp + 0x64]
test eax, eax
je 0x514718
call fcn.00513738
test eax, eax
je 0x5146b0
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
lea eax, [esp + 0x30]
call fcn.00514490
test eax, eax
je 0x514710
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
call sub.WS2_32.dll_socket
sub esp, 0xc
invalid
Function at 0x585c40
Capabilities:
Write file on windows

Disassembly:
push edi
push esi
push ebx
sub esp, 0x50
mov ebx, eax
mov esi, edx
movsx edi, byte [eax]
lea edx, [esp + 0x1e]
call fcn.00585b70
mov dword [esp + 0xc], edi
mov dword [esp + 8], eax
mov dword [esp + 4], str._s.___c
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov al, byte [ebx + 1]
test al, 1
jne 0x585e88
test al, 2
jne 0x585e60
test al, 4
jne 0x585e38
test al, 8
jne 0x585e10
test al, 0x10
jne 0x585de8
test al, 0x40
je 0x585dc0
mov eax, dword [ebx + 4]
test eax, eax
jne 0x585da4
cmp dword [ebx + 8], 0x10001
je 0x585cfb
movsx eax, word [ebx + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__d_
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
movsx eax, word [ebx + 0xa]
cmp ax, 0x100
je 0x585ceb
mov dword [esp + 8], eax
mov dword [esp + 4], 0x62f54c
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov dword [esp + 4], esi
mov dword [esp], 0x7d
call sub.msvcrt.dll_fputc
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x14]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str.__ld__ld
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x585d41
lea edx, [esp + 0x1e]
call fcn.00585b70
mov dword [esp + 8], eax
mov dword [esp + 4], str._L:_s
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x585d65
lea edx, [esp + 0x1e]
call fcn.00585b70
mov dword [esp + 8], eax
mov dword [esp + 4], str._R:_s
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
mov eax, dword [ebx + 0x1c]
test eax, eax
jne 0x585eb0
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x585d8e
mov edx, esi
call fcn.00585c40
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x585d9c
mov edx, esi
call fcn.00585c40
add esp, 0x50
pop ebx
pop esi
pop edi
mov dword [esp + 8], eax
mov dword [esp + 4], str.___d_
mov dword [esp], esi
call sub.msvcrt.dll_fprintf
jmp 0x585cac
mov dword [esp + 0xc], esi
mov dword [esp + 8], 7
mov dword [esp + 4], 1
mov dword [esp], str._UNUSED
call sub.msvcrt.dll_fwrite
jmp 0x585ca1
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str._hasbackref
call sub.msvcrt.dll_fwrite
mov al, byte [ebx + 1]
jmp 0x585c99
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0xb
mov dword [esp + 4], 1
mov dword [esp], str._hascapture
call sub.msvcrt.dll_fwrite
mov al, byte [ebx + 1]
jmp 0x585c91
mov dword [esp + 0xc], esi
mov dword [esp + 8], 9
mov dword [esp + 4], 1
mov dword [esp], str._hasmixed
call sub.msvcrt.dll_fwrite
mov al, byte [ebx + 1]
jmp 0x585c89
mov dword [esp + 0xc], esi
mov dword [esp + 8], 9
mov dword [esp + 4], 1
mov dword [esp], str._shortest
call sub.msvcrt.dll_fwrite
mov al, byte [ebx + 1]
jmp 0x585c81
mov dword [esp + 0xc], esi
mov dword [esp + 8], 8
mov dword [esp + 4], 1
mov dword [esp], str._longest
call sub.msvcrt.dll_fwrite
mov al, byte [ebx + 1]
jmp 0x585c79
mov dword [esp + 4], esi
mov dword [esp], 0xa
call sub.msvcrt.dll_fputc
jmp 0x585d70
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x91334c
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
mov eax, str.74f
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x347722d6
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x40b240
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [ebp + 8], 0
jne 0x40b254
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x40b283
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x40b27d
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
jmp 0x40b283
or eax, 0xffffffff
or edx, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x4197f0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x68b740]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x25c], ecx
cmp dword [ebp + 8], 0
je 0x41990d
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x41990d
mov edx, dword [ebp + 8]
push edx
push 0x104
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.engine.dll_void___cdecl_g_GetFullPath_char___unsigned_int__char_const__]
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
call sub.MSVCR80.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x258], eax
push str..
lea edx, [ebp - 0x110]
push edx
call sub.MSVCR80.dll_strcat
add esp, 8
lea eax, [ebp - 0x250]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0xffffffff
je 0x4198ea
lea edx, [ebp - 0x224]
push edx
mov eax, dword [ebp - 0x258]
lea ecx, [ebp + eax - 0x110]
push ecx
call sub.MSVCR80.dll_strcpy
add esp, 8
push 0x80
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x254]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x419889
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x41990d
mov edx, dword [ebp - 0x258]
mov byte [ebp + edx - 0x111], 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00612c78
mov esp, ebp
pop ebp
ret 8

Function at 0x41baa0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x68b740]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x220], ecx
cmp dword [0x68d274], 0
jne 0x41bba2
push 0x104
lea eax, [ebp - 0x110]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x110]
push ecx
call sub.MSVCR80.dll_strlen
add esp, 4
sub eax, 1
mov dword [ebp - 0x21c], eax
jmp 0x41bb03
mov edx, dword [ebp - 0x21c]
sub edx, 1
mov dword [ebp - 0x21c], edx
cmp dword [ebp - 0x21c], 0
jle 0x41bb31
mov eax, dword [ebp - 0x21c]
movsx ecx, byte [ebp + eax - 0x110]
cmp ecx, 0x5c
jne 0x41bb2f
mov edx, dword [ebp - 0x21c]
mov byte [ebp + edx - 0x10f], 0
jmp 0x41bb31
jmp 0x41baf4
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x218]
push ecx
call sub.MSVCR80.dll_strcpy
add esp, 8
push 0x63c164
lea edx, [ebp - 0x218]
push edx
call sub.MSVCR80.dll_strcat
add esp, 8
mov eax, dword [0x68d274]
add eax, 1
mov dword [0x68d274], eax
lea ecx, [ebp - 0x218]
push ecx
push 0
push str.FullScreen
push str.Client
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
setne dl
mov eax, dword [ebp - 0x220]
mov byte [eax + 0x1d4], dl
mov ecx, dword [ebp - 0x220]
mov al, byte [ecx + 0x1d4]
jmp 0x41bbae
mov edx, dword [ebp - 0x220]
mov al, byte [edx + 0x1d4]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00612c78
mov esp, ebp
pop ebp
ret
Function at 0x424b20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x424b47
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
je 0x424b47
mov edx, dword [ebp + 8]
push edx
call sub.MSVCR80.dll_strlen
add esp, 4
cmp eax, 0x104
jb 0x424b75
push 0
push 0x10
push 0x68f3f0
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
jne 0x424b60
xor al, al
jmp 0x424bca
mov eax, dword [0x6df924]
push eax
push 0x68f3f0
call sub.MSVCR80.dll_strcat
add esp, 8
jmp 0x424bc8
mov ecx, dword [ebp + 8]
push ecx
call sub.MSVCR80.dll_strlen
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x68f3f0
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
movsx edx, byte [ecx - 1]
cmp edx, 0x5c
jne 0x424bb4
mov eax, dword [ebp - 4]
mov byte [eax + 0x68f3f0], 0
jmp 0x424bc8
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x68f3f0], 0x5c
mov edx, dword [ebp - 4]
mov byte [edx + 0x68f3f1], 0
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x425cb0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x425cca
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x425cd1
xor eax, eax
jmp 0x425dc1
cmp dword [ebp + 0xc], 0
jne 0x425cde
xor eax, eax
jmp 0x425dc1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0xd
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
movzx ecx, byte [ebp + 0x14]
test ecx, ecx
je 0x425dbe
cmp dword [ebp - 4], 0
jne 0x425d0f
mov eax, dword [ebp - 4]
jmp 0x425dc1
cmp dword [ebp - 4], 0
jle 0x425d3a
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
movsx eax, byte [edx - 1]
push eax
call dword [sym.imp.MSVCR80.dll_isspace]
add esp, 4
test eax, eax
jne 0x425d2f
jmp 0x425d3a
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
jmp 0x425d0f
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 4]
mov byte [edx], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movsx edx, byte [ecx]
test edx, edx
je 0x425d74
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
push ecx
call dword [sym.imp.MSVCR80.dll_isspace]
add esp, 4
test eax, eax
jne 0x425d69
jmp 0x425d74
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
jmp 0x425d49
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x425dbe
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, 1
test edx, edx
je 0x425db5
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dl, byte [ecx]
mov byte [eax], dl
mov eax, dword [ebp - 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x425da1
jmp 0x425db5
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x425d82
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x425dd0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x425de7
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x425dec
mov eax, dword [ebp + 0xc]
jmp 0x425e0f
cmp dword [ebp + 0xc], 0
je 0x425e00
push 5
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x425e0c
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0xc]
pop ebp
ret
Function at 0x42a150
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42a1c7
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42a1c1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42a1c1
push 0
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0042a020
mov dword [ebp - 4], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x100]
and ecx, 0x10
je 0x42a1c1
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x42a1d0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x100]
and ecx, 0x10
jne 0x42a2b1
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x114], 0
jle 0x42a2b1
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x108], 0
je 0x42a2b1
call dword [sym.imp.engine.dll_struct_HWND______cdecl_g_GetMainHWnd_void_]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x42a2b1
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x114]
add edx, 1
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x42a2ab
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x42a2ab
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x114]
push edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x108]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x114]
mov edx, dword [ebp - 0xc]
mov byte [edx + ecx], 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 8]
push ecx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
mov dword [ebp - 4], 1
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret