joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493970
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
push 0x4000
mov ebx, ecx
mov dword [ebp - 4], edi
call fcn.004aeee2
mov ecx, dword [ebx + 0x10]
add esp, 4
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x4000
push esi
push ecx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x4939fe
mov eax, dword [ebp - 4]
add edi, eax
cmp eax, 0x4000
jne 0x4939ee
lea edx, [edi + 0x4000]
push edx
push esi
call fcn.004af14e
mov edx, dword [ebx + 0x10]
add esp, 8
mov esi, eax
lea eax, [ebp - 4]
push eax
push 0x4000
lea ecx, [esi + edi]
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x4939a5
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
mov eax, edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp + 8]
mov eax, edi
pop edi
mov dword [edx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x493e80
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc818
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x50ac94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ecx + 0xc]
push 0
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x493efb
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x493ee7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x18], esp
mov esi, esp
push eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
call fcn.00424240
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.0046bd00
add esp, 0xc
or edx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
test eax, eax
mov eax, dword [ebp + 8]
jne 0x493f71
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x493ee7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x493f8a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4969c0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0x30]
mov ecx, 0x5a4d
mov dword [esi + 0xc], eax
push edi
cmp word [eax], cx
je 0x496a12
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4969e5
push eax
call edi
mov eax, dword [esi]
test eax, eax
je 0x4969f3
cmp eax, 0xffffffff
je 0x4969f3
push eax
call edi
mov edx, dword [esi + 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x4fdbdc
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], str.Incorrect_PE_file__e_magic___IMAGE_DOS_SIGNATURE_
call fcn.004b473c
mov ecx, dword [eax + 0x3c]
xor edx, edx
lea edi, [ecx + 0xf8]
cmp edx, dword [esi + 0x2c]
jb 0x496a6c
ja 0x496a29
cmp edi, dword [esi + 0x28]
jb 0x496a6c
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x496a39
push eax
call edi
mov eax, dword [esi]
test eax, eax
je 0x496a47
cmp eax, 0xffffffff
je 0x496a47
push eax
call edi
cmp dword [esi + 0x34], 0
je 0x496a57
mov ecx, dword [esi + 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x4fdbdc
lea edx, [ebp - 4]
push edx
mov dword [ebp - 4], str.Incorrect_PE_file__header___filesize_
call fcn.004b473c
add ecx, eax
mov dword [esi + 0x40], ecx
cmp dword [ecx], 0x4550
je 0x496abc
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x496a89
push eax
call edi
mov eax, dword [esi]
test eax, eax
je 0x496a97
cmp eax, 0xffffffff
je 0x496a97
push eax
call edi
cmp dword [esi + 0x34], 0
je 0x496aa7
mov eax, dword [esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x4fdbdc
lea ecx, [ebp - 4]
push ecx
mov dword [ebp - 4], str.Incorrect_PE_file__incorrect_signature_
call fcn.004b473c
add ecx, 0x18
push ebx
xor ebx, ebx
mov dword [esi + 0x14], ecx
mov edx, 0x20b
cmp word [ecx], dx
sete bl
mov ecx, ebx
mov dword [esi + 0x3c], ecx
pop ebx
test ecx, ecx
je 0x496aed
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esi + 0x44], eax
mov edx, dword [esi + 0x44]
add eax, 0x18
mov dword [esi + 0x18], eax
jmp 0x496af0
mov edx, dword [esi + 0x40]
mov ax, word [edx + 6]
mov ecx, edx
add ecx, 4
cmp dword [esi + 0x3c], 0
mov dword [esi + 0x10], ecx
mov word [esi + 8], ax
pop edi
je 0x496b14
mov eax, dword [esi + 0x18]
add eax, 0x70
mov dword [esi + 0x1c], eax
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x14]
add eax, 0x60
mov dword [esi + 0x1c], eax
mov esp, ebp
pop ebp
ret
Function at 0x496e80
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 0x3c]
mov ecx, dword [edi + 0xc]
mov eax, dword [edi + 0x30]
mov edx, dword [edi + 0x1c]
mov esi, dword [edx + 0x10]
neg ebx
sbb ebx, ebx
and ebx, 0x10
add ebx, 0xf8
add ebx, dword [ecx + 0x3c]
add ebx, eax
mov eax, dword [edi + 0x34]
test eax, eax
jne 0x496eb8
mov eax, esi
jmp 0x496ec6
mov di, word [edi + 8]
mov ecx, ebx
call fcn.00496770
mov edi, dword [ebp + 8]
xor ecx, ecx
cmp ecx, dword [edi + 0x2c]
jb 0x496ed4
ja 0x496f13
cmp eax, dword [edi + 0x28]
jae 0x496f13
cmp dword [edi + 0x34], 0
jne 0x496ede
mov eax, esi
jmp 0x496eec
mov di, word [edi + 8]
mov ecx, ebx
call fcn.00496770
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 0x30]
movzx edx, word [ecx + eax + 0xe]
add ecx, eax
movzx eax, word [ecx + 0xc]
add edx, eax
mov eax, 0
je 0x496f13
mov esi, 0x18
cmp dword [ecx + eax*8 + 0x10], esi
je 0x496f1e
inc eax
cmp eax, edx
jb 0x496f08
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ecx + eax*8 + 0x14]
and eax, 0x7fffffff
mov dx, word [eax + ecx + 0xe]
add dx, word [eax + ecx + 0xc]
add eax, ecx
movzx ebx, dx
lea edx, [eax + 0x10]
mov eax, dword [edx + 4]
test eax, eax
jns 0x496f49
and eax, 0x7fffffff
lea edx, [eax + ecx + 0x10]
mov esi, dword [edx + 4]
movzx eax, bx
add esi, ecx
mov dword [ebp - 4], esi
test eax, eax
jle 0x496fd1
mov dword [ebp - 8], eax
cmp dword [edi + 0x34], 0
mov ebx, dword [esi]
mov ecx, dword [edi + 0xc]
jne 0x496f6a
mov eax, ebx
jmp 0x496fb0
mov eax, dword [ecx + 0x3c]
movzx edi, word [eax + ecx + 6]
add eax, ecx
movzx ecx, word [eax + 0x14]
lea edx, [ecx + eax + 0x18]
xor ecx, ecx
mov dword [ebp - 0xc], edx
test edi, edi
jle 0x496fab
lea eax, [edx + 8]
mov edx, dword [eax]
mov esi, edx
test edx, edx
jne 0x496f93
mov esi, dword [eax + 8]
mov edx, dword [eax + 4]
cmp ebx, edx
jb 0x496fa0
add edx, esi
cmp ebx, edx
jb 0x496fdf
inc ecx
add eax, 0x28
cmp ecx, edi
jl 0x496f88
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 8]
xor eax, eax
lea edx, [ebp - 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
push edx
push eax
call fcn.00497000
mov ecx, dword [esi + 4]
add esi, 0x10
sub dword [ebp - 8], 1
mov dword [eax], ecx
mov dword [ebp - 4], esi
jne 0x496f5b
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
mov esi, dword [ebp - 4]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*8]
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0xc]
mov edi, ecx
add eax, ebx
jmp 0x496fb0
Function at 0x497fd0
Capabilities:
Encode data using xor

