joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401770
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4545c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push esi
test eax, eax
je 0x4019af
push 0x5b
push eax
call fcn.0042443c
mov esi, eax
add esp, 8
test esi, esi
je 0x4019af
push 0x5d
push esi
call fcn.0042443c
add esp, 8
test eax, eax
je 0x4019af
xor ecx, ecx
mov word [eax], cx
xor eax, eax
add esi, 2
xor edx, edx
push str.trace
push esi
mov word [ebp - 0x10], dx
mov dword [ebp - 0xe], eax
mov word [ebp - 0xa], ax
call fcn.004321a7
add esp, 8
test eax, eax
jne 0x4017ea
push 0xa
lea eax, [ebp - 0x10]
push eax
push 0
jmp 0x401893
push str.debug
push esi
call fcn.004321a7
add esp, 8
test eax, eax
jne 0x401809
push 0xa
lea ecx, [ebp - 0x10]
push ecx
push 1
jmp 0x401893
push str.info
push esi
call fcn.004321a7
add esp, 8
test eax, eax
jne 0x401825
push 0xa
lea edx, [ebp - 0x10]
push edx
push 3
jmp 0x401893
push str.driver
push esi
call fcn.004321a7
add esp, 8
test eax, eax
jne 0x401841
push 0xa
lea eax, [ebp - 0x10]
push eax
push 2
jmp 0x401893
push str.warning
push esi
call fcn.004321a7
add esp, 8
test eax, eax
jne 0x40185d
push 0xa
lea ecx, [ebp - 0x10]
push ecx
push 5
jmp 0x401893
push str.error
push esi
call fcn.004321a7
add esp, 8
test eax, eax
jne 0x401879
push 0xa
lea edx, [ebp - 0x10]
push edx
push 6
jmp 0x401893
push 0x43c900
push esi
call fcn.004321a7
add esp, 8
test eax, eax
jne 0x40189b
push 0xa
lea eax, [ebp - 0x10]
push eax
push 7
call fcn.004244c0
add esp, 0xc
cmp word [ebp - 0x10], 0
je 0x4019af
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.fnIRPAlloc
push edi
call esi
push str.fnIRPFree
push edi
mov dword [0x457560], eax
call esi
push str.fnIRPSetBuf
push edi
mov dword [0x457564], eax
call esi
push str.fnIRPAllocPipe
push edi
mov dword [0x457594], eax
call esi
push str.fnIRPFreePipe
push edi
mov dword [0x457584], eax
call esi
push str.fnIRPAllocSourNet
push edi
mov dword [0x457588], eax
call esi
push str.fnIRPFreeSourNet
push edi
mov dword [0x457568], eax
call esi
push str.fnIRPSetSourNet
push edi
mov dword [0x45756c], eax
call esi
push str.fnIRPAllocDestNet
push edi
mov dword [0x457570], eax
call esi
push str.fnIRPFreeDestNet
push edi
mov dword [0x457574], eax
call esi
push str.fnIRPSetDestNet
push edi
mov dword [0x457578], eax
call esi
lea ecx, [ebp - 0x14]
push ecx
mov dword [0x45757c], eax
mov dword [ebp - 0x14], 0
call dword [0x457560]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x30], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x34], 0x10f
lea eax, [ebp - 0x10]
add esp, 4
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401970
sub eax, edx
sar eax, 1
lea ecx, [eax + eax]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
call dword [0x457594]
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push str.wmcPipeSystem7
push ecx
call fcn.00415f20
lea edx, [ebp - 0x14]
push edx
call dword [0x457564]
add esp, 0xc
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop esi
call fcn.004243bb
mov esp, ebp
pop ebp
ret
Function at 0x4019c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
test ebx, ebx
je 0x401acb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.fnIRPAlloc
push edi
call esi
push str.fnIRPFree
push edi
mov dword [0x457560], eax
call esi
push str.fnIRPSetBuf
push edi
mov dword [0x457564], eax
call esi
push str.fnIRPAllocPipe
push edi
mov dword [0x457594], eax
call esi
push str.fnIRPFreePipe
push edi
mov dword [0x457584], eax
call esi
push str.fnIRPAllocSourNet
push edi
mov dword [0x457588], eax
call esi
push str.fnIRPFreeSourNet
push edi
mov dword [0x457568], eax
call esi
push str.fnIRPSetSourNet
push edi
mov dword [0x45756c], eax
call esi
push str.fnIRPAllocDestNet
push edi
mov dword [0x457570], eax
call esi
push str.fnIRPFreeDestNet
push edi
mov dword [0x457574], eax
call esi
push str.fnIRPSetDestNet
push edi
mov dword [0x457578], eax
call esi
mov dword [0x45757c], eax
lea eax, [ebp - 4]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call dword [0x457560]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x30], esi
mov edx, dword [ebp - 4]
mov eax, ebx
mov dword [edx + 0x34], 0x110
add esp, 4
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x401a90
sub eax, edx
sar eax, 1
add eax, eax
push eax
lea ecx, [ebp - 4]
push ebx
push ecx
call dword [0x457594]
mov edx, dword [ebp - 4]
add esp, 0xc
push str.wmcPipeSystem7
push edx
call fcn.00415f20
lea eax, [ebp - 4]
push eax
call dword [0x457564]
add esp, 0xc
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x401ad0
Capabilities:
Link many functions at runtime
Write file on windows

