joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10037e4e
Capabilities:
Create directory

Disassembly:
push ebp
lea ebp, [esp - 0xb94]
sub esp, 0xc14
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp + 0xb90], eax
mov eax, dword [ebp + 0xba0]
push ebx
push edi
mov edi, dword [ebp + 0xb9c]
xor ebx, ebx
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x74], eax
cmp edi, ebx
je 0x1003807f
cmp eax, ebx
je 0x1003807f
mov eax, dword [0x10077cc0]
test eax, 0x1000
je 0x1003807f
test eax, 0x10000
jne 0x1003807f
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp + 0x591]
push ebx
push eax
mov byte [ebp + 0x590], bl
call fcn.10044b80
push esi
lea eax, [ebp - 0x6f]
push ebx
push eax
mov byte [ebp - 0x70], bl
call fcn.10044b80
lea eax, [ebp - 0x70]
push eax
push edi
call fcn.10040337
add esp, 0x20
cmp eax, 0xffffffff
je 0x1003807e
mov edi, 0x10153e28
mov dword [ebp - 0x7c], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call fcn.1002c3f8
pop ecx
mov dword [ebp - 0x80], eax
cmp eax, ebx
je 0x10037f8f
mov esi, 0x1ff
push esi
lea eax, [ebp + 0x991]
push ebx
push eax
mov byte [ebp + 0x990], bl
call fcn.10044b80
push esi
lea eax, [ebp + 0x391]
push ebx
push eax
mov byte [ebp + 0x390], bl
call fcn.10044b80
lea eax, [ebp + 0x990]
push 0x10154028
push eax
call fcn.1000789a
lea eax, [ebp + 0x990]
push eax
lea eax, [ebp + 0x390]
push eax
call fcn.1000789a
mov esi, str._truep
lea eax, [ebp + 0x990]
push esi
push eax
call fcn.10044fa0
add esp, 0x30
mov dword [ebp - 0x7c], eax
cmp eax, ebx
je 0x10037f8f
call fcn.10037e07
mov eax, dword [ebp - 0x7c]
add eax, 0xfffffffa
push esi
push eax
call fcn.1000789a
pop ecx
pop ecx
lea edi, [ebp + 0x990]
push edi
lea eax, [ebp + 0x590]
push str._sLogFTPD
push eax
call fcn.10044ec8
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push ebx
lea eax, [ebp + 0x590]
push eax
call esi
mov eax, dword [ebp - 0x74]
push eax
push edi
mov byte [eax + 0xa], bl
lea eax, [ebp + 0x590]
push str._sLogFTPD_s
push eax
call fcn.10044ec8
add esp, 0x10
push ebx
lea eax, [ebp + 0x590]
push eax
call esi
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
lea eax, [ebp + 0x590]
push edi
push str._sLogFTPD_s_s
push eax
call fcn.10044ec8
add esp, 0x14
cmp dword [0x1015568c], 0x45
jne 0x10038017
lea eax, [ebp + 0x590]
push eax
push dword [ebp - 0x78]
push str.Real_CopyFileA_4FTP__s___s_
push ebx
call fcn.1004122a
add esp, 0x10
push ebx
lea eax, [ebp + 0x590]
push eax
push dword [ebp - 0x78]
call dword [0x101be534]
test eax, eax
jne 0x1003806f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push ebx
lea ecx, [ebp - 0x74]
push ecx
push 0x400
push eax
push ebx
push 0x1300
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [ebp - 0x74]
lea eax, [ebp + 0x590]
push eax
push dword [ebp - 0x78]
push str.FTP_CopyFile__s_____s__ErrMsg__s_
push 1
call fcn.1004122a
add esp, 0x14
push dword [ebp - 0x74]
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [ebp - 0x80], ebx
je 0x1003807e
cmp dword [ebp - 0x7c], ebx
je 0x1003807e
call fcn.10037e2a
pop esi
mov ecx, dword [ebp + 0xb90]
pop edi
xor ecx, ebp
pop ebx
call fcn.10044b6f
add ebp, 0xb94
leave
ret
Function at 0x1003839d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0x1006a7dc
mov esi, 0x10154628
push esi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x10038431
push 0x1006a7d0
push esi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x10038431
push str.services.exe
push esi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x10038431
push str.svchost.exe
push esi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x10038431
push str.rundll32.exe
push esi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x10038431
push str.dllhost.exe
push esi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x10038431
push 0x10067bb8
push esi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
jne 0x10038483
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0x3ff
mov esi, eax
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.10044b80
push 0x10060ec9
push 0x100627e4
lea eax, [ebp - 0x404]
push eax
push esi
call fcn.100401a1
lea eax, [ebp - 0x404]
mov edx, edi
mov ecx, eax
add esp, 0x1c
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10038479
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.10044b6f
leave
ret
Function at 0x1003a371
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push dword [ebp + 8]
mov byte [ebp - 4], al
call fcn.1003a342
xor ecx, ecx
test al, al
setne cl
or ecx, 2
push ecx
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.1003a35c
add esp, 0x10
leave
ret

