joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d274
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44d28b
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418f70
mov eax, dword [0x453578]
cmp word [eax + 2], 0
jne 0x44d2b3
mov eax, dword [0x453578]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e7e0
mov eax, dword [0x45361c]
cmp word [eax + 2], 0
jne 0x44d2cd
mov eax, dword [0x45361c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044e9d8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411268]
call fcn.004030a8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411268]
call fcn.004030a8
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41e764]
call fcn.004243ac
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44d454
mov eax, dword [0x4534a0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042477c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44ef78
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4534a0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040be20
test eax, eax
je 0x44d3c2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004081d8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040be48
test eax, eax
je 0x44d3d6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404080
mov eax, dword [0x4533a4]
cmp byte [eax], 0
jne 0x44d40a
mov eax, ebx
call fcn.0044d57c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0044f154
mov eax, ebx
call fcn.0044fb18
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d44a
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d7fc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x454bc0]
cmp dword [eax + 0x30], 0
je 0x44d8a6
cmp dword [ebx + 0x94], 0
jne 0x44d8a0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44d78c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44d8a0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x44d866
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44d8a0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004135d0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44d875
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44e408
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x44e43d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403f00
jmp 0x44e44a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403e64
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44f330
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x44f371
mov eax, esi
call fcn.00435e68
test al, al
je 0x44f371
mov eax, dword [ebx + 0x84]
call fcn.00435c08
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44f371
push 0
mov eax, dword [ebx + 0x84]
call fcn.00435c08
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x10005b40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x10005c27
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x10005c16
jg 0x10005b80
test edx, edx
je 0x10005c16
nop dword [eax]
call fcn.100077d0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x10005bd3
jg 0x10005b97
test esi, esi
je 0x10005bd3
cmp ebx, eax
jg 0x10005ba7
jl 0x10005ba1
cmp edi, esi
jae 0x10005ba7
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
push esi
push dword [esp + 0x14]
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.100c29f0
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x10005bfa
mov ecx, dword [esp + 0xc]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax]
push eax
call edx
cmp eax, 0xffffffff
je 0x10005c10
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x10005b80
jl 0x10005c10
test edi, edi
jne 0x10005b80
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x20], esi
mov edx, dword [eax]
lea eax, [ecx + 0x30]
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], eax
test edx, edx
je 0x10005c4f
mov eax, dword [eax]
mov edx, dword [eax]
jmp 0x10005c55
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, edx
cdq
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], edx
test edi, edi
jl 0x10005cbd
jg 0x10005c6a
test esi, esi
je 0x10005cbd
test edx, edx
jl 0x10005cb8
jg 0x10005c74
test eax, eax
je 0x10005cb8
cmp edi, edx
jg 0x10005c88
jl 0x10005c7e
cmp esi, eax
jae 0x10005c88
mov eax, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edi
mov ebx, dword [ebp + 8]
push eax
push ebx
push dword [esp + 0x24]
call fcn.100c29f0
mov eax, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
add ebx, edx
mov ecx, dword [esp + 0xc]
sub esi, edx
mov eax, dword [eax]
sbb edi, dword [esp + 0x10]
sub dword [eax], edx
mov eax, dword [ecx + 0x20]
add dword [eax], edx
jmp 0x10005cc0
mov ebx, dword [ebp + 8]
jmp 0x10005cca
mov ebx, dword [ebp + 8]
test edi, edi
jl 0x10005ce3
jg 0x10005cca
test esi, esi
je 0x10005ce3
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x10005ce3
push eax
push esi
push 1
push ebx
call fcn.100c9ebe
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10006240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x10006270
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x100062ac
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x100062ac
lea ecx, [edi - 1]
mov eax, ebx
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
pop edi
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x100063a9
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x100062d4
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x10006307
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.100c5c1c
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x25], bl
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x10006369
sub eax, 1
je 0x10006369
sub eax, 2
jne 0x100063a9
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.100c5c1c
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmove ebx, ecx
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10006386
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100c9ebe
add esp, 0x10
cmp edi, eax
jne 0x100063a9
lea ecx, [ebp - 0x25]
mov byte [esi + 0x3d], 1
or eax, 0xffffffff
cmp dword [ebp - 0x30], ecx
pop edi
pop esi
cmovne eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
Function at 0x100073b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10163164]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x1000746c
cmp byte [esi + 0x3d], 0
je 0x1000746c
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x1000745a
mov ecx, dword [esi + 0x38]
mov eax, dword [ecx]
mov edx, dword [eax + 0x20]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call edx
sub eax, 0
je 0x10007422
sub eax, 1
je 0x10007426
sub eax, 2
jne 0x1000745a
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x10007443
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.100c9ebe
add esp, 0x10
cmp edi, eax
jne 0x1000745a
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100b8868
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.100b8868
mov esp, ebp
pop ebp
ret

