joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441660
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x88
mov eax, dword [0x464380]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
mov ebp, dword [esp + 0x94]
mov ebx, dword [ebp]
push esi
mov esi, dword [ebp + 0x3d0]
push edi
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x80
mov edx, dword [esi + 0x154]
mov eax, dword [esi + 0x15c]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x14]
push 0
add edx, 4
lea edi, [esi + 0x15c]
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [esi + 0x148], 0
mov dword [esi + 0x14c], eax
jne 0x4416ef
mov edx, dword [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esi + 0xc8]
push ecx
call fcn.00412ea0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esi + 0x148], edx
mov edx, dword [esi + 0x14c]
cmp edx, 4
jge 0x44172a
push str.Received_too_short_packet
push ebx
call fcn.00437370
add esp, 8
mov dword [esi + 0xc], 7
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00413205
add esp, 0x88
ret
mov eax, edi
call fcn.00440540
movzx eax, ax
mov dword [esi + 0xc], eax
add eax, 0xfffffffd
cmp eax, 3
ja case.default.0x441743
jmp dword [eax*4 + 0x441830]
cmp edx, 4
jle case.0x441743.4
mov eax, edi
call fcn.00440550
movzx ecx, word [esi + 0x40]
add ecx, 1
cmp cx, ax
jne case.0x441743.4
add edx, 0xfffffffc
push edx
mov edx, dword [edi]
add edx, 4
push edx
push 1
push ebp
call fcn.00437650
mov edi, eax
add esp, 0x10
test edi, edi
je 0x441798
mov ecx, 5
mov eax, esi
call fcn.004415e0
mov eax, edi
jmp 0x441711
mov eax, dword [esi + 0x14c]
sub eax, 4
cdq
add dword [ebx + 0x38], eax
mov ecx, dword [ebx + 0x38]
adc dword [ebx + 0x3c], edx
mov eax, dword [ebx + 0x3c]
push eax
push ecx
push ebx
call fcn.0044e220
jmp 0x441804
mov eax, edi
call fcn.00440550
movzx edx, ax
mov eax, dword [edi]
add eax, 4
push eax
push 0x45b068
push ebx
mov dword [esi + 8], edx
call fcn.004372e0
jmp 0x441804
mov ecx, dword [edi]
add edx, 0xfffffffe
push edx
add ecx, 2
push ecx
push esi
call fcn.004405f0
add esp, 0xc
test eax, eax
je case.0x441743.4
jmp 0x441711
push str.Internal_error:_Unexpected_packet
push 0x45aed4
push ebx
call fcn.00437370
add esp, 0xc
push ebp
call fcn.0044e2e0
add esp, 4
test eax, eax
je 0x44170f
mov ecx, 5
mov eax, esi
call fcn.004415e0
mov eax, 0x2a
jmp 0x441711

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

