joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10096dc8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x100e5e98]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10096e0e
cmp word [ebx], dx
jne 0x10096e0e
or byte [eax + edi + 0x28], 4
jmp 0x10096e13
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x10096f76
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x10096f56
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x10096e54
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x10096e8a
cmp eax, edx
jae 0x10096e98
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x10096e2f
jmp 0x10096f76
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10096f51
cmp dword [ebp - 0x18], 0
je 0x10096f51
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x100e5e98]
test byte [eax + edi + 0x28], 0x48
je 0x10096f27
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x10096eeb
mov word [esi], cx
jmp 0x10096f22
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x100e5e98]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x100e5e98]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x100e5e98]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x10096f76
pop eax
cmp word [ebp - 4], ax
jne 0x10096f37
cmp esi, ebx
jne 0x10096f37
mov word [esi], ax
jmp 0x10096f73
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10097804
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x10096f76
push 0xd
pop eax
jmp 0x10096f32
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x100e5e98]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x10096f70
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x10096f76
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1009c384
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 0x1009c421
push ebx
push esi
call fcn.1009c34d
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.100991a8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1009c3ce
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009c420
push edi
push eax
call fcn.10097862
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1009c3ee
call fcn.100955ce
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1009c41f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100991a8
add esp, 0x20
test eax, eax
jne 0x1009c40d
push edi
call fcn.100955ce
jmp 0x1009c415
push ebx
call fcn.100955ce
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 0x1009c424
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x1009c435
pop esi
ret
push ebx
push edi
push esi
call fcn.1009c34d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.10097862
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1009c45d
push ebx
push esi
push edi
call fcn.10076cd0
add esp, 0xc
push 0
call fcn.100955ce
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x1009c82d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1009c472

