joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41bbe0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b24b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x449b88]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esi + 4], eax
mov dword [esi], vtable.ATL::CComAggObject_class_CUNSAlert_.0
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov byte [esi + 0x3c], al
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], vtable.CProxy_IUNSAlertEvents_class_CUNSAlert_.0
mov dword [esi + 0xc], vtable.ATL::CComContainedObject_class_CUNSAlert_.2.0
mov dword [esi + 0x10], vtable.ATL::CComContainedObject_class_CUNSAlert_.1.0
mov dword [esi + 0x1c], vtable.ATL::CComContainedObject_class_CUNSAlert_.0
mov dword [esi + 0x20], ecx
mov ecx, dword [0x44abdc]
mov edx, dword [ecx]
mov dword [ebp - 4], eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41cd80
Capabilities:
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 edi
push edi
push edi
mov ebx, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebx + 0x1c]
push edx
push eax
push ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x41cdd2
cmp eax, 0x3e5
jne 0x41ce05
mov edx, dword [ebp + 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41cded
mov dword [ebp - 4], 0
jmp 0x41ce0c
mov edx, dword [ebx + 0x1c]
push 1
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x41ce0c
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41ce17
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41ce2a
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x41ce40
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov ebx, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov edx, dword [ebp + 0xc]
mov esi, eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
mov ecx, dword [ebx + 0x1c]
push edx
push eax
push ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test edi, edi
jne 0x41ce92
cmp eax, 0x3e5
jne 0x41cec5
mov edx, dword [ebp + 0x10]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41cead
mov dword [ebp - 4], 0
jmp 0x41cecc
mov edx, dword [ebx + 0x1c]
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x18]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x41cecc
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x41ced7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
test eax, eax
jne 0x41ceea
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, ebx
call edx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4285a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push 4
mov dword [esi], vtable.Thread.0
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
push 0
push 4
push esi
push 0x428580
push 0
push 0
mov dword [esi + 0x10], eax
call dword [sym.imp.MSVCR100.dll__beginthreadex]
mov edx, dword [esi + 0x10]
add esp, 0x1c
mov dword [edx], eax
mov eax, esi
pop esi
pop ebp
ret 8

Function at 0x4286a0
Capabilities:
Create thread
Print debug messages
Resume thread

Disassembly:
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, esi
mov dword [esi + 0xc], eax
call fcn.00428640
test al, al
jne 0x4286df
push 0
push 0
push esi
push 0x428580
push 0
push 0
call dword [sym.imp.MSVCR100.dll__beginthreadex]
mov ecx, dword [esi + 0x10]
mov dword [ecx], eax
mov edx, dword [esi + 0x10]
add esp, 0x18
cmp dword [edx], 0
jne 0x4286fe
xor al, al
pop esi
ret
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
jne 0x4286fe
push str.__ResumeThread_failed_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x428a52
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x449b88]
jne 0x428a5c
repz ret
jmp fcn.004290b9
Function at 0x42c341
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push esi
push edi
xor edi, edi
movzx eax, word [ecx + 0x14]
movzx esi, word [ecx + 6]
test esi, esi
lea eax, [eax + ecx + 0x18]
jbe 0x42c37c
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x42c363
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x42c374
add edx, ecx
cmp dword [esp + 0xc], edx
jb 0x42c37e
inc edi
add eax, 0x28
cmp edi, esi
jb 0x42c359
xor eax, eax
pop edi
pop esi
ret