Function at 0x10007670
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010c4c0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push 8
mov dword [ebx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100b887b
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.100b64de
add esp, 8
mov dword [esi + 4], eax
mov ecx, ebx
mov dword [ebx + 0x34], esi
call fcn.10007900
mov eax, ebx
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
lea esi, [eax + 8]
lea ebx, [eax + 4]
mov dword [eax + 0x20], ecx
mov dword [eax + 0xc], ebx
lea edi, [eax + 0x14]
mov dword [eax + 0x2c], edx
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x101743e4]
mov dword [eax], 0
mov eax, dword [0x101743e0]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x40], eax
mov eax, edx
mov dword [edx + 0x4c], 0
mov dword [edx + 0x44], ecx
mov dword [edx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10008f90
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008fc1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
mov dword [esp + 8], esi
call fcn.10008d10
mov dword [esp + 0xc], eax
test esi, esi
jne 0x10008fc9
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, 0x101434f4
lea ecx, [esp + 8]
call fcn.10008cc0
int3

Function at 0x1000b980
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a0
mov eax, dword [0x10163164]
xor eax, esp
mov dword [esp + 0x19c], eax
push esi
push edi
mov esi, ecx
mov eax, 1
lock xadd dword [0x101743f8], eax
inc eax
mov edi, 0x101743fc
cmp eax, 1
jne 0x1000b9c5
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [edi], eax
cmp byte [ebp + 8], 0
je 0x1000b9d5
xor eax, eax
lock xadd dword [edi], eax
test eax, eax
jne 0x1000b9ed
mov ecx, dword [esp + 0x1a4]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 8], eax
call fcn.10008d10
mov edx, str.winsock
mov dword [esp + 0xc], eax
lea ecx, [esp + 8]
call fcn.10008cc0
int3
Function at 0x10020a90
Capabilities:
Reference 114dns dns server
Reference google public dns server

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010ccea
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi], vtable.DnsResolver.0
xorps xmm0, xmm0
mov dword [edi + 8], 0
movups xmmword [edi + 0xc], xmm0
mov dword [ebp - 4], 0
lea ecx, [edi + 0x2c]
mov byte [ebp - 4], 1
push ecx
call fcn.10023c70
lea eax, [edi + 0x164]
push 2
push eax
call fcn.100b721b
mov byte [ebp - 4], 3
lea esi, [edi + 0x194]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
mov dword [esi], eax
push 0x94
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call fcn.100b887b
add esp, 0xc
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [esi + 4], eax
lea ecx, [esi + 0xc]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov byte [ebp - 4], 5
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov dword [esi], 0x3f800000
mov eax, dword [esi + 4]
push eax
push 0x10
call fcn.100241e0
mov dword [edi + 0x1b4], 0
xorps xmm0, xmm0
mov dword [edi + 0x1f8], 0xffffffff
mov eax, 2
mov dword [edi + 0x1c], 0xffffffff
mov dword [edi + 0x20], 0xffffffff
mov dword [edi + 0x24], 0xffffffff
mov dword [edi + 0x28], 0xffffffff
movups xmmword [edi + 0x1c8], xmm0
mov byte [edi + 5], 0
movups xmmword [edi + 0x1c8], xmm0
mov byte [edi + 4], 0
movups xmmword [edi + 0x1b8], xmm0
mov word [edi + 0x1c8], ax
mov edi, dword [sym.imp.WS2_32.dll_htons]
push 0x35
call edi
mov ecx, dword [ebp - 0x14]
mov esi, dword [sym.imp.WS2_32.dll_inet_addr]
push str.8.8.8.8
mov word [ecx + 0x1ca], ax
call esi
mov ecx, dword [ebp - 0x14]
xorps xmm0, xmm0
push str.114.114.114.114
mov dword [ecx + 0x1cc], eax
mov eax, 2
movups xmmword [ecx + 0x1d8], xmm0
mov word [ecx + 0x1d8], ax
movups xmmword [ecx + 0x1e8], xmm0
call esi
mov ecx, dword [ebp - 0x14]
push 0x35
mov dword [ecx + 0x1dc], eax
call edi
mov ecx, dword [ebp - 0x14]
mov word [ecx + 0x1da], ax
mov eax, 2
push str.8.8.8.8
mov word [ecx + 0x1e8], ax
call esi
mov esi, dword [ebp - 0x14]
push 0x35
mov dword [esi + 0x1ec], eax
call edi
mov word [esi + 0x1ea], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x10021290
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x10163164]
xor eax, esp
mov dword [esp + 0x24], eax
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 4], 0
je 0x10021378
lea ecx, [esi + 0x2c]
call fcn.100248f0
test eax, eax
je 0x100212f0
push edi
mov ecx, eax
call fcn.100252b0
test al, al
je 0x100212f0
push 0
push 1
push dword [esi + 0x1f8]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
pop edi
pop esi
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
cmp byte [edi], 0
mov ecx, str.AAAA
mov eax, str.A
mov dword [esp + 0xc], 0xb0000000
cmove eax, ecx
sub esp, 8
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x14]
mov eax, esp
push 0x2e
push str._NFSDK__2__DNS__DnsResolver___
mov dword [eax + 4], ecx
lea ecx, [esp + 0x24]
mov dword [eax], 1
call fcn.10015fd0
add esp, 0x10
lea eax, [esp + 0x14]
cmp dword [esp + 0x28], 0x10
cmovae eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
jb 0x10021378
mov edx, dword [esp + 0x14]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002136e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002138b
push ecx
push edx
call fcn.100b88b0
add esp, 8
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
xor ecx, esp
call fcn.100b8868
mov esp, ebp
pop ebp
ret 4
call fcn.100c9aa4
int3
Function at 0x10023940
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1010d0ad
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10163164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
lea esi, [ebx + 0x164]
push esi
mov dword [ebp - 0x18], esi
call fcn.100b723b
add esp, 4
test eax, eax
jne 0x10023a34
mov eax, dword [esi + 0x2c]
cmp eax, 0x7fffffff
je 0x10023a3b
mov dword [ebp - 4], 0
add ebx, 0x194
mov edx, dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov ebx, edx
cmp dword [edx + 0x14], 0x10
jb 0x100239b2
mov ebx, dword [edx]
xor ecx, ecx
mov edi, 0x811c9dc5
cmp dword [edx + 0x10], ecx
jbe 0x100239d2
nop
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, dword [edx + 0x10]
jb 0x100239c0
mov ebx, dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push edi
push edx
push eax
mov ecx, ebx
call fcn.10025220
mov edi, dword [eax + 4]
test edi, edi
jne 0x100239ec
mov edi, dword [ebx + 4]
mov eax, dword [ebp - 0x14]
cmp edi, dword [eax + 0x198]
jne 0x100239fb
xor bl, bl
jmp 0x10023a15
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x20]
push eax
call fcn.10023790
push edi
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call fcn.10024560
mov bl, 1
push esi
call fcn.100b7260
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 5
call fcn.100b6fbf
dec eax
push 6
mov dword [esi + 0x2c], eax
call fcn.100b6fbf
int3
Function at 0x10023e60
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp edx, eax
je 0x10023ffd
cmp dword [edx + 0x1c], 0x10
mov eax, dword [ecx + 4]
push esi
mov dword [ebp - 0x18], eax
mov esi, edx
mov eax, dword [ecx + 0xc]
push edi
mov dword [ebp - 0x14], eax
lea edi, [edx + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x10]
jb 0x10023e9b
mov edi, dword [edi]
xor edx, edx
push ebx
mov ebx, 0x811c9dc5
test eax, eax
je 0x10023ec4
mov ecx, eax
nop dword [eax]
movzx eax, byte [edx + edi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x10023eb0
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, ebx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
nop dword [eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.10025910
push 0x94
push edi
call fcn.100b88b0
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x10023f2c
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10023ee0
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x10023f1b
mov edx, dword [ebp - 0xc]
mov dword [edx], esi
mov ecx, dword [ebp - 8]
pop ebx
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x10023f3e
mov ecx, dword [ebp - 0x18]
mov dword [edx], ecx
jmp 0x10023f41
mov ecx, dword [ebp - 8]
mov dword [edx + 4], ecx
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
je 0x10023ff0
nop
cmp dword [esi + 0x1c], 0x10
lea edi, [esi + 8]
mov ebx, dword [edi + 0x10]
jb 0x10023f5e
mov edi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10023f84
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10023f70
mov eax, dword [ebp - 4]
and edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x14]
lea eax, [eax + edx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 8]
call fcn.10025910
push 0x94
push edi
call fcn.100b88b0
mov eax, dword [ebp - 4]
add esp, 8
dec dword [eax + 8]
cmp ebx, dword [ebp - 0x1c]
je 0x10023fda
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x10023f96
mov ecx, dword [ebp + 8]
pop ebx
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], edx
mov ecx, dword [ebp + 0xc]
cmp esi, ecx
jne 0x10023f50
mov eax, dword [ebp - 8]
pop ebx
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ecx
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x10024560
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x1c], 0x10
push ebx
mov ebx, dword [eax + 0x18]
mov dword [ebp - 4], ecx
lea ecx, [eax + 8]
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, ecx
jb 0x10024582
mov edi, dword [ecx]
xor edx, edx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x100245a1
nop dword [eax]
movzx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, ebx
jb 0x10024590
mov ebx, dword [ebp - 4]
mov edx, dword [ebx + 0x18]
mov ecx, dword [ebx + 0xc]
and edx, esi
mov esi, dword [ecx + edx*8]
cmp dword [ecx + edx*8 + 4], eax
jne 0x100245ce
cmp esi, eax
jne 0x100245c5
mov eax, dword [ebx + 4]
mov dword [ecx + edx*8], eax
mov dword [ecx + edx*8 + 4], eax
jmp 0x100245d7
mov eax, dword [eax + 4]
mov dword [ecx + edx*8 + 4], eax
jmp 0x100245d7
cmp esi, eax
jne 0x100245da
mov eax, dword [eax]
mov dword [ecx + edx*8], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
dec dword [ebx + 8]
mov edx, dword [eax + 4]
mov ecx, dword [ebp - 8]
mov dword [edx], esi
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
call fcn.10025910
push 0x94
push dword [ebp + 0xc]
call fcn.100b88b0
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8