Disassembly:
push ecx
mov edx, dword [edi + 0x130]
mov al, byte [esp + 8]
push esi
mov esi, dword [edi]
push 0
push 3
lea ecx, [esp + 0xc]
push ecx
push edx
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], al
mov byte [esp + 0x16], bl
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jge 0x4435e4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push esi
call fcn.00437370
add esp, 0xc
mov esi, dword [esp + 0xc]
mov ecx, dword [edi]
push str.SENT
mov eax, ebx
call fcn.00443490
add esp, 4
pop esi
pop ecx
ret
Function at 0x444c30
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
sub esp, 0x18
mov eax, dword [0x464380]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
mov ebx, dword [esi + 0x134]
push ebp
push edi
mov edi, dword [esi]
push 1
push 0
push edi
or ebp, 0xffffffff
mov dword [esp + 0x18], 0x10
call fcn.004377b0
add esp, 0xc
test eax, eax
jl 0x444c99
mov ecx, 0x3e8
cmp eax, ecx
jge 0x444c70
mov ecx, eax
push ecx
push 0xffffffffffffffff
push ebx
call fcn.0044cca0
add esp, 0xc
cmp eax, 0xffffffff
je 0x444d34
test eax, eax
jne 0x444cbe
push 1
push eax
push edi
call fcn.004377b0
add esp, 0xc
test eax, eax
jge 0x444c65
push str.Timeout_while_waiting_for_server_connect
push edi
call fcn.00437370
add esp, 8
pop edi
pop ebp
mov eax, 0x1c
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00413205
add esp, 0x18
ret
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push ebx
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x444cee
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x14]
push eax
push ebx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.WS2_32.dll_accept]
mov ebp, eax
push ebx
push esi
call fcn.00437fc0
add esp, 8
cmp ebp, 0xffffffff
jne 0x444d04
push str.Error_accept__ing_server_connect
jmp 0x444d39
push str.Connection_accepted_from_server_n
push edi
call fcn.004372e0
push 1
push ebp
mov dword [esi + 0x134], ebp
call fcn.00450870
add esp, 0x10
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00413205
add esp, 0x18
ret
push str.Error_while_waiting_for_server_connect
push edi
call fcn.00437370
mov ecx, dword [esp + 0x28]
add esp, 8
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, 0x1e
call fcn.00413205
add esp, 0x18
ret
Function at 0x44cca0
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
sub esp, 0x31c
push ebx
mov ebx, dword [esp + 0x324]
push ebp
mov ebp, dword [esp + 0x32c]
push esi
xor esi, esi
cmp ebx, 0xffffffff
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
jne 0x44cce4
cmp ebp, ebx
jne 0x44cce4
mov eax, dword [esp + 0x334]
push eax
call fcn.0044cc70
add esp, 4
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
push edi
mov edi, dword [esp + 0x338]
cmp edi, esi
jle 0x44ccff
mov esi, edi
call fcn.0043c0c0
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
xor eax, eax
xor ecx, ecx
or edx, 0xffffffff
cmp ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov dword [esp + 0x124], eax
je 0x44cd33
mov ecx, 1
mov dword [esp + 0x128], ebx
mov dword [esp + 0x124], ecx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
mov edx, ebx
cmp ebp, 0xffffffff
mov dword [esp + 0x228], eax
je 0x44cd7a
test ecx, ecx
mov dword [esp + 0x22c], ebp
mov dword [esp + 0x228], 1
jbe 0x44cd62
cmp dword [esp + eax*4 + 0x24], ebp
je 0x44cd62
add eax, 1
cmp eax, ecx
jb 0x44cd55
cmp eax, ecx
jne 0x44cd74
cmp ecx, 0x40
jae 0x44cd74
mov dword [esp + eax*4 + 0x24], ebp
add dword [esp + 0x20], 1
cmp ebp, edx
jbe 0x44cd7a
mov edx, ebp
xor ebx, ebx
test edi, edi
setl bl
lea ecx, [esp + 0x18]
lea ebp, [edx + 1]
sub ebx, 1
and ebx, ecx
lea ecx, [ecx]
xor eax, eax
cmp edi, eax
jle 0x44cdc1
mov eax, 0x10624dd3
imul esi
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x18], eax
imul eax, eax, 0x3e8
mov edx, esi
sub edx, eax
imul edx, edx, 0x3e8
mov dword [esp + 0x1c], edx
jmp 0x44cdcb
jne 0x44cdcb
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x230]
push ecx
lea edx, [esp + 0x130]
push edx
push ebp
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x44ce35
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x44cdfe
cmp eax, 0x2714
jne 0x44ce39
test edi, edi
jle 0x44cd90
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call fcn.0043c0c0
push edx
push eax
call fcn.0043c0f0
mov esi, edi
sub esi, eax
add esp, 0x10
test esi, esi
jg 0x44cd90
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
test eax, eax
jge 0x44ce47
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x31c
ret
jne 0x44ce56
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x31c
ret
mov edi, dword [esp + 0x330]
xor esi, esi
cmp edi, 0xffffffff
je 0x44ce8d
lea edx, [esp + 0x124]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44ce7b
mov esi, 1
lea eax, [esp + 0x20]
push eax
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44ce8d
or esi, 4
mov edi, dword [esp + 0x334]
cmp edi, 0xffffffff
je 0x44cec0
lea ecx, [esp + 0x228]
push ecx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44ceae
or esi, 2
lea edx, [esp + 0x20]
push edx
push edi
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x44cec0
or esi, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x31c
ret
Function at 0x40c95c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
mov esi, 0x4b5c4c
push 0xa
push 0x40c9f0
mov eax, dword [0x4b5c3c]
push eax
call sub.kernel32.dll_FindResourceW
mov ebx, eax
test ebx, ebx
jne 0x40c980
call fcn.00417984
push ebx
mov eax, dword [0x4b5c3c]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
test ebx, ebx
jne 0x40c997
call fcn.00417984
push ebx
call sub.kernel32.dll_LockResource
mov dword [esi], eax
cmp dword [esi], 0
jne 0x40c9a9
call fcn.00417984
mov eax, dword [esi]
mov edx, dword [esi]
mov ecx, edx
add ecx, dword [eax]
mov dword [0x4b5c50], ecx
mov ecx, edx
add ecx, dword [eax + 4]
mov dword [0x4b5c54], ecx
mov ecx, edx
add ecx, dword [eax + 8]
mov dword [0x4b5c58], ecx
mov ecx, edx
add ecx, dword [eax + 0xc]
mov dword [0x4b5c5c], ecx
mov ecx, edx
add ecx, dword [eax + 0x10]
mov dword [0x4b5c60], ecx
add edx, dword [eax + 0x14]
mov dword [0x4b5c64], edx
pop esi
pop ebx
ret