Function at 0x42cb01
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7ec
push ebx
push esi
push edi
call fcn.0042c2df
ret
Function at 0x10048b8
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x498
mov eax, dword [0x109b0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, 0x1004a18
lea edi, [ebp - 0x244]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x454], eax
mov eax, dword [ebp + 0x10]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x45c], eax
mov eax, dword [ebp + 0x14]
movsd dword es:[edi], dword [esi]
push 0x208
mov dword [ebp - 0x450], eax
xor edi, edi
lea eax, [ebp - 0x234]
push edi
push eax
mov ebx, ecx
call fcn.01002365
push 0x38
lea eax, [ebp - 0x494]
push edi
push eax
call fcn.01002365
mov eax, dword [ebp + 0xc]
mov esi, dword [fcn.01001224]
mov dword [ebp - 0x458], eax
add esp, 0x18
lea eax, [ebp - 0x244]
push eax
mov dword [ebp - 0x498], 0x3c
call esi
lea eax, [ebp + eax*2 - 0x244]
mov dword [ebp - 0x46c], eax
lea eax, [ebp - 0x244]
push eax
call esi
mov ecx, 0x10c
sub ecx, eax
lea eax, [ebp - 0x44c]
mov dword [ebp - 0x464], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x494], eax
lea eax, [ebp - 0x498]
push eax
push 0x10000000
push dword [ebx + 0x30]
mov dword [ebp - 0x468], ecx
mov dword [ebp - 0x460], 0x104
mov dword [ebp - 0x490], 0x14
call esi
push eax
push dword [ebx + 0x30]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x102402f
push edi
lea eax, [ebp - 0x458]
push eax
push dword [ebp - 0x454]
lea eax, [ebp - 0x244]
push eax
call dword [fcn.01001a08]
cmp eax, edi
jl 0x1004a04
push 0x10029ec
lea eax, [ebp - 0x2c]
push eax
call dword [fcn.01001074]
mov ecx, dword [ebp - 0x45c]
push dword [ebp - 0x450]
neg eax
sbb eax, eax
and eax, 3
mov dword [ecx], eax
lea eax, [ebp - 0x44c]
push eax
mov ecx, ebx
call fcn.01004a2d
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0102475f
leave
ret 0x10
call dword [fcn.01001260]
cmp eax, edi
jle 0x1004a04
and eax, 0xffff
or eax, 0x80070000
jmp 0x1004a04

Function at 0x1007850
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x109b0c0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x250], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push 0x38
lea eax, [ebp - 0x24c]
push 0
push eax
mov dword [ebp - 0x214], ecx
call fcn.01002365
add esp, 0xc
push dword [0x109b348]
call dword [fcn.01001050]
test eax, eax
mov dword [ebp - 0x210], eax
je 0x1024563
lea eax, [ebp - 0x250]
push eax
push 0
push 0
push esi
mov dword [ebp - 0x250], 0x3c
mov dword [ebp - 0x220], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1024563
mov ecx, dword [ebp - 0x214]
push 0x104
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x220]
push dword [ebp - 0x224]
call fcn.01007924
test eax, eax
jl 0x100790f
mov ecx, dword [ebp - 0x210]
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.010077f4
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0102475f
leave
ret 8
call dword [fcn.01001260]
test eax, eax
jle 0x100790f
and eax, 0xffff
or eax, 0x80070000
jmp 0x100790f
Function at 0x1037e8b
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
mov ecx, dword [ecx + 0x14]
push ebx
push esi
call fcn.0103ac99
xor ebx, ebx
push 0x38
mov esi, eax
lea eax, [ebp - 0x40]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.01002365
add esp, 0xc
cmp esi, ebx
mov dword [ebp - 0x44], 0x3c
lea eax, [ebp - 4]
je 0x1037ec4
push esi
jmp 0x1037ec9
push 0x100b274
push eax
call fcn.01007524
test eax, eax
jl 0x1037f8e
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x1037f0f
cmp dword [ebp - 0x38], 3
je 0x1037efa
cmp dword [ebp - 0x38], 4
jne 0x1037f8e
push 1
push ebx
push ebx
push dword [ebp - 4]
push 0x102ca44
push ebx
call dword [0x1001ad0]
jmp 0x1037f8e
push edi
push dword [ebp - 4]
mov edi, dword [fcn.01001738]
mov dword [ebp - 8], ebx
call edi
add eax, 8
mov esi, 0x824
cmp eax, esi
jae 0x1037f34
push dword [ebp - 4]
call edi
mov esi, eax
add esi, 8
push esi
push ebx
lea eax, [ebp - 8]
push eax
call fcn.010074e8
test eax, eax
pop edi
jl 0x1037f85
push 0x102caa4
push esi
push dword [ebp - 8]
call fcn.010026dc
test eax, eax
jl 0x1037f85
push dword [ebp - 4]
call fcn.01002596
test al, al
jne 0x1037f72
push dword [ebp - 4]
push esi
push dword [ebp - 8]
call fcn.0101145d
test eax, eax
jl 0x1037f85
push 1
push ebx
push ebx
push dword [ebp - 8]
push 0x102ca44
push ebx
call dword [0x1001ad0]
lea eax, [ebp - 8]
push eax
call fcn.010074d1
lea eax, [ebp - 4]
push eax
call fcn.010074d1
pop esi
pop ebx
leave
ret

