joyce8/EMBER2024-capa huggingface dataset:
Function at 0x60aa9f
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6b8782
call fcn.006426c4
sub esp, 0x48
push ebx
push esi
push edi
mov edi, ecx
mov esi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
test esi, esi
je 0x60abdf
mov eax, 0x76c
cmp esi, 2
jbe 0x60aad3
cmp esi, eax
jne 0x60abdf
xor ebx, ebx
inc ebx
cmp esi, eax
jne 0x60ab88
mov dword [ebp - 0x10], 0xf
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x24], cl
mov eax, dword [edi + 0x80]
mov byte [ebp - 4], bl
sub eax, ecx
je 0x60ab0f
sub eax, ebx
jne 0x60ab28
push str.lrecBadAd
call fcn.0040f53e
pop ecx
push eax
push str.lrecBadAd
jmp 0x60ab20
push str.ftBadAd
call fcn.0040f53e
pop ecx
push eax
push str.ftBadAd
lea ecx, [ebp - 0x24]
call fcn.0040f2b7
push str.BAdSendBtn
lea ecx, [ebp - 0x3c]
call fcn.0040f32f
push 0
push ebx
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004967fc
push 0
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 4
call fcn.0040f95f
xor eax, eax
push eax
push eax
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x54]
push eax
push 0x14
call fcn.00489021
push 0
push ebx
lea ecx, [ebp - 0x54]
call fcn.0040f95f
push 0
push ebx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0
call fcn.0040f95f
xor ecx, ecx
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push ebx
push 0
push 0
call fcn.0060afc8
cmp dword [ebp + 0x24], 8
mov eax, dword [ebp + 0x10]
jae 0x60aba8
lea eax, [ebp + 0x10]
push eax
mov dword [ebp + 8], eax
call fcn.00428864
pop ecx
push eax
push dword [ebp + 8]
lea ecx, [edi + 0x84]
call fcn.00439135
lea eax, [edi + 0x84]
cmp dword [eax + 0x14], 8
jb 0x60abcf
mov eax, dword [eax]
push eax
push esi
push dword [edi + 0x38]
push dword [edi + 0x7c]
call dword [sym.imp.USER32.dll_PostMessageW]
jmp 0x60abee
xor ebx, ebx
mov ecx, edi
inc ebx
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0060a58f
push 0
push ebx
lea ecx, [ebp + 0x10]
call fcn.004285f6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x20
Function at 0x60b20a
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x6b87f9
call fcn.006426c4
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.0058fc2f
mov eax, dword [ebp + 0x1c]
xor ebx, ebx
mov edi, dword [ebp + 0xc]
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x44]
mov dword [esi], 0x734278
mov byte [esi + 0x34], bl
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], ebx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
cmp dword [eax + 0x14], 8
mov dword [ebp - 4], ebx
jb 0x60b256
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
push dword [ebp + 0x18]
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 1
call fcn.0040f32f
push dword [ebp + 0x10]
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 2
call fcn.00429d77
lea eax, [esi + 0xc0]
mov dword [esi + 0xbc], ebx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ebx
cmp dword [eax + 0x14], 8
jb 0x60b297
mov eax, dword [eax]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebp + 0x14]
mov ecx, esi
or dword [esi + 0x10], 0x84
push edi
push dword [ebp + 8]
mov byte [ebp - 4], 4
mov dword [esi + 0xd8], eax
mov byte [esi + 0xdc], bl
call fcn.0058fd75
push 0x200
push ebx
push dword [esi + 4]
call fcn.0058fd30
push dword [ebp + 0x18]
lea ecx, [ebp - 0x28]
call fcn.0040f32f
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.005aa5b3
push 0
push 1
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.0040f95f
test bl, bl
je 0x60b300
mov byte [esi + 0xdc], 1
cmp byte [ebp + 0x20], 0
je 0x60b313
cmp byte [esi + 0xdc], 0
jne 0x60b313
push 5
jmp 0x60b315
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x616750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0xc]
mov esi, ecx
cmp dword [edi], 5
je 0x61676e
push eax
call fcn.0060a2ee
jmp 0x61686a
lea ebx, [edi + 0x1c]
push 0x719768
mov ecx, ebx
call fcn.004392ec
test eax, eax
jne 0x6167ac
cmp dword [edi + 0x58], eax
je 0x6167ac
sub esp, 0x18
mov byte [0x7e588c], 1
lea eax, [edi + 0x48]
mov ecx, esp
push eax
call fcn.00427fbe
push dword [esi + 4]
mov ecx, esi
push 2
call fcn.0061689e
jmp 0x61686a
push str.cmpRequired
mov ecx, ebx
call fcn.004392ec
test eax, eax
jne 0x6167ef
cmp byte [esi + 0x80], al
jne 0x6167ef
movzx eax, byte [esi + 0x78]
push eax
push dword [esi + 4]
push dword [esi + 0x7c]
call fcn.0060afc8
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x7c1ee4]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x61686a
push str.cmpClosed
mov ecx, ebx
call fcn.004392ec
test eax, eax
jne 0x61686a
xor ebx, ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push ebx
push ebx
call fcn.0060afc8
add edi, 0x48
mov byte [esi + 0x80], bl
mov byte [0x7e588c], 1
cmp dword [edi + 0x14], 8
jb 0x61682c
mov edi, dword [edi]
push edi
call fcn.00428864
pop ecx
push eax
push edi
mov ecx, 0x7e5890
call fcn.00439135
mov al, 1
mov ecx, 0x7e58a8
xchg byte [ecx], al
mov edi, dword [sym.imp.USER32.dll_PostMessageW]
cmp dword [esi + 0x7c], ebx
je 0x61685f
push ebx
push ebx
push 0x80ed
push dword [esi + 0x7c]
call edi
push ebx
push 1
push dword [esi + 0x38]
push dword [esi + 0x7c]
call edi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x617c54
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, 0x7ec4f0
push dword [ebp + 8]
mov dword [0x7ec4ec], eax
call fcn.005b4e3a
mov al, byte [ebp + 0x10]
mov byte [0x7ec4fc], al
lea eax, [ebp + 0xc]
push eax
xor eax, eax
push eax
push 0x7ec4ec
push 0x61830b
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [0x7ec4d8], eax
pop ebp
ret 0xc

