joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c120
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ecx, dword [ecx + 0x48]
push eax
mov eax, dword [esp + 8]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x41d2c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c6298
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x20]
mov dword [esp + 8], esi
mov dword [esi], 0x5e6720
mov dword [esp + 0xc], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x18], 1
lea edi, [esi + 0x24]
mov dword [esp + 0xc], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x18], 3
lea edi, [esi + 0x54]
mov dword [esp + 0xc], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x18], 5
lea edi, [esi + 0x58]
mov dword [esp + 0xc], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x18], 7
lea ecx, [esi + 0x6f8]
call fcn.0041d260
mov byte [esp + 0x18], 8
lea ecx, [esi + 0x70c]
call fcn.0041d260
mov byte [esp + 0x18], 9
xor edx, edx
mov ecx, 0xd0
xor eax, eax
lea edi, [esi + 0x60]
mov dword [esi + 0x38], edx
mov dword [esi + 4], edx
mov dword [esi + 8], edx
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], edx
mov dword [esi + 0x50], edx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], edx
mov dword [esi + 0x30], edx
mov dword [esi + 0x6e4], edx
mov dword [esi + 0x6ec], edx
mov dword [esi + 0x6f4], edx
mov dword [esi + 0x6f0], edx
mov dword [esi + 0x6e8], edx
mov dword [esi + 0x6e0], edx
mov byte [esi + 0x3d], 1
mov dword [esi + 0x34], edx
rep stosd dword es:[edi], eax
mov ecx, 0xd0
lea edi, [esi + 0x3a0]
rep stosd dword es:[edi], eax
mov dword [esi + 0x5c], edx
mov dword [esi + 0xc], 1
mov byte [esi + 0x3c], dl
lea ecx, [esi + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [esi + 0x40], edx
mov dword [esi + 0x44], edx
mov dword [esi + 0x724], edx
mov dword [esi + 0x728], edx
mov dword [esi + 0x72c], edx
mov dword [esi + 0x730], edx
mov dword [esi + 0x734], edx
mov dword [esi + 0x738], edx
mov dword [esi + 0x73c], edx
mov dword [esp + 0x18], 0xffffffff
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41d7b0
Capabilities:
Set socket configuration

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c6306
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
lea eax, [esi + 0x10]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov ecx, dword [ecx + 0xc]
mov dword [eax + 0xc], ecx
mov edx, dword [esi + 0x14]
push edi
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esi + 0x20]
call fcn.00405320
mov eax, dword [esp + 0x1c]
push 0x18
mov dword [esi + 0x48], eax
call fcn.005abebb
add esp, 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x41d831
mov ecx, dword [0x6613bc]
add ecx, 0x1c8
push ecx
mov ecx, eax
call fcn.00412b20
jmp 0x41d833
xor eax, eax
or ebx, 0xffffffff
mov dword [esp + 0x14], ebx
push 0x18
mov dword [esi + 0x4c], eax
call fcn.005abebb
add esp, 4
mov dword [esp + 0x1c], eax
mov edi, 1
mov dword [esp + 0x14], edi
test eax, eax
je 0x41d86e
mov edx, dword [0x6613bc]
add edx, 0x1cc
push edx
mov ecx, eax
call fcn.00412b20
jmp 0x41d870
xor eax, eax
mov dword [esp + 0x14], ebx
mov dword [esi + 0x50], eax
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x30], eax
lea eax, [esp + 0x20]
push eax
push 0x8004667e
push ecx
mov dword [esp + 0x2c], edi
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov edx, dword [esi + 0x14]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.0041bde0
mov ecx, eax
call fcn.004828d0
mov dword [esp + 0x14], 2
lea ecx, [esi + 0x24]
push eax
call fcn.00405540
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x41d8e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov dword [esi + 8], edi
call fcn.004d28b0
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 8
Function at 0x41e8e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x64aa84]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x30]
push esi
push eax
lea ecx, [esp + 0xc]
push 0x5e684c
push ecx
mov dword [esp + 0x10], 0
call fcn.0057a44a
mov ecx, dword [esp + 0x3c]
add esp, 0xc
push 0
lea edx, [esp + 8]
push edx
mov esi, eax
push esi
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x41e942
cmp dword [esp + 4], esi
jne 0x41e942
mov al, 1
pop esi
mov ecx, dword [esp + 0x24]
call fcn.0057981f
add esp, 0x28
ret 8
mov ecx, dword [esp + 0x28]
xor al, al
pop esi
call fcn.0057981f
add esp, 0x28
ret 8

