joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406490
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4064f6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004047a8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040307c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064e0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064fd
lea eax, [ebp - 0x10]
call fcn.00404538
ret

Function at 0x40855c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004049f8
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408575
test al, 0x10
jne 0x408579
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b320
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b359
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404628
jmp 0x40b362
mov eax, ebx
mov edx, esi
call fcn.0040458c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b36c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b38d
mov al, byte [esp]
jmp 0x40b38f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c934
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c998
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004047a8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408188
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c99f
lea eax, [ebp - 0xc]
call fcn.00404538
ret

Function at 0x41c64c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041c4a4
dec esi
jne 0x41c66e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42a49c
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x42a4a4
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x42a696
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x42a6ac
mov eax, esi
call fcn.00427f94
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040458c
lea ecx, [ebp - 0x10]
mov edx, 0x42a6c0
mov eax, esi
call fcn.00427f94
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040458c
lea ecx, [ebp - 0x14]
mov edx, 0x42a6d8
mov eax, esi
call fcn.00427f94
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040458c
lea ecx, [ebp - 0x18]
mov edx, 0x42a6f4
mov eax, esi
call fcn.00427f94
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040458c
lea ecx, [ebp - 0x1c]
mov edx, 0x42a710
mov eax, esi
call fcn.00427f94
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040458c
lea ecx, [ebp - 0x24]
mov edx, 0x42a728
mov eax, esi
call fcn.00427f94
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00407d78
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408188
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x42a740
mov eax, esi
call fcn.00427f94
mov eax, dword [ebp - 0x28]
call fcn.00427090
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x42a750
mov eax, esi
call fcn.00427f94
mov eax, dword [ebp - 0x2c]
call fcn.00427090
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x42a768
mov eax, esi
call fcn.00427f94
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408188
inc eax
je 0x42a639
lea ecx, [ebp - 0x34]
mov edx, 0x42a768
mov eax, esi
call fcn.00427f94
mov eax, dword [ebp - 0x34]
call fcn.0040814c
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.00409a24
fstp qword [ebp - 0x3c]
wait
call fcn.00409d88
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x42a654
lea ecx, [ebp - 0x40]
mov edx, 0x42a768
mov eax, esi
call fcn.00427f94
mov eax, dword [ebp - 0x40]
call fcn.00427090
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x42a778
mov eax, esi
call fcn.00427f94
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.0040458c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a69d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.0040455c
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.0040455c
ret
Function at 0x4370b4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x43710e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004370a4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00425a74
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00425674
mov edx, dword [esi + 0xc]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x437115
lea eax, [ebp - 4]
call fcn.00404538
ret

Function at 0x43c374
Capabilities:
Encrypt data using des

Disassembly:
push ebx
mov ecx, edx
and cl, 0x20
mov ebx, edx
and bl, 0x1e
and ebx, 0xff
shr ebx, 1
or cl, bl
and dl, 1
shl edx, 4
or cl, dl
mov edx, ecx
and edx, 0xff
and eax, 0xff
shl eax, 3
lea eax, [eax*8 + 0x44ca88]
mov al, byte [eax + edx]
and al, 0xf
pop ebx
ret