Function at 0x1003a3a8
Capabilities:
Check os version
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
mov ebx, 0x90
cmp byte [ebp + 8], bl
jne 0x1003a424
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x1003a3e5
push esi
mov esi, dword [sym.imp.USER32.dll_keybd_event]
push 0
push 1
push 0x45
push ebx
call esi
push 0
push 3
push 0x45
push ebx
call esi
pop esi
jmp 0x1003a468
shr eax, 8
cmp al, 0xa
jb 0x1003a468
push 0x34
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.10044b80
xor eax, eax
inc eax
add esp, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x3c], eax
push 2
mov eax, ebx
mov word [ebp - 0x1c], ax
pop eax
push 0x1c
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov word [ebp - 0x38], bx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_SendInput]
jmp 0x1003a468
movzx eax, byte [ebp + 8]
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push dword [ebp + 8]
mov byte [ebp - 4], al
call fcn.1003a342
xor ecx, ecx
test al, al
setne cl
push ecx
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.1003a35c
add esp, 0x10
cmp byte [ebp + 0xc], 0
je 0x1003a468
push 3
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.1003a35c
add esp, 0xc
pop ebx
leave
ret
Function at 0x1003d913
Capabilities:
Reference cloudflare dns server

Disassembly:
mov eax, dword [esp + 4]
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x1003d9cd
mov ecx, dword [eax + 4]
cmp ecx, 0x100007f
jne 0x1003d936
mov al, 1
jmp 0x1003dadf
cmp ecx, ebx
je 0x1003d92f
cmp ecx, 0x1010101
je 0x1003d92f
cmp ecx, 0xffffffff
je 0x1003d92f
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
cmp edi, ebx
je 0x1003dadd
cmp byte [0x101578f8], bl
je 0x1003d971
push 0x101578f8
push edi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x1003d92f
cmp byte [0x1015db48], bl
je 0x1003d97d
cmp byte [edi], bl
jne 0x1003d998
push 0x1015b508
push 0x1015b698
push edi
call fcn.10011181
add esp, 0xc
test al, al
je 0x1003daca
push edi
mov esi, 0x1015db48
push esi
call fcn.10007842
pop ecx
pop ecx
test eax, eax
je 0x1003dadd
mov eax, dword [0x1015568c]
cmp eax, 0x68
je 0x1003d9c1
cmp eax, 2
jne 0x1003d92f
push edi
push esi
push str.CSendMonitorDDX::isMyIP_g_tc_ExceptIP_:__s__strAddr_:__s
jmp 0x1003dabc
mov edi, dword [esp + 0x14]
cmp edi, ebx
je 0x1003dadd
cmp byte [0x101578f8], bl
je 0x1003d9f6
push 0x101578f8
push edi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x1003d92f
push 8
push str.169.254.
push edi
call fcn.100077eb
add esp, 0xc
test eax, eax
jne 0x1003da19
mov dword [0x100774a8], 0x1f2e3d4c
jmp 0x1003d92f
push str.127.0.0.1
push edi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x1003d92f
push str.0.0.0.0
push edi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x1003d92f
push str.1.1.1.1
push edi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x1003d92f
push str.255.255.255.255
push edi
call fcn.10007795
pop ecx
pop ecx
test eax, eax
je 0x1003d92f
cmp byte [0x1015db48], bl
je 0x1003daca
cmp byte [edi], bl
je 0x1003dadd
push edi
mov esi, 0x1015db48
push esi
call fcn.10007842
pop ecx
pop ecx
test eax, eax
jne 0x1003daa2
push 0x1015b508
push 0x1015b698
push edi
call fcn.10011181
add esp, 0xc
test al, al
je 0x1003daca
mov eax, dword [0x1015568c]
cmp eax, 0x68
je 0x1003dab5
cmp eax, 2
jne 0x1003d92f
push edi
push esi
push str.CSendMonitorDDX::isMyIP2_g_tc_ExceptIP_:__s__addr_:__s
push ebx
call fcn.1004122a
add esp, 0x10
jmp 0x1003d92f
cmp byte [edi], bl
je 0x1003dadd
push edi
call fcn.10015361
pop ecx
test al, al
jne 0x1003d92f
xor al, al
pop edi
pop esi
pop ebx
ret 8
Function at 0x1003db3d
Capabilities:
Get mac address on windows

