joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46f058
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4153c8]
call fcn.00404f0c
xor eax, eax
push ebp
push 0x46f19c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47e870], 0
jne 0x46f0ab
mov ecx, dword [0x47f0bc]
mov dl, 1
mov eax, dword [0x407854]
call fcn.0040c208
call fcn.00403f58
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030bc
mov eax, ebx
call fcn.00404ddc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x46f1ac
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405f0c
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404dec
test eax, eax
jle 0x46f143
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46f13c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404828
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404810
mov eax, dword [ebp - 0x48]
pop edx
call fcn.004086e8
test eax, eax
jne 0x46f13c
mov ebx, 0x15
jmp 0x46f148
mov ebx, 0x10
jmp 0x46f148
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x47e870]
call fcn.0046efb0
mov eax, dword [ebp - 8]
call fcn.0046efb0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405f24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46f1a3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004045c4
lea eax, [ebp - 0x10]
mov edx, dword [0x4153c8]
call fcn.00404fdc
ret

Function at 0x47b60c
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47b686
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xff
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404bec
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00404a60
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x47b664
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404ac0
jmp 0x47b670
mov eax, ebx
mov edx, 0x47b69c
call fcn.004045f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b68d
lea eax, [ebp - 4]
call fcn.004045a0
ret
Function at 0x401550
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push ebx
lea eax, [ebp - 0x124]
sub esp, 0x144
mov dword [ebp - 0x124], 0xa
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x116]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x10c]
mov dword [esp + 8], 1
mov dword [esp + 4], 1
mov dword [esp], eax
mov byte [ebp - 0x10c], 0
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
movsx ebx, byte [ebp - 0x116]
lea eax, [ebp - 0x120]
sub esp, 0x14
mov dword [esp], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
sub ebx, 0x41
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, ebx
mov ebx, dword [ebp - 4]
leave
ret

