joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4357c0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
push 0
lea ebx, [esi + 0x30]
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test edi, edi
jne 0x4357e2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x34
ret
push edi
call fcn.00464af0
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.00464a50
mov eax, dword [esi + 8]
add esp, 0x10
push eax
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4357d9
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.004354a0
test eax, eax
je 0x4357d9
mov eax, dword [esp + 0x14]
mov edx, eax
mov word [esi + 0xe], ax
mov eax, dword [esp + 0x18]
shr edx, 0x10
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x1c]
shr ecx, 0x10
mov word [esi + 0xc], dx
mov edx, eax
mov word [esi + 0x10], cx
mov word [esi + 0x16], ax
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0x18], cx
mov ecx, dword [esp + 0x2c]
shr edx, 0x10
mov word [esi + 0x14], dx
mov edx, dword [esp + 0x24]
mov word [esi + 0x1a], ax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x24], ecx
push 0x104
lea ecx, [esi + 0x238]
push ecx
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x3c]
push 0x4a3c8c
mov ecx, esi
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
call fcn.004355e0
test eax, eax
je 0x4357d9
push 0x104
lea edx, [esi + 0x648]
push edx
push 0x4a3c6c
mov ecx, esi
call fcn.004355e0
test eax, eax
je 0x4357d9
push 0x104
lea eax, [esi + 0x440]
push eax
push 0x4a3c54
mov ecx, esi
call fcn.004355e0
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x34
ret

Function at 0x4359c0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x4a3cb4
push 1
push 0
push 0x4a3ca4
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x435a24
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jl 0x435a24
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x435a34
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x435a44
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x4385f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49a988
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push esi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0xc]
call fcn.00445020
xor ebx, ebx
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], ebx
call fcn.00445a70
test al, al
jne 0x43867c
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
jne 0x438674
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [esi], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov bl, 1
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x43867e
mov bl, 1
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0040c410
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00464500
add esp, 0x24
ret
Function at 0x4390f0
Capabilities:
Get token membership