Disassembly:
push ebp
lea ebp, [esp - 0x280c]
mov eax, 0x288c
call fcn.10044f70
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp + 0x2808], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x80], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x1003db78
xor al, al
jmp 0x1003dbf3
and dword [ebp - 0x7c], 0
push ebx
push esi
lea eax, [ebp - 0x78]
push edi
mov dl, byte [eax + 0x195]
lea esi, [eax + 0x194]
mov cl, byte [esi]
mov bl, cl
and bl, dl
and bl, byte [eax + 0x196]
mov dl, byte [eax + 0x199]
and bl, byte [eax + 0x197]
and bl, byte [eax + 0x198]
and bl, dl
cmp bl, 0xff
je 0x1003dbdf
or cl, byte [eax + 0x195]
or cl, byte [eax + 0x196]
or cl, byte [eax + 0x197]
or cl, byte [eax + 0x198]
or cl, dl
je 0x1003dbdf
mov edi, dword [ebp + 0x2814]
push 3
pop ecx
xor edx, edx
repe cmpsw word [esi], word es:[edi]
je 0x1003dc08
cmp dword [ebp - 0x7c], 0x10
mov eax, dword [eax]
jg 0x1003dbee
inc dword [ebp - 0x7c]
test eax, eax
jne 0x1003db82
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x2808]
xor ecx, ebp
call fcn.10044b6f
add ebp, 0x280c
leave
ret
mov al, 1
jmp 0x1003dbf0
Function at 0x1003f616
Capabilities:
Get common file path