Function at 0x4102a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x410349
test eax, edx
je 0x41034c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x4102c9
push edx
mov edx, eax
mov eax, esp
call fcn.00406a3c
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x4102df
push eax
lea eax, [esp + 8]
call fcn.00406a3c
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x4102ee
movzx eax, word [eax]
sub eax, ecx
jmp 0x410315
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41032f
add ecx, 4
js 0x410306
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x41032c
push eax
mov eax, ecx
mov edx, 2
call fcn.00406054
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x410313
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x410315
xor eax, eax
ret
test eax, eax
je 0x41035c
test edx, edx
jne 0x4102b0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.004068c4
push eax
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x4115ae
test al, 0x10
sete al
pop esi
pop ebx
ret
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
cmp ebx, 2
je 0x4115cf
cmp ebx, 3
je 0x4115cf
cmp ebx, 0x7b
je 0x4115cf
mov eax, esi
call fcn.00411550
test al, al
jne 0x4115d3
xor eax, eax
jmp 0x4115d5
mov al, 1
pop esi
pop ebx
ret

Function at 0x414c34
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x414c6d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406974
jmp 0x414c76
mov eax, ebx
mov edx, esi
call fcn.00406838
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x414c80
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x414ca2
movzx eax, word [esp]
jmp 0x414ca4
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x415434
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x415559
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00415244
mov esi, eax
mov eax, dword [0x4b2240]
cmp byte [eax], 0
je 0x415501
mov eax, dword [0x4b2000]
call fcn.0040467c
call fcn.0040433c
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41540c]
call fcn.00407ffc
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x415574
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41553d
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4b1f9c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4b5c3c]
call fcn.004080f0
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415560
lea eax, [ebp - 4]
mov edx, dword [0x41540c]
call fcn.00408008
ret
Function at 0x416710
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4167e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040688c
lea eax, [ebp - 4]
call fcn.00407224
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004068c4
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x4167d0
mov eax, ebx
call fcn.004041d4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4167c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004068c4
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x4167b3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4167f8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueW
test eax, eax
je 0x4167b3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4167d0
mov eax, dword [ebp - 0x10]
call fcn.004041f0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4167ed
lea eax, [ebp - 4]
call fcn.00406828
ret

