joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e020
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e208
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.004671c8
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.0043d9c0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004670f6
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.004639b4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.004639b4
push 1
push 0
push 0
mov ecx, esi
call fcn.0046395c
push 1
push 0
push 1
mov ecx, esi
call fcn.0046395c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046723a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x43e1a0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e228
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004671c8
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.0043d9c0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004670f6
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x43e264
cmp dword [esp + 0x40], 1
jne 0x43e262
cmp ecx, eax
jge 0x43e264
mov eax, ecx
cmp eax, 0xc8
jge 0x43e270
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0043e020
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.0046723a
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x43e9e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x46e293
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00461dd4
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00467470
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0046898c
test eax, eax
je 0x43eafc
mov ecx, dword [esp + 0x3c]
call fcn.0046749d
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x43eac0
push edi
mov ecx, esi
call fcn.00464aff
mov ecx, esi
call fcn.0043ec60
cmp dword [esp + 0x38], 1
jne 0x43eaf5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00464c3a
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x441520
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x441553
push esi
call fcn.00444620
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44154c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4415d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4415c2
mov eax, dword [esi + 8]
test eax, eax
je 0x441577
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x4415be
cmp eax, 2
je 0x4415c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44156a
cmp eax, 3
je 0x44159d
cmp eax, 1
jne 0x44156a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44156a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44156a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00441600
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4415e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00441600
add esp, 4
pop esi
ret
Function at 0x44d360
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x44d3a9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x44d820
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x46e740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0044d3d0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0044d450
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0044d450
lea ecx, [esi + 0xc]
call fcn.004607ae
lea ecx, [esi + 0x10]
call fcn.004607ae
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0044e9e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0044e9e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0044e9e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00460823
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00460823
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x44ebd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x44ec36
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x44ec36
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x44ec17
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x462bca
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x462c02
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00460c7e
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00460c56
jmp 0x462c0e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4642bc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4642fe
call fcn.00469e31
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4642fe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4642f5
xor eax, eax
jmp 0x464306
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046430c
pop edi
pop esi
pop ebx
ret 4

Function at 0x46a361
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46a38f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46a3ad
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046a2c7
jmp 0x46a3ad
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46a3ad
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046a2c7
test edi, edi
mov eax, edi
jne 0x46a397
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x103d580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section._15224832
lea edi, [esi - 0xa84000]
push edi
or ebp, 0xffffffff
jmp 0x103d5a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x103d5a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103d598
mov eax, 1
add ebx, ebx
jne 0x103d5bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x103d5cc
jne 0x103d5eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103d5eb
dec eax
add ebx, ebx
jne 0x103d5d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x103d5b0
add ebx, ebx
jne 0x103d5e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x103d63d
xor ecx, ecx
sub eax, 3
jb 0x103d603
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x103d672
sar eax, 1
mov ebp, eax
jmp 0x103d60e
add ebx, ebx
jne 0x103d60e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103d5dc
inc ecx
add ebx, ebx
jne 0x103d61c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x103d5dc
add ebx, ebx
jne 0x103d629
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x103d61e
jne 0x103d63a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x103d61e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x103d65c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x103d64e
jmp 0x103d59e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x103d65c
add edi, ecx
jmp 0x103d59e
pop esi
mov edi, esi
mov ecx, 0x5c1258
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x103d697
cmp byte [edi], 0x42
jne 0x103d67c
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x103d67a
lea edi, [esi + 0xc1b000]
mov eax, dword [edi]
or eax, eax
je 0x103d6e8
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc3e104]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc3e298]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x103d69d
mov ecx, edi
jns 0x103d6cc
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc3e2a0]
or eax, eax
je 0x103d6e2
mov dword [ebx], eax
add ebx, 4
jmp 0x103d6ba
call dword [esi + 0xc3e29c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x103d719
cmp al, 0xef
ja 0x103d70c
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x103d6ee
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x103d6fb
mov ebp, dword [esi + 0xc3e2a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x103d74d
sub esp, 0xffffff80
jmp 0x51de73
Function at 0x10002efb
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10050f4a
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10068060]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [0x10068060]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
call fcn.1002ab90
and dword [esp + 0x38], 0
cmp dword [esp + 0x20], 0
jne 0x10002f76
mov byte [esp + 0xb], 0
push 0
push 1
lea ecx, [esp + 0x14]
call fcn.100020e6
mov al, byte [esp + 0xb]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.10035ee9
mov esp, ebp
pop ebp
ret
push esi
lea ecx, [esp + 0x10]
call fcn.1000128d
pop ecx
mov byte [esp + 0xb], al
jmp 0x10002f4a

Function at 0x10003284
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push 0x2c
mov eax, 0x1004f315
call fcn.1003755a
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
call fcn.10001e13
xor edi, edi
inc edi
mov dword [ebp - 4], ebx
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], edi
call fcn.1001c063
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x18], 0x10
jb 0x100032c0
mov eax, dword [eax + 4]
jmp 0x100032c3
add eax, 4
lea ecx, [ebp - 0x30]
push ecx
mov dword [ebp - 0x30], ebx
call fcn.1002b8c8
test eax, eax
je 0x100032e2
push ebx
push dword [ebp - 0x30]
call fcn.1002e1f6
pop ecx
pop ecx
mov esi, eax
jmp 0x100032ed
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
or esi, 0xffffffff
push ebx
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.100020e6
cmp esi, 0xffffffff
je 0x10003330
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
mov dword [ebp - 0x30], 0x10
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
je 0x1000332a
push dword [ebp - 0x1c]
call sub.WS2_32.dll_inet_ntoa
mov ecx, dword [ebp - 0x34]
push eax
call fcn.10002078
push esi
call sub.WS2_32.dll_closesocket
mov eax, dword [ebp - 0x34]
call fcn.100375dd
ret
Function at 0x10003339
Capabilities:
Get hostname

