joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4462c7
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov eax, ecx
push esi
push edi
mov dword [ebp - 4], eax
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4462d7
sub eax, edx
sar eax, 1
mov ebx, eax
lea edi, [ebx + ebx + 2]
mov eax, edi
call section..text
mov esi, esp
push edi
push dword [ebp - 4]
mov dword [ebp - 8], esi
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 0x5c
pop edi
cmp word [esi], di
jne 0x446324
cmp word [esi + 2], di
jne 0x446324
lea eax, [esi + 4]
cmp word [eax], 0x3f
jne 0x446337
cmp word [esi + 6], di
jne 0x446337
add esi, 8
cmp ebx, 3
jl 0x446333
cmp word [esi + 2], 0x3a
jne 0x446333
add esi, 6
mov ecx, esi
jmp 0x44637d
push 2
pop ecx
mov esi, eax
movzx eax, word [esi]
inc esi
inc esi
cmp ax, di
jne 0x446349
dec ecx
je 0x446333
test ax, ax
jne 0x44633c
xor al, al
jmp 0x44638c
push 0
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jne 0x44636e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
jne 0x44634e
cmp word [esi], 0
mov eax, edi
mov word [esi - 2], ax
je 0x44638a
lea ecx, [esi + 2]
mov edx, edi
call fcn.0043aba7
mov esi, eax
test esi, esi
jne 0x446352
mov al, 1
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x446394
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 0x10]
mov edi, edx
push dword [ebp + 0xc]
mov ebx, ecx
call fcn.00445582
test eax, eax
jne 0x4463e4
push esi
mov esi, dword [ebp + 8]
push eax
lea eax, [ebp + 0x10]
push eax
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x4463ca
call dword [sym.imp.KERNEL32.DLL_GetLastError]
jmp 0x4463e3
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x4463e1
sub esi, eax
push esi
add eax, edi
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x446649
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
push ebx
mov eax, edx
push esi
mov ebx, ecx
push edi
mov edx, 0x499dac
mov ecx, eax
call fcn.00444ef3
mov esi, eax
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov ecx, esi
mov edi, eax
call fcn.004444cc
cmp edi, 0xffffffff
je 0x4466c5
cmp byte [ebp + 8], 0
jne 0x446693
cmp word [ebp - 0x228], 0x2e
je 0x4466ac
lea ecx, [ebp - 0x228]
call fcn.00444cbc
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov ecx, ebx
call fcn.0044661d
lea eax, [ebp - 0x254]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x446683
push edi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4478e0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x87c
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0x14]
push esi
push edi
test ecx, ecx
je 0x447991
cmp word [ecx + 0x3d], 0x18
jne 0x447918
push dword [ebp + 0x7c]
push dword [ebp + 0x78]
push dword [ebp + 0x74]
push dword [ebx + 4]
call fcn.00447309
jmp 0x4479dc
lea ecx, [ebp + 0x40]
call fcn.00439654
mov eax, dword [ebx + 4]
lea ecx, [ebp + 0x74]
push ecx
lea ecx, [ebp - 0x40]
push ecx
push 0
push 0x7d0
lea ecx, [ebp - 0x810]
push ecx
push eax
mov dword [ebp + 0x74], 0x80
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp + 0x78], eax
cmp eax, 0xffffffff
je 0x447967
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x56]
call fcn.004396e0
lea esi, [ebp + 0x56]
lea edi, [ebp + 0x40]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ebx, dword [ebx + 0x14]
add ebx, 0xd5
push ebx
lea ecx, [ebp + 0x40]
call fcn.004397d6
test al, al
jne 0x447982
or eax, 0xffffffff
jmp 0x4479dc
mov eax, dword [ebp + 0x78]
inc eax
neg eax
sbb eax, eax
not eax
and eax, dword [ebp + 0x78]
jmp 0x4479dc
call fcn.00404bd8
test al, al
jne 0x44797d
mov ebx, dword [ebx + 4]
lea eax, [ebp + 0x68]
push eax
lea eax, [ebp - 0x40]
push eax
push 0
push dword [ebp + 0x78]
mov dword [ebp + 0x68], 0x80
push dword [ebp + 0x74]
push ebx
call dword [sym.imp.WS2_32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4479da
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 0x56]
call fcn.004396e0
mov edi, dword [ebp + 0x7c]
lea esi, [ebp + 0x56]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov eax, ebx
pop edi
pop esi
pop ebx
add ebp, 0x6c
leave
ret 0xc
Function at 0x447ad4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x19c
push ebx
push esi
mov esi, dword [ebp + 0x78]
movzx eax, word [esi + 0x10]
push eax
mov dword [ebp + 0x60], ecx
mov byte [ebp - 0xb6], 0
mov byte [ebp - 0xb7], 0
mov byte [ebp - 0xb8], 0
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp + 0x7c], 0
movzx ebx, ax
mov dword [ebp + 0x78], ebx
je 0x447b52
mov eax, dword [ebp + 0x7c]
mov byte [ebp - 0xb5], 3
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x447b20
sub eax, edx
mov ebx, eax
push ebx
push dword [ebp + 0x7c]
lea eax, [ebp - 0xb3]
push eax
mov byte [ebp - 0xb4], bl
call sub.MSVCRT.dll_memcpy
mov ax, word [ebp + 0x78]
add esp, 0xc
mov word [ebp + ebx - 0xb3], ax
jmp 0x447b90
mov ecx, esi
call fcn.00404a32
test al, al
je 0x447b76
mov eax, dword [esi + 0xc]
mov byte [ebp - 0xb5], 1
mov dword [ebp - 0xb4], eax
mov word [ebp - 0xb0], bx
jmp 0x447b90
push edi
mov byte [ebp - 0xb5], 4
lea edi, [ebp - 0xb4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov word [ebp - 0xa4], bx
pop edi
lea eax, [ebp - 0xb8]
mov ecx, eax
mov dword [ebp + 0x54], eax
call fcn.00447294
mov ecx, dword [ebp + 0x60]
mov dword [ebp + 0x50], eax
mov eax, dword [ebp + 0x74]
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp + 0x5c], eax
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp - 0x138]
push eax
add ecx, 0xd5
call fcn.00426684
xor esi, esi
push esi
push esi
push dword [ebp + 0x78]
lea eax, [ebp - 0x138]
push eax
push esi
lea eax, [ebp + 0x7c]
push eax
push 2
lea eax, [ebp + 0x50]
push eax
push dword [ebp + 0x6c]
mov dword [ebp + 0x7c], esi
call dword [sym.imp.WS2_32.dll_WSASendTo]
cmp eax, esi
mov esi, eax
jne 0x447bf6
mov esi, dword [ebp + 0x7c]
or eax, 0xffffffff
cmp esi, eax
je 0x447c16
lea ecx, [ebp - 0xb8]
call fcn.00447294
mov ecx, eax
cmp esi, ecx
jg 0x447c12
xor eax, eax
jmp 0x447c16
mov eax, esi
sub eax, ecx
pop esi
pop ebx
add ebp, 0x64
leave
ret 0x14
Function at 0x447e6c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
lea edi, [ebx + 0x48]
push edi
mov ecx, esi
call fcn.004397d6
test al, al
je 0x447e92
cmp word [esi + 0x10], 0
jne 0x447f88
cmp dword [ebx + 4], 0xffffffff
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
je 0x447ea7
push 0
mov ecx, ebx
call fcn.0042a9d7
push 0
push 2
lea ecx, [ebx + 0x48]
call fcn.00404a32
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xffffffeb
add eax, 0x17
push eax
mov ecx, ebx
call fcn.0042a990
cmp dword [ebx + 4], 0xffffffff
je 0x447f88
mov esi, dword [ebp + 8]
push esi
mov ecx, ebx
call fcn.0042afd2
cmp eax, 0xffffffff
jne 0x447f03
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
mov ecx, edi
call fcn.004295c2
push eax
push edi
push esi
push str.UDP_port_bind_failed__A:___d___s
call fcn.004890f7
add esp, 0x10
jmp 0x447f15
cmp word [esi + 0x10], 0
jne 0x447f15
mov ecx, ebx
call fcn.004294e2
mov word [ebx + 0x58], ax
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [ebp - 4]
push eax
push 0x1002
mov edi, 0xffff
push edi
push dword [ebx + 4]
mov dword [ebp - 4], 0x200000
call esi
cmp eax, 0xffffffff
jne 0x447f54
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [ebp - 4]
push str.UDP_setsockopt_SO_RCVBUF___d__failed:__d
call fcn.00489130
add esp, 0xc
push 4
lea eax, [ebp - 4]
push eax
push 0x1001
push edi
push dword [ebx + 4]
call esi
cmp eax, 0xffffffff
jne 0x447f81
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push dword [ebp - 4]
push str.UDP_setsockopt_SO_SNDBUF___d__failed:__d
call fcn.00489130
add esp, 0xc
mov ecx, ebx
call fcn.00429469
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x44c708
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
push esi
mov esi, ecx
cmp byte [esi + 0x50], 0
push edi
je 0x44c72e
push 0x44b245
push 0x10
push 0x10
push 3
call fcn.0044b3a4
mov dword [esi + 0x44], eax
push 0x44c5db
push 9
push 9
push 2
mov ecx, esi
call fcn.0044b3a4
mov dword [esi + 0x48], eax
lea eax, [ebp - 0x208]
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
jne 0x44c760
mov word [ebp - 0x208], ax
push 0x4011
mov edi, 0x2b4
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x10
lea eax, [ebp - 0x208]
push eax
call fcn.004688e6
mov dword [esi + 0x40], eax
mov eax, dword [ebp - 0x4b8]
push 0x4013
mov dword [esi + 0x54], eax
push edi
lea eax, [ebp - 0x4bc]
push eax
push 0x10
lea eax, [ebp - 0x208]
push eax
call fcn.004688e6
mov eax, dword [ebp - 0x4b8]
pop edi
mov dword [esi + 0x58], eax
pop esi
leave
ret
Function at 0x44ed69
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
mov esi, ecx
xor ebx, ebx
jmp 0x44ee44
cmp eax, 0xffffffff
je 0x44ee44
cmp dword [esi + 0x10], ebx
je 0x44ee28
mov eax, dword [ebp - 0x1c]
lea ecx, [eax - 0x100]
cmp ecx, 9
ja 0x44ee28
cmp byte [esi + 0xc], bl
jne 0x44ee44
cmp eax, 0x100
jne 0x44edca
push dword [ebp - 0x20]
mov ecx, dword [esi + 0x10]
push dword [ebp - 0x18]
mov eax, dword [ecx]
push 0xfffffffffffffffd
pop edx
call dword [eax + 0x14]
test eax, eax
jne 0x44ee44
cmp dword [ebp - 0x1c], 0x101
jne 0x44ede8
push dword [ebp - 0x20]
mov ecx, dword [esi + 0x10]
push dword [ebp - 0x18]
mov eax, dword [ecx]
push 0xfffffffffffffffc
pop edx
call dword [eax + 0x14]
test eax, eax
jne 0x44ee44
lea eax, [ebp - 4]
push eax
push 0x44eca8
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 4], ebx
jne 0x44ee28
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 4]
cmp eax, dword [esi + 0x14]
jne 0x44ee19
cmp dword [ebp - 0x1c], 0x100
jne 0x44ee28
cmp dword [ebp - 0x18], 9
jne 0x44ee28
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x44ee44
lea ecx, [ebp - 0x20]
call fcn.0041e00b
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20]
push eax
call edi
cmp eax, ebx
jne 0x44ed81
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x44f59a
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
cmp dword [ecx + 8], 0xffffff96
jne 0x44f5a8
mov ecx, dword [ecx + 0x20]
jmp fcn.0043ad91
mov eax, dword [ecx + 0x20]
ret

Function at 0x44f66c
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
mov dword [esi], eax
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.DLL_GetCurrentThreadId]
mov dword [0x4c7214], eax
push 0
mov edx, esi
mov ecx, 0x44ece7
mov byte [esi + 0xc], 0
mov byte [esi + 0xd], 0
call fcn.0045208d
push dword [0x4c7214]
push 0
push eax
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [esi + 4], eax
pop esi
ret 4
Function at 0x45005a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
movzx eax, dx
push 5
mov esi, ecx
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4500d7
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_LoadResource]
mov edi, eax
test edi, edi
je 0x4500b3
push edi
call dword [sym.imp.KERNEL32.DLL_LockResource]
push ebx
push esi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov ebx, eax
test ebx, ebx
jne 0x4500b7
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
xor eax, eax
jmp 0x4500d6
push esi
push dword [ebp - 4]
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.DLL_FreeResource]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4500d4
mov dword [eax], esi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4523d0
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
inc dword [0x4c99b0]
push ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov dword [ebp - 8], ebx
call fcn.0042957f
lea ecx, [ebx + 0x164]
call fcn.00411cfd
test eax, eax
je 0x452405
call fcn.00429590
xor al, al
jmp 0x4525aa
test dword [ebp + 8], 0x200
push esi
push edi
jne 0x452538
test byte [ebx + 0x43], 0x80
jne 0x452538
call fcn.00411a9a
mov ecx, eax
call fcn.00411a20
mov edi, eax
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x45242f
sub eax, edx
sar eax, 1
test dword [ebp + 8], 0x100
mov esi, eax
jne 0x45246f
push esi
push edi
push dword [ebp - 4]
call sub.MSVCRT.dll_wcsncmp
add esp, 0xc
test eax, eax
jne 0x45246f
mov ecx, dword [ebp - 4]
call fcn.00443673
sub eax, dword [ebp - 4]
sar eax, 1
inc esi
cmp eax, esi
jbe 0x452538
push edi
mov ecx, ebx
call fcn.0040526d
mov edi, dword [sym.imp.KERNEL32.DLL_CopyFileW]
push 0
mov esi, eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x45251d
mov ecx, esi
call fcn.004462c7
test al, al
je 0x4524a6
push 0
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x45251d
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
call fcn.00429590
mov edi, dword [0x4cf9e4]
mov ecx, ebx
call fcn.004295c2
push eax
push ebx
push esi
push dword [ebp - 4]
push edi
call fcn.004890f7
add esp, 0x14
test byte [ebp + 8], 4
jne 0x4524fa
push esi
push dword [0x4cf9e0]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0x35
call fcn.00450a1d
add esp, 0xc
mov edi, eax
jmp 0x4524fd
push 2
pop edi
mov ecx, esi
call fcn.004444cc
cmp edi, 2
je 0x452516
call fcn.0042957f
mov ebx, dword [ebp - 8]
jmp 0x452414
xor al, al
jmp 0x4525a8
push 0x80
push esi
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
push esi
mov ecx, ebx
call fcn.00405220
mov ecx, esi
call fcn.004444cc
inc dword [0x4c9990]
mov eax, dword [ebx + 0x1cc]
test eax, eax
je 0x45255f
mov ecx, dword [0x4c3a38]
push eax
call fcn.00402f35
push eax
push 7
mov edx, ebx
pop ecx
call fcn.0043a4ac
mov edx, dword [ebp + 8]
shr edx, 1
and dl, 1
mov ecx, ebx
call fcn.00413442
test byte [ebp + 8], 0x40
je 0x45257d
mov ecx, ebx
call fcn.0040f90f
jmp 0x45258c
test byte [ebx + 0x43], 0x80
jne 0x45258c
push 0
mov ecx, ebx
call fcn.0040d77e
test byte [ebp + 8], 0x10
je 0x452596
or dword [ebx + 0x50], 0xffffffff
push 0
xor edx, edx
xor ecx, ecx
call fcn.00413027
call fcn.00429590
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x453109
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x5c]
call fcn.0045336c
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.BtAppInstallTail
lea ecx, [ebp - 0x5c]
call fcn.0044f522
lea ecx, [ebp - 0x5c]
call fcn.00453323
lea edi, [esi + 0x24]
push edi
call dword [0x4c7310]
cmp eax, 5
je 0x45314f
cmp eax, 3
jne 0x45316c
push ebx
push dword [esi + 0x74]
call dword [0x4c72fc]
push 2
push ebx
push edi
call dword [0x4c72f0]
push ebx
push 2
call dword [0x4c72fc]
push 0x14
pop edx
lea ecx, [ebp - 0x28]
call fcn.00443483
lea eax, [ebp - 0x28]
push eax
push 0x4900b8
lea eax, [ebp - 0x88]
push 0x29
push eax
call fcn.0043c4e7
add esp, 0x10
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 8]
call fcn.00401980
mov ecx, dword [ebp - 8]
cmp ecx, ebx
je 0x4531b0
xor eax, eax
cmp word [ecx], bx
sete al
cmp al, bl
je 0x4531e2
mov eax, dword [esi]
cmp eax, ebx
jne 0x4531bb
mov eax, 0x4945b8
push 0x5c
push eax
call sub.MSVCRT.dll_wcsrchr
pop ecx
pop ecx
cmp eax, ebx
je 0x4531ce
add eax, 2
jmp 0x4531d9
mov eax, dword [esi]
cmp eax, ebx
jne 0x4531d9
mov eax, 0x4945b8
push eax
lea ecx, [ebp - 8]
call fcn.004019c6
mov edx, dword [ebp - 8]
cmp edx, ebx
jne 0x4531ee
mov edx, 0x4945b8
push edi
or edi, 0xffffffff
push edi
push edi
lea ecx, [ebp - 0x28]
call fcn.00423681
push str._MSIExecute
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexW]
mov dword [ebp - 0xc], eax
cmp eax, ebx
je 0x4532bc
cmp eax, edi
je 0x4532bc
push edi
push eax
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov eax, dword [esi + 8]
mov edi, 0x4945b8
cmp eax, ebx
jne 0x453232
mov eax, edi
lea ecx, [ebp - 0x88]
push ecx
push eax
push str.BTAPPS__s__PAIRINGKEY__S_
call fcn.0043c7bb
add esp, 0xc
lea ecx, [esi + 0x24]
mov dword [ebp - 0x14], eax
call fcn.004530be
push ebx
push dword [esi + 0x74]
call dword [0x4c72fc]
mov eax, dword [ebp - 0x14]
cmp eax, ebx
jne 0x453265
mov eax, edi
mov esi, dword [esi]
cmp esi, ebx
jne 0x45326d
mov esi, edi
push eax
push esi
call dword [0x4c72f4]
push ebx
push 2
mov esi, eax
call dword [0x4c72fc]
call dword [0x4c7340]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_ReleaseMutex]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp esi, ebx
jne 0x4532ad
lea ecx, [ebp - 0x5c]
call fcn.004533c7
push dword [ebp - 0x58]
call dword [sym.imp.USER32.dll_DestroyWindow]
call fcn.00452b8e
mov ecx, dword [ebp - 0x14]
call fcn.004444cc
jmp 0x4532c4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp byte [ebp - 4], bl
je 0x4532d1
mov ecx, dword [ebp - 8]
call fcn.004444cc
lea ecx, [ebp - 0x5c]
call fcn.0045338f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x453902
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x530
push ebx
mov edx, 0x49b5b8
lea ecx, [ebp - 0x30]
xor ebx, ebx
call fcn.00445b6e
test al, al
jne 0x453929
mov eax, str.cant_load_wininet.dll
jmp 0x453b0a
push esi
push ebx
push ebx
push ebx
push ebx
push 0x4906a4
call dword [ebp - 0x30]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x453947
mov esi, str.InternetOpen_failed
jmp 0x453b07
push ebx
push ebx
push 3
mov eax, 0x49013b
push eax
push eax
push 0x50
push str.update.utorrent.com
push dword [ebp - 8]
call dword [ebp - 0x2c]
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x453970
mov esi, str.InternetConnect_failed
jmp 0x453b01
push edi
call sub.MSVCRT.dll__getpid
mov esi, eax
call fcn.004549f2
push dword [ebp + 0xc]
movzx ecx, byte [ebp + 0x14]
push ecx
push esi
push eax
push 0x622a
push str._crash.php_ver_dUh_sp_dUpr_dUs_dU
mov dword [ebp - 0x14], eax
mov edi, 0x500
lea eax, [ebp - 0x530]
push edi
push eax
call fcn.0043c4e7
add esp, 0x20
mov esi, eax
cmp byte [0x4c86d8], bl
je 0x4539d4
push 0x4c86d8
mov eax, edi
sub eax, esi
push 0x49b768
push eax
lea eax, [ebp + esi - 0x530]
push eax
call fcn.0043c4e7
add esp, 0x10
add esi, eax
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x4539fc
cmp byte [eax], bl
je 0x4539fc
push eax
mov eax, edi
sub eax, esi
push str.dl_s
push eax
lea eax, [ebp + esi - 0x530]
push eax
call fcn.0043c4e7
add esp, 0x10
add esi, eax
mov eax, edi
sub eax, esi
push str.wm
push eax
lea eax, [ebp + esi - 0x530]
push eax
call fcn.0043c4e7
add esi, eax
mov edx, edi
add esp, 0xc
sub edx, esi
lea ecx, [ebp + esi - 0x530]
call fcn.0041e058
mov ecx, dword [ebp - 0x14]
call fcn.004444cc
mov esi, dword [ebp + 8]
mov eax, str.POST
cmp esi, ebx
jne 0x453a41
mov eax, 0x4933b0
push ebx
push 0x4000000
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x530]
push ecx
push eax
push dword [ebp - 0xc]
call dword [ebp - 0x28]
mov edi, eax
cmp edi, ebx
jne 0x453a68
mov esi, str.HttpOpenRequest_failed
jmp 0x453afa
mov eax, str.Content_type:_application_binary
cmp esi, ebx
jne 0x453a76
mov eax, 0x49013b
mov ecx, esi
neg ecx
sbb ecx, ecx
and ecx, dword [ebp + 0xc]
push ecx
push esi
push 0xffffffffffffffff
push eax
push edi
call dword [ebp - 0x24]
test eax, eax
jne 0x453a93
mov esi, str.HttpSendRequest_failed
jmp 0x453af6
push ebx
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x20000013
push edi
mov dword [ebp - 4], 4
call dword [ebp - 0x1c]
test eax, eax
jne 0x453ab7
mov esi, str.HttpQueryInfo_failed
jmp 0x453af6
cmp dword [ebp - 0x10], 0xc8
je 0x453af4
push dword [ebp - 0x10]
mov esi, 0x4c8ad8
push str.Error__d_:
push 0x64
push esi
call fcn.0043c4e7
add esp, 0x10
push 0x64
pop ecx
sub ecx, eax
push ebx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 4]
push ecx
lea eax, [eax + 0x4c8ad8]
push eax
push 0x14
push edi
call dword [ebp - 0x1c]
jmp 0x453af6
mov esi, ebx
push edi
call dword [ebp - 0x20]
push dword [ebp - 0xc]
call dword [ebp - 0x20]
pop edi
push dword [ebp - 8]
call dword [ebp - 0x20]
mov eax, esi
pop esi
pop ebx
leave
ret 0x10
Function at 0x453bb1
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x5c]
push edi
push eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
call sub.MSVCRT.dll_memset
mov ebx, dword [ebp + 0xc]
add esp, 0xc
mov dword [ebp - 0x5c], esi
cmp ebx, edi
je 0x453c17
mov esi, dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push 2
push 1
push edi
lea eax, [ebp + 0xc]
push eax
call esi
push eax
push ebx
call esi
push eax
call dword [sym.imp.KERNEL32.DLL_DuplicateHandle]
test eax, eax
je 0x453c00
mov eax, dword [ebp + 0xc]
or dword [ebp - 0x30], 0x100
or dword [ebp - 0x30], 1
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp + 8]
xor eax, eax
push edi
cmp ebx, edi
setne al
push edi
push eax
push edi
push edi
push dword [ebp - 4]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp + 0xc], eax
cmp eax, edi
je 0x453c5f
mov eax, dword [ebp + 0x10]
cmp eax, edi
je 0x453c55
mov ecx, dword [ebp - 0x18]
mov dword [eax], ecx
jmp 0x453c5a
push dword [ebp - 0x18]
call esi
push dword [ebp - 0x14]
call esi
cmp ebx, edi
je 0x453c68
push dword [ebp - 0x1c]
call esi
xor eax, eax
cmp dword [ebp + 0xc], edi
pop edi
pop esi
setne al
pop ebx
leave
ret 0xc

