joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402860
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x66e6b8
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x703580]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x703580]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
lea ecx, [esp + 8]
call fcn.004693d9
xor eax, eax
push 0xffffffffffffffff
mov dword [esp + 0x44], eax
push eax
push esi
lea ecx, [esp + 0x20]
mov dword [esp + 0x14], vtable.Json::Exception.0
mov dword [esp + 0x34], 0xf
mov dword [esp + 0x30], eax
mov byte [esp + 0x20], al
call fcn.00408d10
push 0x6f93c4
lea eax, [esp + 0xc]
mov dword [esp + 0x44], 0xffffffff
push eax
mov dword [esp + 0x10], vtable.Json::RuntimeError.0
call fcn.0046abf2
int3

Function at 0x40a4e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d59b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x703580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0045ad60
push 4
mov dword [ebp - 4], 0
call fcn.0046ab72
mov edi, eax
add esp, 4
test edi, edi
je 0x40a560
call fcn.0045a674
mov dword [edi], eax
call fcn.0045a3b5
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0045a21e
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40a556
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.0045a246
jmp 0x40a562
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40de50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d998
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x703580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.0046ab72
add esp, 4
cmp eax, ebx
je 0x40df46
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.0046ab72
add esp, 4
cmp eax, ebx
je 0x40df22
mov dword [edi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [esi + 0x40], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov byte [esi + 0x30], bl
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x74], eax
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov word [esi + 0x7c], 1
mov byte [esi + 0x7e], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], ebx
call fcn.00469472
push 0x6f9470
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], vtable.std::bad_alloc.0
call fcn.0046abf2
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x14], ebx
call fcn.00469472
push 0x6f9470
lea edx, [ebp - 0x30]
push edx
mov dword [ebp - 0x30], vtable.std::bad_alloc.0
call fcn.0046abf2
int3
Function at 0x410f10
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x66d938
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x703580]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor ebx, ebx
push 8
mov dword [esi], ebx
call fcn.0046ab72
add esp, 4
cmp eax, ebx
je 0x41101e
mov dword [esi], eax
xor ecx, ecx
mov dword [eax], ecx
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [esi]
mov dword [eax], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 0x18]
push 8
mov dword [edi], ebx
call fcn.0046ab72
add esp, 4
cmp eax, ebx
je 0x410ffa
mov dword [edi], eax
mov dword [eax + 4], ebx
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [edi]
mov dword [ecx], edi
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov dword [esi + 0x40], ebx
mov eax, 0xf
mov dword [esi + 0x44], eax
mov byte [esi + 0x30], bl
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x74], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x70], ebx
mov byte [esi + 0x60], bl
mov edx, dword [eax]
mov dword [esi + 0x80], edx
mov ecx, dword [eax + 4]
mov dword [esi + 0x84], ecx
mov edx, dword [eax + 8]
mov dword [esi + 0x88], edx
mov byte [esi + 0x8c], bl
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.00469472
push 0x6f9470
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], vtable.std::bad_alloc.0
call fcn.0046abf2
lea edx, [ebp - 0x14]
push edx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], ebx
call fcn.00469472
push 0x6f9470
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], vtable.std::bad_alloc.0
call fcn.0046abf2
int3
Function at 0x42910a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov eax, dword [0x703580]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, 0x3ff
push esi
lea eax, [ebp - 0x403]
push 0
push eax
mov byte [ebp - 0x404], 0
call fcn.0046a480
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x404]
push esi
push 0x400
push eax
call fcn.0046aa6c
add esp, 0x20
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00469ae8
leave
ret

Function at 0x42b842
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x703580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x410], eax
mov eax, dword [ebp + 0x18]
push 0x3ff
mov dword [ebp - 0x408], eax
lea eax, [ebp - 0x403]
push 0
push eax
mov dword [ebp - 0x40c], ecx
mov byte [ebp - 0x404], 0
call fcn.0046a480
add esp, 0xc
push esi
push 0x400
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x410]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x40c]
push dword [ebp - 0x408]
lea eax, [ebp - 0x404]
push eax
call fcn.0042a9cc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469ae8
leave
ret 0x18

