joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44bc6c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.0044b87d
push eax
push esi
push dword [ebp + 8]
call fcn.0044b832
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0044b87d
push eax
push esi
push dword [ebp + 8]
call fcn.0044b832
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0044b86d
add edi, dword [ebx - 0x6277c974]
jl 0x44bcf2
invalid
invalid

Function at 0x44c178
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc dword [eax]
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.0044b87d
pop ecx
push eax
push dword [ebp + 0x18]
Function at 0x402970
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x60
fldz
xor eax, eax
fstp dword [esp]
mov dword [esp + 0x20], eax
fldz
mov dword [esp + 4], eax
fstp qword [esp + 4]
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0x44
add dword [0x42401c], 0x9260df82
xor ecx, ecx
mov word [esp + 0x4e], cx
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], 1
dec dword [0x424258]
mov edx, dword [0x424258]
mov dword [esp + 4], edx
fild dword [esp + 4]
mov ecx, 1
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x6c]
fstp qword [0x424e18]
fld dword [esp + 4]
mov word [esp + 0x50], cx
fsub qword [0x41f4f0]
lea ecx, [esp + 0x20]
push ecx
push eax
push eax
push 8
push eax
push eax
push eax
mov dword [esp + 0x70], eax
fstp dword [esp + 0x20]
mov eax, dword [esp + 0x84]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
add esp, 0x60
ret

Function at 0x402a70
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
fldz
push ebx
mov ebx, dword [esp + 0x18]
push ebp
push esi
xor eax, eax
mov word [esp + 0xc], ax
fstp qword [esp + 0x10]
push edi
mov dword [esp + 0x14], eax
push ebx
call fcn.0040b488
mov edi, dword [esp + 0x24]
push ebx
mov esi, eax
push edi
push esi
call fcn.0040b760
mov ecx, dword [0x4278c4]
dec dword [esp + 0x20]
mov dx, word [esp + 0x20]
lea ebp, [esi + ebx]
mov ebx, dword [0x424114]
movsx edx, dx
add edx, ebx
mov ebx, dword [0x424714]
add ebx, edx
mov dword [esp + 0x34], ebx
sub edi, 0x423004
add esp, 0x10
fild dword [esp + 0x24]
add ecx, edi
mov eax, esi
fstp qword [esp + 0x14]
dec dword [0x424714]
fld dword [0x41f500]
fstp dword [0x4241a0]
cmp esi, ebp
je 0x402b00
mov dl, byte [ecx]
xor byte [eax], dl
inc eax
inc ecx
cmp eax, ebp
jne 0x402af4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x404340
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
fldz
push ebp
mov dword [esp + 8], 0
fst dword [esp + 8]
push 0x2e
fstp dword [esp + 0xc]
push 0x423d54
call fcn.00402a70
add esp, 8
mov ebp, eax
lea eax, [esp + 0xc]
push eax
push ebp
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4043d6
push esi
push edi
push 0x34
push 0x424760
call fcn.00402a70
mov edx, dword [esp + 0x24]
mov esi, eax
mov eax, edx
add esp, 8
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404398
mov ecx, dword [esp + 0x14]
sub eax, edi
push eax
push edx
push 1
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edx, edx
push 0x34
push edx
mov dword [esp + 0x14], 0
push esi
mov word [esp + 0x18], dx
call fcn.0040b6e0
push esi
call fcn.0040b3ab
add esp, 0x10
pop edi
pop esi
xor eax, eax
push 0x2e
push eax
mov dword [esp + 0xc], 0
mov word [esp + 0xc], ax
push ebp
call fcn.0040b6e0
push ebp
call fcn.0040b3ab
mov ecx, dword [esp + 0x1c]
add esp, 0x10
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
fld dword [esp + 8]
fld dword [esp + 8]
pop ebp
fsubr qword [0x41f620]
fsubp st(1)
fstp dword [esp + 4]
add esp, 0xc
ret