Function at 0x103c46f
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x103c482
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x103c47e
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x103c4a3
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x103c4e2
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x103c4d8
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x103c4e4
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x103c4c8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1043334
Capabilities:
Persist via run registry key

Disassembly:
mov edi, edi
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 4]
lea ecx, [esi + 0x48]
call fcn.0101c576
push 0x102be9c
push 0x102be3c
push 0x80000001
call fcn.0103fc43
mov edi, dword [0x100150c]
mov byte [esi + 0x44], al
xor eax, eax
cmp byte [esi + 0x261], al
setne al
push eax
push 0x2329
push dword [esi + 4]
call edi
xor eax, eax
cmp byte [esi + 0x44], al
setne al
push eax
push 0x232a
push dword [esi + 4]
call edi
xor eax, eax
lea ebx, [esi + 0x25c]
cmp dword [ebx], eax
sete al
push eax
push 0x232e
push dword [esi + 4]
call edi
xor eax, eax
cmp dword [ebx], 2
sete al
push eax
push 0x232f
push dword [esi + 4]
call edi
mov ecx, esi
call fcn.010431ff
pop edi
mov ecx, esi
pop esi
pop ebx
jmp fcn.01042ee6
Function at 0x105e1ac
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
xor ebx, ebx
push 0x38
lea eax, [ebp - 0x3c]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.01002365
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 4]
push edx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x40], 0x3c
push eax
call dword [ecx + pe_nt_image_headers32]
cmp eax, ebx
mov dword [ebp + 8], eax
jl 0x105e26e
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push dword [ebp - 4]
mov dword [ebp - 0x38], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x105e21f
call dword [fcn.01001260]
cmp eax, ebx
jle 0x105e21a
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp + 8], eax
jmp 0x105e26e
push esi
push dword [ebp - 0x38]
mov esi, dword [fcn.01001250]
push 0x100b7d4
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
push 0x7f
call esi
cmp eax, 2
je 0x105e267
push dword [ebp - 0x38]
push 0x102d220
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push 1
push 0x7f
call esi
cmp eax, 2
je 0x105e267
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
and ecx, 0xfffffffe
or ecx, 2
mov dword [eax], ecx
jmp 0x105e26d
mov eax, dword [ebp + 0x10]
and dword [eax], 0xfffffffd
pop esi
cmp dword [ebp - 4], ebx
pop ebx
je 0x105e27d
push dword [ebp - 4]
call dword [0x10016c4]
mov eax, dword [ebp + 8]
leave
ret 0xc

Function at 0x105e289
Capabilities:
Parse url

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
xor ebx, ebx
push 0x38
lea eax, [ebp - 0x40]
push ebx
push eax
mov byte [ebp - 1], bl
mov dword [ebp - 8], ebx
call fcn.01002365
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 8]
push edx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x44], 0x3c
push eax
call dword [ecx + pe_nt_image_headers32]
test eax, eax
jl 0x105e306
lea eax, [ebp - 0x44]
push eax
push ebx
push ebx
push dword [ebp - 8]
mov dword [ebp - 0x3c], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x105e2e7
call dword [fcn.01001260]
jmp 0x105e306
push dword [ebp - 0x3c]
push 0x102d220
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push 1
push 0x7f
call dword [fcn.01001250]
cmp eax, 2
sete byte [ebp - 1]
cmp dword [ebp - 8], ebx
pop ebx
je 0x105e315
push dword [ebp - 8]
call dword [0x10016c4]
mov al, byte [ebp - 1]
leave
ret 8
Function at 0x105e321
Capabilities:
Parse url