Disassembly:
push ebx
push ebp
push esi
push edi
push 0x100686bc
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, 0x200
push edi
mov esi, 0x10153c28
push esi
push eax
call fcn.10040af6
xor ebx, ebx
add esp, 0xc
cmp byte [0x10153c28], bl
jne 0x1003f668
push edi
push esi
push str.TC_InstallPath
push str.SOFTWARE_trueEP_tc_INSTALL
push reloc.WS2_32.dll_bind
call fcn.1004171d
add esp, 0x14
cmp eax, 0xffffffff
jne 0x1003f668
mov byte [0x10153c28], bl
push 0x10153e28
push esi
call fcn.100402d9
push edi
mov esi, 0x10154228
push esi
push ebx
call fcn.10040af6
add esp, 0x14
xor eax, eax
mov cl, byte [eax + 0x10153e28]
mov byte [eax + 0x10154028], cl
inc eax
cmp cl, bl
jne 0x1003f685
push 0x10154028
call fcn.10044e58
push esi
call fcn.10046859
push 0x10154a28
push esi
call fcn.10040337
add esp, 0x10
xor eax, eax
mov cl, byte [eax + 0x10154a28]
mov byte [eax + 0x10154c28], cl
inc eax
cmp cl, bl
jne 0x1003f6b6
xor eax, eax
mov cl, byte [eax + 0x10154228]
mov byte [eax + 0x10154428], cl
inc eax
cmp cl, bl
jne 0x1003f6c9
xor eax, eax
mov cl, byte [eax + 0x10154a28]
mov byte [eax + 0x10154628], cl
inc eax
cmp cl, bl
jne 0x1003f6dc
push 0x10154428
call fcn.10044e58
mov dword [esp], 0x10154628
call fcn.10044e58
mov ebp, 0x400
push ebp
push ebx
mov edi, 0x10156268
push edi
call fcn.10044b80
push ebp
push ebx
mov esi, 0x10155e68
push esi
call fcn.10044b80
add esp, 0x1c
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push esi
push ebx
push ebx
push 0x25
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
push esi
call fcn.10044e58
push edi
call fcn.10044e58
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x1003f7da
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
push 0xdc
mov byte [0x102d2d92], 1
call dword [sym.imp.KERNEL32.dll_Sleep]
xor ebx, ebx
cmp dword [0x1015568c], ebx
je 0x1003f805
push str.TerminateMythread
push ebx
call fcn.1004122a
pop ecx
pop ecx
mov eax, dword [0x10150ccc]
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
cmp eax, ebx
je 0x1003f828
push eax
call dword [sym.imp.USER32.dll_UnhookWinEvent]
mov eax, dword [0x10150ca8]
cmp eax, ebx
je 0x1003f828
push ebx
push eax
call esi
mov eax, dword [0x10150ca4]
cmp eax, ebx
je 0x1003f84c
test dword [0x1015686c], 0x40000000
push eax
je 0x1003f846
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x1003f84c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x1015568c], ebx
je 0x1003f861
push str.End_TerminateMythread
push ebx
call fcn.1004122a
pop ecx
pop ecx
mov eax, dword [0x10153a00]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp eax, ebx
je 0x1003f874
push eax
call edi
mov eax, dword [0x102dcdb4]
cmp eax, ebx
je 0x1003f880
push eax
call edi
mov eax, dword [0x10184ed0]
cmp eax, ebx
je 0x1003f88c
push eax
call edi
mov eax, dword [0x10184ecc]
cmp eax, ebx
je 0x1003f898
push eax
call edi
pop edi
cmp byte [0x10150896], bl
je 0x1003f8a7
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [0x100a1be0]
cmp eax, ebx
je 0x1003f8b4
push ebx
push eax
call esi
mov eax, dword [0x10150878]
cmp eax, ebx
je 0x1003f8c1
push ebx
push eax
call esi
mov eax, dword [0x10150884]
cmp eax, ebx
je 0x1003f8ce
push ebx
push eax
call esi
mov eax, dword [0x10150880]
cmp eax, ebx
je 0x1003f8db
push ebx
push eax
call esi
mov eax, dword [0x100a1be4]
cmp eax, ebx
je 0x1003f8e8
push ebx
push eax
call esi
mov eax, dword [0x100a1be8]
cmp eax, ebx
je 0x1003f8f5
push ebx
push eax
call esi
mov eax, dword [0x100a1bec]
cmp eax, ebx
je 0x1003f902
push ebx
push eax
call esi
mov eax, dword [0x100a1bf0]
cmp eax, ebx
je 0x1003f90f
push ebx
push eax
call esi
mov eax, dword [0x100a1bf4]
cmp eax, ebx
je 0x1003f91c
push ebx
push eax
call esi
pop esi
pop ebx
ret
Function at 0x100408d8
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov byte [edi], 0
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100408e9
sub eax, ecx
mov ebx, eax
xor esi, esi
test ebx, ebx
jle 0x10040928
push 0xa
pop ecx
mov eax, esi
cdq
idiv ecx
mov ecx, dword [esp + 0x10]
movzx ecx, byte [esi + ecx]
movzx eax, byte [edx + str._8N8Oe]
xor eax, ecx
push eax
push edi
push str._s_02x
push edi
call fcn.10044ec8
add esp, 0x10
inc esi
cmp esi, ebx
jl 0x100408fa
push edi
call fcn.10046859
pop ecx
pop edi
pop esi
pop ebx
ret

