joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4690a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46913f
cmp dword [ebx + 0x94], 0
jne 0x469139
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x469028
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x469139
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4690ff
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x469139
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041aa04
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x46910e
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x469358
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4e1cb0]
cmp dword [eax + 0x30], 0
je 0x4694b5
test bl, bl
jne 0x469406
cmp dword [esi + 0x9c], 0
jne 0x4693fb
mov eax, esi
call fcn.0046bcf0
push eax
push 0x469284
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4693cc
mov eax, dword [0x4e1cb0]
call fcn.0046c3d0
test al, al
je 0x4693cc
mov eax, dword [0x4e1cd4]
call fcn.00406354
mov edi, eax
cmp edi, 0
jl 0x4693cc
push 0
mov eax, dword [0x4e1cd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4693b6
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4693fb
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041aa04
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4693db
inc dword [esi + 0x9c]
jmp 0x4694b5
cmp dword [esi + 0x9c], 0
jle 0x4694b5
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4694b5
cmp dword [esi + 0x44], 0
je 0x469461
mov eax, dword [0x4e1cb0]
call fcn.0046c3d0
test al, al
je 0x469461
mov eax, dword [0x4e1cd4]
call fcn.00406354
mov edi, eax
cmp edi, 0
jl 0x469461
push 5
mov eax, dword [0x4e1cd4]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x46944b
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x469490
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.0041aa04
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x469470
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4e1cd4
mov ecx, 1
mov edx, dword [0x469264]
call fcn.00406508
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x469f9c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x46a006
mov eax, ebx
call fcn.0046c3d0
test al, al
jne 0x46a006
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404f7c
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x469ff3
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x46a013
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ee0
jmp 0x46a013
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ee0
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x46b4f4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x46b562
mov eax, esi
call fcn.00453648
test al, al
je 0x46b562
mov eax, dword [ebx + 0x84]
call fcn.004532a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x46b562
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x46b556
push 0
mov eax, dword [ebx + 0x84]
call fcn.004532a8
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0044b08c
jmp 0x46b562
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0046b330
pop esi
pop ebx
ret
Function at 0x46cde4
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x40fae0]
call fcn.00405a80
xor eax, eax
push ebp
push 0x46cf85
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4daa18], 0
jne 0x46ce3f
mov ecx, dword [0x4dbf50]
mov dl, 1
mov eax, dword [0x408524]
call fcn.0040d73c
call fcn.004047e4
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004036b8
mov eax, ebx
call fcn.00405818
mov dword [ebp - 0x24], eax
mov esi, 0x46cf94
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406bec
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405828
test eax, eax
jle 0x46cf28
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46cf14
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004050fc
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46ceba
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00405130
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46ced0
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00405130
mov eax, dword [ebp - 0x54]
call fcn.00405338
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.004050fc
mov eax, dword [ebp - 0x58]
call fcn.00405338
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46cf16
xor eax, eax
test al, al
je 0x46cf21
mov ebx, 0x15
jmp 0x46cf2d
mov ebx, 0x10
jmp 0x46cf2d
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4daa18]
call fcn.0046cc08
mov eax, dword [ebp - 4]
call fcn.0046cc08
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406c04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46cf8c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404eb0
lea eax, [ebp - 0xc]
mov edx, dword [0x40fae0]
call fcn.00405b50
ret
Function at 0x470988
Capabilities:
Hide graphical window

Disassembly:
push ebx
add esp, 0xfffffff0
mov ebx, eax
mov eax, ebx
call fcn.004703e8
test byte [ebx + 0x285], 4
jne 0x470a1d
mov edx, esp
mov eax, ebx
call fcn.0044aa84
push esp
mov eax, ebx
call fcn.00453098
push eax
push 0
mov eax, ebx
test eax, eax
je 0x4709bd
sub eax, 0xfffffd34
push eax
push 0
push 0xfffffffffffffffb
mov eax, dword [ebx + 0x260]
push eax
mov eax, dword [eax]
call dword [eax + 0x2c]
cmp dword [ebx + 0x274], 0
jne 0x4709ee
mov ecx, dword [0x4dc16c]
mov dl, 1
mov eax, dword [0x46c634]
call fcn.0040d73c
call fcn.004047e4
mov eax, ebx
call fcn.00470f60
cmp byte [ebx + 0x57], 0
jne 0x470a24
mov eax, ebx
call fcn.004532a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x470a24
push 0
mov eax, ebx
call fcn.004532a8
push eax
call sub.user32.dll_ShowWindow
jmp 0x470a24
mov eax, ebx
call fcn.0044f434
add esp, 0x10
pop ebx
ret

Function at 0x475da4
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x475dd2
mov eax, ebx
call fcn.00476858
cmp dword [ebx + 0x40], 0
je 0x475dcb
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x475e43
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x475e35
cmp dword [ebx + 8], 0
je 0x475df4
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x475e06
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x475e35
cmp dword [ebx + 8], 0
je 0x475de7
cmp eax, 3
je 0x475e19
dec eax
jne 0x475de7
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x475de7
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x475de7
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x475e61
cmp dword [ebx + 0x14], 0xcc
je 0x475e61
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00475e6c
pop ebx
ret

