joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001438b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [esi + 0xec]
call fcn.10002970
mov edi, dword [ebp + 8]
test eax, eax
jle 0x100143e1
push ebx
lea ecx, [esi + 0xec]
mov byte [ebp + 0xb], 0
call fcn.1001683f
lea ecx, [ebp + 0xb]
push ecx
push dword [ebp + 0x10]
mov edx, dword [eax]
mov ecx, eax
push dword [ebp + 0xc]
push edi
call dword [edx]
cmp byte [ebp + 0xb], 0
jne 0x1001443c
lea ecx, [esi + 0xec]
inc ebx
call fcn.10002970
cmp ebx, eax
jl 0x100143aa
sub edi, 0x100
je 0x100144a3
sub edi, 4
je 0x10014440
dec edi
sub edi, 1
jne 0x1001449a
push dword [ebp + 0xc]
and dword [ebp + 8], edi
call fcn.1009bf78
pop ecx
mov ecx, dword [esi + 0x6c]
lea edx, [ebp + 8]
push inet_ntoa
mov word [ebp + 8], ax
push edx
mov eax, dword [ecx]
push 0x10016319
call dword [eax + 0x100]
mov esi, eax
test esi, esi
je 0x1001449a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0xf4]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x18]
mov al, 1
jmp 0x1001449c
cmp dword [esi + 0x70], 0
je 0x1001449a
xor eax, eax
mov dword [ebp - 0x20], 6
mov word [ebp - 2], ax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov word [ebp - 0xc], ax
mov eax, dword [esi + 0x80]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x84]
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0xa], xmm0
mov dword [ebp - 0x10], eax
call fcn.100125dd
mov word [ebp - 0xa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x70]
lea edx, [ebp - 0x20]
mov dword [ebp - 0x18], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x10c]
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0x10
cmp dword [ebp + 0xc], 9
jne 0x1001449a
mov ecx, dword [esi + 0x70]
test ecx, ecx
je 0x100144f0
mov eax, dword [ecx]
call dword [eax + 0xcc]
test al, al
je 0x100144f0
mov ecx, dword [esi + 0x70]
mov eax, dword [ecx]
call dword [eax + 0xd8]
test al, al
je 0x100144f0
mov ecx, dword [esi + 0x70]
push str.RichEdit
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.10085af7
pop ecx
pop ecx
test eax, eax
je 0x100144f0
mov ecx, dword [esi + 0x70]
call fcn.100263f6
test al, al
jne 0x1001449a
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
mov ecx, esi
setns al
movzx eax, al
push eax
call fcn.10015b70
jmp 0x1001449c
Function at 0x10027eaf
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x4ec], edi
je 0x10027f19
cmp dword [ebp + 8], 0x100
jne 0x10027f08
cmp word [ebp + 0xc], 0xd
jne 0x10027f08
cmp byte [esi + 0x4f2], 0
je 0x10027eef
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10027f08
cmp byte [esi + 0x4f3], 0
jne 0x10027f08
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10027f04
push edi
push edi
push edi
push str.return
push esi
call fcn.100153da
xor eax, eax
jmp 0x10027f1c
mov eax, dword [esi + 0x4ec]
pop edi
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
ret 0x10

Function at 0x10028356
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x100f6604]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x10028410
movzx eax, word [esi]
test ax, ax
je 0x10028410
push edi
mov edi, esi
mov ecx, esi
mov edx, eax
cmp dx, 0x2f
je 0x10028398
cmp dx, 0x5c
jne 0x1002839a
mov edi, ecx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x1002838c
cmp edi, esi
je 0x100283e3
sub edi, esi
lea eax, [ebp - 0x20c]
sar edi, 1
push edi
push esi
push eax
call fcn.1009bfe8
add edi, edi
add esp, 0xc
cmp edi, 0x208
jae 0x1002841e
xor eax, eax
mov word [ebp + edi - 0x20c], ax
lea eax, [ebp - 0x20c]
push eax
push ebx
call fcn.10028356
pop ecx
pop ecx
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.1009c931
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.1009c900
add esp, 0x10
lea eax, [ebp - 0x414]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.10082613
leave
ret
call fcn.10082d8d
int3