Function at 0x42b8dd
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x703580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x108], 0
call fcn.0046a480
add esp, 0xc
push esi
push 0x104
lea eax, [ebp - 0x108]
push eax
push 0
push str.Path
push str.Redirect
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x108]
push eax
mov ecx, ebx
call fcn.004292f8
mov ecx, ebx
test eax, eax
jne 0x42b977
lea eax, [ebp - 0x108]
push eax
call fcn.004292bf
push dword [ebp + 0x10]
test eax, eax
push edi
lea eax, [ebp - 0x108]
mov ecx, ebx
push eax
je 0x42b970
push esi
call fcn.0042aa2e
jmp 0x42b981
call fcn.0042b8dd
jmp 0x42b981
push esi
push dword [ebp + 0x10]
push edi
call fcn.0042a8cc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469ae8
leave
ret 0xc
Function at 0x42cae9
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x703580]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x21c], eax
xor eax, eax
mov byte [ebp - 0x10], 0
lea edi, [ebp - 0xf]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0xa
stosb byte es:[edi], al
lea eax, [ebp - 0x10]
push eax
push 0x67424c
push str.NotUseDefaultDllPath
push 0x674230
push ebx
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x224], esi
call fcn.0042b842
cmp byte [ebp - 0x10], 0x31
jne 0x42cb5c
push dword [ebp + 0x14]
mov ecx, dword [ebp - 0x220]
push dword [ebp - 0x21c]
push esi
jmp 0x42cbf7
mov edi, 0x103
push edi
lea eax, [ebp - 0x217]
push 0
push eax
mov byte [ebp - 0x218], 0
call fcn.0046a480
add esp, 0xc
push ebx
lea esi, [edi + 1]
push esi
lea eax, [ebp - 0x218]
push eax
push 0
push str.DllPath
push str.DefaultValue
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
lea eax, [ebp - 0x113]
push 0
push eax
mov byte [ebp - 0x114], 0
call fcn.0046a480
add esp, 0xc
push esi
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x224]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.0042a96e
lea eax, [ebp - 0x114]
push eax
mov ecx, esi
call fcn.004292bf
test eax, eax
mov ecx, esi
lea eax, [ebp - 0x114]
je 0x42cbff
push dword [ebp + 0x14]
push dword [ebp - 0x21c]
push eax
push ebx
call fcn.0042aa2e
jmp 0x42cc0e
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x21c]
call fcn.0042a8cc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469ae8
leave
ret 0x10
Function at 0x432f83
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x54], eax
mov dword [ecx + 0x58], eax
mov dword [ecx + 0x5c], eax
ret

