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

Disassembly:
sub esp, 0x5c
xor eax, eax
push ebx
mov dword [esp + 8], eax
push ebp
mov dword [esp + 0x10], eax
push esi
mov dword [esp + 0x18], eax
push edi
mov dword [esp + 0x20], eax
mov ebp, ecx
push eax
push eax
push eax
push eax
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esp + 0x24], eax
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov cl, byte [esp + 0x70]
xor edx, edx
stosb byte es:[edi], al
mov byte [esp + 0x2a], cl
mov ecx, dword [esp + 0x74]
mov eax, ecx
mov byte [esp + 0x2e], cl
shr eax, 0x10
mov dl, ah
mov byte [esp + 0x2c], al
xor eax, eax
mov byte [esp + 0x29], 0x5a
mov al, ch
mov ecx, dword [esp + 0x78]
test cl, cl
mov byte [esp + 0x2b], dl
mov byte [esp + 0x2d], al
mov byte [esp + 0x2f], cl
jbe 0x40fcf5
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x40fcf5
and ecx, 0xff
lea edi, [esp + 0x30]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
lea eax, [esp + 0x2c]
push 0x40
push eax
mov ecx, ebp
call fcn.004017e0
neg al
lea ecx, [esp + 0x14]
lea edx, [esp + 0x10]
mov byte [esp + 0x68], al
push ecx
mov ecx, dword [ebp + 0x10]
push edx
lea eax, [esp + 0x30]
push 0x41
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
test esi, esi
jne 0x40fd62
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x3e5
jne 0x40fd62
mov edi, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov ecx, dword [ebp + 0x10]
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x18]
push edx
push eax
push ecx
call edi
mov esi, eax
test esi, esi
jne 0x40fd62
call ebx
cmp eax, 0x3e4
je 0x40fd41
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x10
Function at 0x4167b0
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x14]
mov cl, 0x4c
test eax, eax
mov byte [esp + 4], cl
mov byte [esp + 3], 0
jbe 0x416845
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x1c]
sub edi, esi
mov dword [esp + 0x24], eax
mov al, byte [edi + esi]
mov ebp, dword [esp + 0x14]
mov byte [esp + 0x20], al
mov dl, cl
mov ebx, dword [esp + 0x20]
inc dl
and ebx, 0xff
and edx, 0xff
and ebp, 0xff
xor al, cl
mov bl, byte [ebx + 0x425040]
sub bl, byte [edx + 0x425140]
xor edx, edx
mov dl, byte [ebp + 0x425140]
and ebx, 0xff
xor ebx, edx
mov dl, byte [ebx + 0x425040]
mov bl, byte [esp + 0x13]
add al, bl
mov byte [esi], dl
mov cl, al
mov eax, dword [esp + 0x24]
inc bl
inc esi
dec eax
mov byte [esp + 0x14], cl
mov byte [esp + 0x13], bl
mov dword [esp + 0x24], eax
jne 0x4167d8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x416850
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push edi
mov edi, dword [esp + 0x18]
mov cl, 0x4c
mov byte [esp + 7], 0
test edi, edi
mov byte [esp + 8], cl
jbe 0x4168c8
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x18]
sub esi, eax
mov ebx, dword [esp + 0x10]
xor edx, edx
mov dl, byte [esi + eax]
and ebx, 0xff
mov dl, byte [edx + 0x425140]
xor dl, byte [ebx + 0x425140]
mov bl, cl
inc bl
and ebx, 0xff
add dl, byte [ebx + 0x425140]
and edx, 0xff
mov dl, byte [edx + 0x425140]
mov bl, dl
mov byte [eax], dl
xor bl, cl
mov cl, bl
mov bl, byte [esp + 0xf]
add cl, bl
inc bl
inc eax
dec edi
mov byte [esp + 0x10], cl
mov byte [esp + 0xf], bl
jne 0x416873
pop esi
pop ebx
pop edi
add esp, 8
ret

Function at 0x416900
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push esi
push edi
mov ecx, 0x40
xor eax, eax
mov edi, 0x430ab4
mov dword [esp + 8], eax
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0
call sub.iphlpapi.dll_GetAdaptersInfo
mov ecx, dword [esp + 8]
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
lea edx, [esp + 8]
mov esi, eax
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
jne 0x41698e
test esi, esi
je 0x41698e
mov al, byte [esi + 0x199]
xor ecx, ecx
mov cl, byte [esi + 0x198]
xor edx, edx
mov dl, byte [esi + 0x197]
push eax
push ecx
xor eax, eax
mov al, byte [esi + 0x196]
push edx
xor ecx, ecx
xor edx, edx
mov cl, byte [esi + 0x195]
mov dl, byte [esi + 0x194]
push eax
push ecx
lea eax, [esi + 8]
push edx
push eax
push str.NET__s__02X_02X_02X_02X_02X_02X
push 0x430ab4
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x24
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, 0x430ab4
pop edi
pop esi
pop ecx
ret
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x10a27944
Capabilities:
Encode data using xor

Disassembly:
jmp 0x10a2794e
pushal
call 0x10a27954
pop ebp
sub ebp, 0x10
sub ebp, 0xa27944
mov al, byte [esp + 0x28]
cmp al, 1
je 0x10a27978
popal
xor eax, eax
inc eax
ret 0xc
jmp 0x10a27981
mov eax, 0xa27944
add eax, ebp
add eax, 0x63
mov ecx, 0x5bf
mov edx, 0x8998ebcd
xor byte [eax], dl
inc eax
dec ecx
jne 0x10a27998
jmp 0x10a279ab
inc esi
add byte [esi + 0x44], al
int1
int 0xcd
int 0x4c
or al, 0x35
int 0xcd
int 0xce
add byte [ebp - 0x35], dh
int 0xcd
int 0x77
in eax, 0xcd
int 0xcd
cmp ch, byte [edi]
into
add eax, 0xcdc14c46
int 0xcd
into
or byte [eax - 0x57], al
jmp 0xfa6bbe09
Function at 0x403970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b064a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x62c330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.005960c8
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x403a16
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x5fe308
push eax
lea ecx, [ebp - 0x24]
call fcn.00574661
push 0x626594
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.00578af5
push edi
push esi
call fcn.0059635e
add esp, 8
mov eax, esi
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.005745ae
mov esp, ebp
pop ebp
ret 4

Function at 0x403fb0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b06d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
mov eax, dword [0x62c330]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.004047b0
push dword [ebp + 0xc]
lea eax, [esp + 0x28]
push dword [ebp + 8]
push eax
call fcn.00403ee0
add esp, 0x24
mov dword [esp + 0x30], 0
cmp dword [eax + 0x14], 0x10
jb 0x404021
mov eax, dword [eax]
mov dword [esp + 8], eax
mov ecx, esi
lea eax, [esp + 8]
push eax
call fcn.00574661
cmp dword [esp + 0x20], 0x10
mov dword [esi], vtable.std::runtime_error.0
jb 0x40404a
push dword [esp + 0xc]
call fcn.0044ec18
add esp, 4
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov eax, esi
mov dword [esi], vtable.std::_System_error.0
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x406000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b08b8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x62c330]
xor eax, esp
mov dword [esp + 0x20], eax
push ebx
push esi
push edi
mov eax, dword [0x62c330]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
lea edx, [edi + 0x10]
lea ecx, [esp + 0x18]
call fcn.004219e0
mov dword [esp + 0x40], 0
mov eax, dword [esp + 0x28]
add eax, 0xa
mov dword [edi], eax
add eax, 4
push eax
call fcn.0044ec1d
mov esi, eax
mov dword [esp + 0x14], 0xe
mov eax, dword [edi]
sub esp, 0x14
mov ecx, esp
mov dword [esi], eax
movzx eax, byte [edi + 4]
mov byte [esi + 4], al
movzx eax, byte [edi + 5]
mov byte [esi + 5], al
mov eax, dword [edi + 8]
mov dword [esi + 6], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xa], eax
lea eax, [esp + 0x30]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047b0
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call fcn.00405f60
mov ecx, dword [edi]
add esp, 0x1c
add ecx, 4
mov dword [ebx], esi
cmp dword [esp + 0x2c], 0x10
mov dword [ebx + 4], ecx
jb 0x4060da
push dword [esp + 0x18]
call fcn.0044ec18
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.005745ae
mov esp, ebp
pop ebp
ret 4