Function at 0x41eca0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5c6509
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, ecx
xor ecx, ecx
mov edx, 0xf
mov dword [eax + 0x18], edx
mov dword [eax + 0x14], ecx
mov dword [esp], eax
mov byte [eax + 4], cl
mov dword [esp + 0xc], ecx
mov dword [eax + 0x34], edx
mov dword [eax + 0x30], ecx
mov byte [eax + 0x20], cl
mov byte [esp + 0xc], 1
mov dword [eax + 0x50], edx
mov dword [eax + 0x4c], ecx
mov byte [eax + 0x3c], cl
mov byte [esp + 0xc], 2
mov dword [eax + 0x6c], edx
mov dword [eax + 0x68], ecx
mov byte [eax + 0x58], cl
mov byte [esp + 0xc], 3
mov dword [eax + 0x78], ecx
mov dword [eax + 0x7c], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov dword [esp + 0xc], 0xffffffff
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x41edf0
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5c6528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x3c], 0x10
mov eax, dword [esp + 0x28]
mov dword [esp + 0xc], ebx
jae 0x41ee22
lea eax, [esp + 0x28]
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
lea ecx, [esp + 0x10]
push ecx
push edx
push eax
push esi
call edi
test eax, eax
je 0x41eea6
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x38]
jne 0x41eea6
push ebx
lea ecx, [esp + 0x10]
push ecx
push 1
lea edx, [esp + 0x2c]
push edx
push esi
mov byte [esp + 0x34], 0xa
call edi
test eax, eax
je 0x41ee90
cmp dword [esp + 0xc], 1
jne 0x41ee90
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 0x24]
call fcn.00402c90
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20
mov dword [esp + 0x18], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x41eec2
mov eax, dword [esp + 0x28]
push eax
jmp 0x41eeba
mov dword [esp + 0x18], 0xffffffff
cmp dword [esp + 0x3c], 0x10
jb 0x41eec2
mov ecx, dword [esp + 0x28]
push ecx
call fcn.005abee6
add esp, 4
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword [esp + 0x30], ebx
mov byte [esp + 0x20], bl
mov dword [esp + 0x34], 0xf
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x20
Function at 0x41f2f0
Capabilities:
Delete file

Disassembly:
push edi
mov edi, ecx
mov al, byte [edi + 0x28]
test al, al
je 0x41f381
mov eax, dword [edi + 0x14]
test eax, eax
jbe 0x41f381
mov eax, dword [edi + 0x24]
test eax, eax
mov eax, dword [edi + 0x18]
jne 0x41f32c
cmp eax, 0x10
jb 0x41f320
mov edi, dword [edi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
ret
add edi, 4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
ret
cmp eax, 0x10
jb 0x41f336
mov eax, dword [edi + 4]
jmp 0x41f339
lea eax, [edi + 4]
push ebx
push 0
push 0x80
push 5
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41f380
mov eax, dword [edi + 0x20]
push esi
mov esi, dword [eax]
cmp esi, eax
je 0x41f378
mov ecx, dword [esi + 8]
push ebx
call fcn.0041f160
test al, al
je 0x41f378
mov esi, dword [esi]
cmp esi, dword [edi + 0x20]
jne 0x41f364
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
pop edi
ret
Function at 0x41fa10
Capabilities:
Enumerate files on windows
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c667e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x268
mov eax, dword [0x64aa84]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ecx, dword [0x661420]
call fcn.0041ec10
test al, al
je 0x41fbd3
call fcn.0052e5e0
mov esi, eax
sub esi, 4
neg esi
sbb esi, esi
inc esi
xor ebx, ebx
push ebx
mov eax, esi
neg eax
sbb eax, eax
and eax, 7
add eax, 0x21
push eax
lea ecx, [ebp - 0x118]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x41fbd3
lea eax, [ebp - 0x118]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41fa90
sub eax, edx
mov edi, eax
mov dword [ebp - 0x260], edi
cmp esi, ebx
je 0x41fac7
push str.AppDataRoamingMicrosoftWindowsCookies
push 0x5e686c
lea edx, [ebp + edi - 0x118]
push edx
call fcn.0057a44a
add esp, 0xc
add edi, eax
mov dword [ebp - 0x260], edi
push 0x5e6864
lea eax, [ebp + edi - 0x118]
push eax
call fcn.0057a44a
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x25c], eax
cmp eax, 0xffffffff
je 0x41fbc8
nop
mov dword [ebp - 4], ebx
push 0x2c
call fcn.005abebb
add esp, 4
mov dword [ebp - 0x274], eax
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x41fb24
mov ecx, eax
call fcn.0041ef80
jmp 0x41fb26
xor eax, eax
mov esi, eax
mov dword [ebp - 0x26c], esi
mov byte [ebp - 4], bl
mov dword [ebp - 0x264], esi
lea eax, [ebp - 0x22c]
push eax
push 0x5e6860
lea ecx, [ebp + edi - 0x118]
push ecx
call fcn.0057a44a
add esp, 0xc
lea edx, [ebp - 0x118]
push edx
mov ecx, esi
call fcn.0041f6b0
mov ecx, esi
call fcn.0041f940
mov ecx, esi
call fcn.0041f2f0
mov dword [ebp - 0x270], esi
mov dword [ebp - 0x268], esi
cmp esi, ebx
je 0x41fb98
push 1
mov ecx, esi
call fcn.0041f0b0
jmp 0x41fb98
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41fb00
mov edx, dword [ebp - 0x25c]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [0x661420]
call fcn.0041ec50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0057981f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424140
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c6c36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.005b044b
lea edi, [esi + 0x38]
mov dword [esi], 0x5e6bf8
mov dword [esp + 0xc], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x18], 1
lea edi, [esi + 0x3c]
mov dword [esp + 0xc], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x18], 3
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
mov dword [esi + 0x4c], eax
mov eax, dword [esp + 0x24]
xor edi, edi
mov dword [esi + 0x34], ecx
or ecx, 0xffffffff
cmp eax, edi
mov dword [esi + 4], eax
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], 1
mov dword [esi + 0x30], edi
mov dword [esi + 0x40], ecx
je 0x4241ea
xor edx, edx
cmp eax, ecx
sete dl
dec edx
and edx, 0x19
mov dword [esi + 0x54], edx
jmp 0x4241f1
mov dword [esi + 0x54], 7
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], 0x13
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 0xc