Disassembly:
push 0x64
mov eax, 0x108f399
call fcn.01002312
mov dword [ebp - 0x24], ecx
xor ebx, ebx
mov word [ebp - 0x34], bx
xor eax, eax
lea edi, [ebp - 0x32]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x10], ebx
stosw word es:[edi], ax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
push 0x38
lea eax, [ebp - 0x6c]
push ebx
push eax
mov byte [ebp - 4], 3
call fcn.01002365
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x70], 0x3c
push eax
call dword [ecx + pe_nt_image_headers32]
mov esi, eax
cmp esi, ebx
jl 0x105e43c
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push dword [ebp - 0x10]
mov dword [ebp - 0x68], 1
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x105e3bc
call dword [fcn.01001260]
cmp eax, ebx
jle 0x105e3b5
and eax, 0xffff
or eax, 0x80070000
mov esi, eax
jmp 0x105e43c
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x68]
lea eax, [eax + ecx*2 + 2]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.01007524
mov esi, eax
cmp esi, ebx
jl 0x105e43c
push dword [ebp - 0x68]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x6c]
push eax
call fcn.010074e8
mov esi, eax
cmp esi, ebx
jl 0x105e43c
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + 8]
call fcn.010454aa
mov esi, eax
cmp esi, ebx
jl 0x105e43c
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push eax
call dword [ecx + 0x1b0]
mov esi, eax
cmp esi, ebx
jl 0x105e43c
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push eax
call dword [ecx + 0x110]
mov esi, eax
cmp esi, ebx
jl 0x105e43c
lea eax, [ebp - 0x34]
push eax
call dword [fcn.01001740]
cmp dword [ebp - 0x10], ebx
je 0x105e44a
push dword [ebp - 0x10]
call dword [0x10016c4]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0100247e
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.0100247e
lea eax, [ebp - 0x1c]
push eax
call fcn.010074d1
lea eax, [ebp - 0x20]
push eax
call fcn.010074d1
mov eax, esi
call fcn.0100234c
ret 8
Function at 0x1060dd4
Capabilities:
Get local ipv4 addresses

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor esi, esi
xor ebx, ebx
cmp dword [ebp + 0xc], esi
mov dword [ebp - 4], esi
jne 0x1060df4
mov ebx, 0x80004003
jmp 0x1060ebc
cmp dword [ebp + 0x10], esi
je 0x1060dea
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0xc]
call sub.VIPHLPAPI.DLL_ConvertInterfaceGuidToLuid
test eax, eax
je 0x1060e13
mov ebx, 0x80004005
jmp 0x1060ebc
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
call sub.VIPHLPAPI.DLL_ConvertInterfaceLuidToIndex
test eax, eax
jne 0x1060e09
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp + 8]
call sub.VIPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
je 0x1060e4c
cmp eax, esi
jg 0x1060e40
mov ebx, eax
jmp 0x1060ebc
and eax, 0xffff
or eax, 0x80070000
jmp 0x1060e3c
push edi
push dword [ebp - 4]
call fcn.010028db
mov edi, eax
cmp edi, esi
pop ecx
jne 0x1060e63
mov ebx, 0x8007000e
jmp 0x1060eb0
lea eax, [ebp - 4]
push eax
push edi
push esi
push esi
push dword [ebp + 8]
call sub.VIPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, esi
je 0x1060e86
jle 0x1060e82
and eax, 0xffff
or eax, 0x80070000
mov ebx, eax
jmp 0x1060eb0
mov eax, edi
mov ecx, dword [eax + 4]
cmp ecx, dword [ebp + 0xc]
je 0x1060e97
mov eax, dword [eax + 8]
cmp eax, esi
jne 0x1060e88
cmp eax, esi
jne 0x1060ea2
mov ebx, 0x80004005
jmp 0x1060eb0
push dword [eax]
push eax
push dword [ebp + 0x10]
call fcn.01013cfb
add esp, 0xc
cmp edi, esi
je 0x1060ebb
push edi
call fcn.010026d1
pop ecx
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0xc