Function at 0x453ed0
Capabilities:
Create process on windows

Disassembly:
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.00411a9a
cmp byte [eax + 0x11d], 0
push esi
je 0x453eec
push str._AUTOUPDATE___s___1
jmp 0x453ef1
push str._AUTOUPDATE___s_
call fcn.0043c748
pop ecx
pop ecx
push 1
push 0
push eax
push edi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ecx, ecx
cmp eax, 0x20
setg cl
pop edi
mov al, cl
pop esi
ret

Function at 0x453f49
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
push esi
mov esi, 0x104
push esi
lea eax, [ebp - 0x410]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0
push 0x20
lea edx, [ebp - 0x208]
xor ecx, ecx
call fcn.00468f52
test eax, eax
je 0x453fb2
lea eax, [ebp - 0x208]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x453f86
sub eax, edx
sar eax, 1
cmp eax, 0xa
jbe 0x453fb2
lea edx, [ebp - 0x208]
lea ecx, [ebp - 0x410]
call fcn.0043a992
test al, al
je 0x453fb2
mov al, 1
jmp 0x454005
lea eax, [ebp - 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
test eax, eax
je 0x454003
lea edx, [ebp - 0x208]
push esi
mov ecx, edx
call fcn.0046920a
lea eax, [ebp - 0x208]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x453fdb
sub eax, edx
sar eax, 1
cmp eax, 0xa
jbe 0x454003
lea edx, [ebp - 0x208]
lea ecx, [ebp - 0x410]
call fcn.0043a992
test al, al
jne 0x453fae
xor al, al
pop esi
leave
ret