joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421c90
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0
jmp 0x421cb5
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jae 0x421ce2
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x49e5a0]
mov byte [ebp - 5], dl
movzx eax, byte [ebp - 5]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov al, byte [ecx]
mov byte [ebp + edx - 0x50], al
jmp 0x421cac
mov dword [ebp - 4], 0
jmp 0x421cf4
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x40
jae 0x421d0b
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax - 0x50]
mov byte [edx], cl
jmp 0x421ceb
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret

Function at 0x421d20
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 4], 0
jmp 0x421d45
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x40
jae 0x421d72
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x49e5e0]
mov byte [ebp - 5], dl
movzx eax, byte [ebp - 5]
sub eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov al, byte [ecx]
mov byte [ebp + edx - 0x50], al
jmp 0x421d3c
mov dword [ebp - 4], 0
jmp 0x421d84
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x40
jae 0x421d9b
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov cl, byte [ebp + eax - 0x50]
mov byte [edx], cl
jmp 0x421d7b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret
Function at 0x422080
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
jmp 0x42209b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x38
jae 0x4220ca
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x49e650]
mov byte [ebp - 9], dl
movzx eax, byte [ebp - 9]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 8]
mov al, byte [edx]
mov byte [ecx + 0x50], al
jmp 0x422092
mov esp, ebp
pop ebp
ret

Function at 0x4220d0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x54], ecx
cmp dword [ebp + 0xc], 1
jne 0x4220f4
mov eax, 0xf
sub eax, dword [ebp + 8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
mov dl, byte [ecx + 0x49e688]
mov byte [ebp - 5], dl
movzx eax, byte [ebp - 5]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
jmp 0x422119
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x1c
jae 0x42216b
cmp dword [ebp + 8], 0x1c
jb 0x42212e
mov edx, dword [ebp + 8]
sub edx, 0x1c
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0x54]
add eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
mov dl, byte [eax + 0x50]
mov byte [ebp + ecx - 0x50], dl
mov eax, dword [ebp + 8]
add eax, 0x1c
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
add ecx, 0x1c
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x54]
add edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov cl, byte [edx + 0x50]
mov byte [ebp + eax - 0x50], cl
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x422110
mov dword [ebp - 4], 0
jmp 0x42217d
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x30
jae 0x4221ae
mov ecx, dword [ebp - 4]
mov dl, byte [ecx + 0x49e698]
mov byte [ebp - 0x11], dl
movzx eax, byte [ebp - 0x11]
sub eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x54]
add ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
mov al, byte [ebp + edx - 0x50]
mov byte [ecx + 0x88], al
jmp 0x422174
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 8
Function at 0x4249d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1ac], ecx
push 0x100
push 0
lea eax, [ebp - 0x1a8]
push eax
call fcn.00474130
add esp, 0xc
mov dword [ebp - 4], 0
push 0x100
push 0
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.00474130
add esp, 0xc
push 0x49e9e4
push 0x49ea00
call fcn.00474a90
add esp, 4
add eax, 2
push eax
lea edx, [ebp - 0x1a8]
push edx
call fcn.00474a28
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x424a66
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x424aeb
push 0x14
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00474130
add esp, 0xc
push 0xa
push 0xc
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x1ac]
call fcn.00424570
push eax
call fcn.0047720f
add esp, 0x10
push 0x50
push 0
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00474130
add esp, 0xc
mov dword [ebp - 0x24], 0x3c
mov dword [ebp - 8], 3
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0xa8]
push edx
call fcn.00474ce7
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret
Function at 0x424b00
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1b4], ecx
push 0x100
push 0
lea eax, [ebp - 0x1b0]
push eax
call fcn.00474130
add esp, 0xc
mov dword [ebp - 0xc], 0
push 0x100
push 0
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.00474130
add esp, 0xc
push 0x49ea1c
push 0x49ea38
call fcn.00474a90
add esp, 4
add eax, 2
push eax
lea edx, [ebp - 0x1b0]
push edx
call fcn.00474a28
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1b0]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x424b93
or eax, 0xffffffff
jmp 0x424cc1
push 0x14
push 0
lea edx, [ebp - 0x28]
push edx
call fcn.00474130
add esp, 0xc
push 0xa
push 0xc
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.00424570
push eax
call fcn.0047720f
add esp, 0x10
push 0x50
push 0
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00474130
add esp, 0xc
mov dword [ebp - 0x2c], 0x3c
mov dword [ebp - 0x10], 3
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00474ce7
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
cdq
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
adc ecx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
push 0x50
push 0
lea edx, [ebp - 0xb0]
push edx
call fcn.00474130
add esp, 0xc
push 0xa
push 0x14
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0047734b
add esp, 0x14
lea eax, [ebp - 0xb0]
push eax
call fcn.00474a90
add esp, 4
push eax
lea ecx, [ebp - 0xb0]
push ecx
push 3
push 0
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 4], 0
jl 0x424cbc
jg 0x424c98
cmp dword [ebp - 8], 0x21f8e00
jbe 0x424cbc
push 0x49ea54
call fcn.004041d0
add esp, 4
push 0x49ea74
mov ecx, dword [ebp - 0x1b4]
call fcn.00424ce0
push 1
call fcn.00476b1c
mov eax, 1
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 4
Function at 0x424ce0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x1a4], ecx
push 0x100
push 0
lea eax, [ebp - 0x1a0]
push eax
call fcn.00474130
add esp, 0xc
mov dword [ebp - 4], 0
push 0x100
push 0
lea ecx, [ebp - 0x1a0]
push ecx
call fcn.00474130
add esp, 0xc
push 0x49ea94
push 0x49eab0
call fcn.00474a90
add esp, 4
add eax, 2
push eax
lea edx, [ebp - 0x1a0]
push edx
call fcn.00474a28
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x1a0]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x424d6d
jmp 0x424deb
push 0x14
push 0
lea edx, [ebp - 0x1c]
push edx
call fcn.00474130
add esp, 0xc
push str.StartInfo
push 0x12
lea eax, [ebp - 0x1c]
push eax
call fcn.00474a28
add esp, 0xc
push 0x78
push 0
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00474130
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
push 0x78
lea eax, [ebp - 0xa0]
push eax
call fcn.00474a28
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00474a90
add esp, 4
push eax
lea edx, [ebp - 0xa0]
push edx
push 3
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 4