Function at 0x432fb1
Capabilities:
Encode data using xor
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x158
mov eax, dword [0x703580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
push esi
xor edx, edx
lea ecx, [eax + 0x15]
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x144], esi
inc edx
add ecx, 4
cmp edx, 0x10
jb 0x432fce
push 0x40
lea edx, [ebp - 0x13c]
pop esi
mov ecx, dword [edx + 0x2c]
xor ecx, dword [edx + 0x18]
xor ecx, dword [edx - 8]
xor ecx, dword [edx]
add edx, 4
mov edi, ecx
shr edi, 0x1f
add ecx, ecx
xor edi, ecx
dec esi
mov dword [edx + 0x34], edi
jne 0x433005
mov ecx, dword [eax]
mov ebx, dword [eax + 0xc]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
and dword [ebp - 0x148], 0
mov dword [ebp - 0x14c], ecx
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x154], ecx
cmp dword [ebp - 0x148], 0x14
jae 0x43306a
mov edx, esi
not edx
mov ecx, edi
and edx, ebx
and ecx, esi
or edx, ecx
mov dword [ebp - 0x150], 0x5a827999
jmp 0x4330b0
cmp dword [ebp - 0x148], 0x28
jae 0x43307f
mov dword [ebp - 0x150], 0x6ed9eba1
jmp 0x4330aa
cmp dword [ebp - 0x148], 0x3c
jae 0x4330a0
mov edx, edi
or edx, esi
mov ecx, edi
and edx, ebx
and ecx, esi
or edx, ecx
mov dword [ebp - 0x150], 0x8f1bbcdc
jmp 0x4330b0
mov dword [ebp - 0x150], 0xca62c1d6
mov edx, ebx
xor edx, edi
xor edx, esi
mov ecx, dword [ebp - 0x14c]
mov ebx, dword [ebp - 0x14c]
shr ecx, 0x1b
shl ebx, 5
xor ecx, ebx
mov ebx, dword [ebp - 0x148]
add ecx, dword [ebp + ebx*4 - 0x144]
mov ebx, edi
add ecx, dword [ebp - 0x150]
add ecx, edx
mov edx, dword [ebp - 0x158]
add ecx, dword [ebp - 0x154]
mov dword [ebp - 0x158], edi
mov edi, esi
shr esi, 2
shl edi, 0x1e
xor edi, esi
inc dword [ebp - 0x148]
cmp dword [ebp - 0x148], 0x50
mov esi, dword [ebp - 0x14c]
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x14c], ecx
jb 0x433049
mov edx, dword [eax]
add edx, ecx
mov ecx, dword [eax + 4]
add ecx, esi
mov dword [eax + 4], ecx
mov ecx, dword [eax + 8]
add ecx, edi
mov dword [eax + 8], ecx
mov ecx, dword [eax + 0xc]
add ecx, ebx
mov dword [eax + 0xc], ecx
mov ecx, dword [eax + 0x10]
add ecx, dword [ebp - 0x154]
pop edi
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov dword [eax], edx
pop ebx
call fcn.00469ae8
leave
ret
Function at 0x433adb
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea edx, [ecx + 4]
mov dword [ebp - 4], 0xde
mov esi, bind
mov eax, dword [edx]
mov ebx, dword [edx - 4]
xor ebx, eax
and eax, 1
imul eax, eax, 0x9908b0df
and ebx, esi
xor ebx, dword [edx - 4]
add edx, 4
shr ebx, 1
xor ebx, eax
xor ebx, dword [edx + 0x62c]
dec dword [ebp - 4]
mov dword [edx - 8], ebx
jne 0x433af0
lea eax, [ecx + 0x37c]
mov dword [ebp - 4], 5
mov edx, dword [eax]
mov ebx, dword [eax - 4]
xor ebx, edx
and edx, 1
imul edx, edx, 0x9908b0df
and ebx, esi
xor ebx, dword [eax - 4]
add eax, 4
shr ebx, 1
xor ebx, edx
xor ebx, dword [eax + 0x62c]
dec dword [ebp - 4]
mov dword [eax - 8], ebx
jne 0x433b27
lea eax, [ecx + 0x390]
mov dword [ebp - 4], 0x18c
mov edx, dword [eax]
mov ebx, dword [eax - 4]
xor ebx, edx
and edx, 1
imul edx, edx, 0x9908b0df
and ebx, esi
xor ebx, dword [eax - 4]
add eax, 4
shr ebx, 1
xor ebx, edx
xor ebx, dword [eax - 0x394]
dec dword [ebp - 4]
mov dword [eax - 8], ebx
jne 0x433b5e
mov eax, dword [ecx]
mov edx, dword [ecx + 0x9bc]
xor edx, eax
and eax, 1
and edx, esi
imul eax, eax, 0x9908b0df
xor edx, dword [ecx + 0x9bc]
pop esi
shr edx, 1
xor edx, eax
xor edx, dword [ecx + 0x630]
and dword [ecx + 0x9c0], 0
mov dword [ecx + 0x9bc], edx
pop ebx
leave
ret