Function at 0x10028d8f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, ecx
cmp dword [edi], 0
jne 0x10028e0b
cmp dword [edi + 4], 0xffffffff
jne 0x10028e0b
push esi
lea esi, [edi + 0x138]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x100c7c8c
push esi
call fcn.1009c900
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop esi
jne 0x10028ddd
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x10028ddd
mov eax, 0x2000000
jmp 0x10028e10
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1002b32f
add esp, 0x10
test eax, eax
jne 0x10028dfb
mov eax, dword [ebp - 4]
jmp 0x10028e10
push eax
call fcn.1002bbf5
mov dword [edi], eax
mov eax, dword [0x100f92f4]
pop ecx
jmp 0x10028e10
mov eax, 0x1000000
pop edi
leave
ret 0xc
Function at 0x1002b32f
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
sub esp, 0x10
cmp eax, 1
je 0x1002b354
cmp eax, 2
je 0x1002b354
cmp eax, 3
je 0x1002b354
mov eax, dword [ebp + 0x14]
mov dword [eax], 0x10000
xor eax, eax
leave
ret
push ebx
mov ebx, dword [ebp + 8]
xor edx, edx
mov byte [ebp - 8], dl
mov ecx, edx
mov dword [ebp - 4], ecx
push esi
push edi
mov edi, dword [ebp + 0x14]
mov dword [edi], edx
cmp eax, 1
jne 0x1002b3b3
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea eax, [ebp - 4]
push 2
push edx
push edx
push eax
call esi
push eax
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x1002b398
mov dword [edi], 0x100
jmp 0x1002b476
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileType]
mov ecx, dword [ebp - 4]
dec eax
neg eax
sbb al, al
inc al
xor edx, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
cmp eax, 2
jne 0x1002b462
push edx
push 0x80
push 3
push edx
push 1
push SysReAllocString
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x1002b3e6
mov dword [edi], 0x200
jmp 0x1002b476
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
dec eax
neg eax
push 0
push dword [ebp - 4]
sbb al, al
inc al
mov byte [ebp - 8], al
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
xor ebx, ebx
mov dword [ebp - 0xc], esi
test esi, esi
je 0x1002b452
push esi
call fcn.1009a58e
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1002b452
push 0
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, 0x800
test eax, eax
jne 0x1002b43a
mov dword [edi], ecx
mov eax, ecx
jmp 0x1002b43c
mov eax, dword [edi]
cmp dword [ebp - 0x10], esi
je 0x1002b445
mov dword [edi], ecx
mov eax, ecx
test eax, eax
je 0x1002b452
push ebx
call fcn.100982f3
pop ecx
xor ebx, ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebp - 4], ecx
jmp 0x1002b468
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
test ecx, ecx
jne 0x1002b47a
test ebx, ebx
jne 0x1002b47a
mov dword [edi], 0x300
xor eax, eax
jmp 0x1002b4da
push 0x24
call fcn.10082761
mov esi, eax
xor edx, edx
mov eax, dword [ebp + 0x10]
pop ecx
mov dword [esi + 4], eax
cmp dword [ebp - 4], edx
je 0x1002b4be
mov ecx, dword [ebp - 8]
mov byte [esi], 1
mov byte [esi + 8], cl
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], dl
mov dword [esi + 0x14], edx
test cl, cl
je 0x1002b4d6
push 1
push edx
push edx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0x14], eax
xor edx, edx
jmp 0x1002b4d6
mov eax, dword [ebp - 0xc]
mov byte [esi], dl
mov byte [esi + 8], 1
mov dword [esi + 0xc], edx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], edx
mov dword [esi + 0x14], edx
mov dword [edi], edx
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002b4df
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
imul ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x1002b512
push 0
lea eax, [ebp + 0x10]
push eax
push ecx
push dword [ebp + 8]
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1002b50d
mov byte [edi + 0x10], 1
mov eax, dword [ebp + 0x10]
jmp 0x1002b53c
mov edx, dword [edi + 0x20]
push esi
mov esi, dword [edi + 0x1c]
sub esi, edx
lea eax, [edx + ecx]
cmp eax, dword [edi + 0x1c]
cmovbe esi, ecx
mov ecx, dword [edi + 0x18]
push esi
add ecx, edx
push ecx
push dword [ebp + 8]
call fcn.100847c0
add esp, 0xc
mov eax, esi
add dword [edi + 0x20], esi
pop esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop ebp
ret

