joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42758d
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x2ac0]
mov eax, 0x2b3c
call fcn.00433730
mov eax, dword [0x4879c0]
xor eax, ebp
mov dword [ebp + 0x2abc], eax
push ebx
push esi
mov esi, dword [ebp + 0x2ac8]
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push str..PhysicalDrive0
mov byte [ebp - 0x49], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x50], eax
cmp eax, 0xffffffff
je 0x4276e5
push edi
push 0xc
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.00431530
mov edi, 0x2710
push edi
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.00431530
add esp, 0x18
push ebx
lea eax, [ebp - 0x5c]
push eax
push edi
lea eax, [ebp - 0x3c]
push eax
push 0xc
lea eax, [ebp - 0x48]
push eax
push 0x2d1400
push dword [ebp - 0x50]
mov dword [ebp - 0x5c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4276db
lea eax, [ebp + 0x26d4]
push eax
push 1
push dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
push eax
call fcn.00427289
movsx eax, byte [ebp + 0x26d4]
push eax
call fcn.00433a33
add esp, 0x14
test eax, eax
jne 0x427662
movsx eax, byte [ebp + 0x26e7]
push eax
call fcn.00433a33
pop ecx
test eax, eax
je 0x4276db
lea eax, [ebp + 0x26d4]
push eax
mov ecx, esi
call fcn.004039f8
lea eax, [ebp - 0x64]
push eax
mov ecx, esi
mov byte [ebp - 0x4a], 0x20
call fcn.00421478
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x74]
mov dword [ebp - 0x58], ecx
push eax
mov ecx, esi
call fcn.00421478
mov edi, eax
lea eax, [ebp - 0x6c]
push eax
mov ecx, esi
call fcn.00421458
lea ecx, [ebp - 0x4a]
push ecx
push dword [edi + 4]
push dword [edi]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x7c]
push eax
call fcn.0042750f
add esp, 0x18
push dword [ebp - 0x54]
mov ecx, esi
push dword [ebp - 0x58]
push dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x58]
push eax
call fcn.004214ca
cmp dword [esi + 0x14], ebx
je 0x4276db
mov byte [ebp - 0x49], 1
push dword [ebp - 0x50]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp + 0x2abc]
mov al, byte [ebp - 0x49]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ea9f
add ebp, 0x2ac0
leave
ret
Function at 0x42d46a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x48a758], 0
push esi
jne 0x42d3dd
call fcn.0042d303
test eax, eax
je 0x42d420
mov eax, dword [0x48a758]
cmp eax, 1
jne 0x42d3fe
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x42d420
pop esi
ret
push eax
call dword [0x48a760]
test eax, eax
jne 0x42d468
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x42d424
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x48a758]
call dword [0x48a760]
mov edi, eax
test edi, edi
je 0x42d449
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x42d465
mov edi, esi
add esi, 0xff0
push edi
push dword [0x48a758]
call dword [0x48a75c]
add edi, 0x10
cmp edi, esi
jb 0x42d451
mov eax, edi
pop edi
pop esi
ret
jmp 0x42d3ca

Function at 0x42ea9f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4879c0]
jne 0x42eaa9
repz ret
jmp fcn.00436f29

Function at 0x4434fa
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.004392a1
and dword [ebp - 4], 0
cmp dword [0x48b594], 0
mov ebx, eax
jne 0x4435ab
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x44365c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x44365c
push eax
call fcn.0043922f
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x48b594], eax
call esi
push eax
call fcn.0043922f
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x48b598], eax
call esi
push eax
call fcn.0043922f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x48b59c], eax
call esi
push eax
call fcn.0043922f
pop ecx
mov dword [0x48b5a4], eax
test eax, eax
je 0x4435ab
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043922f
pop ecx
mov dword [0x48b5a0], eax
mov eax, dword [0x48b5a0]
cmp eax, ebx
je 0x443603
cmp dword [0x48b5a4], ebx
je 0x443603
push eax
call fcn.004392aa
push dword [0x48b5a4]
mov esi, eax
call fcn.004392aa
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x443603
test edi, edi
je 0x443603
call esi
test eax, eax
je 0x4435fa
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4435fa
test byte [ebp - 0xc], 1
jne 0x443603
or dword [ebp + 0x10], 0x200000
jmp 0x44363c
mov eax, dword [0x48b598]
cmp eax, ebx
je 0x44363c
push eax
call fcn.004392aa
pop ecx
test eax, eax
je 0x44363c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x44363c
mov eax, dword [0x48b59c]
cmp eax, ebx
je 0x44363c
push eax
call fcn.004392aa
pop ecx
test eax, eax
je 0x44363c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x48b594]
call fcn.004392aa
pop ecx
test eax, eax
je 0x44365c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x44365e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x448c62
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax], 0
and dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret

Function at 0x44990d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4dc
mov eax, dword [0x4879c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
test eax, eax
je 0x4499e9
xor ecx, ecx
cmp cx, word [eax]
je 0x4499e9
push 0x476ee0
push eax
call fcn.0046464b
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x449954
inc eax
jmp 0x4499ec
lea eax, [ebp - 0x4dc]
push esi
push eax
call fcn.00448c62
push edi
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.00464568
add esp, 0x14
jmp 0x4499a2
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x4dc]
push eax
call fcn.00449671
push edi
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.00464568
add esp, 0x1c
test eax, eax
ja 0x44997b
lea eax, [ebp - 0x4dc]
push ebx
push eax
call fcn.0044970f
push 0xd8
lea eax, [ebp - 0x4dc]
push 0
push eax
call fcn.00431530
push edi
call fcn.00464294
add esp, 0x18
pop esi
push edi
test eax, eax
je 0x4499df
call fcn.00445d12
pop ecx
push 2
jmp 0x4499eb
call fcn.00445d12
pop ecx
xor eax, eax
jmp 0x4499ec
push 3
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042ea9f
leave
ret

Function at 0x4499fa
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4879c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x449a28
xor al, al
jmp 0x449a87
push 0x228
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.00431530
add esp, 0xc
lea eax, [ebp - 0x230]
push eax
push esi
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_Process32FirstW
jmp 0x449a76
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0044fce0
pop ecx
pop ecx
test eax, eax
je 0x449a7c
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x449a56
jmp 0x449a7e
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ea9f
leave
ret
Function at 0x449a96
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
je 0x449b3a
xor eax, eax
cmp ax, word [edi]
je 0x449b3a
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp + 8], eax
cmp eax, ebx
je 0x449b36
inc eax
push esi
push eax
call fcn.0042d95a
mov esi, eax
pop ecx
cmp esi, ebx
je 0x449b35
push esi
push dword [ebp + 8]
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x449b2e
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x477eb4
push esi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], 0x34
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x449b2e
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xa]
mov edx, dword [ebp + 0xc]
mov word [edx], cx
mov cx, word [eax + 8]
mov edx, dword [ebp + 0x10]
mov word [edx], cx
mov cx, word [eax + 0xe]
mov edx, dword [ebp + 0x14]
mov word [edx], cx
mov ax, word [eax + 0xc]
mov ecx, dword [ebp + 0x18]
mov word [ecx], ax
mov bl, 1
push esi
call fcn.0042f2c4
pop ecx
pop esi
mov al, bl
jmp 0x449b47
push 0x132b3a1
call fcn.00454878
pop ecx
xor al, al
pop edi
pop ebx
leave
ret

Function at 0x449fe2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
push 0xffffffffffffffff
xor edi, edi
mov esi, ecx
push edi
push dword [ebp + 0xc]
lea ecx, [esi + 8]
mov dword [esi + 4], eax
call fcn.00403966
push dword [ebp + 0x10]
lea ecx, [esi + 0x24]
call fcn.0042adea
push 0xffffffffffffffff
push edi
push dword [ebp + 0x14]
lea ecx, [esi + 0x3c]
call fcn.00403c9c
mov eax, dword [ebp + 0x18]
push edi
push edi
push esi
mov dword [esi + 0x64], eax
mov eax, dword [ebp + 0x1c]
push 0x449d32
mov dword [esi + 0x68], eax
mov eax, dword [ebp + 0x20]
push edi
push edi
mov dword [esi + 0x6c], eax
call fcn.0043093a
add esp, 0x18
pop edi
mov al, 1
pop esi
pop ebp
ret 0x1c