Disassembly:
sub esp, 0x14
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
xor ebx, ebx
lea eax, [esp + 8]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x38], bl
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], bl
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
cmp eax, ebx
mov dword [esp + 4], eax
je 0x43916b
mov eax, dword [esp + 8]
lea edx, [esp + 4]
push edx
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x43915a
mov dword [esp + 4], ebx
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [esp + 4]
cmp eax, ebx
mov ecx, dword [esp + 0x14]
setne al
pop ebx
xor ecx, esp
call fcn.00464500
add esp, 0x14
ret
Function at 0x439de0
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x49aaf3
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0x248], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x260]
mov dword fs:[0], eax
mov esi, dword [esp + 0x270]
mov ebp, dword [esp + 0x274]
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x50], esi
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x58]
push ebx
mov edi, 1
push eax
mov dword [esp + 0x274], ebx
mov dword [esp + 0x20], edi
call fcn.00464a50
add esp, 0xc
push edi
push 0x2b
lea ecx, [esp + 0x5c]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x439f87
lea eax, [esp + 0x54]
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x439e93
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x3c]
call fcn.00409af0
push str.TencentQQDownload
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x274], edi
call fcn.0040a1e0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x274], 2
call fcn.004098f0
mov edi, 8
cmp dword [esp + 0x30], edi
jb 0x439efa
mov edx, dword [esp + 0x1c]
push edx
call fcn.00464539
add esp, 4
cmp dword [esp + 0x4c], edi
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], ebx
mov word [esp + 0x1c], bx
mov byte [esp + 0x268], bl
jb 0x439f25
mov eax, dword [esp + 0x38]
push eax
call fcn.00464539
add esp, 4
cmp dword [ebp + 0x14], ebx
je 0x439f6d
push ebp
lea ecx, [esp + 0x1c]
push 0x4a25b4
push ecx
call fcn.0042fd90
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x274], 3
call fcn.004098f0
cmp dword [esp + 0x30], edi
mov byte [esp + 0x268], bl
jb 0x439f6d
mov edx, dword [esp + 0x1c]
push edx
call fcn.00464539
add esp, 4
push esi
call fcn.004397c0
add esp, 4
test al, al
jne 0x439f94
push esi
call fcn.00439920
add esp, 4
cmp al, bl
jne 0x439f94
push ebx
push 0x4a3668
mov ecx, esi
call fcn.00409af0
mov eax, esi
mov ecx, dword [esp + 0x260]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00464500
add esp, 0x258
ret
Function at 0x439fc0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49ab51
mov eax, dword fs:[0]
push eax
sub esp, 0x470
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0x46c], eax
push ebx
push esi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x47c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x48c]
xor ebx, ebx
test byte [0x4bbcb8], 1
mov dword [esp + 0xc], ebx
jne 0x43a03a
or dword [0x4bbcb8], 1
push 0x4a01f0
mov dword [0x4bbcb4], 7
mov dword [0x4bbcb0], ebx
mov word [0x4bbca0], bx
call fcn.00465238
add esp, 4
cmp dword [0x4bbcb0], ebx
jne 0x43a1bc
push 0x208
lea eax, [esp + 0x274]
push ebx
push eax
call fcn.00464a50
add esp, 0xc
push 1
push 0x1a
lea ecx, [esp + 0x278]
push ecx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x43a126
lea edx, [esp + 0x270]
push edx
lea ecx, [esp + 0x4c]
call fcn.0040a1a0
push str.TencentTencentdl
push eax
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x490], ebx
call fcn.0040a1e0
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4bbc9c
mov byte [esp + 0x490], 1
call fcn.004098f0
cmp dword [esp + 0x44], 8
jb 0x43a0cc
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00464539
add esp, 4
cmp dword [esp + 0x60], 8
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
mov dword [esp + 0x484], 0xffffffff
jb 0x43a0fc
mov edx, dword [esp + 0x4c]
push edx
call fcn.00464539
add esp, 4
push 0x4bbc9c
call fcn.004397c0
add esp, 4
test al, al
jne 0x43a1bc
push 0x4bbc9c
call fcn.00439920
add esp, 4
cmp al, bl
jne 0x43a1bc
push 0x208
lea eax, [esp + 0x6a]
push ebx
push eax
mov word [esp + 0x70], bx
call fcn.00464a50
add esp, 0xc
push 0x20a
lea ecx, [esp + 0x68]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x64]
push 0x5c
push edx
call fcn.00466e42
add esp, 8
cmp eax, ebx
je 0x43a165
mov word [eax], bx
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x14]
call fcn.0040a1a0
push 0xffffffffffffffff
push ebx
push eax
mov ecx, 0x4bbc9c
mov dword [esp + 0x490], 2
call fcn.00409a00
cmp dword [esp + 0x28], 8
mov dword [esp + 0x484], 0xffffffff
jb 0x43a1ab
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00464539
add esp, 4
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
push 0xffffffffffffffff
push ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 0x4bbc9c
mov ecx, esi
mov word [esi + 4], bx
call fcn.00409a00
mov eax, esi
mov ecx, dword [esp + 0x47c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x46c]
xor ecx, esp
call fcn.00464500
add esp, 0x47c
ret
Function at 0x43a210
Capabilities:
Get common file path
Get startup folder