Disassembly:
or edx, 0xffffffff
cmp dword [0x50fecc], 0
jne 0x497fe1
call fcn.00497f30
xor eax, eax
test esi, esi
jle 0x49800b
jmp 0x497ff0
movzx ecx, byte [eax + edi]
xor ecx, edx
and ecx, 0xff
shr edx, 8
xor edx, dword [ecx*4 + 0x50fa48]
inc eax
cmp eax, esi
jl 0x497ff0
mov eax, edx
ret
Function at 0x49c4f0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x50ac94]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.004aefb0
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x49c542
cmp dword [ebp - 0x114], 6
lea eax, [esi + 1]
jae 0x49c544
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004add11
mov esp, ebp
pop ebp
ret
Function at 0x49e980
Capabilities:
Write clipboard data

Disassembly:
push ebx
push esi
xor ebx, ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49e990
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x49e9e7
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x49e9e7
mov edx, eax
mov ecx, edi
sub edx, edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x49e9c3
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebx, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x4a18f5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4a1919
cmp dword [edi + 0x54], 0
jne 0x4a1919
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004a22ec
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004a18b6
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4a7ac8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4a7b0f
call fcn.004a22ec
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4a7b0f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4a7b2b
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004a7640
mov esi, eax
test edi, edi
je 0x4a7b29
test ebx, ebx
je 0x4a7b29
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4add11
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x50ac94]
jne 0x4add1b
repz ret
jmp fcn.004b5dad
Function at 0x4c1039
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004b5711
and dword [ebp - 4], 0
cmp dword [0x50f790], 0
mov ebx, eax
jne 0x4c10ea
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4c119b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4dbeb8
push edi
call esi
test eax, eax
je 0x4c119b
push eax
call fcn.004b569f
mov dword [esp], 0x4dbea8
push edi
mov dword [0x50f790], eax
call esi
push eax
call fcn.004b569f
mov dword [esp], 0x4dbe94
push edi
mov dword [0x50f794], eax
call esi
push eax
call fcn.004b569f
mov dword [esp], 0x4dbe78
push edi
mov dword [0x50f798], eax
call esi
push eax
call fcn.004b569f
pop ecx
mov dword [0x50f7a0], eax
test eax, eax
je 0x4c10ea
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004b569f
pop ecx
mov dword [0x50f79c], eax
mov eax, dword [0x50f79c]
cmp eax, ebx
je 0x4c1142
cmp dword [0x50f7a0], ebx
je 0x4c1142
push eax
call fcn.004b571a
push dword [0x50f7a0]
mov esi, eax
call fcn.004b571a
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4c1142
test edi, edi
je 0x4c1142
call esi
test eax, eax
je 0x4c1139
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4c1139
test byte [ebp - 0xc], 1
jne 0x4c1142
or dword [ebp + 0x10], 0x200000
jmp 0x4c117b
mov eax, dword [0x50f794]
cmp eax, ebx
je 0x4c117b
push eax
call fcn.004b571a
pop ecx
test eax, eax
je 0x4c117b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4c117b
mov eax, dword [0x50f798]
cmp eax, ebx
je 0x4c117b
push eax
call fcn.004b571a
pop ecx
test eax, eax
je 0x4c117b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x50f790]
call fcn.004b571a
pop ecx
test eax, eax
je 0x4c119b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4c119d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20001000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
and dword [ebp - 4], 0
push esi
lea eax, [ebp - 0x2c]
mov esi, 0x20006060
push eax
push esi
mov dword [ebp - 0x2c], 0x4131377b
mov dword [ebp - 0x28], 0x44433837
mov dword [ebp - 0x24], 0x34452d34
mov dword [ebp - 0x20], 0x342d3037
mov dword [ebp - 0x1c], 0x2d383161
mov dword [ebp - 0x18], 0x37353438
mov dword [ebp - 0x14], 0x4530452d
mov dword [ebp - 0x10], 0x33383230
mov dword [ebp - 0xc], 0x30354444
mov dword [ebp - 8], 0x7d37
call sub.MSVCRT.dll_strcpy
pop ecx
mov eax, esi
pop ecx
pop esi
leave
ret
Function at 0x20001bfb
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov edi, edi
nop
mov edi, edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
xor eax, eax
push eax
push eax
push eax
push 0x20001c4f
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
ret