Function at 0x424cd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c6c36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005b044b
lea edi, [esi + 0x38]
mov dword [esi], 0x5e6bf8
mov dword [esp + 0x10], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x1c], 1
lea ebx, [esi + 0x3c]
mov edi, ebx
mov dword [esp + 0x10], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x1c], 3
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 0x34]
lea eax, [edi + 0x3c]
push eax
mov ecx, ebx
mov dword [esi + 0x34], edx
call fcn.00405540
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x54]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x44]
mov edx, dword [esi + 4]
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
push edx
mov ecx, 0x652e80
call fcn.00420150
mov dword [esi + 0x34], eax
mov edi, dword [edi + 0x38]
push edi
mov ecx, esi
call fcn.00424b60
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x424ce9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c6c36
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.005b044b
lea edi, [esi + 0x38]
mov dword [esi], 0x5e6bf8
mov dword [esp + 0x10], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0x1c], 1
lea ebx, [esi + 0x3c]
mov edi, ebx
mov dword [esp + 0x10], edi
call fcn.005afeed
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x1c], 3
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov dword [esi + 0x4c], eax
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov edx, dword [edi + 0x34]
lea eax, [edi + 0x3c]
push eax
mov ecx, ebx
mov dword [esi + 0x34], edx
call fcn.00405540
mov ecx, dword [edi + 0x28]
mov dword [esi + 0x28], ecx
mov edx, dword [edi + 0x2c]
mov dword [esi + 0x2c], edx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x40], ecx
mov edx, dword [edi + 0x54]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x44]
mov edx, dword [esi + 4]
mov dword [esi + 0x44], eax
mov ecx, dword [edi + 0x48]
mov dword [esi + 0x48], ecx
push edx
mov ecx, 0x652e80
call fcn.00420150
mov dword [esi + 0x34], eax
mov edi, dword [edi + 0x38]
push edi
mov ecx, esi
call fcn.00424b60
mov dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x427f40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5c70d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xd4
Function at 0x42bba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5c74a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x6613c8]
push esi
push 1
add eax, 4
mov esi, ecx
push eax
lea ecx, [esp + 0xc]
call fcn.005789d4
xor edx, edx
mov dword [esp + 0x18], edx
mov ecx, dword [0x6613f0]
mov eax, dword [ecx + 0x24]
mov dword [eax + 0x88], edx
mov ecx, dword [0x6613f0]
mov eax, dword [ecx + 0x28]
mov dword [eax + 0x88], edx
mov ecx, dword [0x6613f0]
mov eax, dword [ecx + 0x30]
cmp eax, edx
je 0x42bc15
cmp eax, edx
mov ecx, eax
je 0x42bc63
mov eax, dword [eax]
cmp eax, edx
mov ecx, dword [ecx + 8]
mov dword [ecx + 0x88], edx
jne 0x42bc00
mov eax, dword [0x66140c]
mov eax, dword [eax + 8]
cmp eax, edx
je 0x42bc33
cmp eax, edx
mov ecx, eax
je 0x42bc63
mov eax, dword [eax]
cmp eax, edx
mov ecx, dword [ecx + 8]
mov dword [ecx + 0x40], edx
jne 0x42bc21
mov ecx, dword [esi + 0x1c]
push 1
push edx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [esp + 4]
call fcn.0057897a
mov ecx, dword [esp + 0x10]
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4
call fcn.005a8539
int3
Function at 0x42e970
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x64aa84]
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
cmp dword [edi + 4], 0xffffffff
jne 0x42e9ac
mov eax, dword [esp + 0x28]
test eax, eax
je 0x42e99a
mov eax, dword [esp + 0x1c]
push eax
call fcn.005abee6
add esp, 4
xor eax, eax
pop edi
mov ecx, dword [esp + 0x10]
call fcn.0057981f
add esp, 0x14
ret 0x10
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x42e9de
push str.127.0.0.1
mov word [esp + 8], 2
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x223d
mov dword [esp + 0xc], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 6], ax
lea eax, [esp + 4]
mov ecx, dword [edi + 4]
push ebx
mov ebx, dword [esp + 0x20]
push esi
mov esi, dword [esp + 0x28]
push 0x10
push eax
push 0
push esi
push ebx
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
mov edi, eax
mov eax, dword [esp + 0x30]
test eax, eax
je 0x42ea0c
push ebx
call fcn.005abee6
add esp, 4
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp edi, esi
pop esi
pop ebx
sete al
pop edi
call fcn.0057981f
add esp, 0x14
ret 0x10

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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c7798
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
mov ebx, ecx
cmp dword [ebx + 4], 0xffffffff
jne 0x42f20f
mov eax, dword [esp + 0x34]
test eax, eax
je 0x42f1fb
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x42f1fb
dec dword [ecx + 0xc]
jne 0x42f1fb
mov eax, dword [ecx]
call dword [eax + 0x30]
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14
push esi
mov esi, dword [esp + 0x34]
cmp dword [esi + 4], 3
jne 0x42f2a5
push edi
push 0
lea ecx, [esp + 0x10]
call fcn.00412b20
mov dword [esp + 0x2c], 0
mov edx, dword [esi]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call dword [edx + 0x34]
mov edi, dword [esp + 0x34]
push 1
lea ecx, [edi + 4]
push ecx
push 0
mov ecx, esi
call fcn.00499200
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x42f265
dec dword [esi + 0xc]
jne 0x42f265
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
xor eax, eax
mov ax, word [edi + 2]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 0x123d
je 0x42f291
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
push 0x10
push edi
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00412b40
pop edi
jmp 0x42f2b9
mov eax, dword [esp + 0x38]
test eax, eax
je 0x42f2b9
dec dword [esi + 0xc]
jne 0x42f2b9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
mov ecx, dword [esp + 0x20]
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x14
Function at 0x42f9f0
Capabilities:
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x5c78f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x64aa84]
push esi
mov esi, ecx
mov dword [esp + 0x18], eax
cmp dword [esi + 4], 0xffffffff
jne 0x42fa2e
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x42fa35
xor eax, eax
jmp 0x42fae2
mov eax, dword [0x6613bc]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_htons]
push edi
xor ecx, ecx
xor edi, edi
mov word [esp + 0x10], 2
mov dword [esp + 0x14], edi
mov cx, word [eax + 0x164]
add cx, 2
push ecx
call ebx
push 0x10
lea edx, [esp + 0x14]
mov word [esp + 0x16], ax
mov eax, dword [esi + 4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x42fac5
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea ecx, [esp + 0x10]
call fcn.00411760
mov dword [esp + 0x2c], edi
mov edx, dword [esp + 0x12]
mov edi, dword [eax]
push edx
call ebx
movzx eax, ax
push eax
push edi
push 0x3ec8
push 3
push 0x661308
call fcn.004e72e0
add esp, 0x14
mov dword [esp + 0x2c], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.00401b70
mov ecx, dword [0x661414]
mov edx, dword [ecx + 0x10]
mov eax, dword [esi + 4]
push 1
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
pop edi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x18]
pop esi
call fcn.0057981f
add esp, 0x24
ret

Function at 0x430770
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c79d8
push eax
mov eax, dword [0x6613bc]
mov dword fs:[0], esp
mov ecx, dword [eax + 0x654]
sub esp, 0x24
test ecx, ecx
je 0x430864
push ebx
mov ebx, dword [esp + 0x40]
push esi
push edi
push ebx
call fcn.005abeeb
mov esi, dword [esp + 0x48]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 4]
mov dx, word [eax + 2]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x50]
add esp, 4
push 1
mov dword [esp + 0x20], ebx
mov word [esp + 0x28], dx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ecx
call fcn.005389b0
add eax, 4
push eax
lea ecx, [esp + 0x14]
call fcn.005789d4
mov dword [esp + 0x38], 0
call fcn.005389b0
mov esi, eax
mov edi, dword [esi + 0x10]
mov eax, dword [edi + 4]
add esi, 0xc
lea edx, [esp + 0x18]
push edx
push eax
push edi
mov ecx, esi
call fcn.0042f6a0
push 1
mov ecx, esi
mov ebx, eax
call fcn.004303d0
mov dword [edi + 4], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ebx
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
call fcn.0057897a
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret 0x14
mov ecx, dword [esp + 0x24]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x30
ret 0x14