Function at 0x4047c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
fldz
push ebx
push esi
fstp qword [esp + 8]
fldz
push edi
push 3
fstp dword [esp + 0x10]
push 0x424888
mov dword [esp + 0x14], 0
call fcn.00402a70
mov ebx, dword [esp + 0x20]
mov esi, eax
push esi
push ebx
call fcn.0040c1cf
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x404817
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push ebx
call fcn.0040c1cf
mov edi, eax
add esp, 8
test edi, edi
je 0x404841
fld qword [0x424098]
push edi
fsub qword [0x41f640]
push 1
lea eax, [esp + 0x24]
push 4
push eax
fstp qword [0x424098]
call fcn.0040c3f7
push edi
call fcn.0040bd75
add esp, 0x14
xor eax, eax
xor ecx, ecx
mov word [esi], ax
mov dword [esp + 0xc], 0
push esi
mov word [esp + 0x10], cx
mov byte [esi + 2], al
call fcn.0040b3ab
add esp, 4
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x40b5d5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4260b0]
jne 0x40b5df
repz ret
jmp fcn.0040f99c

Function at 0x415900
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040fe2b
and dword [ebp - 4], 0
cmp dword [0x4282f0], 0
mov ebx, eax
jne 0x4159b1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x415a62
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x420a48
push edi
call esi
test eax, eax
je 0x415a62
push eax
call fcn.0040fdb9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4282f0], eax
call esi
push eax
call fcn.0040fdb9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4282f4], eax
call esi
push eax
call fcn.0040fdb9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4282f8], eax
call esi
push eax
call fcn.0040fdb9
pop ecx
mov dword [0x428300], eax
test eax, eax
je 0x4159b1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040fdb9
pop ecx
mov dword [0x4282fc], eax
mov eax, dword [0x4282fc]
cmp eax, ebx
je 0x415a09
cmp dword [0x428300], ebx
je 0x415a09
push eax
call fcn.0040fe34
push dword [0x428300]
mov esi, eax
call fcn.0040fe34
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x415a09
test edi, edi
je 0x415a09
call esi
test eax, eax
je 0x415a00
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x415a00
test byte [ebp - 0xc], 1
jne 0x415a09
or dword [ebp + 0x10], 0x200000
jmp 0x415a42
mov eax, dword [0x4282f4]
cmp eax, ebx
je 0x415a42
push eax
call fcn.0040fe34
pop ecx
test eax, eax
je 0x415a42
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x415a42
mov eax, dword [0x4282f8]
cmp eax, ebx
je 0x415a42
push eax
call fcn.0040fe34
pop ecx
test eax, eax
je 0x415a42
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4282f0]
call fcn.0040fe34
pop ecx
test eax, eax
je 0x415a62
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x415a64
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403ac4
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x48f190]
xor eax, esp
mov dword [esp + 0x120], eax
push esi
mov esi, ecx
cmp byte [esi + 0x340], 0
je 0x403b30
push 0x110
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0044c030
add esp, 0xc
lea eax, [esp + 8]
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xc], 5
jne 0x403b21
mov ecx, esi
call fcn.00403777
jmp 0x403b32
cmp dword [esp + 0xc], 6
jb 0x403b30
push esi
call fcn.00402da7
jmp 0x403b32
xor eax, eax
mov ecx, dword [esp + 0x124]
pop esi
xor ecx, esp
call fcn.004483ed
mov esp, ebp
pop ebp
ret
Function at 0x409937
Capabilities:
Write file on windows