Function at 0x1009eee6
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10092e06
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 0x1009ef55
cmp esi, dword [ebp - 4]
je 0x1009ef50
cmp dword [ebp + 0xc], 0
je 0x1009ef50
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x1009ef2d
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.1009ea38
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x1009ef57
xor eax, eax
inc eax
jmp 0x1009ef57
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x1009efbc
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100df300]
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.10092e06
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.10092e06
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 0x1009f033
cmp word [ecx], dx
je 0x1009f033
mov eax, dword [0x100cb024]
push edi
dec eax
push eax
push 0x100caf10
call fcn.1009ef5b
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1009f0a6
cmp word [eax], dx
je 0x1009f0a6
mov eax, dword [edi]
test eax, eax
je 0x1009f057
cmp word [eax], dx
je 0x1009f057
lea eax, [ebp - 0x10]
push eax
call fcn.1009e93e
jmp 0x1009f060
lea eax, [ebp - 0x10]
push eax
call fcn.1009e9d9
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x1009f0d0
mov eax, dword [0x100caf0c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x100cac00
call fcn.1009ef5b
add esp, 0xc
test al, al
je 0x1009f0d0
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x1009f09b
cmp word [eax], di
je 0x1009f09b
lea eax, [ebp - 0x10]
push eax
call fcn.1009e93e
pop ecx
jmp 0x1009f0d2
lea eax, [ebp - 0x10]
push eax
call fcn.1009e9d9
jmp 0x1009f098
mov eax, dword [edi]
test eax, eax
je 0x1009f0bd
cmp word [eax], dx
je 0x1009f0bd
lea eax, [ebp - 0x10]
push eax
call fcn.1009e8f3
pop ecx
jmp 0x1009f0d0
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 0x1009f19b
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1009ede0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1009f19b
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x1009f19b
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x1009f19b
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1009f128
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.1009627c
test ebx, ebx
je 0x1009f196
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.1009627c
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x1009f19b
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 0x1009f19b
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100a3cb4
add esp, 0x10
xor eax, eax
inc eax
jmp 0x1009f19d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10075013
leave
ret
Function at 0x100a44c1
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.100a443d
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100a4630
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100a4630
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x100a45e5
jg 0x100a451d
test eax, eax
je 0x100a45db
push 1
push 0x1000
call fcn.10095b4c
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100a4540
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x100a45d2
push 0x8000
push ebx
call fcn.100a436e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100a4569
jg 0x100a4564
cmp ecx, 0x1000
jb 0x100a4569
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100953b2
add esp, 0x10
cmp eax, 0xffffffff
je 0x100a45ae
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 0x100a4564
jl 0x100a4595
test ecx, ecx
jne 0x100a4556
push dword [ebp - 0xc]
push ebx
call fcn.100a436e
push esi
call fcn.100955ce
add esp, 0xc
xor ebx, ebx
jmp 0x100a463e
cmp byte [edi + 0x24], 0
je 0x100a45c5
cmp dword [edi + 0x20], 5
jne 0x100a45c5
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x100a45d0
mov ebx, dword [edi + 0x18]
jmp 0x100a45d2
xor ebx, ebx
push esi
call fcn.100955ce
pop ecx
jmp 0x100a463e
test ecx, ecx
jg 0x100a45a7
jl 0x100a45e5
test eax, eax
jae 0x100a45a7
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10097804
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x100a4605
cmp byte [edi + 0x1c], 0
je 0x100a45a7
jmp 0x100a4636
push ebx
call fcn.1009cd85
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x100a45a7
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 0x100a463e
cmp byte [edi + 0x1c], 0
je 0x100a463b
mov ebx, dword [edi + 0x18]
jmp 0x100a463e
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10097804
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100a5780
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [eax + 0x38]
mov bl, byte [eax + 0x34]
test esi, esi
jle 0x100a57bd
mov edx, dword [eax + 0x260]
push edi
movzx edi, bl
nop word [eax + eax]
mov ecx, edx
shl edx, 8
shr ecx, 0x18
xor ecx, edi
xor edx, dword [ecx*4 + 0x100e05e0]
mov dword [eax + 0x260], edx
sub esi, 1
jne 0x100a57a0
pop edi
mov ecx, dword [eax + 0x34]
mov byte [ecx + eax + 0x58], 1
mov edx, dword [eax + 0x38]
mov ecx, edx
sub ecx, 1
je 0x100a586c
sub ecx, 1
je 0x100a5850
sub ecx, 1
je 0x100a5828
mov byte [edx + eax + 0x54], 1
mov edx, dword [eax + 0x24]
mov ecx, dword [eax + 0x44]
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
inc edx
mov dword [eax + 0x44], edx
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov esi, dword [eax + 0x44]
mov dl, byte [eax + 0x38]
mov ecx, dword [eax + 0x24]
sub dl, 4
mov byte [esi + ecx], dl
inc dword [eax + 0x44]
pop esi
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
mov edx, dword [eax + 0x44]
mov ecx, dword [eax + 0x24]
inc edx
mov dword [eax + 0x44], edx
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
mov ecx, dword [eax + 0x44]
mov edx, dword [eax + 0x24]
pop esi
mov byte [edx + ecx], bl
inc dword [eax + 0x44]
pop ebx
ret
Function at 0x100af6b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100af6dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100af6dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10004ad0
Capabilities:
Get routing table

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
mov eax, dword [0x10047070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
lea eax, [ebp - 0x188]
push 1
push eax
push 0
mov dword [ebp - 0x188], 0
call edi
cmp eax, 0x7a
jne 0x10004b2e
push dword [ebp - 0x188]
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
lea eax, [ebp - 0x188]
push 1
push eax
push esi
call edi
test eax, eax
je 0x10004b41
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100102c8
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10004b2e
push ebx
push 0x80
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.10015810
push 0x80
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.10015810
push 0x80
lea eax, [ebp - 0x184]
push 0
push eax
call fcn.10015810
mov eax, dword [esi]
add esp, 0x24
xor ebx, ebx
mov dword [ebp - 0x190], 0
test eax, eax
je 0x10004cd4
xor edi, edi
test eax, eax
je 0x10004cb6
lea eax, [edi*8]
sub eax, edi
push dword [esi + eax*8 + 4]
lea eax, [esi + eax*8]
mov dword [ebp - 0x18c], eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x84]
push 0x80
push eax
call fcn.100188cd
mov eax, dword [ebp - 0x18c]
add esp, 0xc
push dword [eax + 8]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x104]
push 0x80
push eax
call fcn.100188cd
mov eax, dword [ebp - 0x18c]
add esp, 0xc
push dword [eax + 0x10]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
lea eax, [ebp - 0x184]
push 0x80
push eax
call fcn.100188cd
add esp, 0xc
lea eax, [ebp - 0x84]
mov ecx, 0x10041154
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10004c46
test dl, dl
je 0x10004c42
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10004c46
add eax, 2
add ecx, 2
test dl, dl
jne 0x10004c26
xor eax, eax
jmp 0x10004c4b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10004cad
mov eax, 0x10041154
lea ecx, [ebp - 0x104]
nop word [eax + eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10004c80
test dl, dl
je 0x10004c7c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10004c80
add ecx, 2
add eax, 2
test dl, dl
jne 0x10004c60
xor eax, eax
jmp 0x10004c85
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10004cad
test edi, edi
jne 0x10004c95
mov ebx, dword [esi + 0x28]
mov eax, dword [esi + 0x14]
jmp 0x10004ca7
mov ecx, dword [ebp - 0x18c]
mov eax, dword [ecx + 0x28]
cmp ebx, eax
jbe 0x10004cad
mov ebx, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x190], eax
inc edi
cmp edi, dword [esi]
jb 0x10004ba2
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x190]
pop ebx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100102c8
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.100102c8
mov esp, ebp
pop ebp
ret
Function at 0x100051d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100330fb
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x10047070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
lea ecx, [ebp - 0x28]
call fcn.10004f40
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], 0
call fcn.100127fb
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 1
call fcn.1001282f
lea ecx, [ebp - 0x28]
test eax, eax
je 0x1000523e
push 0xe
push str.WFFilter64.exe
jmp 0x10005245
push 0xc
push str.WFFilter.exe
call fcn.10005810
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10005370
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
push 3
xor eax, eax
mov dword [ebp - 0x2c], 7
push 0x100412a8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.10004610
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1001214a
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x100052d1
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10001860
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
push 0
cmovae ecx, dword [ebp - 0x58]
cmp dword [ebp - 0x14], 8
push 0
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push 0
push ecx
push eax
mov dword [ebp - 0x30], 0
call fcn.10012a7f
mov eax, dword [ebp - 0x44]
add esp, 0x14
cmp eax, 8
jb 0x10005320
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10001860
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x48], 0
test eax, eax
je 0x10005389
push dword [ebp - 0x68]
lea ecx, [ebp - 0x64]
push ecx
push dword [ebp - 0x60]
push eax
call fcn.10005a50
mov ecx, dword [ebp - 0x5c]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x64]
add esp, 0x10
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push dword [ebp - 0x64]
call fcn.100057b0
jmp 0x10005389
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push str.not_found__s
call fcn.1001192d
add esp, 8
lea ecx, [ebp - 0x8c]
call fcn.1001280e
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100053a9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10001860
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100102c8
mov esp, ebp
pop ebp
ret
Function at 0x10005b10
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x23c
mov eax, dword [0x10047070]
xor eax, esp
mov dword [esp + 0x238], eax
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], 0
push edi
lea ecx, [esp + 0xc]
push ecx
mov eax, dword [esi + 0x38]
push 0
push dword [esi + 0xc]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10005b75
push eax
push str.WlanEnumInterfaces_failed_with_error:__u_n
call fcn.100041a0
add esp, 8
mov eax, 0xfffffffe
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.100102c8
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x10005b86
mov eax, dword [esi + 0x38]
push ecx
mov eax, dword [eax + 0x10]
call eax
mov ecx, esi
call fcn.10005f80
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10001ec0
cmp byte [esp + 0x20], 0
jne 0x10005c6e
push 0x64
call ebx
push ecx
mov ecx, esi
call fcn.10002aa0
mov ecx, esi
call fcn.10005cd0
test eax, eax
jne 0x10005cad
push 0x64
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push 0x21c
mov ebx, eax
lea eax, [esp + 0x24]
push 0
push eax
call fcn.10015810
add esp, 0xc
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10001ec0
cmp byte [esp + 0x20], 0
jne 0x10005c33
call edi
sub eax, ebx
cmp eax, 0x7d0
ja 0x10005c33
push 0x21c
lea eax, [esp + 0x24]
push 0
push eax
call fcn.10015810
add esp, 0xc
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call fcn.10001ec0
cmp byte [esp + 0x20], 0
je 0x10005c01
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.100029c0
cmp dword [0x1007b480], 0
jne 0x10005c4d
call fcn.10009840
mov ecx, dword [0x1007b480]
lea eax, [esp + 0x10]
push eax
call fcn.10009270
test al, al
jne 0x10005c94
push str.StartWifiSharing_FAILD
call fcn.1001192d
add esp, 4
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x10005c7c
mov eax, dword [ecx]
push 0xffffffffffffffff
call dword [eax + 0x10]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x238]
xor ecx, esp
call fcn.100102c8
mov esp, ebp
pop ebp
ret
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
mov esi, eax
call edi
sub eax, esi
cmp eax, 0x3e8
jbe 0x10005ca0
xor eax, eax
mov ecx, dword [esp + 0x244]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100102c8
mov esp, ebp
pop ebp
ret