Function at 0x20001e3e
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, edi
nop
mov edi, edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
mov dword [ebp - 0x1c], 0x45324154
mov dword [ebp - 0x18], 0x746964
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], 0x6d724654
mov dword [ebp - 0x28], 0x4f676f4c
mov dword [ebp - 0x24], 0x6e
mov dword [ebp - 0x20], ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
push ebx
push dword [0x20006210]
call esi
push 0x64
mov dword [ebp - 0xc], eax
call edi
cmp dword [ebp - 0xc], ebx
je 0x20001ebb
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x20001ee5
cmp dword [ebp - 8], ebx
jne 0x20001f07
lea eax, [ebp - 0x1c]
push ebx
push eax
push ebx
push dword [ebp - 0xc]
call esi
lea ecx, [ebp - 0x1c]
push ebx
push ecx
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
call esi
push 0x64
mov dword [ebp - 8], eax
call edi
jmp 0x20001edb
push 0xfffffffffffffff4
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongA]
cmp eax, 0x1109c
jne 0x20001f24
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
jmp 0x20001f2d
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov esi, dword [sym.imp.USER32.dll_GetWindowTextA]
mov dword [ebp - 8], eax
mov ebx, 0x200061e8
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x20001f62
push 0x20006264
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20001f62
push ebx
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
ja 0x20001f7c
push 0x28
push 0x20006264
push dword [ebp - 0x10]
call esi
push 0x28
push ebx
push dword [ebp - 8]
call esi
push 0xa
call edi
jmp 0x20001f3b
pop edi
pop esi
pop ebx
leave
ret
Function at 0x20001f81
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov edi, edi
nop
mov edi, edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
mov edi, dword [sym.imp.MSVCRT.dll_strchr]
mov ebx, pe_nt_image_headers32
push ebx
lea eax, [ebp - 0x104]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x104]
push ebx
push eax
push dword [0x20006210]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x104]
push 0x3a
push eax
call edi
mov esi, eax
push 0x3a
inc esi
push esi
call edi
mov dword [ebp - 4], eax
sub eax, esi
add esp, 0x10
test eax, eax
jg 0x20002024
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x20001fd5
push 0x28
mov edi, 0x2000623c
push 0
push edi
call sub.MSVCRT.dll_memset
mov eax, dword [ebp - 4]
sub eax, esi
push eax
push esi
push edi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
pop edi
pop esi
pop ebx
leave
ret