Function at 0x498aac
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x498b13
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
call sub.user32.dll_GetWindowTextLengthA
mov ebx, eax
lea edi, [ebx + 1]
mov edx, edi
lea eax, [ebp - 4]
call fcn.004055c8
push edi
mov eax, dword [ebp - 4]
call fcn.00405338
push eax
push esi
call sub.user32.dll_GetWindowTextA
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x498b1a
lea eax, [ebp - 4]
call fcn.00404e8c
ret
Function at 0x49d26c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, eax
push 0x40
push 0x1000
push 0x100
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x49d2f6
xor edx, edx
push ebp
push 0x49d2d7
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov dword [eax], 0x448b5050
mov dword [eax + 4], 0x44890824
mov dword [eax + 8], 0x58b0424
lea edx, [ebx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], 0x8244489
mov dword [eax + 0x14], 0x25ff9058
mov dword [eax + 0x18], ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49d2f6
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x49e504
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405328
mov eax, dword [ebp - 8]
call fcn.00405328
xor eax, eax
push ebp
push 0x49e621
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov ebx, 0x14
mov dword [ebp - 0x24], 0x14
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 3
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], 3
mov dword [ebp - 0x3c], 2
mov eax, dword [ebp - 8]
call fcn.00405338
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], 3
mov eax, 0x49e634
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00405338
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x49e606
xor eax, eax
push ebp
push 0x49e5ff
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x24]
push eax
push 0x4b
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x49e5df
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x49e5e3
xor eax, eax
jmp 0x49e5e5
mov al, 1
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e606
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e628
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404eb0
ret
Function at 0x49e63c
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405328
mov eax, dword [ebp - 8]
call fcn.00405328
mov eax, dword [ebp - 0xc]
call fcn.00405328
mov eax, dword [ebp + 0xc]
call fcn.00405328
xor eax, eax
push ebp
push 0x49e7ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov ebx, 0x14
mov dword [ebp - 0x28], 0x14
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], 3
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], 3
mov dword [ebp - 0x40], 2
mov eax, dword [ebp - 8]
call fcn.00405338
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 3
mov eax, 0x49e7c0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x18], eax
push 0
push 0
push 0
push 1
mov eax, dword [ebp - 4]
call fcn.00405338
push eax
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x49e788
xor edx, edx
push ebp
push 0x49e781
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0
push 3
mov eax, dword [ebp + 0xc]
call fcn.00405338
push eax
mov eax, dword [ebp - 0xc]
call fcn.00405338
push eax
movzx eax, word [ebp + 8]
push eax
mov eax, dword [ebp - 8]
call fcn.00405338
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetConnectA
test eax, eax
je 0x49e76a
push ebx
lea eax, [ebp - 0x28]
push eax
push 0x4b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x49e761
push 0
push 0
push 0x25
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetSetOptionA
test eax, eax
jne 0x49e765
xor eax, eax
jmp 0x49e767
mov al, 1
mov byte [ebp - 0xd], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e788
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e7b2
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404eb0
lea eax, [ebp + 0xc]
call fcn.00404e8c
ret
Function at 0x49e7c8
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
push ebx
mov byte [ebp - 1], 0
mov ebx, 0x14
mov dword [ebp - 0x1c], 0x14
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 3
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 3
mov dword [ebp - 0x34], 2
mov eax, 0x49e890
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 3
mov eax, 0x49e894
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
push 0x49e890
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x49e887
xor eax, eax
push ebp
push 0x49e880
push dword fs:[eax]
mov dword fs:[eax], esp
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x4b
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
push 0
push 0
push 0x25
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49e887
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
movzx eax, byte [ebp - 1]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49ea88
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x49ec9a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x20], 0x105
mov eax, dword [ebp - 0x20]
call fcn.00402f44
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x49eb06
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
test eax, eax
je 0x49eaf0
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x10]
call fcn.00405084
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49eb0d
mov eax, dword [ebp - 0x10]
call fcn.00402f60
ret