Function at 0x434032
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push esi
mov dword [ecx], eax
mov dword [ecx + 0x9c0], 1
push edi
mov edx, dword [ecx + 0x9c0]
lea eax, [ecx + edx*4]
mov esi, dword [eax - 4]
mov edi, esi
shr edi, 0x1e
xor edi, esi
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax], edi
inc dword [ecx + 0x9c0]
cmp dword [ecx + 0x9c0], 0x270
jb 0x434048
pop edi
pop esi
pop ebp
ret 4
Function at 0x4344ef
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push str.sys_begin
call fcn.0043bd7a
mov eax, dword [0x720c60]
or eax, dword [0x720c64]
pop ecx
jne 0x434518
push 0x720c60
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push esi
push edi
lea eax, [ebp - 0x10]
push eax
call ebx
mov esi, dword [sym.imp.USER32.dll_PeekMessageW]
xor edi, edi
jmp 0x4345b0
cmp dword [ebp - 0x30], 0x12
je 0x434567
cmp dword [ebp - 0x30], 0x113
jne 0x434551
cmp dword [ebp - 0x2c], 1
jne 0x434551
push 0x674f58
call fcn.0043bd7a
pop ecx
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x43457a
mov eax, dword [0x720c18]
cmp eax, edi
je 0x43457a
mov eax, dword [eax + 8]
mov dword [eax + 4], 2
lea eax, [ebp - 8]
push eax
call ebx
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
sbb ecx, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
fild qword [ebp - 0x18]
fmul qword [0x674f50]
fild qword [0x720c60]
fdivp st(1)
fcomp qword [0x674f48]
fnstsw ax
test ah, 0x41
je 0x4345c3
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x34]
push eax
call esi
test eax, eax
jne 0x434531
push str.sys_end
call fcn.0043bd7a
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4357b2
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x703580]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 0x78]
call fcn.00432f83
push 5
pop ecx
mov esi, 0x720c3c
push 0x14
lea edi, [ebp - 0x18]
mov dword [ebp - 0x7c], esi
rep movsd dword es:[edi], dword [esi]
pop edi
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x78]
call fcn.00435784
push 4
pop esi
push esi
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x78]
call fcn.00435784
push 0
call fcn.0046b846
pop ecx
mov dword [ebp - 0xc], eax
push 8
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 8], edx
call fcn.00435784
call fcn.0046bec0
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x78]
call fcn.00435784
call fcn.0046be9f
mov dword [ebp - 0x10], eax
call fcn.0046be9f
mov dword [ebp - 0xc], eax
call fcn.0046be9f
mov dword [ebp - 8], eax
push 0xc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x78]
call fcn.00435784
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x43586d
push eax
push edi
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.0046be70
add esp, 0x10
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x78]
call fcn.00435784
push esi
call fcn.0046ab72
pop ecx
push esi
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 8], eax
call fcn.00435784
push esi
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x78]
call fcn.00435784
push dword [ebp - 8]
call fcn.00469cdd
pop ecx
push edi
push ebx
lea ecx, [ebp - 0x78]
call fcn.00435784
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x78]
call fcn.00433ca4
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0x18]
xor esi, esi
sub edx, eax
sub ebx, eax
mov ecx, dword [ebp + esi*4 - 0x18]
lea eax, [edx + esi*4]
lea eax, [ebp + eax - 0x18]
xor dword [eax], ecx
lea eax, [ebx + esi*4]
lea eax, [ebp + eax - 0x18]
xor dword [eax], ecx
inc esi
cmp esi, 5
jl 0x4358c6
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469ae8
leave
ret
Function at 0x43d64f
Capabilities:
Get mac address on windows