Disassembly:
push 0xffffffffffffffff
push 0x49abcb
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0x454], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x46c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x47c]
xor ebx, ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], ebx
mov ebp, 7
mov edi, 1
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
mov dword [esp + 0x474], edi
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x264]
push ebx
push eax
mov dword [esp + 0x3c], edi
call fcn.00464a50
mov cl, byte [esp + 0x4ac]
add esp, 0xc
neg cl
push edi
lea edx, [esp + 0x264]
sbb ecx, ecx
and ecx, 0xfffffff7
add ecx, 0x23
push ecx
push edx
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
lea edi, [ebx + 8]
je 0x43a388
lea eax, [esp + 0x260]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43a2d5
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x264]
push eax
lea ecx, [esp + 0x1c]
call fcn.00409af0
lea ecx, [esp + 0x484]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x40]
push eax
mov byte [esp + 0x480], 2
call fcn.00413f70
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [esp + 0x480], 3
call fcn.004098f0
cmp dword [esp + 0x50], edi
jb 0x43a33e
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00464539
add esp, 4
cmp dword [esp + 0x2c], edi
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
mov byte [esp + 0x474], 1
jb 0x43a366
mov edx, dword [esp + 0x18]
push edx
call fcn.00464539
add esp, 4
push esi
call fcn.004397c0
add esp, 4
test al, al
jne 0x43a428
push esi
call fcn.00439920
add esp, 4
cmp al, bl
jne 0x43a428
push 0x208
lea eax, [esp + 0x5a]
push ebx
push eax
mov word [esp + 0x60], bx
call fcn.00464a50
add esp, 0xc
push 0x20a
lea ecx, [esp + 0x58]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x54]
push 0x5c
push edx
call fcn.00466e42
add esp, 8
cmp eax, ebx
je 0x43a3c7
mov word [eax], bx
lea eax, [esp + 0x54]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], bx
lea edx, [eax + 2]
jmp 0x43a3e0
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x43a3e0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x1c]
call fcn.00409af0
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov byte [esp + 0x480], 4
call fcn.00409a00
cmp dword [esp + 0x2c], edi
jb 0x43a428
mov edx, dword [esp + 0x18]
push edx
call fcn.00464539
add esp, 4
cmp dword [esp + 0x49c], edi
jb 0x43a441
mov eax, dword [esp + 0x488]
push eax
call fcn.00464539
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.00464500
add esp, 0x464
ret
Function at 0x43aaa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x49ac48
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0x48], eax
push esi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x68]
mov esi, 8
cmp dword [esp + 0x7c], esi
mov dword [esp + 0x5c], 0
jb 0x43ab15
test ecx, ecx
mov eax, ecx
je 0x43ab06
cmp word [eax], 0
je 0x43ab06
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43ab02
test al, 0x10
je 0x43ab1b
mov ecx, dword [esp + 0x68]
cmp dword [esp + 0x7c], esi
jb 0x43abcd
jmp 0x43abc4
lea eax, [esp + 0x68]
jmp 0x43aaec
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x28]
call fcn.0043bb50
lea ecx, [esp + 0x24]
mov dword [esp + 8], 0x4a29d8
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x84]
push edx
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x10]
push ecx
mov byte [esp + 0x68], 2
call fcn.0043a8b0
add esp, 0xc
test al, al
je 0x43abac
mov edx, dword [esp + 0x80]
push edx
lea ecx, [esp + 0x14]
call fcn.004385c0
test al, al
je 0x43abac
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 0
call fcn.0043b8a0
cmp dword [esp + 0x7c], esi
jb 0x43aba8
mov eax, dword [esp + 0x68]
push eax
call fcn.00464539
add esp, 4
mov al, 1
jmp 0x43abcf
lea ecx, [esp + 0x24]
mov byte [esp + 0x5c], 0
call fcn.0043b8a0
cmp dword [esp + 0x7c], esi
jb 0x43abcd
mov ecx, dword [esp + 0x68]
push ecx
call fcn.00464539
add esp, 4
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.00464500
add esp, 0x58
ret

Function at 0x43acf0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49acfe
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0x4a3e3c
push fcn.00408c40
push 3
push 4
lea eax, [esi + 0x34]
push eax
mov dword [esp + 0x28], 2
call fcn.00464d0f
mov eax, dword [esi + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x4b8100]
mov byte [esp + 0x18], 1
je 0x43ad6b
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x43ad6b
mov eax, dword [esi + 0x30]
sub eax, 0xc
push eax
call fcn.004647ea
add esp, 4
mov eax, dword [esi + 0x2c]
lea edx, [eax - 0xc]
cmp edx, dword [0x4b8100]
mov byte [esp + 0x18], 0
je 0x43ad97
add eax, 0xfffffff4
push eax
call edi
test eax, eax
jg 0x43ad97
mov eax, dword [esi + 0x2c]
sub eax, 0xc
push eax
call fcn.004647ea
add esp, 4
mov esi, dword [esi + 0x14]
test esi, esi
mov dword [esp + 0x18], 0xffffffff
je 0x43adac
push esi
call fcn.00492c9a
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
Function at 0x43b280
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x49acfe
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x4b9658]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esi], 0x4a3e3c
mov dword [esi + 0x24], ebx
mov ecx, dword [0x4b8104]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x2c], ecx
mov edx, dword [0x4b8104]
mov dword [esi + 0x30], edx
push fcn.00408c40
push 0x408de0
push 3
push 4
lea eax, [esi + 0x34]
push eax
mov byte [esp + 0x2c], 2
call fcn.00465b4c
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
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 + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
mov byte [esi + 0x94], bl
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x43b570
Capabilities:
Delete file

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x43b57b
xor al, al
ret
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
sub eax, 1
neg eax
sbb eax, eax
add eax, 1
ret

