joyce8/EMBER2024-capa huggingface dataset:
Function at 0xa728280
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0xa72831d
push ebx
push esi
call fcn.0a728249
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0a723260
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0xa7282ca
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0xa72831c
push edi
push eax
call fcn.0a720d10
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0xa7282ea
call fcn.0a720933
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0xa72831b
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0a723260
add esp, 0x20
test eax, eax
jne 0xa728309
push edi
call fcn.0a720933
jmp 0xa728311
push ebx
call fcn.0a720933
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0xa728320
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0xa728331
pop esi
ret
push ebx
push edi
push esi
call fcn.0a728249
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0a720d10
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0xa728359
push ebx
push esi
push edi
call fcn.0a709750
add esp, 0xc
push 0
call fcn.0a720933
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0xa728ab3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0a7285ce

Function at 0xa72b120
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0a71fd33
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xa72b18f
cmp esi, dword [ebp - 4]
je 0xa72b18a
cmp dword [ebp + 0xc], 0
je 0xa72b18a
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0xa72b167
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.0a72ac72
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0xa72b191
xor eax, eax
inc eax
jmp 0xa72b191
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0xa72b1f6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0xa4151c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0a71fd33
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0a71fd33
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0xa72b26d
cmp word [ecx], dx
je 0xa72b26d
mov eax, dword [0xa611fdc]
push edi
dec eax
push eax
push 0xa611ec8
call fcn.0a72b195
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0xa72b2e0
cmp word [eax], dx
je 0xa72b2e0
mov eax, dword [edi]
test eax, eax
je 0xa72b291
cmp word [eax], dx
je 0xa72b291
lea eax, [ebp - 0x10]
push eax
call fcn.0a72ab78
jmp 0xa72b29a
lea eax, [ebp - 0x10]
push eax
call fcn.0a72ac13
cmp dword [ebp - 0x10], 0
pop ecx
jne 0xa72b30a
mov eax, dword [0xa611ec4]
push dword [ebp - 0x14]
dec eax
push eax
push 0xa611bb8
call fcn.0a72b195
add esp, 0xc
test al, al
je 0xa72b30a
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0xa72b2d5
cmp word [eax], di
je 0xa72b2d5
lea eax, [ebp - 0x10]
push eax
call fcn.0a72ab78
pop ecx
jmp 0xa72b30c
lea eax, [ebp - 0x10]
push eax
call fcn.0a72ac13
jmp 0xa72b2d2
mov eax, dword [edi]
test eax, eax
je 0xa72b2f7
cmp word [eax], dx
je 0xa72b2f7
lea eax, [ebp - 0x10]
push eax
call fcn.0a72ab2d
pop ecx
jmp 0xa72b30a
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0xa72b3d5
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0a72b01a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0xa72b3d5
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0xa72b3d5
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0xa72b3d5
mov eax, dword [ebp - 0x18]
test eax, eax
je 0xa72b362
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.0a720731
test ebx, ebx
je 0xa72b3d0
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.0a720731
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xa72b3d5
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0xa72b3d5
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0a72ee89
add esp, 0x10
xor eax, eax
inc eax
jmp 0xa72b3d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0a707b89
leave
ret
Function at 0xa72f40f
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.0a72f38b
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0xa72f57e
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0xa72f57e
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0xa72f533
jg 0xa72f46b
test eax, eax
je 0xa72f529
push 1
push 0x1000
call fcn.0a7209d6
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0xa72f48e
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0xa72f520
push 0x8000
push ebx
call fcn.0a71e12a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0xa72f4b7
jg 0xa72f4b2
cmp ecx, 0x1000
jb 0xa72f4b7
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0a72427d
add esp, 0x10
cmp eax, 0xffffffff
je 0xa72f4fc
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0xa72f4b2
jl 0xa72f4e3
test ecx, ecx
jne 0xa72f4a4
push dword [ebp - 0xc]
push ebx
call fcn.0a71e12a
push esi
call fcn.0a720933
add esp, 0xc
xor ebx, ebx
jmp 0xa72f58c
cmp byte [edi + 0x24], 0
je 0xa72f513
cmp dword [edi + 0x20], 5
jne 0xa72f513
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0xa72f51e
mov ebx, dword [edi + 0x18]
jmp 0xa72f520
xor ebx, ebx
push esi
call fcn.0a720933
pop ecx
jmp 0xa72f58c
test ecx, ecx
jg 0xa72f4f5
jl 0xa72f533
test eax, eax
jae 0xa72f4f5
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0a7263b7
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0xa72f553
cmp byte [edi + 0x1c], 0
je 0xa72f4f5
jmp 0xa72f584
push ebx
call fcn.0a7290f1
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0xa72f4f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0xa72f58c
cmp byte [edi + 0x1c], 0
je 0xa72f589
mov ebx, dword [edi + 0x18]
jmp 0xa72f58c
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0a7263b7
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0xa737370
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0xa73739d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0xa73739d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x2cb51998
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x25856d2e
nop
nop
nop
nop
nop
test eax, eax
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x418f10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420de0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418f12
cmp edx, 0x800
jae 0x418ffb
mov edi, edi
mov eax, dword [edx*4 + 0x4209e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420de0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420ddc], eax
jb 0x418fd0
mov dword [0x420dbc], 0x4196b0
call fcn.00419140
test eax, eax
jne 0x419018
mov dword [0x420dbc], 0x4195d0
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x18326ee7
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x585856ed
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4033a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x660124]
xor eax, esp
mov dword [esp + 0x60], eax
push esi
push dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x1c], 0
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.00403420
add esp, 4
lea edx, [esp + 8]
mov ecx, esi
call fcn.004034e0
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.005846b2
mov esp, ebp
pop ebp
ret

