joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000d165
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x1000d19a
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x1000d197
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x1000d1a3
add edx, 0x28
cmp edx, esi
jne 0x1000d185
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x1000d1a0

Function at 0x1000e050
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1000e220
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000e12d
mov edx, dword [ebp - 4]
cmp edx, dword [0x100170a0]
jb 0x1000e09a
mov eax, dword [ebp - 4]
cmp eax, dword [0x100170a4]
ja 0x1000e09a
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000e06a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000e0bf
jmp 0x1000e12d
cmp dword [ebp - 0x14], 0x10000
jne 0x1000e113
cmp dword [ebp - 0x18], 0x10000
jb 0x1000e113
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000e0f6
mov eax, dword [ebp - 8]
jmp 0x1000e12f
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1000e106
xor eax, eax
jmp 0x1000e12f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000e128
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1000e220
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000e06a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000e140
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000e250
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000e215
mov edx, dword [ebp - 4]
cmp edx, dword [0x100170a0]
jb 0x1000e185
mov eax, dword [ebp - 4]
cmp eax, dword [0x100170a4]
ja 0x1000e185
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1000e155
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualQuery
test eax, eax
jne 0x1000e1aa
jmp 0x1000e215
cmp dword [ebp - 0x14], 0x10000
jne 0x1000e1fe
cmp dword [ebp - 0x18], 0x10000
jb 0x1000e1fe
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_VirtualAlloc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000e1e1
mov eax, dword [ebp - 8]
jmp 0x1000e217
call sub.KERNEL32.dll_GetLastError
cmp eax, 0x677
jne 0x1000e1f1
xor eax, eax
jmp 0x1000e217
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000e210
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1000e250
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000e155
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000e280
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1000e670
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x1001789c], 0
jne 0x1000e2bd
cmp dword [0x10017898], 0
je 0x1000e2bd
mov eax, dword [0x10017898]
mov dword [0x1001789c], eax
cmp dword [0x1001789c], 0
je 0x1000e33a
mov ecx, dword [0x1001789c]
cmp dword [ecx + 8], 0
je 0x1000e33a
mov edx, dword [0x1001789c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x1000e33a
mov ecx, dword [0x1001789c]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x1000e33a
mov eax, dword [0x1001789c]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x1000e309
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x1000e310
xor eax, eax
jmp 0x1000e459
mov ecx, dword [0x1001789c]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x1000e459
mov edx, dword [0x10017898]
mov dword [0x1001789c], edx
jmp 0x1000e356
mov eax, dword [0x1001789c]
mov ecx, dword [eax + 4]
mov dword [0x1001789c], ecx
cmp dword [0x1001789c], 0
je 0x1000e396
cmp dword [0x1001789c], 0
je 0x1000e394
mov edx, dword [0x1001789c]
cmp dword [edx + 8], 0
je 0x1000e394
mov eax, dword [0x1001789c]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x1000e394
mov edx, dword [0x1001789c]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x1000e394
jmp 0x1000e2ee
jmp 0x1000e348
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1000e460
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x1000e457
mov eax, dword [ebp - 0x18]
mov dword [0x1001789c], eax
mov ecx, dword [0x1001789c]
mov dword [ecx], 0x52727464
mov edx, dword [0x1001789c]
mov dword [edx + 8], 0
mov eax, dword [0x1001789c]
mov ecx, dword [0x10017898]
mov dword [eax + 4], ecx
mov edx, dword [0x1001789c]
mov dword [0x10017898], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x1001789c]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x1000e427
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x1000e447
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x1000e41e
mov eax, dword [0x1001789c]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x1000e2ee
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000f1a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10017898]
mov dword [ebp - 4], eax
jmp 0x1000f1b9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1000f1e0
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_VirtualProtect
test eax, eax
jne 0x1000f1de
call sub.KERNEL32.dll_GetLastError
jmp 0x1000f1e2
jmp 0x1000f1b0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000f680
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [0x100178a8], eax
je 0x1000f69d
mov eax, 0x10dd
jmp 0x1000f780
mov eax, dword [0x100178b8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000f71c
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call sub.KERNEL32.dll_VirtualProtect
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1000f6f8
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1000f6f8
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1000e700
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
push 0x18
mov edx, dword [ebp - 0xc]
push edx
call fcn.1000d12b
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
jmp 0x1000f6a5
mov dword [0x100178b8], 0
call fcn.1000efe0
mov ecx, dword [0x100178b4]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x1000f76a
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call sub.KERNEL32.dll_ResumeThread
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 8
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.1000d12b
add esp, 8
mov edx, dword [ebp - 0x18]
mov dword [ebp - 8], edx
jmp 0x1000f734
mov dword [0x100178b4], 0
mov dword [0x100178a8], 0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000fc60
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x100178ac], 0
je 0x1000fc79
mov eax, dword [0x100178ac]
jmp 0x1000fd18
call sub.KERNEL32.dll_GetCurrentThread
cmp dword [ebp + 8], eax
jne 0x1000fc8a
xor eax, eax
jmp 0x1000fd18
push 8
call fcn.1000d0fb
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000fce2
mov dword [ebp - 8], 8
cmp dword [ebp - 4], 0
je 0x1000fccb
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], ecx
push 8
mov edx, dword [ebp - 0x10]
push edx
call fcn.1000d12b
add esp, 8
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov dword [0x100178ac], eax
mov dword [0x100178b0], 0
mov eax, dword [ebp - 8]
jmp 0x1000fd18
mov ecx, dword [ebp + 8]
push ecx
call sub.KERNEL32.dll_SuspendThread
cmp eax, 0xffffffff
jne 0x1000fcfa
call sub.KERNEL32.dll_GetLastError
mov dword [ebp - 8], eax
jmp 0x1000fcaa
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov edx, dword [0x100178b4]
mov dword [ecx], edx
mov eax, dword [ebp - 4]
mov dword [0x100178b4], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x407d9c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004033fc
xor eax, eax
push ebp
push 0x407e75
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x407dd4
mov eax, dword [ebp - 4]
call fcn.004071d0
jmp 0x407ddc
mov eax, dword [ebp - 4]
call fcn.00407bd4
call fcn.00404ae8
mov esi, eax
test esi, esi
jle 0x407e28
mov ebx, 1
lea edx, [ebp - 8]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 8]
cmp byte [eax], 0x5c
jne 0x407e12
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0xc]
call fcn.004071d0
jmp 0x407e24
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.004049d0
mov eax, dword [ebp - 0x10]
call fcn.00407bd4
inc ebx
dec esi
jne 0x407dec
push 1
push dword [ebp - 4]
push 0x407e8c
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00406f34
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004032cc
mov eax, dword [ebp - 0x14]
call fcn.0040340c
push eax
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7c
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.004030b8
ret