Function at 0x4015c8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0xa0
mov dword [ebp - 0x88], 0
call fcn.00401550
mov dword [esp], 0x40169c
mov dword [ebp - 0x8c], 0
mov ebx, eax
lea eax, [ebp - 0x8c]
mov dword [esp + 0xc], eax
mov eax, ebx
or eax, 0x40
mov dword [esp + 8], eax
mov eax, 0x4020fe
sub eax, 0x40169c
mov dword [esp + 4], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
cmp dword [ebp - 0x8c], 0
je 0x401665
mov dword [esp], ebx
lea esi, [ebp - 0x88]
call fcn.00401463
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.004014c4
mov cl, bl
mov dword [esp + 8], esi
lea eax, [ebx + 0x1b800]
sar eax, cl
mov ecx, 0x40300c
shl ebx, cl
mov dword [esp + 4], eax
add ebx, ecx
mov dword [esp], ebx
call fcn.00401e01
lea esp, [ebp - 8]
xor eax, eax
pop ebx
pop esi
pop ebp
ret
Function at 0x403b1d
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x403b49
mov ecx, dword [0x424018]
push edi
add eax, ecx
push edi
push eax
push dword [0x409010]
mov dword [0x41f188], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.00403913
cmp eax, edi
jl 0x403c42
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp + 8]
push eax
push dword [0x409010]
call ebx
test eax, eax
je 0x403c3e
cmp dword [ebp - 4], esi
jne 0x403c3e
push dword [ebp + 8]
add dword [0x41f188], esi
call fcn.00403913
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x403c41
cmp dword [ebp + 0x10], edi
jne 0x403c0d
cmp dword [ebp + 8], edi
jle 0x403c39
mov esi, 0x41b188
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x403bbd
mov edi, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push edi
push esi
push dword [0x409010]
call ebx
test eax, eax
je 0x403c3e
cmp edi, dword [ebp - 4]
jne 0x403c3e
push 0
lea eax, [ebp + 0x14]
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403c09
cmp dword [ebp + 0x14], edi
jne 0x403c09
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x941f188], eax
add ah, byte [eax]
add byte [ecx], al
add dword [eax], eax
xor byte [edx], 9
add al, 0
or dword [eax + eax], eax
add byte [edx], al
or byte [esi], al
add cl, byte [eax]
push es
push eax
add byte [edi], al
add eax, 0x2000201
add dword [edi], eax
add eax, 0x2000281
add byte [eax], dl
push dword [0x409010]
call ebx
test eax, eax
je 0x403c3e
mov eax, dword [ebp - 4]
add dword [0x41f188], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x403c41
push 0xfffffffffffffffd
pop eax
pop ebx
pop edi
pop esi
leave
ret 0x10
Function at 0x48f9e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section..text
lea edi, [esi - 0x7c000]
push edi
jmp 0x48f9fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48fa01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48f9f0
mov eax, 1
add ebx, ebx
jne 0x48fa13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48fa24
jne 0x48fa43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa43
dec eax
add ebx, ebx
jne 0x48fa30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48fa08
add ebx, ebx
jne 0x48fa3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x48fa95
xor ecx, ecx
sub eax, 3
jb 0x48fa5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48faca
sar eax, 1
mov ebp, eax
jmp 0x48fa66
add ebx, ebx
jne 0x48fa66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
inc ecx
add ebx, ebx
jne 0x48fa74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48fa34
add ebx, ebx
jne 0x48fa81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48fa76
jne 0x48fa92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48fa76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48fab4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48faa6
jmp 0x48f9f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48fab4
add edi, ecx
jmp 0x48f9f6
pop esi
mov edi, esi
mov ecx, 0x1a9e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48fad2
cmp byte [edi], 6
jne 0x48fad2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x48fad7
lea edi, [esi + 0x8d000]
mov eax, dword [edi]
or eax, eax
je 0x48fb4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8f000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8f104]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48fb04
mov ecx, edi
jns 0x48fb33
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 + 0x8f108]
or eax, eax
je 0x48fb49
mov dword [ebx], eax
add ebx, 4
jmp 0x48fb21
call dword [esi + 0x8f118]
mov ebp, dword [esi + 0x8f10c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x48fb83
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x100568c
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x100e0a8]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 4], eax
mov eax, ebx
push 0
mov edi, ecx
shl eax, 4
lea esi, [eax + edi]
push 1
push dword [esi + 0x14c]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x84]
push eax
push ebx
mov ecx, edi
call fcn.01005548
test al, al
je 0x10057b8
xor eax, eax
mov ax, word [edi + 8]
push eax
call dword [sym.imp.WS2_32.dll_htons]
push 0
add ebx, 0x14
push 1
shl ebx, 4
push dword [ebx + edi]
mov word [ebp - 0x82], ax
call dword [sym.imp.WS2_32.dll_socket]
or ebx, 0xffffffff
cmp eax, ebx
mov dword [esi + 0x148], eax
je 0x10057b8
push 4
lea ecx, [ebp - 0x8c]
push ecx
push 0xffffff7f
push 0xffff
push eax
mov dword [ebp - 0x8c], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, ebx
je 0x10057a6
push dword [esi + 0x148]
call fcn.0100bbe1
cmp eax, ebx
je 0x10057a6
push dword [ebp - 0x88]
lea eax, [ebp - 0x84]
push eax
push dword [esi + 0x148]
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, ebx
je 0x10057a6
push 0x7fffffff
push dword [esi + 0x148]
call dword [sym.imp.WS2_32.dll_listen]
cmp eax, ebx
je 0x10057a6
push 0
push 1
push dword [esi + 0x148]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
push 8
push dword [esi + 0x14c]
push dword [esi + 0x148]
call dword [sym.imp.WS2_32.dll_WSAEventSelect]
cmp eax, ebx
jne 0x10057d1
push dword [esi + 0x148]
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [esi + 0x148], ebx
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x10057cd
push dword [edi + 8]
push eax
call fcn.0100c10c
pop ecx
pop ecx
xor al, al
jmp 0x10057d3
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0100b28a
leave
ret 4
Function at 0x403410
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x403429
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403464
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x403460
lea ebx, [ebx]
cmp esi, eax
jae 0x403464
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x403450
cmp esi, eax
jb 0x40346a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4101f0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea esi, [edi + 0x74]
push esi
mov eax, 0x87
call fcn.004151a0
push 1
push 0x64
push 0x190
push 0x46
push 0x3f
mov ecx, esi
call fcn.0043fbf2
call fcn.00415040
push 0
lea ecx, [edi + 0x16c]
call fcn.0043fc30
push 0
lea ecx, [edi + 0x1c0]
call fcn.0043fc30
push 0
push 0x3ea
mov ecx, edi
call fcn.0043fae8
mov ecx, eax
call fcn.0043fc6c
push 0
push 0x494
mov ecx, edi
call fcn.0043fae8
mov ecx, eax
call fcn.0043fc6c
push 0
push 2
mov ecx, edi
call fcn.0043fae8
mov ecx, eax
call fcn.0043fc6c
mov eax, dword [edi + 0x20]
push 1
push 0
push eax
mov dword [edi + 0x168], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 4]
push ecx
push 0
push edi
push 0x410170
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
pop esi
je 0x4102b2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret

Function at 0x411660
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea esi, [edi + 0x74]
push esi
mov eax, 0x87
call fcn.004151a0
push 1
push 0x64
push 0x190
push 0x46
push 0x3f
mov ecx, esi
call fcn.0043fbf2
call fcn.00415040
push 0
lea ecx, [edi + 0x16c]
call fcn.0043fc30
push 0
lea ecx, [edi + 0x1c0]
call fcn.0043fc30
push 0
push 0x3ea
mov ecx, edi
call fcn.0043fae8
mov ecx, eax
call fcn.0043fc6c
push 0
push 0x494
mov ecx, edi
call fcn.0043fae8
mov ecx, eax
call fcn.0043fc6c
push 0
push 2
mov ecx, edi
call fcn.0043fae8
mov ecx, eax
call fcn.0043fc6c
mov eax, dword [edi + 0x20]
push 1
push 0
push eax
mov dword [edi + 0x168], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 4]
push ecx
push 0
push edi
push 0x4115e0
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
pop esi
je 0x411722
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x412980
Capabilities:
Check mutex on windows
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x473abd
mov eax, dword fs:[0]
push eax
sub esp, 0x8a0
mov eax, dword [0x4915c0]
xor eax, esp
mov dword [esp + 0x898], eax
push esi
mov eax, dword [0x4915c0]
xor eax, esp
push eax
lea eax, [esp + 0x8a8]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
mov esi, ecx
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, esi
call fcn.00443bd2
push 0
call fcn.0044448c
test eax, eax
jne 0x4129fc
push 0xffffffffffffffff
push eax
push 0x67
call fcn.0043fa37
jmp 0x412aae
push 0
call fcn.00444e71
add esp, 4
lea ecx, [esp + 0x70c]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x47e230
mov ecx, esi
call fcn.00445679
mov edx, dword [esi + 0x50]
push edx
call fcn.004564b5
add esp, 4
push 0x47e26c
call fcn.00456543
add esp, 4
push str.ipTIME_Security_Checker_082BCB16_8C05_4eec_9D72_AD1221B935F5
push 1
push 0
mov dword [esi + 0x50], eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x4962cc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x412a72
push 0
push 0
push str.ipTIME______.
call fcn.0043f9ee
jmp 0x412aae
lea eax, [esp + 0x14]
push eax
call fcn.00412c60
lea ecx, [esp + 0x14]
mov dword [esp + 0x8b0], 0
mov dword [esi + 0x20], ecx
call fcn.00441956
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x8b4], 0xffffffff
call fcn.00412ae0
xor eax, eax
mov ecx, dword [esp + 0x8a8]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x898]
xor ecx, esp
call fcn.00455843
mov esp, ebp
pop ebp
ret
Function at 0x415040
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 0x30
cmp dword [esi + 0x8c], 0
push edi
je 0x4150aa
cmp dword [esi + 0x80], 0
je 0x4150b1
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x4150b1
mov ecx, dword [esi + 0xc8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4150b1
lea eax, [esp + 0xc]
push eax
push 4
push esi
push 0x415690
push 0
push 0
call fcn.00456690
add esp, 0x18
test eax, eax
mov dword [esi + 0xa8], eax
je 0x4150aa
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
pop edi
add esp, 0x30
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x4150aa
mov ecx, dword [eax]
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esi + 0x6c]
push ecx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov edi, eax
call fcn.004407da
test eax, eax
je 0x4150fb
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
jmp 0x4150fd
xor eax, eax
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
test edi, edi
je 0x415148
mov eax, dword [esi + 0x54]
mov ecx, dword [esi + 0x58]
push edi
lea edx, [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x90]
push edx
push eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], ecx
call dword [sym.imp.USER32.dll_FillRect]
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [esp + 8]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x14]
push edi
push ecx
mov ecx, dword [esi + 0x58]
push 0
push ecx
mov ecx, dword [esi + 0x54]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call edx
test eax, eax
jne 0x4150aa
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
pop edi
add esp, 0x30
ret
Function at 0x4151a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
cmp esi, 0xfb
push edi
je 0x4151ce
cmp esi, 0xfc
je 0x4151ce
cmp esi, 0xfd
je 0x4151ce
mov eax, dword [esp + 0x14]
mov dword [eax + 0xdc], 0
jmp 0x4151dc
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xdc], 1
call fcn.00442fb7
mov eax, dword [eax + 0xc]
push 0x47b4c8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x415280
call fcn.00442fb7
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x415280
call fcn.00442fb7
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push ebx
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x415280
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x415279
test ebp, ebp
je 0x415279
push ebx
push eax
push ebp
call fcn.0045dc40
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [esp + 0x14]
push ebx
push esi
call fcn.00414a70
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
Function at 0x41afe0
Capabilities:
Check os version
Query service status