Function at 0x618d6e
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
cmp dword [eax + 4], 0x784
jne 0x618da3
push 5
xor ecx, ecx
add eax, 0x7c
push ecx
push ecx
push eax
push 0x6c4654
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 2
pop ecx
cmp eax, 0x20
jg 0x618da0
cmp dword [esi + 0x38], ecx
je 0x618da0
xor ecx, ecx
inc ecx
mov dword [esi + 0x38], ecx
pop esi
ret 4

Function at 0x619587
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 5
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x64]
sub eax, dword [esi + 0x5c]
push 0x254
push eax
mov eax, dword [esi + 0x60]
sub eax, dword [esi + 0x58]
push eax
push dword [esi + 0x5c]
push dword [esi + 0x58]
push 0
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 1
push 0
push dword [esi + 0x50]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop esi
ret
Function at 0x61f896
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x6a2775
call fcn.006426c4
sub esp, 0x84
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x1c], 0
je 0x61f9e4
lea edi, [esi + 0x24]
cmp dword [edi + 0x10], 0
je 0x61f9e4
push ebx
lea ebx, [esi + 0xc]
push ebx
lea ecx, [ebp - 0x3c]
call fcn.00427fbe
and dword [ebp - 4], 0
push 0x6c4990
call fcn.00428864
pop ecx
push eax
push 0x6c4990
lea ecx, [ebp - 0x3c]
call fcn.004286d2
push 0xffffffffffffffff
push 0
push edi
lea ecx, [ebp - 0x3c]
call fcn.00428642
and dword [ebp - 0x14], 0
xor eax, eax
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
mov byte [ebp - 4], 1
cmp dword [esi + 0x4c], eax
je 0x61f947
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00428762
mov edi, 0x6c3d10
push edi
call fcn.00428864
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call fcn.004286d2
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x3c]
push eax
lea ecx, [ebp - 0x24]
call fcn.00428642
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
push 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x90]
pop edi
push edi
push 0
push eax
call fcn.0065d010
or dword [esi + 0x54], 0xffffffff
add esp, 0xc
cmp dword [ebx + 0x14], 8
mov dword [ebp - 0x90], edi
jb 0x61f977
mov ebx, dword [ebx]
cmp dword [ebp - 0x10], 8
mov ecx, dword [ebp - 0x24]
jae 0x61f983
lea ecx, [ebp - 0x24]
cmp dword [ebp - 0x28], 8
mov eax, dword [ebp - 0x3c]
jae 0x61f98f
lea eax, [ebp - 0x3c]
lea edx, [ebp - 0x4c]
push edx
lea edx, [ebp - 0x90]
push edx
push ebx
xor ebx, ebx
push ebx
push 0x4008
push ebx
push ebx
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x61f9c6
push dword [ebp - 0x48]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x4c]
cmp eax, 0xffffffff
je 0x61f9c6
mov dword [esi + 0x54], eax
mov esi, dword [esi + 0x54]
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.004285f6
push ebx
push 1
lea ecx, [ebp - 0x3c]
call fcn.004285f6
mov eax, esi
pop ebx
jmp 0x61f9e7
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x620935
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
push esi
push edi
push 0
mov esi, ecx
lea ecx, [ebp - 0x28]
push 0
call fcn.004cc35d
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov edi, dword [ebp + 8]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x62096c
push 0xfffffffffffffffe
pop eax
jmp 0x620a01
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
push edi
call fcn.006208fe
test eax, eax
je 0x620995
push 0xa
push 0x563
call fcn.0058dfbe
push eax
mov ecx, esi
call fcn.0062119c
or eax, 0xffffffff
jmp 0x620a01
lea ecx, [ebp - 0x14]
call fcn.004cc3c3
push dword [ebp + 0x10]
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 0xc]
push eax
call fcn.00620b33
test eax, eax
jne 0x620a01
lea ecx, [ebp - 0x14]
call fcn.00468c74
test al, al
je 0x6209c7
push 0xa
push 0x57b
jmp 0x620983
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0x14]
call fcn.0047a9b6
lea eax, [ebp - 0x14]
push eax
push 0x6d5874
lea eax, [ebp - 0x38]
push 0x10
push eax
call fcn.00465192
add esp, 0x10
lea eax, [ebp - 0x14]
mov ecx, esi
push dword [ebp + 0x14]
push eax
push dword [edi]
call fcn.00620a09
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x620a09
Capabilities:
Connect socket
Set socket configuration