Function at 0x100033c7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10007080
cmp edx, dword [eax]
je 0x100033e9
add eax, 8
inc ecx
cmp eax, 0x10007110
jl 0x100033da
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10007080]
jne 0x10003517
mov eax, dword [0x1000773c]
cmp eax, 1
je 0x100034f1
test eax, eax
jne 0x1000341a
cmp dword [0x10007740], 1
je 0x100034f1
cmp edx, 0xfc
je 0x10003517
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10003451
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10004ac0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10004bb0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x10003494
lea eax, [ebp - 0x1a4]
push eax
call fcn.10004bb0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x10006454
push edi
call fcn.100050b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10004ac0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10004ad0
lea eax, [ebp - 0xa0]
push 0x10006434
push eax
call fcn.10004ad0
push dword [esi + 0x10007084]
lea eax, [ebp - 0xa0]
push eax
call fcn.10004ad0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1000501f
add esp, 0x2c
pop edi
jmp 0x10003517
lea eax, [ebp + 8]
lea esi, [esi + 0x10007084]
push 0
push eax
push dword [esi]
call fcn.10004bb0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x403b10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9d6a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x555c24]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.004b9f41
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x403bd0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004bcd38
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x5502dc
push eax
call fcn.004be19c
push edi
push esi
call fcn.004ba289
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b8b56
mov esp, ebp
pop ebp
ret 4