Function at 0x1083424
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 2
test eax, eax
jle 0x1083463
push esi
movzx esi, byte [ecx]
xor ebx, ebx
dec eax
inc ecx
mov bh, byte [ecx]
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or esi, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or esi, ebx
inc ecx
xor edx, esi
test eax, eax
jg 0x108343e
pop esi
and edi, 3
xor eax, eax
dec edi
je 0x108347f
dec edi
je 0x1083478
dec edi
jne 0x1083484
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
xor eax, edx
pop ebx
pop ebp
ret 0xc
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x7ca431d1
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
mov eax, section..rsrc
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4330d2
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x12b02896
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x40287a
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45b578
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x477b9c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a48
and dword [esp + 0x38], 0
lea edi, [ebp + 8]
lea ebx, [esp + 0x10]
call fcn.00402bd3
mov eax, dword [esi + 4]
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.00403429
lea eax, [esp + 0x20]
push eax
mov ecx, ebx
call fcn.0040228c
test al, al
jne 0x4028f8
push dword [esp + 0x14]
lea eax, [esp + 0x24]
push dword [esp + 0x14]
mov ecx, esi
push eax
call fcn.00402d19
lea eax, [ebp + 8]
push eax
lea edi, [esp + 0x24]
mov ebx, esi
call fcn.00402b1b
or dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x1c], 0
je 0x40291c
mov ecx, dword [esp + 0x18]
call 0x44d9a0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4042a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc0
mov eax, 0x45dc60
mov dword [esp + 0x7c], eax
mov dword [esp + 0x84], eax
mov eax, 0x466250
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
movzx eax, byte [esp + 0xc4]
push eax
push 0x477ee0
push 0x45d8b4
lea ecx, [esp + 0xc]
push 0x17
push ecx
mov dword [esp + 0x14], 0x45dc54
mov dword [esp + 0x18], 0x45dc3c
mov dword [esp + 0x1c], 0x45dc34
mov dword [esp + 0x20], 0x45dc20
mov dword [esp + 0x24], 0x45dc18
mov dword [esp + 0x28], 0x45dc04
mov dword [esp + 0x2c], 0x45dbfc
mov dword [esp + 0x30], 0x45dbe4
mov dword [esp + 0x34], 0x45dbe0
mov dword [esp + 0x38], 0x45dbd0
mov dword [esp + 0x3c], 0x45dbc4
mov dword [esp + 0x40], 0x45dbac
mov dword [esp + 0x44], 0x45dba0
mov dword [esp + 0x48], 0x45db88
mov dword [esp + 0x4c], 0x45db7c
mov dword [esp + 0x50], 0x45db60
mov dword [esp + 0x54], 0x45db54
mov dword [esp + 0x58], 0x45db3c
mov dword [esp + 0x5c], 0x45db2c
mov dword [esp + 0x60], 0x45db10
mov dword [esp + 0x64], 0x45dafc
mov dword [esp + 0x68], 0x45dae4
mov dword [esp + 0x6c], 0x45dad4
mov dword [esp + 0x70], 0x45dab8
mov dword [esp + 0x74], 0x45daa8
mov dword [esp + 0x78], 0x45da8c
mov dword [esp + 0x7c], 0x45da78
mov dword [esp + 0x80], 0x45da58
mov dword [esp + 0x84], 0x45da40
mov dword [esp + 0x88], 0x45da1c
mov dword [esp + 0x8c], 0x45da0c
mov dword [esp + 0x94], 0x45d9f8
mov dword [esp + 0x9c], 0x45d9ec
mov dword [esp + 0xa0], 0x45d9d4
mov dword [esp + 0xa4], 0x45d9c4
mov dword [esp + 0xa8], 0x45d9a8
mov dword [esp + 0xac], 0x45d998
mov dword [esp + 0xb0], 0x45d97c
mov dword [esp + 0xb4], 0x45d970
mov dword [esp + 0xb8], 0x45d958
mov dword [esp + 0xbc], 0x45d94c
mov dword [esp + 0xc0], 0x45d934
mov dword [esp + 0xc4], 0x45d928
mov dword [esp + 0xc8], 0x45d910
call fcn.00404250
neg eax
sbb eax, eax
neg eax
add esp, 0xd4
ret