Function at 0x1002b6ca
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x1002b6d8
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not ecx
cmp esi, 8
jb 0x1002b797
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100cb3e8]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100cb3e8]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100cb3e8]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100cb3e8]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100cb3e8]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100cb3e8]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100cb3e8]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100cb3e8]
sub edi, 1
jne 0x1002b6f0
pop edi
test esi, esi
je 0x1002b7b3
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x100cb3e8]
inc edx
sub esi, 1
jne 0x1002b79b
not ecx
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x1003f2bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x100f6604]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x18], 0
je 0x1003f329
cmp dword [esi + 0x10], 0
je 0x1003f329
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.10082c40
mov ebx, esp
test ebx, ebx
je 0x1003f329
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c4
call fcn.100167d2
mov ecx, dword [esi + 0x10]
xor eax, eax
push eax
push eax
push eax
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.100153da
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10082613
leave
ret 0x10

Function at 0x1003fa72
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x100f6604]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
sub esp, 0x10
lea esi, [ebp + 8]
mov edi, esp
mov ebx, ecx
mov dword [ebp - 0x38], ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10019608
mov ecx, dword [ebx + 0x5a8]
test ecx, ecx
je 0x1003fb69
lea eax, [ebp - 0x14]
push eax
call fcn.1003ea08
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x1003fad9
mov ecx, dword [ebx + 0x5a8]
push 0
call fcn.10002970
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x1003fb69
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x1003fb36
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x30]
mov esi, eax
lea edi, [ebp - 0x24]
xor eax, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_UnionRect]
test eax, eax
je 0x1003fb29
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x1003fb7a
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x24]
mov ebx, eax
test ebx, ebx
jne 0x1003fae8
mov ecx, dword [ebp - 0x38]
inc eax
shl eax, 6
or eax, 0x14
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ecx + 0x5a8]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0
call fcn.10002970
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10082613
leave
ret 0x10
xor eax, eax
inc eax
jmp 0x1003fb36
Function at 0x100420c7
Capabilities:
Hide graphical window

Disassembly:
push 0x9c
mov eax, 0x100c3b3e
call fcn.1008268f
mov edi, ecx
mov dword [ebp - 0x98], edi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [edi + 0x10], eax
mov dword [eax + 0x5b8], ebx
cmp dword [edi + 4], ebx
jne 0x10042159
lea eax, [ebp - 0xa8]
push eax
call fcn.10041d9a
mov ecx, dword [edi + 0x10]
lea esi, [ebp - 0xa8]
push ebx
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
push ebx
movsd dword es:[edi], dword [esi]
push 0x40000000
push ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.1000325e
mov edi, dword [ebp - 0x98]
mov ecx, edi
push eax
call fcn.100524f6
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.100398d2
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov ecx, eax
call fcn.10011b4f
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.10016ffe
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.100166c6
mov esi, 0x5a8
test bl, bl
je 0x10042194
mov eax, dword [edi + 0x10]
add eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, esi
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
call fcn.10082639
ret 4
Function at 0x1004ecc5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 8]
mov edi, eax
mov edx, eax
and edi, 7
je 0x1004ecf3
cmp eax, edi
jge 0x1004ece7
push esi
call fcn.1004ae4a
mov eax, dword [esi + 8]
pop ecx
mov ecx, edi
shr dword [esi + 0xc], cl
sub eax, edi
mov dword [esi + 8], eax
mov edx, eax
xor ecx, ecx
test eax, eax
jle 0x1004ed16
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx + 8], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x1004ecfc
mov dword [esi + 8], edx
jmp 0x1004ed2b
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x1004ed21
xor dl, dl
jmp 0x1004ed26
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx + 8], dl
inc ecx
cmp ecx, 4
jl 0x1004ed16
mov eax, dword [ebp + 8]
movzx ecx, byte [ebp + 0xb]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp + 0xa]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x1004ed65
push str.zlib_corrupt
call fcn.1004ad75
add esp, 4
jmp 0x1004eda5
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x1004ed75
push str.read_past_buffer
jmp 0x1004ed5b
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x1004ed8f
push edi
push ecx
push esi
call fcn.10051c5d
add esp, 0xc
test eax, eax
je 0x1004eda5
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.100847c0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
pop ebp
ret