Function at 0x4071b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0a88
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x62c330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00596a72
mov esi, dword [ebp + 8]
lea ecx, [edi + 0x28]
mov dword [ebp - 4], 0
mov dword [edi], vtable.std::_LaunchPad_class_std::_Bind_1__void__void____cdecl__const__struct_AgentPack::CreateAgentAppLinkPack___struct_AgentPack::CreateAgentAppLinkPack__.0
push 0xffffffffffffffff
mov eax, dword [esi]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x14], eax
movzx eax, byte [esi + 8]
mov byte [edi + 0x18], al
movzx eax, byte [esi + 9]
mov byte [edi + 0x19], al
mov eax, dword [esi + 0xc]
mov dword [edi + 0x1c], eax
movzx eax, byte [esi + 0x10]
mov byte [edi + 0x20], al
mov eax, dword [esi + 0x14]
mov dword [edi + 0x24], eax
lea eax, [esi + 0x18]
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.004047b0
mov ax, word [esi + 0x30]
mov word [edi + 0x40], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x40c570
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b11ab
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x62c330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea edx, [edi + 0x30]
mov byte [edi + 0x1c], 0
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
mov dword [ebp - 4], 0
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp + 8], 0x2c
mov eax, dword [esi]
mov dword [edi], eax
movzx eax, byte [esi + 4]
mov byte [edi + 4], al
movzx eax, byte [esi + 5]
mov byte [edi + 5], al
movzx eax, word [esi + 6]
mov word [edi + 6], ax
movzx eax, word [esi + 8]
mov word [edi + 8], ax
movzx eax, word [esi + 0xa]
mov word [edi + 0xa], ax
movzx eax, word [esi + 0xc]
mov word [edi + 0xc], ax
movzx eax, word [esi + 0xe]
mov word [edi + 0xe], ax
movzx eax, word [esi + 0x10]
mov word [edi + 0x10], ax
movzx eax, word [esi + 0x12]
mov word [edi + 0x12], ax
movzx eax, word [esi + 0x14]
mov word [edi + 0x14], ax
movzx eax, word [esi + 0x16]
mov word [edi + 0x16], ax
movzx eax, word [esi + 0x18]
mov word [edi + 0x18], ax
movzx eax, word [esi + 0x1a]
mov word [edi + 0x1a], ax
movzx eax, byte [esi + 0x1c]
mov byte [edi + 0x1c], al
mov eax, dword [esi + 0x1d]
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x21]
mov dword [edi + 0x24], eax
movzx eax, byte [esi + 0x25]
mov byte [edi + 0x28], al
movzx eax, byte [esi + 0x26]
mov byte [edi + 0x29], al
movzx eax, byte [esi + 0x27]
mov byte [edi + 0x2a], al
mov eax, dword [esi + 0x28]
push eax
mov dword [edi + 0x2c], eax
lea eax, [ebp + 8]
push edx
push eax
call fcn.004082b0
mov ecx, dword [ebp + 8]
add esp, 0xc
mov eax, dword [ecx + esi]
mov dword [edi + 0x48], eax
movzx eax, word [ecx + esi + 4]
mov word [edi + 0x4c], ax
movzx eax, byte [ecx + esi + 6]
mov byte [edi + 0x4e], al
mov eax, dword [ecx + esi + 7]
mov dword [edi + 0x50], eax
mov eax, dword [ecx + esi + 0xb]
mov dword [edi + 0x54], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x415de0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b1ed8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x62c330]
xor eax, esp
mov dword [esp + 0x50], eax
push esi
mov eax, dword [0x62c330]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], 0
call fcn.00443790
push str.pro.nlp
lea edx, [esp + 0x44]
mov dword [esp + 0x6c], 0
lea ecx, [esp + 0x2c]
call fcn.00409970
add esp, 4
mov byte [esp + 0x68], 1
lea edx, [esp + 0x28]
cmp dword [esp + 0x3c], 0x10
lea ecx, [esp + 0x10]
cmovae edx, dword [esp + 0x28]
call fcn.0042d070
mov byte [esp + 0x68], 2
lea ecx, [esp + 0x10]
cmp dword [esp + 0x24], 0x10
mov edx, 0x5fe325
push 0
cmovae ecx, dword [esp + 0x14]
call fcn.00405ec0
add esp, 4
test eax, eax
jne 0x415ead
cmp dword [esp + 0x20], eax
setne al
test eax, eax
jne 0x415ead
push eax
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], eax
push 0x5fe325
mov byte [esi], al
call fcn.00404be0
jmp 0x415ee5
cmp dword [esp + 0x24], 0x10
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x415ed9
test al, 0x10
je 0x415ed9
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004044d0
jmp 0x415ee5
push 0x5fe325
mov ecx, esi
call fcn.00404470
cmp dword [esp + 0x24], 0x10
jb 0x415ef8
push dword [esp + 0x10]
call fcn.0044ec18
add esp, 4
cmp dword [esp + 0x3c], 0x10
mov dword [esp + 0x24], 0xf
mov dword [esp + 0x20], 0
mov byte [esp + 0x10], 0
jb 0x415f20
push dword [esp + 0x28]
call fcn.0044ec18
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jb 0x415f48
push dword [esp + 0x40]
call fcn.0044ec18
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.005745ae
mov esp, ebp
pop ebp
ret
Function at 0x4177c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2218
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x62c330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.00444300
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
test eax, 0xfffffffc
jne 0x417850
test ecx, ecx
je 0x417837
push ecx
call fcn.0044ec18
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005745ae
mov esp, ebp
pop ebp
ret
cmp dword [0x62d6ec], 1
jne 0x41785e
call fcn.00416fc0
cmp dword [0x63c20c], 0
je 0x41786c
call fcn.004158d0
push 0
call fcn.005757b2
int3
Function at 0x41c8a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [ecx + 0x130]
sub eax, dword [ecx + 0x134]
cmp eax, 0x28
jge 0x41c8c6
cmp byte [ecx + 0x61], 0
jne 0x41c8c6
cmp byte [ecx + 0x60], 0
je 0x41c8c6
mov byte [ecx + 0x60], 0
jmp fcn.00449550
ret
Function at 0x421120
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2e02
mov eax, dword fs:[0]
push eax
sub esp, 0x14c
mov eax, dword [0x62c330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x154], 0
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x5fe325
mov dword [ebp - 0x158], esi
mov byte [esi], 0
call fcn.00404be0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x154], 1
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 0x18
push str.unknown_OperatingSystem.
mov ecx, esi
mov dword [ebp - 0x150], 0x11c
call fcn.00404be0
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4212e6
mov eax, dword [ebp - 0x14c]
sub eax, 4
je 0x4212a1
dec eax
je 0x421244
dec eax
jne 0x4212e6
mov eax, dword [ebp - 0x148]
sub eax, 0
je 0x421228
dec eax
je 0x42120c
dec eax
jne 0x4212e6
cmp byte [ebp - 0x36], 1
jne 0x4212e6
push str.Microsoft_Windows_10
jmp 0x4212df
cmp byte [ebp - 0x36], 1
mov ecx, esi
jne 0x42121e
push str.Microsoft_Windows_7
jmp 0x4212e1
push str.Microsoft_Windows_Server_2008_R2
jmp 0x4212e1
cmp byte [ebp - 0x36], 1
mov ecx, esi
jne 0x42123a
push str.Microsoft_Windows_Vista
jmp 0x4212e1
push str.Microsoft_Windows_Server_2008
jmp 0x4212e1
mov eax, dword [ebp - 0x148]
sub eax, 0
je 0x42129a
dec eax
je 0x421293
dec eax
jne 0x4212e6
cmp byte [ebp - 0x36], 1
jne 0x42126d
cmp word [ebp - 0x34], 9
jne 0x42126d
push str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x4212df
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x421280
push str.Microsoft_Windows_Server_2003
jmp 0x4212df
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x4212e6
push str.Microsoft_Windows_Server_2003_R2
jmp 0x4212df
push str.Microsoft_Windows_XP
jmp 0x4212df
push str.Microsoft_Windows_2000
jmp 0x4212df
mov eax, dword [ebp - 0x148]
test eax, eax
je 0x4212c3
cmp eax, 0xa
je 0x4212bc
cmp eax, 0x5a
jne 0x4212e6
push str.Microsoft_Windows_Me
jmp 0x4212df
push str.Microsoft_Windows_98
jmp 0x4212df
mov eax, dword [ebp - 0x140]
cmp eax, 2
jne 0x4212d5
push str.Microsoft_Windows_NT_4.0
jmp 0x4212df
cmp eax, 1
jne 0x4212e6
push str.Microsoft_Windows_95
mov ecx, esi
call fcn.00405a10
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005745ae
mov esp, ebp
pop ebp
ret
Function at 0x426920
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3320
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x62c330]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
push 0
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
push 0x5fe325
mov byte [esi], 0
call fcn.00404be0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fe325
mov byte [ecx], 0
call fcn.00404be0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x40]
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fe325
mov byte [ecx], 0
call fcn.00404be0
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 2
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fe325
mov byte [ecx], 0
call fcn.00404be0
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 3
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fe325
mov byte [ecx], 0
call fcn.00404be0
lea ecx, [esi + 0x88]
mov byte [ebp - 4], 4
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fe325
mov byte [ecx], 0
call fcn.00404be0
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 5
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fe325
mov byte [ecx], 0
call fcn.00404be0
lea ecx, [esi + 0xb8]
mov byte [ebp - 4], 6
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x5fe325
mov byte [ecx], 0
call fcn.00404be0
mov word [esi + 0xd0], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x428040
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b34bb
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x62c330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x104
lea eax, [ebp - 0x218]
mov dword [ebp - 0x234], 0
push eax
push str.APPDATA
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea edx, [ebp - 0x218]
lea ecx, [ebp - 0x230]
call fcn.00422100
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x230]
cmp dword [ebp - 0x21c], 0x10
mov edx, 0x5fe325
push 0
cmovae ecx, dword [ebp - 0x230]
call fcn.00405ec0
add esp, 4
test eax, eax
jne 0x4280db
cmp dword [ebp - 0x220], eax
setne al
test eax, eax
je 0x4280ff
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4280ff
test al, 0x10
jne 0x428111
push 1
push 0x60121c
lea ecx, [ebp - 0x230]
call fcn.00404be0
push 1
push 0
push esi
lea ecx, [ebp - 0x230]
call fcn.004224c0
cmp dword [ebp - 0x21c], 0x10
jb 0x428138
push dword [ebp - 0x230]
call fcn.0044ec18
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005745ae
mov esp, ebp
pop ebp
ret