Disassembly:
push 0x54
mov eax, 0x4631a7
call fcn.0044c8b2
mov ebx, ecx
cmp dword [ebx + 0x3c], 0
mov dword [ebp - 0x38], ebx
je 0x409a4c
cmp byte [ebx + 0x41], 0
je 0x409a4c
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 4]
cmp eax, 0xffffffff
jne 0x40996f
xor al, al
jmp 0x409a4e
push 0
push 8
pop edi
lea esi, [ebp - 0x30]
call fcn.0040926f
and dword [ebp - 4], 0
lea eax, [ebx + 0x44]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.00408199
mov esi, eax
call fcn.004085aa
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x60]
lea ecx, [ebp - 0x30]
call fcn.00408199
mov esi, eax
call fcn.004085aa
mov ecx, dword [ebx + 0x3c]
mov edx, dword [ecx]
lea esi, [ebp - 0x34]
push esi
mov esi, dword [ebp - 0x40]
add edi, esi
push edi
push eax
push dword [ebp - 0x3c]
call dword [edx + 0x18]
sub eax, 0
je 0x4099e4
dec eax
je 0x4099e8
dec eax
dec eax
je 0x409a48
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x30]
call fcn.00409486
mov al, bl
jmp 0x409a4e
mov byte [ebx + 0x41], 0
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x30]
call fcn.00408199
mov esi, eax
call fcn.004085aa
mov edi, dword [ebp - 0x34]
sub edi, eax
je 0x409a26
lea eax, [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.00408199
mov esi, eax
call fcn.004085aa
push dword [ebx + 0x4c]
push edi
push 1
push eax
call fcn.0044901c
add esp, 0x10
cmp edi, eax
jne 0x4099d2
cmp byte [ebx + 0x41], 0
je 0x409a48
test edi, edi
jne 0x409986
push edi
push 8
pop ebx
lea edi, [ebp - 0x30]
call fcn.004092d3
mov ebx, dword [ebp - 0x38]
jmp 0x409986
mov bl, 1
jmp 0x4099d4
mov al, 1
call fcn.0044c935
ret

Function at 0x40cafa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40cb5e
cmp dword [ebp + 0xc], 1
je 0x40cb36
cmp dword [ebp + 0xc], 2
je 0x40cb36
push 0xd
pop eax
jmp 0x40cb5e
mov eax, dword [ebp - 4]
test edi, edi
je 0x40cb58
test eax, eax
je 0x40cb53
test al, 1
jne 0x40cb31
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40cb58
jmp 0x40cb31
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8
Function at 0x40dfa7
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0044095d
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 1
push dword [esi + 0x64]
call edi
push 1
push dword [esi + 0x68]
call edi
push 0
push 0
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_InvalidateRect]
pop edi
pop esi
ret
Function at 0x4136c6
Capabilities:
Create thread
Resume thread

Disassembly:
push 0x4c
mov eax, 0x4678c6
call fcn.0044c849
mov edi, ecx
mov eax, dword [edi]
lea ecx, [eax + 0x30]
push ecx
push 4
push eax
push 0x44195a
xor esi, esi
push esi
push esi
call fcn.0044b3af
add esp, 0x18
cmp eax, esi
je 0x41371a
mov ecx, dword [edi]
xor edx, edx
add ecx, 4
inc edx
lock xadd dword [ecx], edx
mov ecx, dword [edi]
push eax
lea esi, [ecx + 8]
call fcn.0041341f
mov edi, dword [edi]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.0044c921
ret
lea eax, [ebp - 0x58]
call fcn.00401a6a
push eax
mov dword [ebp - 4], esi
call fcn.0040b25d
int3