Function at 0x10052db7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10052de9
xor eax, eax
inc eax
cmp byte [ebp + 0xc], 0
push 4
pop edx
cmovne edx, eax
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, edx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
pop ebp
ret 8
Function at 0x1005329c
Capabilities:
Check if file exists

Disassembly:
push 0x218
mov eax, 0x100c3eed
call fcn.1008268f
mov ebx, ecx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], ebx
call fcn.1005b0c6
and dword [ebp - 4], 0
mov dword [ebx], vtable.CServerConnect.0
call fcn.100055e8
push eax
lea ecx, [ebx + 0x10]
call fcn.100040ca
mov byte [ebp - 4], 1
call fcn.100055e8
push eax
lea ecx, [ebx + 0x14]
call fcn.100040ca
mov byte [ebp - 4], 2
call fcn.100055e8
push eax
lea ecx, [ebx + 0x18]
call fcn.100040ca
mov byte [ebp - 4], 3
call fcn.100055e8
push eax
lea ecx, [ebx + 0x1c]
call fcn.100040ca
push 0
mov byte [ebp - 4], 4
call fcn.1009a67b
push eax
call fcn.100a400e
mov esi, 0x100
lea eax, [ebp - 0x110]
push esi
push 0
push eax
call fcn.100852c0
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1005d5cb
add esp, 0x1c
lea eax, [ebp - 0x210]
mov dword [ebp - 0x214], eax
lea ecx, [ebp - 0x214]
lea eax, [ebp - 0x110]
push 3
push eax
call fcn.1000a071
push dword [ebp - 0x214]
mov byte [ebp - 4], 5
call fcn.1000482d
pop ecx
push eax
push dword [ebp - 0x214]
lea ecx, [ebx + 0x10]
call fcn.10006d7f
lea eax, [ebp - 0x210]
mov byte [ebp - 4], 4
cmp dword [ebp - 0x214], eax
je 0x1005339e
push dword [ebp - 0x214]
call fcn.100982f3
pop ecx
xor eax, eax
lea ecx, [ebx + 0x14]
inc eax
xor esi, esi
push 0x16
push str.https:__soft.6789.net_
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x38], esi
mov dword [ebx + 0x3c], esi
call fcn.10006d7f
push 0x1b
push str.https:__read.soft.6789.net_
lea ecx, [ebx + 0x18]
call fcn.10006d7f
lea eax, [ebp - 0x21c]
push esi
push eax
call fcn.100542e2
push str.AppTest.txt
push eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 6
push eax
call fcn.100093fa
mov ecx, dword [ebp - 0x21c]
add esp, 0x14
mov byte [ebp - 4], 4
lea ecx, [ecx - 0x10]
call fcn.10006ad0
push dword [ebp - 0x218]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x218]
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.10006ad0
test esi, esi
je 0x10053443
push 0x15
push str.http:__soft.6789.net_
lea ecx, [ebx + 0x14]
call fcn.10006d7f
push 0x1a
push str.http:__read.soft.6789.net_
lea ecx, [ebx + 0x18]
call fcn.10006d7f
xor edi, edi
lea esi, [ebx + 0x20]
push edi
push edi
push edi
push esi
mov dword [ebx + 0x28], edi
mov dword [ebx + 0x2c], edi
call fcn.1005554a
add esp, 0x10
test eax, eax
jne 0x10053460
mov dword [esi], edi
mov dword [ebx + 0x40], edi
mov eax, ebx
mov dword [ebx + 0x44], edi
call fcn.10082639
ret
Function at 0x100540bd
Capabilities:
Check if file exists
Create directory

Disassembly:
push 0xc
mov eax, 0x100c1f73
call fcn.1008265b
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.100040f3
push dword [ebp - 0x10]
and dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10054153
push eax
jmp 0x10054142
call fcn.100055e8
push eax
lea ecx, [ebp - 0x14]
call fcn.100040ca
inc edi
mov byte [ebp - 4], 1
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.1000a275
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10009224
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.10006ad0
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10054135
push esi
call fcn.10098c0e
pop ecx
lea ecx, [esi - 0x10]
mov byte [ebp - 4], 0
call fcn.10006ad0
push edi
push 0x5c
lea ecx, [ebp - 0x10]
call fcn.100099a3
mov edi, eax
cmp edi, 0xffffffff
jne 0x100540e8
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.10006ad0
call fcn.10082624
ret
Function at 0x10056630
Capabilities:
Get common file path