Function at 0x10040933
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
mov eax, ebx
push esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10040943
sub eax, edx
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], esi
jle 0x100409bb
push edi
xor eax, eax
lea edi, [ebp - 7]
stosw word es:[edi], ax
mov al, byte [esi + ebx]
mov byte [ebp - 8], al
inc esi
mov al, byte [esi + ebx]
mov byte [ebp - 7], al
lea eax, [ebp - 1]
push eax
lea eax, [ebp - 8]
push eax
inc esi
mov byte [ebp - 6], 0
call fcn.1004082b
mov eax, dword [ebp - 0xc]
push 0xa
cdq
pop ecx
idiv ecx
mov al, byte [ebp - 1]
mov byte [ebp - 7], 0
xor al, byte [edx + str._8N8Oe]
inc dword [ebp - 0xc]
mov byte [ebp - 1], al
mov byte [ebp - 8], al
lea eax, [ebp - 8]
push eax
push dword [ebp + 0xc]
push 0x10062ca4
push dword [ebp + 0xc]
call fcn.10044ec8
add esp, 0x18
cmp esi, dword [ebp - 0x10]
jl 0x10040959
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10040c17
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x18
push 0x100746a8
call fcn.10047ddc
mov esi, dword [ebp + 0x14]
mov dword [ebp + 0x14], esi
xor edi, edi
mov dword [ebp - 4], edi
push 4
pop eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10040c5f
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x10040d1e
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x1c]
test eax, eax
je 0x10040c87
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10040c51
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [0x101570e7], 0
je 0x10040d01
push str._tc_Env
push dword [ebp + 0xc]
mov esi, dword [sym.imp.SHLWAPI.dll_StrStrIA]
call esi
test eax, eax
jne 0x10040cb8
push str.TC_INSTALL
push dword [ebp + 0xc]
call esi
test eax, eax
je 0x10040d01
xor bl, bl
mov dword [ebp - 0x28], edi
mov esi, dword [ebp + 0x10]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10040cc5
sub eax, edx
cmp edi, eax
jae 0x10040ce2
movsx eax, byte [edi + esi]
push eax
call fcn.1004816a
pop ecx
add bl, al
inc edi
jmp 0x10040cba
movsx eax, bl
and eax, 0x8000001f
jns 0x10040cf1
dec eax
or eax, 0xffffffe0
inc eax
movsx ecx, al
and ecx, 0x1f
mov eax, dword [ebp + 0x14]
rol eax, cl
mov dword [ebp + 0x14], eax
jmp 0x10040d04
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], 0xfffffffe
jmp 0x10040d1e
call fcn.10047e21
ret
Function at 0x10040d71
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push esi
mov dword [ebp - 0x14], eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x10040dad
push 8
mov esi, str._1._1_GetFileVersionInfoSize_Err
mov edi, dword [ebp - 0x14]
pop ecx
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
jmp 0x10040e4b
push edi
call fcn.10044f63
push edi
push 0
push eax
mov dword [ebp - 0x10], eax
call fcn.10044b80
add esp, 0x10
push dword [ebp - 0x10]
push edi
push 0
push esi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x10040de4
push dword [ebp - 0x10]
call fcn.10044ebd
pop ecx
push 7
mov esi, str._1._2_GetFileVersionInfo_Err
jmp 0x10040da1
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x10]
call fcn.10040d24
pop ecx
pop ecx
test eax, eax
je 0x10040e13
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
mov dx, word [ebp - 0x40]
mov si, word [ebp - 0x3c]
shr ecx, 0x10
shr eax, 0x10
jmp 0x10040e23
mov si, word [ebp - 6]
mov ax, word [ebp - 8]
mov dx, word [ebp - 0xa]
mov cx, word [ebp - 0xc]
movzx eax, ax
movzx esi, si
push esi
push eax
movzx eax, dx
push eax
movzx eax, cx
push eax
push str._d._d._d._d
push dword [ebp - 0x14]
call fcn.10044ec8
push dword [ebp - 0x10]
call fcn.10044ebd
add esp, 0x1c
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor al, al
pop esi
call fcn.10044b6f
leave
ret
Function at 0x10041cf0
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x31ac
call fcn.10044f70
mov eax, dword [0x10083adc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 0x31a8], edi
cmp dword [0x1015568c], ebx
je 0x10041d30
push esi
push edi
push str.in_Send8Str__s___s_
push ebx
call fcn.1004122a
add esp, 0x10
cmp byte [0x101570b1], bl
jne 0x10041d40
cmp byte [0x102d2d93], bl
je 0x10041d47
push esi
call fcn.10041ab6
pop ecx
lea eax, [ebp - 0x31a4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x10041d6c
push esi
push str.WSAStartup_err___s_
push ebx
call fcn.1004122a
add esp, 0xc
push edi
call fcn.1000773e
mov dword [esp], 0x2dff
lea eax, [ebp - 0x3003]
push ebx
push eax
mov byte [ebp - 0x3004], bl
call fcn.10044b80
push esi
lea eax, [ebp - 0x3004]
push 0x100614b0
push eax
call fcn.10044ec8
add esp, 0x18
push 0x11
push 2
push 2
mov byte [ebp - 0x205], bl
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0x31ac], eax
cmp eax, 0xffffffff
jne 0x10041dd2
push esi
push str.socket_err___s_
push ebx
call fcn.1004122a
add esp, 0xc
jmp 0x10041e7e
push 0x10
lea eax, [ebp - 0x3014]
push ebx
push eax
call fcn.10007858
add esp, 0xc
push 2
pop eax
push 0x1f99
mov word [ebp - 0x3014], ax
call dword [sym.imp.WS2_32.dll_htons]
push str.127.0.0.1
mov word [ebp - 0x3012], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x3010], eax
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10041e16
push 0x10
lea ecx, [ebp - 0x3014]
push ecx
sub eax, edi
push ebx
inc eax
push eax
push esi
push dword [ebp - 0x31ac]
call dword [0x101b639c]
cmp eax, 0xffffffff
jne 0x10041e61
lea eax, [ebp - 0x204]
push eax
call fcn.1004077b
push esi
lea eax, [ebp - 0x204]
push eax
push str.sendto_err_:__s___s_
push ebx
call fcn.1004122a
add esp, 0x14
jmp 0x10041e7e
cmp dword [0x1015568c], ebx
je 0x10041e7e
push esi
push dword [ebp - 0x31a8]
push str.in_Send8Str_OK_send__s___s_
push ebx
call fcn.1004122a
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10044b6f
leave
ret
Function at 0x10044b6f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10083adc]
jne 0x10044b79
repz ret
jmp fcn.10048518