Disassembly:
push 0xffffffffffffffff
push 0x470c3b
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x4915c0]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4915c0]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov ebx, eax
mov dword [esp + 0x18], ebx
call fcn.00442657
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x41b04a
push 0x80004005
call fcn.004029c0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x158], 0
push ecx
mov dword [esp + 0x3c], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0x3c], 6
lea ecx, [esp + 0x14]
jb 0x41b08c
push 7
push str.Wlansvc
jmp 0x41b093
push 6
push str.WZCSVC
call fcn.00403590
test ebx, ebx
je 0x41b1cf
mov ebp, dword [esp + 0x14]
push 0xf01ff
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x41b1c8
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
lea edx, [esp + 0x1c]
push edx
push esi
call edi
call fcn.004284b0
test eax, eax
mov eax, dword [esp + 0x20]
jne 0x41b118
cmp eax, 1
jne 0x41b118
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push ebx
call esi
lea eax, [ebp - 0x10]
mov dword [esp + 0x158], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b10e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xfffffffd
jmp 0x41b1a0
mov ebp, 4
cmp eax, ebp
je 0x41b161
push 0
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x41b1c8
lea ecx, [esp + 0x1c]
push ecx
push esi
call edi
cmp dword [esp + 0x20], ebp
je 0x41b161
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x34]
push edx
call ebx
lea eax, [esp + 0x1c]
push eax
push esi
call edi
cmp dword [esp + 0x20], ebp
jne 0x41b148
mov ebx, dword [esp + 0x18]
xor ebp, ebp
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x41b170
push esi
call edi
push ebx
call edi
mov dword [esp + 0x158], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b19e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00455843
add esp, 0x148
ret
mov ebp, 0xfffffffe
jmp 0x41b163
mov ebp, 0xfffffffe
jmp 0x41b173
Function at 0x41b850
Capabilities:
Get local ipv4 addresses

Disassembly:
push 0xffffffffffffffff
push 0x470c08
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4915c0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor esi, esi
xor ebx, ebx
push 0x47b6d0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], esi
mov dword [esp + 0x18], esi
call fcn.004031e0
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x38], esi
call sub.iphlpapi.dll_GetAdaptersInfo
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0043997e
add esp, 4
lea edx, [esp + 0x14]
mov edi, eax
push edx
push edi
mov dword [esp + 0x24], edi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x41b9be
cmp edi, esi
mov eax, edi
je 0x41b9dc
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + 0xdc]
mov edi, edi
cmp dword [eax + 0x19c], ecx
je 0x41b8f3
mov eax, dword [eax]
cmp eax, esi
jne 0x41b8e0
jmp 0x41b9be
lea ebp, [eax + 0x1ac]
test ebp, ebp
je 0x41b93d
lea edx, [eax + 0x1b0]
mov edi, 0x47b719
mov esi, edx
mov ecx, 1
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x41b927
mov edi, str.0.0.0.0
mov esi, edx
mov ecx, 8
xor ebx, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x41b934
mov ebp, dword [ebp]
test ebp, ebp
jne 0x41b903
mov ebx, dword [esp + 0x24]
jmp 0x41b939
mov ebx, 1
mov edi, dword [esp + 0x1c]
lea esi, [eax + 0x1d4]
test esi, esi
je 0x41b9be
lea edx, [esi + 4]
push edx
lea ecx, [esp + 0x1c]
call fcn.00402d20
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 0x74]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x41b9ac
mov eax, dword [esp + 0x18]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x41b996
test dx, dx
je 0x41b992
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x41b996
add eax, 4
add ecx, 4
test dx, dx
jne 0x41b970
xor eax, eax
jmp 0x41b99b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x41b9b6
mov esi, dword [esi]
test esi, esi
jne 0x41b947
jmp 0x41b9be
push 0x80004005
call fcn.004029c0
mov dword [esp + 0x20], 1
xor esi, esi
cmp edi, esi
je 0x41b9cd
push edi
call fcn.00439979
add esp, 4
cmp ebx, esi
je 0x41b9dc
cmp dword [esp + 0x20], esi
je 0x41b9dc
mov esi, 1
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41ba04
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4