Function at 0x404e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6b9a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x660124]
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.00581aac
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 0x404f10
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.0059cffe
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x65a130
push eax
call fcn.0059d6e7
push edi
push esi
call fcn.00581e0c
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.005846b2
mov esp, ebp
pop ebp
ret 4
Function at 0x413350
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6ca6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x660124]
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.005846c3
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00581d09
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 0x4171e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0x104
push 0
push eax
mov dword [ebp - 0x10c], 0
call fcn.0059e610
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
cmp byte [ebp - 0x108], 0
jne 0x417247
xor ecx, ecx
jmp 0x417259
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x417250
sub ecx, edx
push ecx
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.00402e10
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005846b2
mov esp, ebp
pop ebp
ret 4
Function at 0x417280
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c88e0
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
mov word [ebp - 0x58], cx
lea ecx, [ebp - 0x58]
push eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
call fcn.004167c0
push 0x64e540
lea edx, [ebp - 0x58]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00417460
push 0x250
lea eax, [ebp - 0x2a8]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0059e610
add esp, 0x10
lea ecx, [ebp - 0x2a8]
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
mov bl, 1
mov byte [ebp - 0x2a9], bl
cmp edi, 0xffffffff
je 0x4173e6
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop word [eax + eax]
push 0x64e548
lea eax, [ebp - 0x27c]
push eax
call esi
test eax, eax
je 0x4173c7
push 0x64e54c
lea eax, [ebp - 0x27c]
push eax
call esi
test eax, eax
je 0x4173c7
lea eax, [ebp - 0x27c]
push eax
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x28]
call fcn.00417460
add esp, 4
test byte [ebp - 0x2a8], 0x10
jne 0x4173b2
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x417444
push 0x250
lea eax, [ebp - 0x2a8]
push 0
push eax
call fcn.0059e610
add esp, 0xc
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4173c7
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00416980
lea eax, [ebp - 0x2a8]
push eax
push edi
call ebx
test eax, eax
jne 0x417340
mov bl, byte [ebp - 0x2a9]
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4173fb
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00416980
mov ecx, dword [ebp - 0x44]
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp ecx, 8
jb 0x417424
inc ecx
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x58]
call fcn.00416980
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x14]
xor bl, bl
cmp eax, 8
jb 0x4173df
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00416980
jmp 0x4173df
Function at 0x4177b0
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 1
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
push eax
xor edi, edi
mov dword [ebp - 8], 0
push edi
call dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
mov eax, dword [ebp - 8]
test eax, eax
je 0x417870
push esi
push eax
call fcn.005aa45f
mov esi, eax
add esp, 4
test esi, esi
je 0x41785e
push 1
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
test eax, eax
jne 0x417855
mov edx, dword [esi]
xor ecx, ecx
test edx, edx
je 0x417855
lea eax, [esi + 4]
cmp dword [eax], edi
je 0x41781f
inc ecx
add eax, 0x38
cmp ecx, edx
jb 0x417811
jmp 0x417855
lea eax, [ecx*8]
mov edi, 1
sub eax, ecx
mov ecx, dword [ebp - 0xc]
movups xmm0, xmmword [esi + eax*8 + 4]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x14]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [esi + eax*8 + 0x24]
movups xmmword [ecx + 0x20], xmm0
movq xmm0, qword [esi + eax*8 + 0x34]
movq qword [ecx + 0x30], xmm0
push esi
call fcn.005a4605
add esp, 4
pop esi
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.005846b2
mov esp, ebp
pop ebp
ret
Function at 0x41a0c0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push esi
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x41a102
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0059e090
mov esi, dword [ebp - 0x10]
add esp, 0xc
jmp 0x41a104
xor esi, esi
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x41a119
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.004030b0
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005846b2
mov esp, ebp
pop ebp
ret