Disassembly:
mov eax, 0x6b9d2e
call fcn.006426c4
sub esp, 0x8c
push ebx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0x8004667e
push dword [ebp + 8]
mov ebx, ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x620a41
or eax, eax
jmp 0x620b22
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push esi
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0047a9b6
mov byte [ebp - 0xd], 1
call fcn.00479151
push dword [ebp - 0x18]
and dword [ebp - 4], 0
lea eax, [ebp - 0x98]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x620ab6
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
cmp esi, 0x2733
je 0x620aae
cmp esi, 0x2734
je 0x620aae
push esi
push 0x49b
call fcn.0058dfbe
push eax
mov ecx, ebx
call fcn.006210c9
mov dword [ebp - 4], 1
jmp 0x620b1a
push dword [ebp + 0xc]
call fcn.0047722d
mov dword [ebp - 4], 2
call fcn.00479192
push dword [ebp + 0x10]
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push dword [ebp + 8]
call fcn.00620f0f
mov esi, eax
mov byte [ebp + 0x13], 1
call fcn.00479151
mov dword [ebp - 4], 3
test esi, esi
je 0x620b0b
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push 0x573
call fcn.0058dfbe
push eax
mov ecx, ebx
call fcn.006210c9
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_closesocket]
push dword [ebp + 0xc]
call fcn.00478d91
mov dword [ebp - 4], 4
call fcn.00479192
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x620bff
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
and dword [ebp + 0x10], 0
push edi
mov dword [ebp - 8], esi
xor edi, edi
mov dword [ebp - 4], eax
jmp 0x620c60
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 8]
call fcn.00620e8b
test eax, eax
jne 0x620c64
push eax
push eax
lea eax, [ebp + 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
jne 0x620c79
mov eax, dword [ebp + 0xc]
sub esi, eax
add dword [ebp - 4], eax
add edi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x620c75
test eax, eax
je 0x620c75
test esi, esi
jg 0x620c1d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, edi
jmp 0x620c6c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push 0x49c
call fcn.0058dfbe
push eax
mov ecx, ebx
call fcn.006210c9
neg esi
mov eax, esi
jmp 0x620c6c

Function at 0x620f93
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, ecx
push edi
mov dword [ebp - 8], esi
xor edi, edi
mov dword [ebp - 4], eax
jmp 0x620fe9
push dword [ebp + 0x14]
mov ecx, ebx
push dword [ebp + 8]
call fcn.00620f0f
test eax, eax
jne 0x620fed
push eax
push eax
push eax
lea eax, [ebp + 0x10]
push eax
push 1
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x621002
mov eax, dword [ebp + 0x10]
sub esi, eax
add dword [ebp - 4], eax
add edi, eax
mov dword [ebp - 8], esi
test esi, esi
je 0x620ffe
test esi, esi
jg 0x620fad
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, edi
jmp 0x620ff5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
push 0x49d
call fcn.0058dfbe
push eax
mov ecx, ebx
call fcn.006210c9
neg esi
mov eax, esi
jmp 0x620ff5
Function at 0x621aa7
Capabilities:
Get common file path

Disassembly:
sub esp, 0x22c
cmp dword [0x7ec964], 0
mov dword [esp], 0x735b44
mov dword [esp + 4], 0x621622
mov dword [esp + 8], str.getnameinfo
mov dword [esp + 0xc], 0x6218cb
mov dword [esp + 0x10], 0x735b5c
mov dword [esp + 0x14], fcn.006215e7
jne 0x621bfe
push 0x104
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryA]
test eax, eax
je 0x621bf4
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x134]
mov ebx, 0x10c
push eax
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.00674ba8
push str.ws2_32
lea eax, [esp + 0x38]
push ebx
push eax
call fcn.00674c02
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov ebx, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov esi, eax
mov ebp, dword [sym.imp.KERNEL32.DLL_FreeLibrary]
xor edi, edi
test esi, esi
je 0x621b67
push 0x735b44
push esi
call ebx
test eax, eax
jne 0x621b63
push esi
call ebp
mov esi, edi
test esi, esi
jne 0x621bb8
lea eax, [esp + 0x134]
mov esi, 0x10c
push eax
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.00674ba8
push str.wship6
lea eax, [esp + 0x38]
push esi
push eax
call fcn.00674c02
add esp, 0x18
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x621bf0
push 0x735b44
push esi
call ebx
test eax, eax
jne 0x621bb4
push esi
call ebp
mov esi, edi
test esi, esi
je 0x621bf0
mov ebx, edi
push dword [esp + ebx*8 + 0x10]
push esi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [esp + ebx*8 + 0x14], eax
test eax, eax
je 0x621bd5
inc ebx
cmp ebx, 3
jl 0x621bba
jmp 0x621bda
push esi
call ebp
mov esi, edi
test esi, esi
je 0x621bf0
mov eax, dword [esp + edi + 0x14]
mov dword [edi + 0x7a9d1c], eax
add edi, 8
cmp edi, 0x18
jl 0x621bde
pop edi
pop esi
pop ebp
pop ebx
mov dword [0x7ec964], 1
movzx eax, word [esp + 0x230]
mov eax, dword [eax*8 + 0x7a9d1c]
add esp, 0x22c
ret 4