Function at 0x44a2e1
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
push edi
xor edi, edi
cmp dword [eax + 0x14], edi
je 0x44a36b
push esi
mov esi, dword [ebp + 0xc]
cmp dword [esi + 0x14], edi
je 0x44a36a
cmp dword [eax + 0x18], 0x10
jb 0x44a306
mov eax, dword [eax + 4]
jmp 0x44a309
add eax, 4
lea ecx, [ebp - 0x18]
push ecx
push eax
call fcn.0044a05e
pop ecx
pop ecx
test al, al
je 0x44a36a
cmp dword [esi + 0x18], 8
jb 0x44a324
mov eax, dword [esi + 4]
jmp 0x44a327
lea eax, [esi + 4]
push edi
push 0x80
push 3
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44a36a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x44a363
lea eax, [ebp - 8]
push eax
push edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
leave
ret 8
Function at 0x44a370
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esi + 8]
call fcn.0044ed88
xor ebx, ebx
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x554]
mov dword [esi + 0x550], ebx
call fcn.004041e8
lea edi, [esi + 0x5a8]
mov eax, dword [edi]
mov dword [esi + 0x5b0], ebx
mov dword [esi + 0x5b4], ebx
mov dword [esi + 0x5b8], ebx
mov dword [esi + 0x5bc], ebx
cmp eax, 0xffffffff
je 0x44a3e5
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [edi], 0xffffffff
cmp dword [esi + 0x5a0], ebx
je 0x44a3e5
lea eax, [esi + 0x58c]
cmp dword [eax + 0x18], 8
jb 0x44a3db
mov eax, dword [eax + 4]
jmp 0x44a3de
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x570]
call fcn.00404374
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x58c]
call fcn.00404374
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x450a38
xor eax, eax
cmp ax, word [esi]
je 0x450a38
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x450a43
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x450a34
test al, 0x10
je 0x450a34
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
push 0x132b3a1
call fcn.00454878
pop ecx
xor al, al
pop esi
ret
Function at 0x451654
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push 0x477768
push dword [ebp + 8]
mov ebx, ecx
call fcn.0046464b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x451692
push edi
push 1
push 2
push 0x47773c
call fcn.00440994
add esp, 0x10
cmp eax, 1
je 0x45169b
push edi
call fcn.00445d12
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret 4
lea esi, [ebx + 4]
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 0x10]
call fcn.0044b697
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x20]
call fcn.0044b697
jmp 0x451774
lea ecx, [ebp - 0x10]
call fcn.0045103f
mov esi, eax
cmp dword [esi + 0x18], 8
jb 0x4516d0
mov eax, dword [esi + 4]
jmp 0x4516d3
lea eax, [esi + 4]
push eax
push str.__s__r_n
push edi
call fcn.00464ed4
add esp, 0xc
test eax, eax
jl 0x45168b
add esi, 0x1c
push esi
push dword [esi + 0xc]
lea ecx, [ebp - 8]
call fcn.0044b697
push esi
push dword [esi + 0x10]
lea ecx, [ebp - 0x18]
call fcn.0044b697
jmp 0x451747
lea ecx, [ebp - 8]
call fcn.0045103f
cmp dword [eax + 0x34], 8
jb 0x451716
mov ecx, dword [eax + 0x20]
jmp 0x451719
lea ecx, [eax + 0x20]
cmp dword [eax + 0x18], 8
jb 0x451724
mov eax, dword [eax + 4]
jmp 0x451727
add eax, 4
push ecx
push eax
push str._s_s_r_n
push edi
call fcn.00464ed4
add esp, 0x10
test eax, eax
jl 0x45168b
lea ecx, [ebp - 8]
call fcn.0042a0ed
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 8]
call fcn.0045106b
test al, al
je 0x451703
push 0x477740
push edi
call fcn.00464ed4
pop ecx
pop ecx
test eax, eax
jl 0x45168b
lea ecx, [ebp - 0x10]
call fcn.00451092
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.0045106b
test al, al
je 0x4516bb
push edi
call fcn.00445d12
pop ecx
mov byte [ebx + 0x3c], 0
mov al, 1
jmp 0x451694
Function at 0x45476d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
call fcn.00453d58
push 0x476ee0
push dword [ebp + 8]
call fcn.0046464b
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4547e8
and dword [ebp - 4], 0
push edi
push esi
push 1
lea eax, [ebp - 4]
push 2
push eax
call fcn.00464568
push esi
mov edi, eax
call fcn.00445d12
add esp, 0x14
cmp edi, 1
pop edi
jne 0x4547e4
mov eax, 0xfeff
cmp word [ebp - 4], ax
je 0x4547d8
cmp word [ebp - 4], 0x5b
je 0x4547d8
cmp word [ebp - 4], 0x7f
jbe 0x4547d8
push dword [ebp + 8]
mov ecx, ebx
call fcn.00453fef
jmp 0x4547ea
push dword [ebp + 8]
mov ecx, ebx
call fcn.0045438a
jmp 0x4547ea
mov al, 1
jmp 0x4547ea
xor al, al
pop esi
pop ebx
leave
ret 4