Disassembly:
push pe_nt_image_headers32
mov eax, 0x65f37a
call fcn.00469b96
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x11c], ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov dword [ebp - 4], ebx
xor edi, edi
inc edi
mov dword [ebp - 0x11c], edi
mov eax, 0x288
mov dword [ebp - 0x100], eax
mov dword [ebp - 0x114], ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
push eax
lea ecx, [ebp - 0x114]
call fcn.0043ca68
mov dword [ebp - 4], edi
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0x114]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x43d6de
push dword [ebp - 0x100]
lea ecx, [ebp - 0x114]
call fcn.0043ca68
lea eax, [ebp - 0x100]
push eax
push dword [ebp - 0x114]
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x43d834
mov esi, str._02x
lea edi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x114]
mov eax, dword [esi + 0x190]
shl eax, 2
push ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.004168c0
xor edi, edi
cmp dword [esi + 0x190], ebx
jbe 0x43d75d
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x43d742
lea eax, [ebp - 0x38]
lea eax, [eax + edi*4]
push 4
lea ecx, [ebp - 0x1c]
push ecx
push eax
call fcn.0046a060
add esp, 0xc
inc edi
cmp edi, dword [esi + 0x190]
jb 0x43d736
mov byte [ebp - 4], 3
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0xfc]
call fcn.0043d49c
mov byte [ebp - 4], 4
xor edi, edi
mov dword [ebp - 0x118], edi
cmp edi, dword [esi + 0x190]
jae 0x43d7aa
movzx eax, byte [edi + esi + 0x194]
mov dword [ebp - 0x120], eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.0043d419
pop ecx
pop ecx
inc edi
jmp 0x43d776
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0xfc]
call fcn.00430336
mov byte [ebp - 4], 5
push eax
mov ecx, dword [ebp - 0x104]
call fcn.00408c90
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.00408fa0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xfc]
call fcn.00431e43
mov dword [ebp - 4], 2
jmp 0x43d81f
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00408fa0
mov esi, dword [ebp - 0x104]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x114]
call fcn.0043c790
mov eax, esi
call fcn.00469bf2
ret
Function at 0x43ebd2
Capabilities:
Get file version info

Disassembly:
push 0x3c
mov eax, 0x65f91a
call fcn.00469b60
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], ebx
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2c]
push eax
push ecx
call fcn.00439769
pop ecx
pop ecx
test al, al
jne 0x43ec23
mov byte [ebp - 0x2d], bl
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.0042a743
mov al, byte [ebp - 0x2d]
call fcn.00469be3
ret 4
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0x34
mov byte [ebp - 0x2d], bl
jae 0x43ec39
lea eax, [ebp - 0x2c]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
je 0x43ecfb
push edi
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call fcn.0043eb0a
mov byte [ebp - 4], 1
push edi
lea ecx, [ebp - 0x44]
call fcn.0043eb0a
cmp dword [ebp - 0x18], 8
mov eax, dword [ebp - 0x2c]
jae 0x43ec75
lea eax, [ebp - 0x2c]
push dword [ebp - 0x44]
push edi
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x43ecd3
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x6740b4
push dword [ebp - 0x44]
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43ecc5
mov eax, dword [ebp - 0x34]
mov cx, word [eax + 0xa]
mov word [esi], cx
mov cx, word [eax + 8]
mov word [esi + 2], cx
mov cx, word [eax + 0xe]
mov word [esi + 4], cx
mov ax, word [eax + 0xc]
mov word [esi + 6], ax
mov byte [ebp - 0x2d], 1
jmp 0x43ecee
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_version_VerQueryValue_error_u
jmp 0x43ecdf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_version_GetFileVersionInfoW_error_u
push str.File_attr
push 1
call fcn.0042fdf6
add esp, 0x10
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x44]
call fcn.00438ee1
jmp 0x43ed16
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.get_version_GetFileVersionInfoSizeW_error_u
push str.File_attr
push 1
call fcn.0042fdf6
add esp, 0x10
mov al, byte [ebp - 0x2d]
mov byte [ebp - 0x2d], al
jmp 0x43ec09