Disassembly:
push ebx
mov ebx, dword [0x45822c]
push esi
mov esi, dword [0x458238]
push edi
test ebx, ebx
je 0x401c8a
test esi, esi
je 0x401c8a
push str._service
push ebx
call fcn.004321a7
add esp, 8
test eax, eax
jne 0x401b0b
mov eax, esi
pop edi
pop esi
pop ebx
jmp fcn.00401000
push str._policy
push ebx
call fcn.004321a7
add esp, 8
test eax, eax
jne 0x401b26
call fcn.00401190
pop edi
pop esi
pop ebx
ret
push 0x44c1ec
push ebx
call fcn.004321a7
add esp, 8
test eax, eax
je 0x401c81
push str._assetsilence
push ebx
call fcn.004321a7
add esp, 8
test eax, eax
je 0x401c81
push str._getasset
push ebx
call fcn.004321a7
add esp, 8
test eax, eax
jne 0x401b6e
mov eax, esi
pop edi
pop esi
pop ebx
jmp fcn.00401470
push 0xb
push str._filterpid
push ebx
call fcn.004337b5
add esp, 0xc
test eax, eax
je 0x401c8a
push 0xe
push str._registrystart
push ebx
call fcn.004337b5
add esp, 0xc
test eax, eax
jne 0x401bab
push 0x10a
call fcn.00401660
add esp, 4
pop edi
pop esi
pop ebx
ret
push 0xd
push str._registrystop
push ebx
call fcn.004337b5
add esp, 0xc
test eax, eax
jne 0x401bd0
push 0x10b
call fcn.00401660
add esp, 4
pop edi
pop esi
pop ebx
ret
push 0xd
push str._processstart
push ebx
call fcn.004337b5
add esp, 0xc
test eax, eax
jne 0x401bf5
push 0x10d
call fcn.00401660
add esp, 4
pop edi
pop esi
pop ebx
ret
push 0xc
push str._processstop
push ebx
call fcn.004337b5
add esp, 0xc
test eax, eax
jne 0x401c1a
push 0x10e
call fcn.00401660
add esp, 4
pop edi
pop esi
pop ebx
ret
push 4
push str._log
push ebx
call fcn.004337b5
add esp, 0xc
test eax, eax
jne 0x401c3d
push ebx
mov edi, esi
call fcn.00401770
add esp, 4
pop edi
pop esi
pop ebx
ret
push 5
push str._view
push ebx
call fcn.004337b5
add esp, 0xc
test eax, eax
jne 0x401c5c
mov edi, esi
call fcn.004019c0
pop edi
pop esi
pop ebx
ret
push 6
push str._ucbfs
push ebx
call fcn.004337b5
add esp, 0xc
test eax, eax
jne 0x401c8a
push 0x114
call fcn.00401660
add esp, 4
pop edi
pop esi
pop ebx
ret
push ebx
call fcn.004012e0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x405f30
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
lea eax, [ebp - 8]
push eax
push 0x4395d0
xor esi, esi
push esi
push ecx
mov dword [ebp - 8], esi
call dword [sym.imp.OLEACC.dll_AccessibleObjectFromWindow]
test eax, eax
js 0x405fc4
cmp dword [ebp - 8], esi
je 0x405fc4
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x10]
push eax
push ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0xc], esi
call fcn.00404db0
add esp, 0x14
cmp eax, 2
jne 0x405f9e
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x405f9e
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 8]
cmp eax, esi
je 0x405fad
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 8], esi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x405fd0
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 4]
push eax
push 0x4395d0
xor esi, esi
push esi
push ecx
mov dword [ebp - 4], esi
call dword [sym.imp.OLEACC.dll_AccessibleObjectFromWindow]
test eax, eax
js 0x406061
cmp dword [ebp - 4], esi
je 0x406061
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push esi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0xc]
push edx
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.004055e0
add esp, 0x14
cmp eax, 2
jne 0x40603b
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40603b
call dword [sym.imp.USER32.dll_EmptyClipboard]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 4]
cmp eax, esi
je 0x40604a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406070
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4545c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0xfe
mov esi, ecx
push eax
lea ecx, [ebp - 0x106]
push ecx
mov word [ebp - 0x108], ax
call fcn.0042c9e0
add esp, 0xc
push 2
push esi
call dword [sym.imp.USER32.dll_GetAncestor]
push 0x80
lea edx, [ebp - 0x108]
mov esi, eax
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x108]
lea edx, [eax + 2]
jmp 0x4060d0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4060d0
sub eax, edx
sar eax, 1
je 0x40611f
lea ecx, [ebp - 0x108]
mov eax, 0x457a10
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406116
test dx, dx
je 0x406112
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406116
add eax, 4
add ecx, 4
test dx, dx
jne 0x4060f0
xor eax, eax
jmp 0x40611b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x40615f
mov ecx, 0x457c10
lea eax, [ebp - 0x108]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406156
test dx, dx
je 0x406152
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406156
add eax, 4
add ecx, 4
test dx, dx
jne 0x406130
xor eax, eax
jmp 0x40615b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4061a7
xor eax, eax
movzx ecx, word [ebp + eax - 0x108]
mov word [eax + 0x457a10], cx
add eax, 2
test cx, cx
jne 0x406161
xor eax, eax
push 0xfe
push eax
lea ecx, [ebp - 0x206]
push ecx
mov word [ebp - 0x208], ax
call fcn.0042c9e0
lea edx, [ebp - 0x208]
add esp, 0xc
push edx
mov ecx, esi
call fcn.00405eb0
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004243bb
mov esp, ebp
pop ebp
ret
Function at 0x4061c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4545c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0xfe
mov esi, ecx
push eax
lea ecx, [ebp - 0x106]
push ecx
mov word [ebp - 0x108], ax
call fcn.0042c9e0
add esp, 0xc
push 2
push esi
call dword [sym.imp.USER32.dll_GetAncestor]
push 0x80
lea edx, [ebp - 0x108]
mov esi, eax
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x108]
lea edx, [eax + 2]
jmp 0x406220
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406220
sub eax, edx
sar eax, 1
je 0x40626f
lea ecx, [ebp - 0x108]
mov eax, 0x457b10
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x406266
test dx, dx
je 0x406262
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x406266
add eax, 4
add ecx, 4
test dx, dx
jne 0x406240
xor eax, eax
jmp 0x40626b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4062af
mov ecx, 0x457d10
lea eax, [ebp - 0x108]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4062a6
test dx, dx
je 0x4062a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4062a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x406280
xor eax, eax
jmp 0x4062ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4062f7
xor eax, eax
movzx ecx, word [ebp + eax - 0x108]
mov word [eax + 0x457b10], cx
add eax, 2
test cx, cx
jne 0x4062b1
xor eax, eax
push 0xfe
push eax
lea ecx, [ebp - 0x206]
push ecx
mov word [ebp - 0x208], ax
call fcn.0042c9e0
lea edx, [ebp - 0x208]
add esp, 0xc
push edx
mov ecx, esi
call fcn.00405f30
add esp, 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
mov eax, 1
pop esi
call fcn.004243bb
mov esp, ebp
pop ebp
ret