Function at 0x10047fb3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x10047fe4
call fcn.10049dcc
mov dword [eax], esi
call fcn.10049db9
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.10049d51
add esp, 0x14
push 0x16
pop eax
jmp 0x10048039
test dword [ebp + 0xc], 0xfffffff9
jne 0x10047fc0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10048011
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10049ddf
pop ecx
call fcn.10049db9
mov eax, dword [eax]
jmp 0x10048039
test al, 0x10
jne 0x10048037
test al, 1
je 0x10048037
test byte [ebp + 0xc], 2
je 0x10048037
call fcn.10049dcc
mov dword [eax], 5
call fcn.10049db9
mov dword [eax], 0xd
jmp 0x10048008
xor eax, eax
pop esi
pop ebp
ret

Function at 0x10054ddf
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.1004923d
and dword [ebp - 4], 0
cmp dword [0x102dd8e8], 0
mov ebx, eax
jne 0x10054e90
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10054f41
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10073c9c
push edi
call esi
test eax, eax
je 0x10054f41
push eax
call fcn.100491cb
mov dword [esp], 0x10073c8c
push edi
mov dword [0x102dd8e8], eax
call esi
push eax
call fcn.100491cb
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x102dd8ec], eax
call esi
push eax
call fcn.100491cb
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x102dd8f0], eax
call esi
push eax
call fcn.100491cb
pop ecx
mov dword [0x102dd8f8], eax
test eax, eax
je 0x10054e90
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.100491cb
pop ecx
mov dword [0x102dd8f4], eax
mov eax, dword [0x102dd8f4]
cmp eax, ebx
je 0x10054ee8
cmp dword [0x102dd8f8], ebx
je 0x10054ee8
push eax
call fcn.10049246
push dword [0x102dd8f8]
mov esi, eax
call fcn.10049246
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10054ee8
test edi, edi
je 0x10054ee8
call esi
test eax, eax
je 0x10054edf
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10054edf
test byte [ebp - 0xc], 1
jne 0x10054ee8
or dword [ebp + 0x10], 0x200000
jmp 0x10054f21
mov eax, dword [0x102dd8ec]
cmp eax, ebx
je 0x10054f21
push eax
call fcn.10049246
pop ecx
test eax, eax
je 0x10054f21
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10054f21
mov eax, dword [0x102dd8f0]
cmp eax, ebx
je 0x10054f21
push eax
call fcn.10049246
pop ecx
test eax, eax
je 0x10054f21
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x102dd8e8]
call fcn.10049246
pop ecx
test eax, eax
je 0x10054f41
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10054f43
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret