joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4071d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4e40d8]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
mov ebx, ecx
push esi
push edi
cmp dword [ebx + 0x38], 0
je 0x40731d
cmp byte [ebx + 0x3d], 0
je 0x40731d
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x40721d
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret
mov ecx, 0xf
mov byte [esp + 0x14], 0
xorps xmm0, xmm0
mov dword [esp + 0x28], ecx
cmp ecx, 0x10
movq qword [esp + 0x14], xmm0
lea eax, [esp + 0x14]
mov dword [esp + 0x24], 8
cmovae eax, dword [esp + 0x14]
mov byte [eax + 8], 0
mov ecx, dword [esp + 0x28]
cmp ecx, 0x10
lea eax, [esp + 0x10]
mov ecx, dword [ebx + 0x38]
lea edi, [esp + 0x14]
cmovae edi, dword [esp + 0x14]
lea esi, [esp + 0x14]
cmovae esi, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x28]
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x407295
sub eax, 1
je 0x407299
mov ecx, dword [esp + 0x28]
sub eax, 2
je 0x4072f3
xor bl, bl
jmp 0x4072f5
mov byte [ebx + 0x3d], 0
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x14]
mov edx, dword [esp + 0x14]
cmp ecx, 0x10
mov esi, dword [esp + 0x10]
cmovae eax, edx
sub esi, eax
je 0x4072d4
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [esp + 0x18]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00460619
mov ecx, dword [esp + 0x38]
add esp, 0x10
cmp esi, eax
jne 0x407291
cmp byte [ebx + 0x3d], 0
je 0x4072f3
test esi, esi
jne 0x407250
push esi
push 8
lea ecx, [esp + 0x1c]
call fcn.004025b0
jmp 0x40724c
mov bl, 1
cmp ecx, 0x10
jb 0x407309
inc ecx
push ecx
push dword [esp + 0x18]
lea ecx, [esp + 0x1c]
call fcn.00402350
mov al, bl
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x2c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret
Function at 0x413ae0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1010
call fcn.004b2280
mov eax, dword [0x4e40d8]
xor eax, esp
mov dword [esp + 0x100c], eax
mov eax, dword [ebp + 8]
lea edx, [esp]
push esi
push edi
mov edi, dword [ebp + 0xc]
push edx
lea edx, [esp + 0x14]
mov dword [esp + 0xc], 0
push edx
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 1
push edx
push 0
push eax
push dword [ecx]
mov dword [esp + 0x20], 0x800
call dword [0x4bd908]
mov esi, eax
test esi, esi
jne 0x413c27
mov ecx, dword [esp + 0xc]
cmp ecx, 1
jne 0x413bb4
cmp word [esp + 0x10], ax
jne 0x413b78
xor ecx, ecx
lea eax, [esp + 0x10]
push ecx
push eax
mov ecx, edi
call fcn.0040e4a0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0x10]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x413b80
sub ecx, edx
lea eax, [esp + 0x10]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.0040e4a0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret 8
cmp ecx, 2
jne 0x413c22
push 0x400
lea eax, [esp + 0x814]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [esp + 8], eax
test eax, eax
je 0x413c07
cmp eax, 0x400
ja 0x413c07
lea eax, [esp + 0x810]
mov ecx, edi
push eax
call fcn.004140a0
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret 8
mov eax, 0xea
pop edi
pop esi
mov ecx, dword [esp + 0x100c]
xor ecx, esp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret 8
mov eax, 0x3f4
mov ecx, dword [esp + 0x1014]
pop edi
pop esi
xor ecx, esp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret 8
Function at 0x414df0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x43c
mov eax, dword [0x4e40d8]
xor eax, esp
mov dword [esp + 0x438], eax
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx + 8]
push edi
call fcn.00408560
add esp, 4
lea eax, [esp + 0x10]
lea esi, [ebx + 0xc]
mov ecx, esi
push eax
call fcn.0040a8e0
mov eax, dword [0x4e7e68]
test eax, eax
je 0x414e59
lea ecx, [esp + 0x10]
push ecx
push dword [ebx + 0xa0]
push dword [ebx + 0xa8]
push dword [ebx + 0xa4]
push dword [ebx]
call eax
add esp, 0x14
test al, al
jne 0x414f5c
cmp dword [ebx], 2
jl 0x414e9d
cmp dword [esp + 0x24], 0x10
lea edi, [esp + 0x10]
mov esi, dword [esp + 0x20]
cmovae edi, dword [esp + 0x10]
push 2
call fcn.00460739
add esp, 4
push eax
push 1
push esi
push edi
call fcn.00460619
push 2
call fcn.00460739
add esp, 0x14
push eax
call fcn.0045fe46
add esp, 4
lea esi, [ebx + 0xc]
lea edi, [ebx + 8]
call fcn.00414cb0
test al, al
je 0x414ecc
cmp dword [esp + 0x24], 0x10
lea ecx, [esp + 0xc]
push 0
push ecx
push dword [esp + 0x28]
lea eax, [esp + 0x1c]
cmovae eax, dword [esp + 0x1c]
push eax
push dword [0x4e7e6c]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebx], 3
jne 0x414f5c
mov ecx, 0x400
lea eax, [esp + 0x10]
cmp dword [esp + 0x20], ecx
cmovb ecx, dword [esp + 0x20]
cmp dword [esp + 0x24], 0x10
cmovae eax, dword [esp + 0x10]
test ecx, ecx
je 0x414f04
push ecx
push eax
lea eax, [esp + 0x48]
push eax
call fcn.004534f0
add esp, 0xc
lea eax, [esp + 0x40]
push eax
call fcn.00417d70
add esp, 4
cmp dword [0x4e7e74], 0
je 0x414f4e
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.0040a8e0
lea eax, [esp + 0x28]
push eax
call dword [0x4e7e74]
mov eax, dword [esp + 0x40]
add esp, 4
cmp eax, 0x10
jb 0x414f5c
inc eax
lea ecx, [esp + 0x28]
push eax
push dword [esp + 0x2c]
call fcn.00402350
jmp 0x414f5c
cmp byte [0x4e8f60], 0
jne 0x414fe4
int3
mov eax, dword [esp + 0x24]
cmp eax, 0x10
jb 0x414f74
inc eax
lea ecx, [esp + 0x10]
push eax
push dword [esp + 0x14]
call fcn.00402350
push dword [ebx + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [edi]
lea esi, [edi + 0x50]
mov eax, dword [eax + 4]
mov dword [eax + esi - 0x50], 0x4dac30
mov eax, dword [esi - 0x50]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + esi - 0x54], eax
lea ecx, [esi - 0x4c]
call fcn.0040a650
mov eax, dword [esi - 0x50]
push esi
mov eax, dword [eax + 4]
mov dword [eax + esi - 0x50], 0x4cf3d4
mov eax, dword [esi - 0x50]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + esi - 0x54], eax
mov dword [esi], vtable.std::ios_base.0
call fcn.004af589
mov ecx, dword [esp + 0x448]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret
push 1
call fcn.0045fc49
int3
Function at 0x418120
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4e40d8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov word [ebp - 0x210], ax
mov esi, ecx
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x41821c
cmp eax, 0x104
ja 0x41821c
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x228]
call fcn.0040d2c0
sub esp, 8
lea eax, [ebp - 0x228]
cmp dword [ebp - 0x214], 8
mov ecx, esp
cmovae eax, dword [ebp - 0x228]
mov dword [ecx], eax
mov eax, dword [ebp - 0x218]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0x258]
call fcn.00417dc0
sub esp, 8
mov edx, esp
cmp dword [eax + 0x14], 8
jb 0x4181b4
mov ecx, dword [eax]
jmp 0x4181b6
mov ecx, eax
mov dword [edx], ecx
lea ecx, [ebp - 0x240]
mov eax, dword [eax + 0x10]
mov dword [edx + 4], eax
call fcn.00417dc0
lea ecx, [ebp - 0x240]
call fcn.00418010
lea eax, [ebp - 0x240]
cmp esi, eax
je 0x4181ea
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.0040e650
lea ecx, [ebp - 0x240]
call fcn.00401f90
lea ecx, [ebp - 0x258]
call fcn.00401f90
lea ecx, [ebp - 0x228]
call fcn.00401f90
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor al, al
xor ecx, ebp
pop esi
call fcn.00451fe7
mov esp, ebp
pop ebp
ret
Function at 0x41be30
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40c
mov eax, dword [0x4e40d8]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x4e4b14]
push ebx
push esi
mov ebx, ecx
mov dword [esp + 8], 0
push edi
mov ecx, 0x100
mov dword [esp + 0xc], eax
mov esi, ebx
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.00452024
add esp, 4
mov edi, 0x100
nop word [eax + eax]
mov esi, dword [0x4e8f64]
xor dl, dl
test esi, esi
jle 0x41bec8
nop dword [eax]
mov ecx, dword [esp + esi*4 + 0x10]
test ecx, ecx
je 0x41bec3
mov eax, dword [esi*4 + 0x4e8790]
test eax, eax
je 0x41bec3
push ecx
mov dword [esp + esi*4 + 0x14], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x41bea0
dec edi
test edi, edi
jle 0x41bed1
test dl, dl
jne 0x41be90
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret
Function at 0x41dac0
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
mov ebx, ecx
lea esi, [edx + 1]
push edi
mov dword [ebp - 0x24], ebx
xor edi, edi
nop word [eax + eax]
movzx edx, byte [esi - 1]
lea esi, [esi + 4]
movzx eax, byte [esi - 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 3]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 2]
shl edx, 8
or edx, eax
mov dword [ebp + edi*4 - 0x128], edx
inc edi
cmp edi, 0x10
jb 0x41dae0
cmp edi, 0x40
jae 0x41db5f
mov ebx, 0x40
lea eax, [ebp + edi*4 - 0x130]
sub ebx, edi
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax - 0x38]
mov edi, edx
mov ecx, edx
rol edi, 0xf
rol ecx, 0xd
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
rol edx, 0xe
xor edx, ecx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebx, 1
jne 0x41db22
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [ebp - 0x28], eax
mov edi, eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x6c]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
nop dword [eax]
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [ebp - 0xc]
xor esi, eax
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, dword [ebp - 8]
and eax, ebx
xor ecx, eax
mov eax, edi
add esi, ecx
rol eax, 0xa
add esi, dword [edx + 0x4d5d90]
add esi, dword [ebp + edx - 0x128]
mov edx, edi
add esi, dword [ebp - 0x1c]
ror edx, 0xd
xor edx, eax
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
and eax, edi
xor ecx, edi
and ecx, dword [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 0xc]
add edx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov ecx, edi
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
lea edi, [edx + esi]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x20]
add ebx, esi
mov eax, dword [ebp - 4]
add edx, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], edx
cmp edx, 0x100
jb 0x41dba0
mov eax, dword [ebp - 0x28]
add eax, edi
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x24]
pop edi
pop esi
add dword [ebx + 0x54], ecx
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 4]
add dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0x18]
add dword [ebx + 0x60], eax
mov eax, dword [ebp - 8]
add dword [ebx + 0x64], eax
mov eax, dword [ebp - 0xc]
add dword [ebx + 0x68], eax
mov eax, dword [ebp - 0x1c]
add dword [ebx + 0x6c], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41dc70
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
lea eax, [ebp - 0x210]
push esi
mov esi, ecx
push 0x104
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x41dc9f
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
push 0x4d9664
push eax
call fcn.0046e3f6
add esp, 8
test eax, eax
je 0x41dcbd
xor ecx, ecx
mov word [eax + 2], cx
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x41dc98
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x41dd00
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b8db4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x18], ecx
push 0x100
mov dword [ebp - 0x24], edi
call fcn.0045201b
add esp, 4
mov ebx, eax
mov esi, ebx
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], 0x80
mov dword [ebp - 0x14], 0x44
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x18]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
jne 0x41ddf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41ddf4
cmp dword [ebp - 0x14], 0x44
jbe 0x41dd8e
xor bl, bl
jmp 0x41ddf9
mov eax, dword [ebp - 0x10]
cmp eax, 0x80
jbe 0x41ddd3
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0045201b
add esp, 4
mov esi, eax
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x1c], esi
test ebx, ebx
je 0x41ddcf
push ebx
mov byte [ebp - 4], 0x17
call fcn.00452024
add esp, 4
mov byte [ebp - 4], 0xf
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x10]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x18]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
setne bl
mov dword [ebp - 4], 0x1b
test esi, esi
je 0x41de15
push esi
mov byte [ebp - 4], 0x24
call fcn.00452024
add esp, 4
mov byte [ebp - 4], 0x1b
pop edi
mov dword [ebp - 4], 0xffffffff
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41f9d0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9025
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x214
push ebx
push esi
push edi
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
push eax
push 0
mov byte [ebp - 0x14], 0
mov dword [ebp - 0x13], 0
mov byte [ebp - 0xf], 0
mov dword [ebp - 0x18], 0
call ebx
mov esi, dword [ebp - 0x18]
push esi
call fcn.0045201b
mov edi, eax
add esp, 4
test edi, edi
je 0x41fa3f
push esi
push 0
push edi
call fcn.00453a70
add esp, 0xc
mov byte [edi], 0
jmp 0x41fa41
xor edi, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 2
test edi, edi
je 0x41faa5
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 2
push eax
push edi
call ebx
test eax, eax
jne 0x41faa5
mov byte [ebp - 4], 0xc
mov esi, edi
mov byte [ebp - 4], 2
mov ebx, dword [ebp - 0x14]
lea ecx, [esi + 8]
call fcn.0041f610
mov ecx, eax
cmp ecx, 1
je 0x41fa85
test ecx, ecx
jne 0x41fa9d
mov ax, word [esi + 0x198]
mov ebx, dword [esi + 0x194]
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x10], ax
test ecx, ecx
je 0x41faa8
mov esi, dword [esi]
test esi, esi
jne 0x41fa72
jmp 0x41faa8
mov ebx, dword [ebp - 0x14]
push 0x200
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00453a70
mov eax, dword [ebp - 0x10]
shr eax, 8
movzx eax, al
push eax
movzx eax, byte [ebp - 0x10]
push eax
mov eax, ebx
shr eax, 0x18
push eax
mov eax, ebx
shr ebx, 8
shr eax, 0x10
movzx eax, al
push eax
movzx eax, bl
push eax
movzx eax, byte [ebp - 0x14]
push eax
lea eax, [ebp - 0x220]
push str._02X__02X__02X__02X__02X__02X
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov esi, dword [ebp + 8]
xor eax, eax
add esp, 0x2c
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
cmp word [ebp - 0x220], ax
jne 0x41fb1d
xor ecx, ecx
jmp 0x41fb35
lea ecx, [ebp - 0x220]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41fb26
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.0040e4a0
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xf
test edi, edi
je 0x41fb63
push edi
mov byte [ebp - 4], 0xf
call fcn.00452024
add esp, 4
mov byte [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x4211a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b9bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0xffffffff
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 4], 6
mov ebx, dword [ebp + 8]
mov byte [ebp - 4], 5
mov edi, dword [ebx + 4]
sub edi, dword [ebx]
sar edi, 6
mov dword [ebp - 4], 0xffffffff
mov dword [esi], 0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 4], 0
mov dword [ebp - 4], 0xffffffff
mov dword [esi + 8], 0
test edi, edi
je 0x4212fe
mov dword [ebp - 4], 0xffffffff
cmp edi, 0x3ffffff
jbe 0x421241
push str.vector_T__too_long
call fcn.0044c10a
mov dword [ebp - 4], 0xffffffff
push edi
call fcn.00420f50
mov dword [ebp - 4], 0xffffffff
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi]
mov dword [esi + 4], eax
mov dword [ebp - 4], 0xffffffff
shl edi, 6
add edi, dword [esi]
mov dword [esi + 8], edi
mov dword [ebp - 4], 0x2f
mov byte [ebp - 4], 0x2e
mov byte [ebp - 4], 0x2d
mov byte [ebp - 4], 0x32
mov byte [ebp - 4], 0x31
mov byte [ebp - 4], 0x35
mov byte [ebp - 4], 0x34
mov byte [ebp - 4], 0x33
mov byte [ebp - 4], 0x30
mov eax, dword [ebx + 4]
mov dword [ebp + 8], eax
mov byte [ebp - 4], 0x38
mov byte [ebp - 4], 0x37
mov byte [ebp - 4], 0x3b
mov byte [ebp - 4], 0x3a
mov byte [ebp - 4], 0x39
mov byte [ebp - 4], 0x36
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x2c
mov ebx, dword [esi]
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0x3d
mov byte [ebp - 4], 0x3c
mov byte [ebp - 4], 0x2c
sub edi, eax
push edi
push eax
push ebx
call fcn.00452b60
add esp, 0xc
lea eax, [edi + ebx]
mov byte [ebp - 4], 0x40
mov byte [ebp - 4], 0x3f
mov byte [ebp - 4], 0x3e
mov byte [ebp - 4], 0x2c
mov dword [esi + 4], eax
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x427560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba3f0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4e40d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x18]
movzx ecx, byte [eax]
test ecx, ecx
je 0x4275bc
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040d090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00401f90
jmp 0x42766e
lea edx, [ebp + 8]
push edx
mov ecx, dword [ebp - 0x18]
add ecx, 0x34
call fcn.00418230
lea eax, [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x1c
call fcn.004147d0
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x54], eax
mov edx, dword [ebp - 0x18]
add edx, 0x58
push edx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ecx, dword [ebp - 0x18]
call fcn.00428440
mov byte [ebp - 0x19], al
movzx eax, byte [ebp - 0x19]
test eax, eax
je 0x427627
mov ecx, dword [ebp - 0x18]
call fcn.00427ad0
movzx ecx, al
test ecx, ecx
jne 0x427625
mov ecx, dword [ebp - 0x18]
call fcn.00427ef0
jmp 0x42762f
mov ecx, dword [ebp - 0x18]
call fcn.00427ef0
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0
push 0
push 0x4292b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, dword [ebp - 0x18]
mov byte [eax], 1
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040d090
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.00401f90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret 0x24

Function at 0x4286c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x4e40d8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x34], 0
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x17], 0x59
mov byte [ebp - 0x16], 0x4d
mov byte [ebp - 0x15], 0x66
mov byte [ebp - 0x14], 0x64
mov byte [ebp - 0x13], 0x25
mov byte [ebp - 0x12], 0x41
mov byte [ebp - 0x11], 0x75
mov byte [ebp - 0x10], 0x69
mov byte [ebp - 0xf], 0x33
mov byte [ebp - 0xe], 0x48
mov byte [ebp - 0xd], 0x55
mov byte [ebp - 0xc], 0x76
mov byte [ebp - 0xb], 0x26
mov byte [ebp - 0xa], 0x39
mov byte [ebp - 9], 0x35
mov byte [ebp - 8], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x38], esp
lea eax, [ebp - 0x18]
push eax
call fcn.004038f0
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.004339c0
add esp, 0x24
mov dword [ebp - 0x40], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp + 8]
call fcn.004020b0
mov edx, dword [ebp - 0x34]
or edx, 1
mov dword [ebp - 0x34], edx
lea ecx, [ebp - 0x30]
call fcn.00402070
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00451fe7
mov esp, ebp
pop ebp
ret
Function at 0x429150
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba750
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e40d8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.004037a0
movzx eax, al
test eax, eax
je 0x4291a9
mov byte [ebp - 0xf], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401f90
mov al, byte [ebp - 0xf]
jmp 0x42929d
mov dword [ebp - 0x14], 3
mov byte [ebp - 0xe], 1
mov byte [ebp - 0xd], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x18], 0
jle 0x4291f7
push 0
push 1
push str.https:__www.baidu.com
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x4291ef
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4291b8
mov byte [ebp - 0xd], 1
jmp 0x4291f7
movzx eax, byte [ebp - 0xd]
test eax, eax
je 0x429285
push 0
push str.https:__
lea ecx, [ebp + 8]
call fcn.0040d1d0
cmp eax, dword [0x4d5660]
jne 0x42926a
push 0
push 0x4d63d0
lea ecx, [ebp + 8]
call fcn.0040d1d0
cmp eax, dword [0x4d5660]
jne 0x42926a
lea ecx, [ebp + 8]
push ecx
mov edx, str.http:__
lea ecx, [ebp - 0x3c]
call fcn.004183b0
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.0040d270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401f90
push 0
push 1
lea ecx, [ebp + 8]
call fcn.00402110
push eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionW]
test eax, eax
jne 0x429285
mov byte [ebp - 0xe], 0
mov cl, byte [ebp - 0xe]
mov byte [ebp - 0x10], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00401f90
mov al, byte [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x18