Function at 0x43b700
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
cmp eax, 0xffffffff
mov dword [esi + 0x24], 0
je 0x43b76c
mov edx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
push 0
lea ecx, [esp + 0xc]
push ecx
push edi
push edx
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x43b73e
mov dword [esp + 8], eax
jmp 0x43b742
mov eax, dword [esp + 8]
cmp edi, eax
pop edi
jne 0x43b754
mov ecx, dword [esp + 0x14]
mov dword [ecx], eax
mov al, 1
pop esi
pop ecx
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.0043b600
mov dword [esi + 0x24], eax
xor al, al
pop esi
pop ecx
ret 0xc
mov dword [esi + 0x24], 1
xor al, al
pop esi
pop ecx
ret 0xc
Function at 0x43c170
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x11c
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0x118], eax
push ebp
push esi
mov esi, dword [esp + 0x128]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [esp + 0x1c]
push eax
push 0x20019
push 0
push str.SystemCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318
push reloc.OLEAUT32.dll_SysReAllocString
mov ebp, 3
mov dword [esp + 0x2c], 0x104
mov dword [esp + 0x28], 1
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
call edi
test eax, eax
jne 0x43c304
push esi
push str._sConnection
lea ecx, [esp + 0x28]
push 0x103
push ecx
call fcn.0043c150
mov ecx, dword [esp + 0x2c]
add esp, 0x10
lea edx, [esp + 0x10]
push edx
push 0x20019
push 0
lea eax, [esp + 0x2c]
push eax
push ecx
call edi
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x43c2fd
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.MediaSubType
push edx
call esi
test eax, eax
jne 0x43c2f6
push 0x104
push eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x103
call fcn.00464a50
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.PnpInstanceID
push ecx
call esi
test eax, eax
jne 0x43c2f6
mov esi, 1
cmp dword [esp + 0xc], esi
jne 0x43c2e6
push ebp
lea edx, [esp + 0x24]
push 0x4a3ee0
push edx
call fcn.004679c2
add esp, 0xc
test eax, eax
jne 0x43c2c1
xor ebp, ebp
jmp 0x43c2f6
cmp dword [esp + 0xc], esi
jne 0x43c2e6
push 3
lea eax, [esp + 0x24]
push 0x4a3ee0
push eax
call fcn.004679c2
add esp, 0xc
test eax, eax
je 0x43c2e6
mov ebp, 2
jmp 0x43c2f6
xor ecx, ecx
cmp dword [esp + 0xc], 2
setne cl
lea ecx, [ecx + ecx + 1]
mov ebp, ecx
mov edx, dword [esp + 0x10]
push edx
call edi
mov eax, dword [esp + 0x1c]
push eax
call edi
mov ecx, dword [esp + 0x124]
pop edi
pop esi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.00464500
add esp, 0x11c
ret
Function at 0x43d080
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x4b9658]
xor eax, esp
mov dword [esp + 0x14], eax
mov ax, word [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push esi
push 0x11
push 2
push 2
mov word [esp + 0x14], 2
mov word [esp + 0x16], ax
mov dword [esp + 0x18], ecx
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 4], 0x10000
je 0x43d0f3
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea edx, [esp + 0xc]
push edx
push 0x1002
push 0xffff
push esi
call edi
push 4
lea eax, [esp + 0xc]
push eax
push 0x1001
push 0xffff
push esi
call edi
pop edi
cmp byte [esp + 0x28], 0
je 0x43d137
lea ecx, [esp + 4]
push ecx
push 0x8004667e
push esi
mov dword [esp + 0x10], 1
call dword [sym.imp.WS2_32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x43d137
cmp esi, 0xffffffff
je 0x43d124
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
or eax, 0xffffffff
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00464500
add esp, 0x18
ret
push 0x10
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x43d118
mov ecx, dword [esp + 0x18]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00464500
add esp, 0x18
ret

Function at 0x43d480
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 4]
push edx
push 0
lea eax, [esi + 8]
push eax
push 0x43cd20
push 0
push 0
mov byte [esi + 0x18], 0
mov dword [eax], esi
mov dword [esi + 0xc], ecx
call fcn.00466434
add esp, 0x18
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x43d4bc
mov dword [esi + 4], 0
cmp dword [esi + 4], 0
jne 0x43d4cd
mov byte [esi + 0x18], 1
xor al, al
pop esi
pop ecx
ret 4
mov al, 1
pop esi
pop ecx
ret 4