Function at 0x41a280
Capabilities:
Create udp socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1b4
mov eax, dword [0x660124]
xor eax, esp
mov dword [esp + 0x1b0], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 0
je 0x41a3b2
cmp word [esi + 0x18], 0
je 0x41a3b2
mov edi, dword [sym.imp.WS2_32.dll_socket]
push 0
push 2
push 2
call edi
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
jne 0x41a2fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x276d
jne 0x41a2fd
lea eax, [esp + 0x28]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x11
push 2
push 2
call edi
mov dword [esp + 0x10], eax
cmp eax, 0xffffffff
je 0x41a3b2
sub esp, 0x18
mov eax, 2
mov ecx, esp
mov word [esp + 0x30], ax
lea eax, [esi + 0x1c]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00402f10
call fcn.0041a0c0
add esp, 0x18
mov dword [esp + 0x1c], eax
movzx eax, word [esi + 0x34]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x1a], ax
xor edi, edi
mov eax, dword [esi + 0x10]
mov ebx, 0xa
test eax, eax
je 0x41a38d
test ebx, ebx
jle 0x41a38d
cmp dword [esi + 0x14], 0x10
jb 0x41a362
mov ecx, dword [esi]
jmp 0x41a364
mov ecx, esi
push 0x10
lea edx, [esp + 0x1c]
sub eax, edi
push edx
push 0
push eax
lea eax, [ecx + edi]
push eax
push dword [esp + 0x24]
call dword [sym.imp.WS2_32.dll_sendto]
cmp eax, 0xffffffff
je 0x41a38d
add edi, eax
dec ebx
mov eax, dword [esi + 0x10]
cmp edi, eax
jb 0x41a354
push dword [esp + 0x10]
call dword [sym.imp.WS2_32.dll_closesocket]
cmp edi, dword [esi + 0x10]
sete al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1b0]
xor ecx, esp
call fcn.005846b2
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1bc]
xor al, al
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005846b2
mov esp, ebp
pop ebp
ret
Function at 0x41aa00
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c8b08
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x660124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x2c], 0
push 0xffffffffffffffff
push eax
mov word [ebp - 0x28], ax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.004167c0
lea eax, [ebp - 0x2c]
push eax
push 0x41a9c0
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
cmp eax, 8
jb 0x41aa81
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00416980
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x41aaaa
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.00416980
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005846b2
mov esp, ebp
pop ebp
ret