Function at 0x49ffb8
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov bl, 2
lea eax, [ebp - 0xa]
xor ecx, ecx
mov edx, 0xa
call fcn.004036b8
push 0xa
lea eax, [ebp - 0xa]
push eax
push 0xd
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x49fff2
cmp byte [ebp - 0xa], 0x31
jne 0x49fff0
mov bl, 1
jmp 0x49fff2
xor ebx, ebx
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4a1504
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
mov dword [ebp - 4], edx
mov esi, eax
xor ebx, ebx
mov eax, esi
call fcn.00453648
test al, al
je 0x4a15bd
mov byte [ebp - 9], 0
xor ebx, ebx
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
jmp 0x4a159b
cmp word [esi + 0x642], 0
je 0x4a1555
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 9]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [esi + 0x644]
call dword [esi + 0x640]
cmp byte [ebp - 9], 0
jne 0x4a1572
cmp dword [ebp - 4], 0
jbe 0x4a156e
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
ja 0x4a1572
xor ebx, ebx
jmp 0x4a1574
mov bl, 1
test bl, bl
jne 0x4a15bd
mov eax, dword [0x4dc2a8]
mov eax, dword [eax]
cmp byte [eax + 0xa4], 0
jne 0x4a15bd
mov eax, dword [0x4dc2a8]
mov eax, dword [eax]
call fcn.0046a450
push 1
call sub.kernel32.dll_Sleep_2
test esi, esi
je 0x4a15bd
cmp byte [esi + 0x5ec], 0
jne 0x4a15bd
mov edx, 0xfffffdf3
mov eax, esi
call fcn.00470d98
cmp eax, 4
jne 0x4a1532
test bl, bl
sete al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd44
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x29c], ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405328
xor eax, eax
push ebp
push 0x4a6d46
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
xor ecx, ecx
push ebp
push 0x4a6d1e
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x100
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostname
lea eax, [ebp - 0x298]
mov edx, dword [ebp - 4]
call fcn.0040a458
lea eax, [ebp - 0x298]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x4a6d07
mov edx, dword [eax + 0xc]
test edx, edx
je 0x4a6d01
mov ebx, dword [edx]
test ebx, ebx
je 0x4a6cfb
lea eax, [ebp - 0x29c]
push eax
movzx eax, byte [ebx]
mov dword [ebp - 0x2bc], eax
mov byte [ebp - 0x2b8], 0
movzx eax, byte [ebx + 1]
mov dword [ebp - 0x2b4], eax
mov byte [ebp - 0x2b0], 0
movzx eax, byte [ebx + 2]
mov dword [ebp - 0x2ac], eax
mov byte [ebp - 0x2a8], 0
movzx eax, byte [ebx + 3]
mov dword [ebp - 0x2a4], eax
mov byte [ebp - 0x2a0], 0
lea edx, [ebp - 0x2bc]
mov ecx, 3
mov eax, 0x4a6d60
call fcn.0040aac8
mov edx, dword [ebp - 0x29c]
mov eax, esi
call fcn.00404ee0
mov byte [ebp - 5], 1
jmp 0x4a6d0b
mov byte [ebp - 5], 0
jmp 0x4a6d0b
mov byte [ebp - 5], 0
jmp 0x4a6d0b
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6d25
call sub.wsock32.dll_WSACleanup
ret
Function at 0x4a6ecc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a6ff5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00405338
mov edi, eax
push edi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jbe 0x4a6fd4
mov eax, dword [ebp - 0x10]
call fcn.00402f2c
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push edi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4a6fca
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4a7004
push ebx
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x14], 0
je 0x4a6f78
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
shr eax, 0x10
movzx eax, ax
mov edx, dword [ebp - 0x14]
movzx edx, word [edx]
shl edx, 0x10
or eax, edx
lea ecx, [ebp - 4]
mov edx, 8
call fcn.00409a8c
push 0x4a7028
push dword [ebp - 4]
push 0x4a7044
lea eax, [ebp - 0x120]
mov edx, 3
call fcn.0040523c
mov edx, dword [ebp - 0x120]
lea eax, [ebp - 0x119]
call fcn.0040a458
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x119]
push eax
push ebx
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4a6fca
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
call fcn.0040a5d8
mov edx, dword [ebp - 0xc]
mov eax, ebx
call fcn.00402f60
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a6ffc
lea eax, [ebp - 0x120]
call fcn.00404e8c
lea eax, [ebp - 4]
call fcn.00404e8c
ret

Function at 0x4a71c4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4a72a7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404e8c
lea eax, [ebp - 8]
push eax
push 0x23
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x4a724e
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x4a724e
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10d]
call fcn.0040a5d8
push dword [ebp - 0x114]
push 0x4a72bc
push 0x4a72c8
push 0x4a72bc
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040523c
mov eax, dword [ebp - 4]
call fcn.00409eec
test al, al
jne 0x4a7277
lea edx, [ebp - 0x118]
mov eax, dword [ebp - 4]
call fcn.0040a134
mov eax, dword [ebp - 0x118]
call fcn.00409f10
test al, al
je 0x4a7281
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00404ee0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a72ae
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.00404eb0
lea eax, [ebp - 4]
call fcn.00404e8c
ret
Function at 0x4a7d4c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x108], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4a7dc4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404e8c
push 0
push esi
lea eax, [ebp - 0x104]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
test eax, eax
je 0x4a7dab
lea edx, [ebp - 0x108]
lea eax, [ebp - 0x104]
call fcn.0040a5d8
mov eax, dword [ebp - 0x108]
mov edx, ebx
call fcn.0040e424
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a7dcb
lea eax, [ebp - 0x108]
call fcn.00404e8c
ret