Function at 0x41782c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.00406364
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
mov edi, eax
cmp edi, 0x104
jbe 0x4177d6
mov eax, edi
add eax, eax
call fcn.004041d4
mov esi, eax
jmp 0x4177d8
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call sub.kernel32.dll_MultiByteToWideChar_1
push edi
push esi
call sub.user32.dll_CharUpperBuffW
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x417811
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x4177fb
mov eax, esp
cmp esi, eax
je 0x41781e
mov eax, esi
call fcn.004041f0
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x417858
cmp bl, 0
je 0x417854
cmp bl, 0x41
jl 0x41784f
cmp bl, 0x5a
jg 0x41784f
or bl, 0x20
xor al, bl
inc esi
jmp 0x417833
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x417798
Function at 0x43a734
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43a7d2
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43a796
cmp byte [ebx + 0x10], 0
jne 0x43a796
cmp byte [ebx + 0x3c], 0
jne 0x43a796
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
je 0x43a7b7
lea edx, [ebp - 4]
mov eax, dword [0x4b21ec]
call fcn.004099b8
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x42b460]
call fcn.00415578
call fcn.00405868
jmp 0x43a7b7
lea edx, [ebp - 8]
mov eax, dword [0x4b21ec]
call fcn.004099b8
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x42b460]
call fcn.00415578
call fcn.00405868
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43a7d9
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406830
ret

Function at 0x43b050
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x43b09e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0043a6b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43b0b7
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43b0c0
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.0043a6b8
dec esi
jne 0x43b0e2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43c8fc
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4b7f8c
cmp dword [edi], 0
jne 0x43c978
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4b7f88]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4b0fe4
mov ecx, 2
call fcn.0040438c
mov edx, 0x43c8d4
lea eax, [esi + 5]
call fcn.0043c8f4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043c8f4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43c94d
mov dword [0x4b7f88], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x443b3c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x443cb7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.0040688c
mov eax, dword [ebp - 4]
call fcn.004433d4
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x443b8e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00407030
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.004447e8
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x443c6d
xor eax, eax
push ebp
push 0x443c66
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044373c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00443cec
test al, al
je 0x443c44
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.00406974
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x443c44
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004068c4
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044369c
test al, al
je 0x443c3e
mov eax, dword [ebp - 8]
call fcn.004068c4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004069e4
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00443b3c
dec ebx
cmp ebx, 0xffffffff
jne 0x443bed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443c6d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0044373c
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 4]
call fcn.004068c4
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00443728
push eax
call sub.advapi32.dll_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044369c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x443cbe
lea eax, [ebp - 0x3c]
call fcn.00406828
lea eax, [ebp - 8]
mov edx, 2
call fcn.00406830
ret

Function at 0x4446c4
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00443448
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004068c4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0044369c
test al, al
jne 0x44472c
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b2148]
mov dl, 1
mov eax, dword [0x4421f8]
call fcn.0041577c
call fcn.00405868
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x444738
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004068c4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
mov edx, eax
mov eax, ebx
call fcn.0044369c
test al, al
jne 0x444799
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4b2380]
mov dl, 1
mov eax, dword [0x4421f8]
call fcn.0041577c
call fcn.00405868
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00443478
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x444d98
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x444ec0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0044373c
xor eax, eax
push ebp
push 0x444e9b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00443cec
test al, al
je 0x444e7f
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00444c78
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.00406974
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x444e7f
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004068c4
push eax
push edi
push esi
call sub.advapi32.dll_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044369c
test al, al
je 0x444e7b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004068c4
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004069e4
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00444c78
pop ecx
inc edi
dec ebx
jne 0x444e23
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444ea2
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0044373c
ret