Function at 0x414536
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467854
mov eax, dword fs:[0]
push eax
mov eax, 0x107c
call fcn.0045bc80
mov eax, dword [0x48f190]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push ecx
push edi
push str.Bootstrapper::CreateProcess_module___S__args___S
lea esi, [eax + 0x1ac]
mov dword [ebp - 0x101c], ecx
mov dword [ebp - 0x1018], edx
call fcn.0040900c
add esp, 0xc
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x1080]
push ebx
push eax
call fcn.0044c030
add esp, 0xc
xor eax, eax
push 0xffe
mov word [ebp - 0x1014], ax
lea eax, [ebp - 0x1012]
push ebx
push eax
mov dword [ebp - 0x1084], 0x44
call fcn.0044c030
add esp, 0xc
cmp word [edi], 0x22
mov esi, 0x800
lea eax, [ebp - 0x1014]
je 0x41460c
push 0x473d64
push esi
push eax
call fcn.0044a531
add esp, 0xc
push edi
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044a5a0
add esp, 0xc
push 0x473d64
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044a5a0
jmp 0x414614
push edi
push esi
push eax
call fcn.0044a531
add esp, 0xc
push 0x473d68
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044a5a0
add esp, 0xc
push dword [ebp - 0x101c]
lea eax, [ebp - 0x1014]
push esi
push eax
call fcn.0044a5a0
add esp, 0xc
push edi
push str.CreateProcess__S_failed
lea esi, [ebp - 0x1038]
call fcn.0042c993
pop ecx
pop ecx
mov esi, eax
push dword [ebp - 0x1018]
lea eax, [ebp - 0x1084]
push eax
push ebx
push ebx
push 0x20
push ebx
push ebx
push ebx
lea eax, [ebp - 0x1014]
push eax
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x414687
mov eax, esi
call fcn.00429eb0
push ebx
push 1
lea ecx, [ebp - 0x1038]
call fcn.00409486
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004483ed
leave
ret 4
Function at 0x414b70
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x48f190]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0044c030
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x414bc3
cmp dword [ebp - 0x70], 2
jne 0x414bc3
cmp dword [ebp - 0x7c], 5
jne 0x414bc3
mov al, 1
jmp 0x414bc5
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004483ed
add ebp, 0x98
leave
ret

Function at 0x414bda
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x48f190]
xor eax, ebp
mov dword [ebp + 0x94], eax
push 0x110
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.0044c030
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x414c2b
cmp dword [ebp - 0x7c], 6
jne 0x414c2b
xor eax, eax
inc eax
cmp dword [ebp - 0x78], eax
je 0x414c2d
xor al, al
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.004483ed
add ebp, 0x98
leave
ret
Function at 0x414e2a
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4650c8
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x48f190]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x48f190]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, vtable.ATL::CAccessToken.0
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea eax, [esp + 0x34]
mov byte [esp + 0xa8], 1
call fcn.00414d9c
mov byte [esp + 0xa8], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
lea ecx, [esp + 0x10]
push ecx
push 1
mov edi, 0x2000a
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
jne 0x414ee6
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x10]
push ecx
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x414ef9
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x14]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
push eax
push 2
push dword [esp + 0x20]
call dword [sym.imp.ADVAPI32.dll_DuplicateToken]
test eax, eax
je 0x414f21
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x24]
call dword [eax + 4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x30]
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x414f40
cmp dword [esp + 0x10], ebx
setne bl
lea ecx, [esp + 0x34]
call fcn.00414d25
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.00414dec
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], esi
call fcn.00414dec
mov al, bl
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.004483ed
mov esp, ebp
pop ebp
ret
Function at 0x4153dc
Capabilities:
Get geographical location