Function at 0x454940
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4879c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x10
pop edi
xor ebx, ebx
push edi
lea eax, [ebp - 0x24]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
call fcn.00431530
push edi
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.00431530
add esp, 0x18
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x10]
mov dword [ebp - 0x28], edi
call sub.WS2_32.dll_getpeername
test eax, eax
jne 0x4549a4
push dword [ebp - 0x12]
call sub.WS2_32.dll_ntohs
movzx eax, ax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [esi + 0x10]
mov dword [ebp - 0x28], edi
call sub.WS2_32.dll_getsockname
test eax, eax
jne 0x4549cb
push dword [ebp - 0x22]
call sub.WS2_32.dll_ntohs
mov edi, dword [ebp - 0x20]
movzx ebx, ax
jmp 0x4549cd
mov edi, ebx
push dword [esi + 0x478]
mov ecx, esi
mov dword [esi + 4], 3
call fcn.00454897
push dword [ebp - 0x30]
mov ecx, dword [esi + 8]
push dword [ebp - 0x2c]
mov eax, dword [ecx]
push ebx
push edi
call dword [eax + 4]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ea9f
leave
ret

Function at 0x454c82
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x4879c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x10
lea eax, [ebp - 0x14]
push 0
push eax
mov esi, ecx
call fcn.00431530
add esp, 0xc
push 2
pop eax
mov word [ebp - 0x14], ax
mov eax, dword [esi + 0x70]
mov dword [ebp - 0x10], eax
movzx eax, word [esi + 0x6c]
push eax
call sub.WS2_32.dll_htons
mov word [ebp - 0x12], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push dword [esi + 0x10]
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x454ceb
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x454ceb
push 1
push eax
mov ecx, esi
call fcn.00454a76
jmp 0x454cf2
mov dword [esi + 4], 2
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042ea9f
leave
ret
Function at 0x454cff
Capabilities:
Send data
Send data on socket

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x454d8f
push edi
mov ecx, dword [esi + 0x30]
sub eax, ecx
cmp eax, 0x2000
jb 0x454d1f
mov eax, 0x2000
cmp dword [esi + 0x2c], 0x10
jb 0x454d2a
mov edx, dword [esi + 0x18]
jmp 0x454d2d
lea edx, [esi + 0x18]
push 0
push eax
add ecx, edx
push ecx
push dword [esi + 0x10]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
je 0x454d68
add dword [esi + 0x30], eax
mov edi, dword [esi + 0x30]
mov eax, dword [esi + 0x28]
cmp edi, eax
jne 0x454d0e
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x14]
call fcn.004041e8
mov ecx, dword [esi + 8]
and dword [esi + 0x30], 0
mov eax, dword [ecx]
push edi
call dword [eax + 8]
jmp 0x454d8e
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
jne 0x454d84
push dword [esi + 0x28]
mov ecx, dword [esi + 8]
push dword [esi + 0x30]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x454d8e
push 0
push eax
mov ecx, esi
call fcn.00454a76
pop edi
pop esi
ret

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

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x68], 0x10
jb 0x454c41
mov eax, dword [esi + 0x54]
jmp 0x454c44
lea eax, [esi + 0x54]
push 0x400
lea ecx, [esi + 0x74]
push ecx
push eax
mov eax, dword [esi + 0xc]
push 0x402
push dword [eax + 4]
call sub.WS2_32.dll_WSAAsyncGetHostByName
mov dword [esi + 0x474], eax
test eax, eax
jne 0x454c79
call sub.WS2_32.dll_WSAGetLastError
push 1
push eax
mov ecx, esi
call fcn.00454a76
pop esi
ret
mov dword [esi + 4], 1
pop esi
ret
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
jne 0x454e66
push eax
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi + 0x10], eax
cmp eax, 0xffffffff
jne 0x454e25
call sub.WS2_32.dll_WSAGetLastError
push 1
push eax
mov ecx, esi
call fcn.00454a76
pop esi
ret
mov ecx, dword [esi + 0xc]
push 0x3f
push 0x401
push dword [ecx + 4]
push eax
call sub.WS2_32.dll_WSAAsyncSelect
cmp eax, 0xffffffff
je 0x454e14
cmp dword [esi + 0x68], 0x10
jb 0x454e48
mov eax, dword [esi + 0x54]
jmp 0x454e4b
lea eax, [esi + 0x54]
push eax
call sub.WS2_32.dll_inet_addr
mov dword [esi + 0x70], eax
mov ecx, esi
pop esi
cmp eax, 0xffffffff
jne 0x454e61
jmp 0x454c33
jmp fcn.00454c82
cmp eax, 3
jne 0x454e23
pop esi
jmp fcn.00454cff
Function at 0x454ead
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x9f8c]
mov eax, 0xa00c
call fcn.00433730
mov eax, dword [0x4879c0]
xor eax, ebp
mov dword [ebp + 0x9f88], eax
push ebx
push esi
push 0
push 0xa000
lea eax, [ebp - 0x78]
mov esi, ecx
push eax
push dword [esi + 0x10]
call sub.WS2_32.dll_recv
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x454f09
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x454f8e
push 0
push eax
mov ecx, esi
call fcn.00454a76
jmp 0x454f8e
mov ecx, esi
test ebx, ebx
jne 0x454f1e
call fcn.00454a00
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax + 0x18]
jmp 0x454f8e
push edi
push dword [esi + 0x478]
call fcn.00454897
push ebx
lea eax, [ebp - 0x78]
lea edi, [esi + 0x34]
push eax
mov ecx, edi
call fcn.004038ca
cmp dword [edi + 0x18], 0x10
mov eax, dword [esi + 0x48]
mov dword [ebp - 0x7c], eax
jb 0x454f4a
mov ecx, dword [edi + 4]
jmp 0x454f4d
lea ecx, [edi + 4]
lea ebx, [ebp - 0x7c]
push ebx
mov dword [ebp - 0x80], ecx
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
push eax
push dword [ebp - 0x80]
call dword [edx + 0x10]
test eax, eax
jne 0x454f8d
push esi
call dword [sym.imp.KERNEL32.dll_IsBadCodePtr]
test eax, eax
jne 0x454f8d
cmp dword [esi + 0x10], 0xffffffff
je 0x454f8d
cmp dword [esi + 4], 3
jne 0x454f8d
mov eax, dword [ebp - 0x7c]
cmp dword [esi + 0x48], eax
jb 0x454f8d
push eax
push 0
mov ecx, edi
call fcn.004041e8
pop edi
mov ecx, dword [ebp + 0x9f88]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042ea9f
add ebp, 0x9f8c
leave
ret
Function at 0x10073549
Capabilities:
Encode data using xor

Disassembly:
call 0x100734c2
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x100734f2
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1007350e
xor edx, 0
jmp 0x10073519
xor edx, edx
jmp 0x10073530
jmp 0x1007353c
xor eax, eax
push 0x8427d7c0
call 0x10073549
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x10073585
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1007355e
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1007359c
add eax, 0
jno 0x100735a1
add esi, 0
ret 0x10

Function at 0x1007430a
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1007432c
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x100744ce
cmp edi, dword [ebp + 0x10]
jb 0x100744ce
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10073df6
inc edi
jmp 0x100743b5
jmp 0x100743c2
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10073df6
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10073df6
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x10074416
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100743fa
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.10074444
add dword [eax], 0x39
jle 0x10074420
sub al, 0xf5
mov ch, al
call fcn.10074459
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10