Function at 0x200020be
Capabilities:
Contain obfuscated stackstrings
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, edi
nop
mov edi, edi
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
nop
mov eax, eax
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
mov edi, edi
nop
nop
nop
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
mov edi, edi
nop
mov esi, esi
nop
nop
mov eax, eax
nop
mov esi, dword [sym.imp.USER32.dll_FindWindowExA]
xor edi, edi
lea eax, [ebp - 0x20]
push edi
push eax
push edi
push dword [0x20006210]
mov dword [ebp - 0x20], 0x6d724654
mov dword [ebp - 0x1c], 0x73736150
mov dword [ebp - 0x18], 0x637445
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0x45324154
mov dword [ebp - 0xc], 0x746964
mov dword [ebp - 8], edi
call esi
mov ebx, eax
lea eax, [ebp - 0x10]
push edi
push eax
push edi
push ebx
call esi
mov esi, dword [sym.imp.USER32.dll_IsWindowVisible]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [ebp - 4], eax
push ebx
call esi
test eax, eax
jne 0x2000216a
push 0x64
call edi
jmp 0x2000215d
push ebx
call esi
test eax, eax
je 0x20002187
push 0x28
push 0x2000616c
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x64
call edi
jmp 0x2000216a
call fcn.20001bfb
pop edi
pop esi
pop ebx
leave
ret
Function at 0x200022a9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
and dword [ebp - 4], 0
push edi
push 0x20006010
mov dword [ebp - 0x24], 0x613f7325
mov dword [ebp - 0x20], 0x7526343d
mov dword [ebp - 0x1c], 0x2673253d
mov dword [ebp - 0x18], 0x73253d67
mov dword [ebp - 0x14], 0x253d7326
mov dword [ebp - 0x10], 0x70612673
mov dword [ebp - 0xc], 0x646e6570
mov dword [ebp - 8], 0x64253d
call fcn.200042ff
push eax
lea eax, [ebp - 0x224]
push eax
call sub.MSVCRT.dll_strcpy
lea eax, [ebp - 0x224]
add esp, 0xc
test eax, eax
je 0x20002397
lea eax, [ebp - 0x224]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20002397
push dword [ebp + 8]
lea eax, [ebp - 0x224]
push 0x20006318
push 0x200062e8
push 0x20006468
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x224]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x224]
push eax
call fcn.20003959
mov edi, eax
add esp, 0x20
test edi, edi
je 0x20002397
push edi
call sub.MSVCRT.dll_strlen
cmp eax, 6
pop ecx
jne 0x2000238f
push esi
mov esi, 0x20006394
push edi
push esi
call sub.MSVCRT.dll_strcpy
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 0xc
mov eax, esi
pop esi
jmp 0x20002399
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
pop edi
leave
ret