Function at 0x424fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1ac], ecx
push 0x100
push 0
lea eax, [ebp - 0x1a8]
push eax
call fcn.00474130
add esp, 0xc
mov dword [ebp - 4], 0
push 0x100
push 0
lea ecx, [ebp - 0x1a8]
push ecx
call fcn.00474130
add esp, 0xc
push 0x49eb10
push 0x49eb2c
call fcn.00474a90
add esp, 4
add eax, 2
push eax
lea edx, [ebp - 0x1a8]
push edx
call fcn.00474a28
add esp, 0xc
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x425033
or eax, 0xffffffff
jmp 0x4250d8
push 0x14
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.00474130
add esp, 0xc
push 0x49eb48
push 0x12
lea eax, [ebp - 0x20]
push eax
call fcn.00474a28
add esp, 0xc
push 0x50
push 0
lea ecx, [ebp - 0xa8]
push ecx
call fcn.00474130
add esp, 0xc
mov dword [ebp - 0x24], 0x3c
mov dword [ebp - 8], 3
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0xa8]
push edx
call fcn.00474ce7
add esp, 4
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1b0], edx
cmp dword [ebp - 0x1b0], 0
jl 0x4250d6
jg 0x4250cf
cmp dword [ebp - 0x1b4], 2
jbe 0x4250d6
mov eax, 1
jmp 0x4250d8
xor eax, eax
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret
Function at 0x4250f0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1b4], ecx
push 0x100
push 0
lea eax, [ebp - 0x1b0]
push eax
call fcn.00474130
add esp, 0xc
mov dword [ebp - 0xc], 0
push 0x100
push 0
lea ecx, [ebp - 0x1b0]
push ecx
call fcn.00474130
add esp, 0xc
push 0x49eb58
push str.SOFTWARELicensesRunTime
call fcn.00474a90
add esp, 4
add eax, 2
push eax
lea edx, [ebp - 0x1b0]
push edx
call fcn.00474a28
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x1b0]
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
je 0x425186
or eax, 0xffffffff
or edx, 0xffffffff
jmp 0x425277
push 0x14
push 0
lea edx, [ebp - 0x28]
push edx
call fcn.00474130
add esp, 0xc
push str.RunTimeCount
push 0x12
lea eax, [ebp - 0x28]
push eax
call fcn.00474a28
add esp, 0xc
push 0x50
push 0
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00474130
add esp, 0xc
mov dword [ebp - 0x2c], 0x3c
mov dword [ebp - 0x10], 3
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 0
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00474ce7
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
cdq
add eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
adc ecx, edx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ecx
push 0x50
push 0
lea edx, [ebp - 0xb0]
push edx
call fcn.00474130
add esp, 0xc
push 0xa
push 0x14
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0047734b
add esp, 0x14
lea eax, [ebp - 0xb0]
push eax
call fcn.00474a90
add esp, 4
push eax
lea ecx, [ebp - 0xb0]
push ecx
push 3
push 0
lea edx, [ebp - 0x28]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 4
Function at 0x4258d0
Capabilities:
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.00479f40
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x101c], ecx
mov dword [ebp - 0x1010], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1018], 0
mov dword [ebp - 0x100c], 0
mov dword [ebp - 0x1014], 0xffffffff
push 0
push 0
push 3
push 0
push 7
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x1014], eax
cmp dword [ebp - 0x1014], 0xffffffff
jne 0x425949
jmp 0x425a07
push 0
mov ecx, dword [ebp - 0x1014]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x1010], eax
push 2
push 0
mov eax, dword [ebp - 0x1010]
cdq
mov ecx, 6
idiv ecx
neg eax
push eax
mov edx, dword [ebp - 0x1014]
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], 0
jmp 0x425994
mov eax, dword [ebp - 4]
add eax, 0x1000
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1010]
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp dword [ebp - 4], eax
jge 0x4259cc
push 0
lea ecx, [ebp - 0x1018]
push ecx
push 0x1000
lea edx, [ebp - 0x1008]
push edx
mov eax, dword [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x425989
push 2
push 0
mov eax, dword [ebp - 0x1010]
cdq
and edx, 3
add eax, edx
sar eax, 2
push eax
mov ecx, dword [ebp - 0x1014]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [ebp - 0x1014]
push edx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov eax, dword [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 4
Function at 0x425a20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0x124], ecx
push 0x14
push 0
lea eax, [ebp - 0x120]
push eax
call fcn.00474130
add esp, 0xc
push 0x14
lea ecx, [ebp - 0x120]
push ecx
mov ecx, 0x4d4658
call fcn.0042b5e0
push 0xa
push 0
lea edx, [ebp - 0x2c]
push edx
call fcn.00474130
add esp, 0xc
push 5
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, dword [ebp - 0x124]
call fcn.00422510
push 0
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp - 0x124]
call fcn.00421a30
push 0x49ec5c
push 0x80
lea eax, [ebp - 0xb0]
push eax
push 0x49ec78
push str.TimeLimeted
push 0x49eca0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x49ecb0
lea ecx, [ebp - 0xb0]
push ecx
call fcn.004749a0
add esp, 8
test eax, eax
jne 0x425ade
xor eax, eax
jmp 0x425c42
lea edx, [ebp - 0xb0]
push edx
call fcn.00474a90
add esp, 4
cmp eax, 0x1c
jae 0x425af9
xor eax, eax
jmp 0x425c42
push 0x3c
push 0
lea eax, [ebp - 0xec]
push eax
call fcn.00474130
add esp, 0xc
lea ecx, [ebp - 0xb0]
push ecx
call fcn.00474a90
add esp, 4
push eax
lea edx, [ebp - 0xec]
push edx
lea eax, [ebp - 0xb0]
push eax
mov ecx, dword [ebp - 0x124]
call fcn.00423a10
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0xec]
push edx
mov ecx, dword [ebp - 0x124]
call fcn.004219e0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, dword [ebp - 0x124]
call fcn.004219e0
lea edx, [ebp - 0xec]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
movzx esi, word [eax]
push 0xe
lea ecx, [ebp - 0xea]
push ecx
mov ecx, dword [ebp - 0x124]
call fcn.00422800
movzx edx, ax
cmp esi, edx
je 0x425b92
xor eax, eax
jmp 0x425c42
push 0xa
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.00474130
add esp, 0xc
push 6
lea ecx, [ebp - 0xea]
push ecx
lea edx, [ebp - 0x14]
push edx
call fcn.00476380
add esp, 0xc
mov dword [ebp - 0x18], 0
jmp 0x425bc9
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 6
jge 0x425be8
mov ecx, dword [ebp - 0x18]
movsx edx, byte [ebp + ecx - 0x120]
movsx eax, byte [ebp - 0x14]
cmp edx, eax
je 0x425be6
xor eax, eax
jmp 0x425c42
jmp 0x425bc0
lea ecx, [ebp - 0xe4]
push ecx
call fcn.00474ce7
add esp, 4
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0xf4], edx
mov ecx, dword [ebp - 0x124]
call fcn.00424620
cdq
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], edx
mov edx, dword [ebp - 0xf4]
cmp edx, dword [ebp - 0x128]
jl 0x425c40
jg 0x425c39
mov eax, dword [ebp - 0xf8]
cmp eax, dword [ebp - 0x12c]
jbe 0x425c40
mov eax, 1
jmp 0x425c42
xor eax, eax
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret
Function at 0x428da0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0x6f
jne 0x428e0d
mov edx, dword [ebp - 0x48]
push edx
call fcn.00474b6a
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x428dfd
push 0x49edac
call fcn.004041d0
add esp, 4
xor eax, eax
jmp 0x428f75
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x428e27
push 0x49edb8
call fcn.004041d0
add esp, 4
xor eax, eax
jmp 0x428f75
mov edx, dword [ebp - 4]
mov dword [ebp - 0x24], edx
cmp dword [ebp - 4], 0
je 0x428f64
mov eax, dword [ebp - 4]
cmp dword [eax + 0x190], 4
jbe 0x428f57
push 0x14
push 0
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00474130
add esp, 0xc
push 0x14
push 0
lea edx, [ebp - 0x38]
push edx
call fcn.00474130
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x190]
push ecx
mov edx, dword [ebp - 4]
add edx, 0x194
push edx
lea eax, [ebp - 0x1c]
push eax
call fcn.00476380
add esp, 0xc
mov dword [ebp - 0x20], 0
jmp 0x428e99
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov dword [ebp - 0x20], ecx
cmp dword [ebp - 0x20], 6
jge 0x428f2a
push 6
push 0
lea edx, [ebp - 0x40]
push edx
call fcn.00474130
add esp, 0xc
mov eax, dword [ebp - 0x20]
movzx ecx, byte [ebp + eax - 0x1c]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
push edx
push 0x49edc8
push 6
lea eax, [ebp - 0x40]
push eax
call fcn.00476cb6
add esp, 0x10
lea ecx, [ebp - 0x40]
push ecx
call fcn.00474a90
add esp, 4
cmp eax, 1
ja 0x428f06
push 0x49edcc
push 2
lea edx, [ebp - 0x38]
push edx
call fcn.00474a90
add esp, 4
lea eax, [ebp + eax - 0x38]
push eax
call fcn.00474a28
add esp, 0xc
lea ecx, [ebp - 0x40]
push ecx
push 6
lea edx, [ebp - 0x38]
push edx
call fcn.00474a90
add esp, 4
lea eax, [ebp + eax - 0x38]
push eax
call fcn.00474a28
add esp, 0xc
jmp 0x428e90
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004749a0
add esp, 8
test eax, eax
jne 0x428f57
mov eax, dword [ebp - 4]
add eax, 0x1b0
push eax
push 0x10
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00474a28
add esp, 0xc
jmp 0x428f64
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
jmp 0x428e2d
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.004746d6
add esp, 4
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret
Function at 0x42a280
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xa4], ecx
push 0x14
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00474130
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00474a90
add esp, 4
cmp eax, 5
jbe 0x42a2e2
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00474a90
add esp, 4
add eax, 2
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00474a28
add esp, 0xc
jmp 0x42a307
push 0x49f7ec
push 0x49f7fc
call fcn.00474a90
add esp, 4
add eax, 2
push eax
lea edx, [ebp - 0xa0]
push edx
call fcn.00474a28
add esp, 0xc
mov eax, 2
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0xa0]
push ecx
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x18], eax
movzx edx, word [ebp + 0x14]
push edx
call sub.WS2_32.dll_htons
mov word [ebp - 0x1a], ax
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WS2_32.dll_sendto
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x42a35c
call sub.WS2_32.dll_WSAGetLastError
mov dword [ebp - 0xa8], eax
jmp 0x42a366
mov dword [ebp - 0xa8], 0
mov ecx, dword [ebp - 0xa8]
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
je 0x42a379
xor eax, eax
jmp 0x42a37e
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 0x14

Function at 0x42a390
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0xa4], ecx
push 0x14
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00474130
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00474a90
add esp, 4
cmp eax, 5
jbe 0x42a3f2
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00474a90
add esp, 4
add eax, 2
push eax
lea ecx, [ebp - 0xa0]
push ecx
call fcn.00474a28
add esp, 0xc
jmp 0x42a417
push 0x49f80c
push str.255.255.255.255
call fcn.00474a90
add esp, 4
add eax, 2
push eax
lea edx, [ebp - 0xa0]
push edx
call fcn.00474a28
add esp, 0xc
mov eax, 2
mov word [ebp - 0x1c], ax
lea ecx, [ebp - 0xa0]
push ecx
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0x18], eax
movzx edx, word [ebp + 0x14]
push edx
call sub.WS2_32.dll_htons
mov word [ebp - 0x1a], ax
push 0x10
lea eax, [ebp - 0x1c]
push eax
push 0
push 0x100
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.WS2_32.dll_sendto
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x42a46d
call sub.WS2_32.dll_WSAGetLastError
mov dword [ebp - 0xa8], eax
jmp 0x42a477
mov dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42a48a
xor eax, eax
jmp 0x42a48f
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret 0x10