Disassembly:
push ebp
sub esp, 0x31c
lea ebp, [esp - 4]
mov eax, dword [0x48f190]
xor eax, ebp
mov dword [ebp + 0x31c], eax
push 0xec
mov eax, 0x465b5a
call fcn.0044c849
mov esi, ecx
call fcn.00448e98
cdq
mov ecx, 0x2710
idiv ecx
mov eax, dword [esi]
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, esi
mov dword [esi + 0x154], edx
call dword [eax + 0x64]
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x88]
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x60]
mov dword [ebp - 0x14], eax
xor ebx, ebx
lea ecx, [ebp - 0xc0]
inc ebx
mov byte [ebp - 4], bl
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x5c]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 2
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x58]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xf8]
mov byte [ebp - 4], 3
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0xe4]
mov edx, eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 4
call fcn.0042c762
push dword [ebp - 0x1c]
mov byte [ebp - 4], 5
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
push eax
call fcn.0042d382
add esp, 0x14
push edi
push ebx
lea ecx, [ebp - 0x50]
call fcn.00409486
push edi
push ebx
lea esi, [ebp - 0xf8]
call fcn.0040971e
push edi
push ebx
lea ecx, [ebp - 0xdc]
call fcn.00409486
push edi
push ebx
lea ecx, [ebp - 0xc0]
call fcn.00409486
push edi
push ebx
lea ecx, [ebp - 0x88]
call fcn.00409486
or dword [ebp - 4], 0xffffffff
push edi
push ebx
lea ecx, [ebp - 0xa4]
call fcn.00409486
push 0x10
call dword [sym.imp.KERNEL32.dll_GetUserGeoID]
mov dword [ebp - 0x10], eax
mov esi, 0x100
cmp eax, 0xffffffff
je 0x41551a
push edi
push esi
lea ecx, [ebp + 0x1c]
push ecx
push 8
push eax
call dword [sym.imp.KERNEL32.dll_GetGeoInfoW]
push esi
lea eax, [ebp + 0x1c]
push eax
push esi
lea eax, [ebp + 0x21c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0044a919
add esp, 0x14
cmp dword [ebp - 0x10], 0xffffffff
lea eax, [ebp + 0x21c]
jne 0x415544
mov eax, 0x46f98d
push eax
lea ecx, [ebp - 0x50]
call fcn.00408151
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x50]
push eax
mov ecx, 0x4909f8
mov dword [ebp - 4], 6
call fcn.00409317
push edi
push ebx
lea ecx, [ebp - 0x50]
call fcn.00409486
lea eax, [ebp - 0x34]
call fcn.00428096
mov dword [ebp - 4], 7
push dword [0x498aa4]
mov ecx, eax
call fcn.004280e5
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp]
call fcn.00428328
mov byte [ebp - 4], 8
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
jae 0x4155a7
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00408151
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x6c]
push eax
mov ecx, 0x490a14
mov byte [ebp - 4], 9
call fcn.00409317
push edi
push ebx
lea ecx, [ebp - 0x6c]
call fcn.00409486
push edi
push ebx
lea ecx, [ebp]
call fcn.00409486
lea esi, [ebp - 0x34]
call fcn.004280b8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x31c]
xor ecx, ebp
call fcn.004483ed
add ebp, 0x320
leave
ret
Function at 0x4162b9
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x467821
mov eax, dword fs:[0]
push eax
mov eax, 0x28a4
call fcn.0045bc80
mov eax, dword [0x48f190]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x28b0]
push eax
lea eax, [ebp - 0x28ac]
push eax
mov dword [ebp - 0x28b0], 0x2880
call sub.IPHLPAPI.DLL_GetAdaptersInfo
lea edi, [ebp - 0x28ac]
cmp dword [edi + 0x1a0], 6
jne 0x4163a5
movzx eax, byte [edi + 0x19b]
push eax
movzx eax, byte [edi + 0x19a]
push eax
movzx eax, byte [edi + 0x199]
push eax
movzx eax, byte [edi + 0x198]
push eax
movzx eax, byte [edi + 0x197]
push eax
movzx eax, byte [edi + 0x196]
push eax
movzx eax, byte [edi + 0x195]
push eax
movzx eax, byte [edi + 0x194]
push eax
push str._02x__02x__02x__02x__02x__02x__02x__02x
lea esi, [ebp - 0x2c]
call fcn.0042c993
add esp, 0x24
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x41637a
lea eax, [ebp - 0x28]
lea ecx, [edi + 0x10c]
push ecx
push eax
push str.MAC:__s_Name:__s
lea esi, [ebx + 0x1ac]
call fcn.0040900c
or dword [ebp - 4], 0xffffffff
add esp, 0xc
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00409486
mov edi, dword [edi]
test edi, edi
jne 0x41630d
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.004483ed
leave
ret