Function at 0x20002452
Capabilities:
Create thread

Disassembly:
push edi
push 0x2000602c
call fcn.200024f4
xor edi, edi
pop ecx
cmp eax, edi
je 0x20002471
push eax
push 0x20006468
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0x20006028
call fcn.200024f4
cmp eax, edi
pop ecx
je 0x2000248d
push eax
push 0x20006350
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push esi
push 0x20006024
call fcn.200024f4
cmp eax, edi
pop ecx
mov esi, 0x20006588
je 0x200024ab
push eax
push esi
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push 0x20006020
call fcn.200024f4
cmp eax, edi
pop ecx
je 0x200024c7
push eax
push 0x20006490
call sub.MSVCRT.dll_strcpy
pop ecx
pop ecx
push esi
call sub.MSVCRT.dll_strlen
pop ecx
pop esi
test eax, eax
jbe 0x200024dd
mov dword [0x20006594], 1
call fcn.20002580
push edi
push edi
push edi
push 0x2000224a
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
ret

Function at 0x200024f4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
and dword [ebp - 8], 0
lea eax, [ebp - 0x118]
push eax
push 0x104
mov dword [ebp - 0x14], 0x78687171
mov dword [ebp - 0x10], 0x2e676663
mov dword [ebp - 0xc], 0x746164
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x118]
push eax
call sub.MSVCRT.dll_strcat
push dword [ebp + 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.200030c5
add esp, 0x14
cmp eax, 1
jl 0x2000257c
push esi
push edi
mov edi, 0x80
mov esi, 0x20006498
push edi
push 0
push esi
call sub.MSVCRT.dll_memset
push edi
push dword [ebp - 4]
push esi
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0x18
mov eax, esi
pop edi
pop esi
leave
ret
xor eax, eax
leave
ret
Function at 0x200025d5
Capabilities:
Contain obfuscated stackstrings
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
xor eax, eax
push esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x34]
push edi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x28
mov edi, 0x20006018
push 0x200062e8
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x34], 0x6f635c2e
push eax
mov dword [ebp - 0x30], 0x6769666e
mov dword [ebp - 0x2c], 0x696e692e
mov dword [ebp - 0x18], 0x49474552
mov dword [ebp - 0x14], 0x4e4f
mov dword [ebp - 0x24], 0x4c524f57
mov dword [ebp - 0x20], 0x44
mov dword [ebp - 0xc], 0x6974704f
mov dword [ebp - 8], 0x6e6f
call esi
lea eax, [ebp - 0x34]
push eax
push 0x28
push 0x20006318
lea eax, [ebp - 0x24]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
call esi
pop edi
pop esi
leave
ret