Function at 0x40d9d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4faac6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x555c24]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.004b8d66
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.004ba186
mov dword [esi + 4], eax
lea ecx, [edi + 8]
lea eax, [edi + 4]
mov dword [edi + 0x34], esi
mov dword [edi + 0xc], eax
add esp, 8
lea eax, [edi + 0x14]
mov dword [edi + 0x10], ecx
mov dword [edi + 0x1c], eax
lea eax, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [edi + 0x24]
mov dword [edi + 0x2c], eax
lea eax, [edi + 0x28]
mov dword [edi + 0x30], eax
mov dword [ecx], 0
mov eax, dword [edi + 0x20]
mov dword [eax], 0
mov eax, dword [edi + 0x30]
mov dword [eax], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
mov eax, dword [edi + 0x1c]
mov dword [eax], 0
mov eax, dword [edi + 0x2c]
mov dword [eax], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4125c0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.004b9610
mov eax, dword [0x555c24]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x7f4]
push edi
mov edi, dword [ebp + 8]
push 0x400
push 0
push eax
call fcn.004bd7d0
add esp, 0xc
lea eax, [ebp - 0xbf4]
push 0x400
push 0
push eax
call fcn.004bd7d0
add esp, 0xc
lea eax, [ebp - 0xff4]
push 0x400
push 0
push eax
call fcn.004bd7d0
add esp, 0xc
lea eax, [ebp - 0xffc]
push str.ProgramFiles
push 0
push 0
push eax
call fcn.004c8871
push str.ProgramFiles
push dword [ebp - 0xffc]
lea eax, [ebp - 0xff4]
push eax
lea eax, [ebp - 0xffc]
push eax
call fcn.004c8871
push str.KICA
lea eax, [ebp - 0xff4]
mov dword [ebp - 0x7f4], 0
push eax
lea eax, [ebp - 0x7f4]
push str._s_s
push eax
call fcn.00403980
push esi
push edi
lea eax, [ebp - 0x7f4]
push eax
lea eax, [ebp - 0xbf4]
push str._s_s_s
push eax
call fcn.00403980
add esp, 0x44
lea eax, [ebp - 0x3f4]
push 0x3e8
push 0
push eax
call fcn.004bd7d0
add esp, 0xc
lea eax, [ebp - 0xbf4]
push 0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov esi, eax
test esi, esi
je 0x41278e
push esi
call fcn.004b936d
mov ebx, eax
add esp, 4
mov dword [ebp - 0x1004], ebx
test ebx, ebx
je 0x41278e
push ebx
push esi
push 0
lea eax, [ebp - 0xbf4]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x412785
lea eax, [ebp - 0xff8]
mov dword [ebp - 0xffc], 0
push eax
lea eax, [ebp - 0xffc]
mov dword [ebp - 0xff8], 0
push eax
push 0x547070
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x412785
mov eax, dword [ebp - 0xffc]
push 0x3e8
push 0
movzx ecx, word [eax + 0xa]
movzx ebx, word [eax + 8]
movzx edi, word [eax + 0xe]
movzx esi, word [eax + 0xc]
lea eax, [ebp - 0x3f4]
push eax
mov dword [ebp - 0x1000], ecx
call fcn.004bd7d0
mov eax, dword [ebp - 0x1000]
add esp, 0xc
movzx eax, ax
push esi
push edi
push ebx
push eax
lea eax, [ebp - 0x3f4]
push str._d._d._d._d
push eax
call fcn.004144d0
mov ebx, dword [ebp - 0x1004]
add esp, 0x18
push ebx
call fcn.004b8dac
add esp, 4
lea edi, [ebp - 0x3f4]
lea ecx, [edi + 1]
mov al, byte [edi]
inc edi
test al, al
jne 0x412797
sub edi, ecx
test edi, edi
jle 0x4127f2
xor ecx, ecx
mov eax, edi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.004c8445
add esp, 4
mov esi, eax
lea eax, [edi + 1]
push eax
push 0
push esi
call fcn.004bd7d0
add esp, 0xc
lea eax, [ebp - 0x3f4]
push edi
push eax
push esi
call fcn.004bd250
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004b8b56
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 8]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b8b56
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414fc0
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x555c24]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
test esi, esi
jns 0x414fea
xor esi, esi
jmp 0x415083
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
push 4
push 0xffff
push esi
mov dword [ebp - 0xc], 0x50001
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x415080
push 4
lea eax, [ebp - 0xc]
push eax
push 0x80
push 0xffff
push esi
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x415080
cmp dword [ebp + 0x20], 0x10
xorps xmm0, xmm0
mov eax, 2
movups xmmword [ebp - 0x20], xmm0
mov word [ebp - 0x20], ax
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
push dword [ebp + 8]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
lea eax, [ebp - 0x20]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
js 0x415080
push 0x400
push esi
call dword [sym.imp.WS2_32.dll_listen]
test eax, eax
jns 0x415083
or esi, 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.00401d40
mov ecx, dword [ebp - 8]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004b8b56
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x415c60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
nop dword [eax + eax]
cmp byte [edi + 8], 0
je 0x415c93
mov eax, dword [esi]
push ecx
push edx
push dword [edi]
mov ecx, esi
call dword [eax + 0xc]
jmp 0x415ca1
push dword [ebp + 0x14]
push ecx
push edx
push dword [edi + 4]
call dword [sym.imp.WS2_32.dll_recv]
mov esi, eax
call ebx
cmp esi, 0xffffffff
je 0x415ce2
test esi, esi
je 0x415cd7
jg 0x415ccc
call ebx
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp - 4]
cmp eax, 0x70
je 0x415c80
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call ebx
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x41ad20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
invalid
invalid
inc esp
cld

Function at 0x41b7b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.0041a3e8
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x41c5b6
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0041a394
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x41b830
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x41b879
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x41b823
call fcn.0041a423
lodsb al, byte [esi]
sti
mov ah, 0x5d
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.0041a423
mov esi, 0x8d242dc8
test esp, edx
clc
invalid
pop edi
pop esi
pop ebx
leave
ret