Function at 0x621df8
Capabilities:
Resolve dns

Disassembly:
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x20]
push esi
push edi
push dword [esp + 0x14]
and dword [ebp], 0
mov byte [ebx], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
je 0x621e74
cmp word [esi + 8], 2
jne 0x621e56
push 4
pop eax
cmp word [esi + 0xa], ax
jne 0x621e56
mov edi, dword [esi + 0xc]
jmp 0x621e50
push dword [eax]
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.00621d52
mov dword [ebp], eax
test eax, eax
je 0x621e6f
lea ebp, [eax + 0x1c]
add edi, 4
mov eax, dword [edi]
test eax, eax
jne 0x621e30
push 0x400
push dword [esi]
push 0x401
push ebx
call fcn.00674d1c
add esp, 0x10
xor eax, eax
jmp 0x621e92
push 8
pop eax
jmp 0x621e92
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, 0x2af9
sub eax, ecx
je 0x621e90
sub eax, 1
je 0x621ea0
sub eax, 1
je 0x621e99
sub eax, 1
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret 0x18
mov eax, 0x2afb
jmp 0x621e92
mov eax, 0x2afa
jmp 0x621e92
Function at 0x623120
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 8]
push esi
push eax
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x18]
push eax
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 8]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xc]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x62316e
push dword [ebp - 4]
lea eax, [ebp - 0x18]
push dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x62316e
xor al, al
jmp 0x623199
mov eax, dword [esi + 4]
test eax, eax
je 0x623197
cmp dword [eax + 0xc], 1
je 0x623197
mov ecx, dword [esi + 0x50]
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi + 0xa0], 0
mov byte [esi + 0xaa], 0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x624090
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
call fcn.00623b7b
test al, al
je 0x6240a7
push 0
push dword [esi + 0x14]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret 4
Function at 0x6255c2
Capabilities:
Check for unmoving mouse cursor
Hide graphical window

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
cmp byte [esi + 0x75], 0
je 0x6255d7
cmp byte [esi + 0x74], 0
je 0x6255d7
mov byte [esi + 0x74], 0
jmp 0x6255e2
push 0
push dword [esi + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
call fcn.006230f2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x625748
mov eax, dword [0x7eca9c]
inc eax
and eax, reloc.WS2_32.dll_accept
jns 0x625606
dec eax
or eax, 0xfffffffe
inc eax
mov dword [0x7eca9c], eax
je 0x625625
cmp byte [ecx + 9], 0
jne 0x625625
call fcn.00622a8a
mov ecx, dword [esi + 0x50]
push 0x6ac
call fcn.00625c3a
mov eax, dword [esi + 4]
cmp dword [eax + 0xc], 1
je 0x625748
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x14]
push edi
push eax
mov eax, dword [esi + 0x50]
push dword [eax + 4]
call ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x50]
lea ecx, [esp + 0x10]
mov ebx, dword [sym.imp.USER32.dll_ScreenToClient]
push ecx
push dword [eax + 4]
call ebx
mov edi, dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x625687
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push dword [esp + 0x14]
push eax
call edi
test eax, eax
jne 0x625745
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x18]
push eax
mov eax, dword [esi + 0x50]
push dword [eax + 0x38]
call ebp
mov eax, dword [esi + 0x50]
push dword [eax + 0x38]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x6256d3
mov eax, dword [esi + 0x50]
lea ecx, [esp + 0x10]
push ecx
push dword [eax + 0x38]
call ebx
test eax, eax
je 0x6256d3
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push dword [esp + 0x14]
push eax
call edi
test eax, eax
jne 0x625745
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x18]
push eax
push dword [esi + 0x14]
call ebp
lea eax, [esp + 0x10]
mov ecx, esi
push eax
mov eax, dword [esi]
call dword [eax + 0xc]
push eax
call ebx
test eax, eax
je 0x62572e
push dword [esp + 0x14]
lea eax, [esp + 0x1c]
push dword [esp + 0x14]
push eax
call edi
test eax, eax
je 0x62572e
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x62573e
sub eax, 1
mov dword [esi + 0xa0], eax
jne 0x62573e
push 0
mov ecx, esi
call fcn.0062609e
jmp 0x62573e
push 0
mov ecx, esi
call fcn.0062609e
and dword [esi + 0xa0], 0
mov ecx, esi
call fcn.00623468
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x18
ret 4
Function at 0x62609e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x62610a
cmp dword [eax + 0xc], 1
je 0x62610a
push ebx
mov bl, byte [ebp + 8]
cmp byte [esi + 0xaa], bl
je 0x626109
movzx eax, bl
neg eax
sbb eax, eax
and eax, 4
push eax
mov eax, dword [esi + 0x50]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x50]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [esi + 0x50]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov byte [esi + 0xaa], bl
mov ecx, dword [esi + 0x50]
push 0
call fcn.00625ebd
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x6278f0
Capabilities:
Get file size
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x40
lea eax, [esp + 0xc]
push edi
mov edi, dword [esp + 0x48]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileInformationByHandle]
test eax, eax
jne 0x627912
mov eax, 0x200
jmp 0x627a93
mov ecx, dword [esp + 0x10]
mov edx, ecx
and edx, 1
push esi
mov esi, edx
test cl, 2
je 0x627926
or esi, 2
test cl, 4
je 0x62792e
or esi, 4
mov eax, ecx
and eax, 0x10
je 0x627938
or esi, 0x10
test cl, 0x20
je 0x627940
or esi, 0x20
neg eax
sbb eax, eax
and eax, 0xc0000000
add eax, 0x81000000
or esi, eax
test edx, edx
jne 0x62795a
or esi, 0x800000
push ebx
push ebp
xor ebp, ebp
push ebp
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov ebx, eax
cmp ebx, 0x28
jbe 0x627a0a
push ebp
push ebp
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_SetFilePointer]
push edi
call ebp
push 0
lea eax, [esp + 0x14]
push eax
push 2
lea eax, [esp + 0x60]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
push 0
push 0
push 0x24
push edi
call ebp
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, 0x54ad
cmp word [esp + 0x54], ax
jne 0x627a0a
mov ecx, dword [esp + 0x14]
lea eax, [ecx + 0x34]
cmp ebx, eax
jbe 0x627a0a
push 0
push 0
push ecx
push edi
call ebp
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea eax, [esp + 0x24]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov eax, dword [esp + 0x18]
cmp eax, 0x5a4d
je 0x627a04
cmp eax, 0x454e
je 0x627a04
cmp eax, 0x454c
je 0x627a04
cmp eax, 0x4550
jne 0x627a0a
or esi, 0x400000
mov eax, dword [esp + 0x58]
test eax, eax
je 0x627a14
mov dword [eax], esi
mov eax, dword [esp + 0x5c]
test eax, eax
je 0x627a1e
mov dword [eax], ebx
mov esi, dword [esp + 0x60]
pop ebp
pop ebx
test esi, esi
je 0x627a60
push dword [esp + 0x24]
push dword [esp + 0x24]
call fcn.00628bd1
push dword [esp + 0x2c]
mov dword [esi], eax
push dword [esp + 0x2c]
mov dword [esi + 4], edx
call fcn.00628bd1
push dword [esp + 0x1c]
mov dword [esi + 8], eax
push dword [esp + 0x1c]
mov dword [esi + 0xc], edx
call fcn.00628bd1
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov esi, dword [esp + 0x5c]
test esi, esi
je 0x627a90
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x50]
push eax
push dword [esp + 0x34]
push dword [esp + 0x34]
call fcn.00628b74
movzx ecx, word [esp + 0x4c]
movzx eax, word [esp + 0x50]
shl ecx, 0x10
or ecx, eax
mov dword [esi], ecx
xor eax, eax
pop esi
pop edi
add esp, 0x40
ret 0x14