Disassembly:
push ebp
sub esp, 0x100
lea ebp, [esp - 4]
mov eax, dword [0x10068060]
xor eax, ebp
mov dword [ebp + 0x100], eax
push 0x7c
mov eax, 0x1004de9c
call fcn.100374f1
and dword [ebp - 0x10], 0
xor eax, eax
push 0xfe
push eax
mov word [ebp], ax
lea eax, [ebp + 2]
mov edi, ecx
push eax
mov dword [ebp - 0x18], edi
call fcn.100384f0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push 3
pop ebx
mov esi, 0x80
push ebx
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x100033c7
lea eax, [ebp]
push eax
lea esi, [ebp - 0x34]
call fcn.10001eb9
and dword [ebp - 4], 0
mov eax, esi
push eax
push edi
call fcn.1000124a
pop ecx
pop ecx
push 0
push 1
call fcn.100021e2
mov eax, edi
jmp 0x1000346a
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
mov dword [ebp - 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
xor edi, edi
inc edi
test eax, eax
je 0x1000340a
lea eax, [ebp]
push eax
lea esi, [ebp - 0x50]
call fcn.10001eb9
push 2
pop esi
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 4], edi
push eax
mov dword [ebp - 0x10], esi
call fcn.1000124a
pop ecx
pop ecx
mov dword [ebp - 4], esi
push 6
jmp 0x1000341f
push 0x10055d4f
lea ecx, [ebp - 0x88]
call fcn.10001e26
mov dword [ebp - 4], ebx
push 8
mov ecx, dword [ebp - 0x18]
pop ebx
push eax
mov dword [ebp - 0x10], ebx
call fcn.10001e48
or ebx, edi
test bl, 8
je 0x10003444
push 0
push edi
lea ecx, [ebp - 0x88]
and ebx, 0xfffffff7
call fcn.100020e6
test bl, 4
je 0x10003457
push 0
push edi
lea ecx, [ebp - 0x6c]
and ebx, 0xfffffffb
call fcn.100020e6
test bl, 2
je 0x10003467
push 0
push edi
lea esi, [ebp - 0x50]
call fcn.100021e2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.10035ee9
add ebp, 0x104
leave
ret
Function at 0x100037a1
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051c7b
mov eax, dword fs:[0]
push eax
mov eax, 0x20090
call fcn.10044f70
mov eax, dword [0x10068060]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
push str.clientCfg
lea ecx, [ebp - 0x20098]
mov dword [ebp - 0x20038], esi
mov dword [ebp - 0x20040], eax
mov dword [ebp - 0x2003c], ebx
call fcn.10001e26
lea eax, [ebp - 0x20098]
push eax
xor edi, edi
lea eax, [ebp - 0x2007c]
inc edi
push eax
mov dword [ebp - 4], edi
call fcn.100031dc
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x20098]
mov byte [ebp - 4], 3
call fcn.100020e6
push str.useCidMac
lea ecx, [ebp - 0x20060]
call fcn.10001e26
lea eax, [ebp - 0x20060]
push eax
lea eax, [ebp - 0x2007c]
mov byte [ebp - 4], 4
call fcn.10002f87
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x20060]
mov dword [ebp - 0x20034], eax
mov byte [ebp - 4], 3
call fcn.100020e6
cmp dword [ebp - 0x20034], ebx
je 0x1000389e
push str.use_cid_dummy_mac
call fcn.1001a930
pop ecx
lea eax, [ebp - 0x20060]
push eax
call fcn.1001c041
pop ecx
push esi
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.100036d8
pop ecx
lea ecx, [ebp - 0x20060]
jmp 0x100039a9
push ebx
lea ecx, [ebp - 0x20030]
mov dword [ebp - 0x20018], 0xf
call fcn.1000244b
lea eax, [ebp - 0x20044]
push eax
lea esi, [ebp - 0x20014]
mov eax, esi
mov byte [ebp - 4], 6
push eax
mov dword [ebp - 0x20044], 0x20000
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x10003991
cmp dword [esi + 0x190], 6
jne 0x10003926
lea eax, [esi + 0x1ac]
mov dword [ebp - 0x20034], eax
cmp eax, ebx
je 0x10003926
jmp 0x10003900
mov eax, dword [ebp - 0x20034]
add eax, 4
push eax
mov eax, dword [ebp - 0x20040]
call fcn.100054dd
pop ecx
test al, al
jne 0x1000392e
mov eax, dword [ebp - 0x20034]
mov eax, dword [eax]
mov dword [ebp - 0x20034], eax
cmp eax, ebx
jne 0x100038fa
mov esi, dword [esi]
cmp esi, ebx
jne 0x100038df
jmp 0x10003991
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push str._02x__02x__02x__02x__02x__02x
lea esi, [ebp - 0x20060]
call fcn.1002d177
add esp, 0x1c
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x20030]
mov byte [ebp - 4], 7
call fcn.10001fe6
push ebx
push edi
mov ecx, esi
mov byte [ebp - 4], 6
call fcn.100020e6
mov ecx, dword [ebp - 0x20038]
lea eax, [ebp - 0x20030]
push eax
call fcn.10001e48
lea ecx, [ebp - 0x20030]
push ebx
push edi
mov dword [ebp - 0x2003c], edi
call fcn.100020e6
lea esi, [ebp - 0x2007c]
mov byte [ebp - 4], bl
call fcn.10021b51
mov eax, dword [ebp - 0x20038]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10035ee9
leave
ret
Function at 0x100045d6
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push 0x50
mov eax, 0x1004ffcf
call fcn.1003755a
mov eax, dword [ebp + 8]
push 4
pop esi
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x50]
push eax
push str._fci
mov ebx, str.Softwareprojonepodlp_smpcache_
push ebx
mov edi, reloc.WS2_32.dll_bind
push edi
mov dword [ebp - 0x4c], esi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000461f
cmp dword [ebp - 0x50], esi
jne 0x1000461f
mov eax, dword [ebp - 0x54]
jmp 0x10004621
xor eax, eax
cmp eax, 1
jne 0x10004728
mov eax, dword [ebp - 0x58]
lea ecx, [ebp - 0x48]
mov byte [eax], 1
call fcn.10002fc4
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x34], esi
jne 0x10004653
push str.cstate_not_found
call fcn.1001abc1
pop ecx
push esi
jmp 0x1000471e
lea eax, [ebp - 0x48]
push eax
lea esi, [ebp - 0x2c]
call fcn.10001ed8
push str.__fci
mov eax, esi
push eax
mov byte [ebp - 4], 1
call fcn.10004e10
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x10004680
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.1002c23b
mov esi, eax
mov dword [ebp - 0x4c], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x1000469a
cmp esi, 0xffffffff
jne 0x100046d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.start_cstate__fci_failed:__d
call fcn.1001abc1
mov eax, dword [ebp - 0x50]
inc dword [ebp - 0x50]
cmp eax, 0x1e
pop ecx
pop ecx
jg 0x10004708
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.10002ee5
jmp 0x10004674
push str.wait_for_fill_client_info_before_online
call fcn.1001a7c7
mov dword [esp], 0x493e0
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x100046fb
push str.fille_client_info_wait_time_out_
call fcn.1001abc1
pop ecx
push str._fci
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x4c]
call fcn.10002ee5
push 0
push 1
lea esi, [ebp - 0x2c]
call fcn.100021e2
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.100021e2
call fcn.100375dd
ret