Function at 0x43c3b0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
test ebx, ebx
js 0x43c3c8
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x43c3c1
mov eax, esp
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, 7
call fcn.00403040
xor edx, edx
mov eax, 0x44cc88
mov bl, byte [eax]
mov ecx, ebx
and cl, 7
and ecx, 0xff
push ecx
mov ecx, 7
pop esi
sub ecx, esi
mov esi, 1
shl esi, cl
xor ecx, ecx
mov cl, bl
shr ecx, 3
mov ebx, dword [ebp - 4]
movzx ecx, byte [ebx + ecx]
and esi, ecx
je 0x43c432
mov ecx, edx
and ecx, 7
push ecx
mov ecx, 7
pop ebx
sub ecx, ebx
mov bl, 1
shl bl, cl
mov ecx, edx
shr ecx, 3
mov esi, dword [ebp - 8]
or byte [esi + ecx], bl
inc edx
inc eax
cmp edx, 0x38
jne 0x43c3e6
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x43c670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
mov ebx, dword [ebp + 0x10]
test ebx, ebx
js 0x43c689
shr ebx, 2
mov esi, dword [ecx + ebx*4]
dec ebx
push esi
jns 0x43c682
mov ecx, esp
mov ebx, edx
test ebx, ebx
js 0x43c69b
shr ebx, 2
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x43c694
mov eax, esp
mov dword [ebp - 4], ecx
push 5
lea ecx, [ebp - 0xa]
call fcn.0043c264
mov ebx, 6
mov eax, dword [ebp - 4]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
xor byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x43c6b5
mov al, byte [ebp - 0xa]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0x12], dl
and al, 3
shl eax, 4
mov dl, byte [ebp - 9]
xor ecx, ecx
mov cl, dl
shr ecx, 4
or al, cl
mov byte [ebp - 0x11], al
and dl, 0xf
shl edx, 2
mov al, byte [ebp - 8]
xor ecx, ecx
mov cl, al
shr ecx, 6
or dl, cl
mov byte [ebp - 0x10], dl
and al, 0x3f
mov byte [ebp - 0xf], al
mov al, byte [ebp - 7]
xor edx, edx
mov dl, al
shr edx, 2
mov byte [ebp - 0xe], dl
and al, 3
shl eax, 4
xor edx, edx
mov dl, byte [ebp - 6]
shr edx, 4
or al, dl
mov byte [ebp - 0xd], al
mov al, byte [ebp - 6]
and al, 0xf
shl eax, 2
xor edx, edx
mov dl, byte [ebp - 5]
shr edx, 6
or al, dl
mov byte [ebp - 0xc], al
mov al, byte [ebp - 5]
and al, 0x3f
mov byte [ebp - 0xb], al
xor ebx, ebx
lea esi, [ebp - 0x12]
mov eax, ebx
mov dl, byte [esi]
call fcn.0043c374
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 8
jne 0x43c73a
mov ebx, 4
lea eax, [ebp - 0x12]
lea edx, [ebp - 0xa]
mov cl, byte [eax]
shl ecx, 4
or cl, byte [eax + 1]
mov byte [edx], cl
inc edx
add eax, 2
dec ebx
jne 0x43c757
lea eax, [ebp - 0xa]
mov edx, 5
call fcn.0043c2f4
mov ebx, 4
lea eax, [ebp - 0xa]
mov edx, dword [ebp + 0xc]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x43c780
mov esi, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x18]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43c798
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, ecx
test ebx, ebx
js 0x43c7b1
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x43c7aa
mov edx, esp
mov dword [ebp - 4], edx
mov ebx, eax
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dl, byte [eax]
mov byte [ecx], dl
inc ecx
inc eax
dec dword [ebp - 8]
jne 0x43c7c5
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043c15c
test bl, bl
jne 0x43c898
mov dword [ebp - 8], 0x10
mov dword [ebp - 0x14], 0x522c58
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x43c7fc
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x43c810
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov eax, dword [ebp - 0x14]
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043c670
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov bl, byte [edx]
xor bl, byte [esi]
mov byte [ecx], bl
inc ecx
inc esi
inc edx
dec eax
jne 0x43c842
add dword [ebp - 0x14], 6
dec dword [ebp - 8]
jne 0x43c7f1
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ecx, [ebp - 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x43c865
mov eax, 4
mov edx, dword [ebp + 0xc]
mov cl, byte [edx]
mov byte [edx + 4], cl
inc edx
dec eax
jne 0x43c876
mov eax, 4
lea edx, [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov bl, byte [edx]
mov byte [ecx], bl
inc ecx
inc edx
dec eax
jne 0x43c88a
jmp 0x43c953
cmp bl, 1
jne 0x43c953
mov dword [ebp - 8], 0xfffffff0
mov ebx, 0x522cb2
mov eax, 4
mov edx, dword [ebp + 0xc]
lea esi, [ebp - 0xc]
mov cl, byte [edx]
mov byte [esi], cl
inc esi
inc edx
dec eax
jne 0x43c8b8
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
mov cl, byte [edx]
mov byte [edx - 4], cl
inc edx
dec eax
jne 0x43c8cc
push 5
lea eax, [ebp - 0x10]
push eax
push 3
mov ecx, ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043c670
mov eax, 4
lea edx, [ebp - 0xc]
lea esi, [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add ecx, 4
mov dword [ebp - 0x18], ecx
mov cl, byte [edx]
xor cl, byte [esi]
mov edi, dword [ebp - 0x18]
mov byte [edi], cl
inc dword [ebp - 0x18]
inc esi
inc edx
dec eax
jne 0x43c8fe
sub ebx, 6
inc dword [ebp - 8]
jne 0x43c8ad
mov eax, 4
mov edx, dword [ebp + 0xc]
add edx, 4
lea ebx, [ebp - 0xc]
mov cl, byte [edx]
mov byte [ebx], cl
inc ebx
inc edx
dec eax
jne 0x43c925
mov eax, 4
mov ebx, dword [ebp + 0xc]
mov dl, byte [ebx]
mov byte [ebx + 4], dl
inc ebx
dec eax
jne 0x43c936
mov eax, 4
lea ebx, [ebp - 0xc]
mov edx, dword [ebp + 0xc]
mov cl, byte [ebx]
mov byte [edx], cl
inc edx
inc ebx
dec eax
jne 0x43c94a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.0043c1e0
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret 8
Function at 0x43cee4
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x43cfdf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
lea edx, [ebp - 8]
mov eax, 0x43cff8
call fcn.0043d000
lea eax, [ebp - 8]
mov edx, edi
call fcn.00404800
mov eax, dword [ebp - 8]
call fcn.004049f8
mov esi, eax
xor edx, edx
push ebp
push 0x43cfbf
push dword fs:[edx]
mov dword fs:[edx], esp
push esi
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenMutexA
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x43cf5e
mov byte [ebp - 1], 1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cfc9
mov eax, edi
call fcn.004049f8
push eax
push 0xffffffffffffffff
push 1
call sub.kernel32.dll_OpenMutexA
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
test eax, eax
jne 0x43cf8e
mov byte [ebp - 1], 1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cfc9
push esi
push 0xffffffffffffffff
push 0
call fcn.00406804
mov ebx, eax
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xb7
je 0x43cfab
cmp eax, 5
jne 0x43cfb5
mov byte [ebp - 1], 1
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43cfc9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cfe6
lea eax, [ebp - 8]
call fcn.00404538
ret

Function at 0x43d000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov edi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d07a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00404538
mov eax, dword [ebp - 4]
call fcn.004047f8
mov esi, eax
test esi, esi
jle 0x43d064
mov dword [ebp - 8], 1
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov bl, byte [eax + edx - 1]
xor bl, 0xa
lea eax, [ebp - 0xc]
mov edx, ebx
call fcn.00404720
mov edx, dword [ebp - 0xc]
mov eax, edi
call fcn.00404800
inc dword [ebp - 8]
dec esi
jne 0x43d03d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d081
lea eax, [ebp - 0xc]
call fcn.00404538
ret

Function at 0x43d158
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43d1cb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404538
mov dword [ebp - 8], 0x1e
lea eax, [ebp - 4]
mov edx, dword [ebp - 8]
call fcn.00404b84
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004049f8
push eax
call sub.advapi32.dll_GetUserNameA
test eax, eax
je 0x43d1b5
push ebx
mov ecx, dword [ebp - 8]
dec ecx
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00404a58
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d1d2
lea eax, [ebp - 4]
call fcn.00404538
ret
Function at 0x43d1d8
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd50
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404538
xor ecx, ecx
push ebp
push 0x43d2b5
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x190]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
push pe_nt_image_headers32
lea eax, [ebp - 0x290]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x290]
mov edx, esi
call fcn.00408778
lea eax, [ebp - 0x290]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x43d2a6
mov edx, dword [eax + 0xc]
test edx, edx
je 0x43d2a6
mov esi, dword [edx]
test esi, esi
je 0x43d2a6
push ebx
xor eax, eax
mov al, byte [esi]
mov dword [ebp - 0x2b0], eax
mov byte [ebp - 0x2ac], 0
xor eax, eax
mov al, byte [esi + 1]
mov dword [ebp - 0x2a8], eax
mov byte [ebp - 0x2a4], 0
xor eax, eax
mov al, byte [esi + 2]
mov dword [ebp - 0x2a0], eax
mov byte [ebp - 0x29c], 0
xor eax, eax
mov al, byte [esi + 3]
mov dword [ebp - 0x298], eax
mov byte [ebp - 0x294], 0
lea edx, [ebp - 0x2b0]
mov ecx, 3
mov eax, 0x43d2d0
call fcn.00408cec
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43d2bf
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43d4a0
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd6c
push ebx
push esi
push edi
mov ebx, eax
mov edx, ebx
mov eax, 0x43d540
call fcn.0043d000
xor edx, edx
push ebp
push 0x43d524
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x43d515
push pe_nt_image_headers32
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x294]
push eax
call sub.wsock32.dll_gethostbyname
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 4], eax
push dword [ebp - 4]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, ebx
call fcn.00404730
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43d52e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43df10
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43e00a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, ebx
call fcn.004047f8
cmp eax, 2
jl 0x43dfef
mov eax, ebx
call fcn.0040855c
test al, al
je 0x43dfef
lea ecx, [ebp - 8]
mov edx, 0x43e024
mov eax, ebx
call fcn.0043de88
xor eax, eax
push ebp
push 0x43dfe5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
mov eax, dword [ebp - 8]
call fcn.004049f8
mov esi, eax
push esi
call sub.kernel32.dll_CreateFileA_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x43dfdb
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00408604
mov eax, dword [ebp - 0xc]
call fcn.004047f8
mov edi, eax
inc edi
push 0
lea eax, [ebp - 0x10]
push eax
push edi
lea eax, [ebp - 0xc]
call fcn.00404a50
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
push ebx
call sub.kernel32.dll_CloseHandle_1
push esi
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43dfef
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e011
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040455c
ret