Disassembly:
push 4
mov eax, 0x100c1ade
call fcn.1008265b
call fcn.100055e8
push eax
lea ecx, [ebp - 0x10]
call fcn.100040ca
xor esi, esi
lea ecx, [ebp - 0x10]
push esi
push 0x1a
push 0x200
mov dword [ebp - 4], esi
call fcn.100064dd
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.1000a5f8
mov esi, dword [ebp - 0x10]
mov eax, dword [esi - 0xc]
test eax, eax
jne 0x10056695
mov ecx, dword [ebp + 8]
push 0x100e63d8
call fcn.100040f3
lea ecx, [esi - 0x10]
call fcn.10006ad0
mov eax, dword [ebp + 8]
jmp 0x100566ee
dec eax
lea ecx, [ebp - 0x10]
push eax
call fcn.10009ae2
cmp ax, 0x5c
je 0x100566b4
push 1
push 0x100c7c8c
lea ecx, [ebp - 0x10]
call fcn.1000972a
push 8
push str.6789Zip_
lea ecx, [ebp - 0x10]
call fcn.1000972a
cmp dword [ebp + 0xc], 0
mov esi, dword [ebp - 0x10]
je 0x100566d3
push esi
call fcn.100540bd
pop ecx
lea edi, [esi - 0x10]
push edi
call fcn.100097d1
mov esi, dword [ebp + 8]
add eax, 0x10
pop ecx
mov ecx, edi
mov dword [esi], eax
call fcn.10006ad0
mov eax, esi
call fcn.10082624
ret
Function at 0x1005b3bc
Capabilities:
Check if file exists
Delete file

Disassembly:
push 8
mov eax, 0x100c4cff
call fcn.1008265b
mov edi, ecx
push dword [ebp + 0x10]
mov eax, dword [edi]
push dword [ebp + 8]
call dword [eax + 4]
test eax, eax
je 0x1005b4c0
call fcn.100055e8
push eax
lea ecx, [ebp + 0x10]
call fcn.100040ca
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp + 0xc]
push ebx
mov byte [ebp - 4], 1
call fcn.1000482d
pop ecx
push eax
push ebx
lea ecx, [ebp + 0x10]
call fcn.10006d7f
push 0x5c
push dword [ebp + 0x10]
call fcn.10085914
pop ecx
pop ecx
test eax, eax
jne 0x1005b423
or eax, 0xffffffff
jmp 0x1005b428
sub eax, dword [ebp + 0x10]
sar eax, 1
inc eax
lea ecx, [ebp + 0x10]
push eax
lea eax, [ebp + 8]
push eax
call fcn.1000a275
push eax
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.10009224
mov ecx, dword [ebp + 8]
mov byte [ebp - 4], 1
lea ecx, [ecx - 0x10]
call fcn.10006ad0
mov esi, dword [ebp + 0x10]
push esi
call fcn.100540bd
pop ecx
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1005b46e
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
lea ecx, [ebp - 0x14]
push eax
push eax
push 0x80
push 2
push eax
push 0xc0000000
push ebx
call fcn.1005b166
test eax, eax
js 0x1005b4a5
push 0
push dword [edi + 8]
lea ecx, [ebp - 0x14]
push dword [edi + 4]
call fcn.1005be64
test eax, eax
js 0x1005b4a5
xor ebx, ebx
inc ebx
jmp 0x1005b4a7
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0x1005b4b6
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esi - 0x10]
call fcn.10006ad0
mov eax, ebx
call fcn.10082624
ret 0xc

Function at 0x1005b538
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x100c4d22
call fcn.1008265b
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.100542e2
and dword [ebp - 4], 0
push str.AppTest.txt
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.100093fa
mov ecx, dword [ebp - 0x14]
add esp, 0x14
lea ecx, [ecx - 0x10]
call fcn.10006ad0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 0x10]
mov esi, eax
add ecx, 0xfffffff0
call fcn.10006ad0
mov eax, esi
call fcn.10082624
ret