Function at 0x406ff0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x514
mov eax, dword [0x4545c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x50c]
push eax
mov esi, ecx
mov dword [ebp - 0x50c], 0
call fcn.00418680
add esp, 4
test eax, eax
je 0x407103
xor ecx, ecx
push 0xfe
push ecx
lea edx, [ebp - 0x106]
push edx
mov word [ebp - 0x108], cx
call fcn.0042c9e0
mov ecx, dword [ebp - 0x50c]
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
push ecx
call fcn.004190e0
add esp, 8
test eax, eax
je 0x407103
xor edx, edx
push 0x3fe
push edx
lea eax, [ebp - 0x506]
push eax
mov word [ebp - 0x508], dx
call fcn.0042c9e0
add esp, 0xc
push edi
lea ecx, [ebp - 0x108]
push ecx
lea edx, [ebp - 0x508]
push 0x44ca9c
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x50c]
push eax
or esi, 0x2001f
push esi
push 0
lea ecx, [ebp - 0x508]
push ecx
push SysStringLen
mov dword [ebp - 0x50c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x407103
push 4
lea edx, [ebp - 0x510]
push edx
push 4
push eax
mov eax, dword [ebp - 0x50c]
push str.ForceSetCopyCount
push eax
mov dword [ebp - 0x510], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x50c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004243bb
mov esp, ebp
pop ebp
ret
Function at 0x407a60
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
xor esi, esi
push eax
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407b4a
lea ecx, [ebp - 0x14]
push ecx
push ebx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp dword [ebp - 0x10], edi
jl 0x407b43
mov eax, dword [ebp - 0x14]
jg 0x407ab9
cmp eax, edi
jbe 0x407b43
add eax, 0x40
push eax
call fcn.00424a1d
mov edx, dword [ebp - 0x14]
add edx, 0x40
push edx
mov esi, eax
push edi
push esi
call fcn.0042c9e0
mov ecx, dword [ebp - 0x14]
add esp, 0x10
push edi
lea eax, [ebp - 0xc]
push eax
push ecx
push esi
push ebx
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push str.Version_
push esi
call fcn.00424a40
mov edi, eax
add esp, 8
test edi, edi
je 0x407b28
add edi, 9
push 0x44cccc
push edi
call fcn.00424a40
add esp, 8
test eax, eax
je 0x407b28
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 8], 1
mov byte [eax], 0
call fcn.00418ed0
add esp, 4
mov edx, dword [ebp - 0x14]
add edx, 0x40
push edx
push 0
push esi
call fcn.0042c9e0
push esi
call fcn.00424a28
mov esi, dword [ebp - 8]
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4099e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x4545c0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
push 0x2c
lea eax, [esp + 0x34]
push 0
push eax
mov edi, ecx
call fcn.0042c9e0
mov ecx, dword [0x458230]
add esp, 0xc
push 0x7f00
push 0
mov dword [esp + 0x34], 0x30
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 0x4098c0
mov dword [esp + 0x48], ecx
call dword [sym.imp.USER32.dll_LoadCursorW]
push 4
mov dword [esp + 0x4c], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x58], str.HttpAlertClass
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov eax, dword [0x458230]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0
push eax
push 0
push 0
push 0x4f
call esi
push eax
push 0x4e
call esi
push eax
push 0x4d
call esi
push eax
push 0x4c
call esi
mov ecx, dword [esp + 0x70]
push eax
push 0x88000000
push 0
push ecx
push 0x80800a8
call dword [sym.imp.USER32.dll_CreateWindowExW]
push 1
push 0x4f
mov esi, eax
push 0
push esi
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push 0
push 0x1770
push 0
push esi
mov dword [0x458dc8], edi
call dword [sym.imp.USER32.dll_SetTimer]
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
jle 0x409b10
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0x10]
push ecx
call ebx
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
call esi
test eax, eax
jg 0x409af1
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004243bb
mov esp, ebp
pop ebp
ret
Function at 0x40d480
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push edi
push 0x44d340
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x40d4a5
mov eax, 0x100
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push 0x104
push eax
mov dword [ebp - 4], 0
call dword [0x45761c]
add esp, 8
cmp word [edi], 0x5c
je 0x40d4dc
mov cx, word [0x44d350]
mov edx, dword [ebp - 4]
mov word [edx], cx
mov al, byte [0x44d352]
mov ecx, dword [ebp - 4]
mov byte [ecx + 2], al
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call ebx
mov ecx, dword [ebp - 4]
mov esi, eax
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp - 0x14], edx
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40d502
sub eax, dword [ebp - 0x14]
push 0
push 0
lea edx, [esi + 1]
push edx
add eax, ecx
push eax
push 0xffffffffffffffff
push edi
push 0
push 0
call ebx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
push str.GetAdaptersInfo
push ecx
mov byte [esi + eax], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40d634
lea edx, [ebp - 8]
push edx
push 0
mov dword [ebp - 8], 0
call esi
mov eax, dword [ebp - 8]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea ecx, [ebp - 8]
mov edi, eax
push ecx
push edi
mov dword [ebp - 0x14], edi
call esi
test eax, eax
jne 0x40d634
mov dword [ebp - 0xc], edi
test edi, edi
je 0x40d623
lea ebx, [ebx]
mov ebx, dword [ebp - 0xc]
add ebx, 0x1ac
je 0x40d613
nop
lea esi, [ebx + 4]
push str.0.0.0.0
push esi
call fcn.00434881
add esp, 8
test eax, eax
je 0x40d60a
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov edi, dword [ebp - 4]
mov ecx, esi
mov eax, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40d5d3
test dl, dl
je 0x40d5cf
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40d5d3
add eax, 2
add ecx, 2
test dl, dl
jne 0x40d5b3
xor eax, eax
jmp 0x40d5d8
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40d652
mov ecx, esi
lea eax, [edi + 2]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x40d601
test dl, dl
je 0x40d5fd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x40d601
add eax, 2
add ecx, 2
test dl, dl
jne 0x40d5e1
xor eax, eax
jmp 0x40d606
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40d652
mov ebx, dword [ebx]
test ebx, ebx
jne 0x40d590
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x40d580
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 4]
push 0x104
push ecx
call dword [0x457624]
add esp, 8
pop esi
pop ebx
mov eax, 0x100
pop edi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
push 0x104
push eax
call dword [0x457624]
mov ecx, dword [ebp - 0x14]
add esp, 8
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
pop ebx
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x40ef90
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp dword [esi + 0x110], edi
jle 0x40efee
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ResetEvent]
add esi, 0x10
lea esp, [esp]
mov eax, dword [esi]
mov ecx, dword [eax + 0x310]
push ecx
call ebx
mov edx, dword [esi]
mov eax, dword [edx + 0x314]
push eax
call ebx
mov ecx, dword [esi]
push 0
push 1
push ecx
push 0x40ea30
push 0
push 0
call fcn.004247b9
mov edx, dword [ebp + 8]
inc edi
add esp, 0x18
add esi, 4
cmp edi, dword [edx + 0x110]
jl 0x40efb0
pop ebx
pop edi
pop esi
pop ebp
ret 4
Function at 0x414af0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x45826c]
push esi
push edi
push 0
push 0
push 0x130b
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x458260]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
mov esi, eax
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, 0xfffffffb
add ecx, 5
push ecx
push edx
call edi
mov ecx, dword [0x458264]
lea eax, [esi - 1]
neg eax
sbb eax, eax
and eax, 0xfffffffb
add eax, 5
push eax
push ecx
call edi
mov eax, dword [0x458268]
xor edx, edx
cmp esi, 2
setne dl
dec edx
and edx, 5
push edx
push eax
call edi
pop edi
pop esi
ret
Function at 0x415540
Capabilities:
Create thread

Disassembly:
mov eax, dword [0x457644]
push 0x400
push 0x457740
mov dword [0x45773c], eax
mov dword [0x4574b0], 0x415a50
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push 0x457738
push 0
push 0x458240
push 0x415610
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
ret
Function at 0x416770
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [0x4589d0], 3
jne 0x4167c3
push esi
push str.WinNetDaily
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceW]
mov esi, eax
test esi, esi
je 0x4167c2
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 1
push 0
push edx
push 2
push 4
push esi
mov dword [ebp - 4], 0
mov dword [ebp - 8], eax
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov esp, ebp
pop ebp
ret