Function at 0x43e134
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x43e20a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov eax, ebx
call fcn.004047f8
cmp eax, 2
jl 0x43e1f4
xor eax, eax
push ebp
push 0x43e1ea
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
mov eax, ebx
call fcn.004049f8
push eax
call sub.kernel32.dll_CreateFileA_1
mov esi, eax
cmp esi, 0xffffffff
je 0x43e1e0
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00408604
mov eax, dword [ebp - 8]
call fcn.004047f8
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
call fcn.00404a50
push eax
push esi
call sub.kernel32.dll_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
push esi
call sub.kernel32.dll_CloseHandle_1
mov eax, ebx
call fcn.004049f8
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43e1f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e211
lea eax, [ebp - 8]
call fcn.00404538
ret

Function at 0x43e318
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov eax, ebx
call fcn.00404538
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x43e346
mov edx, ebx
lea eax, [esp + 4]
call fcn.00408848
add esp, 0x18
pop ebx
ret
Function at 0x43e44c
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbc8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], eax
lea edi, [ebp - 0x14]
xor eax, eax
push ebp
push 0x43e712
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404538
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x43e720
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43e6e7
xor ebx, ebx
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43e719
lea eax, [ebp - 0x430]
mov edx, 4
call fcn.0040455c
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.0040455c
ret