joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4da760
Capabilities:
Get socket status
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x22c
mov eax, dword [0x5a4aa8]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x234]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x18], eax
jne 0x4da79a
lea eax, [ebx - 0x3e]
jmp 0x4da8c2
cmp eax, ebx
je 0x4da90e
cmp edi, ebx
je 0x4da90e
mov ecx, dword [esi + 0x14]
push 4
lea eax, [esp + 0x18]
push eax
push 0x20
push 0xffff
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x4da7d5
mov eax, 0xffffffb8
jmp 0x4da8c2
xor eax, eax
push ebp
mov ebp, dword [esi + 0x10]
mov dword [esp + 0x228], eax
push 0x900f
mov dword [esp + 0x230], eax
mov dword [esp + 0x234], eax
mov word [esp + 0x238], ax
mov word [esp + 0x22c], 6
call dword [sym.imp.WS2_32.dll_htons]
push 4
push edi
lea edx, [esp + 0x232]
push edx
mov ecx, esi
mov word [esp + 0x240], ax
call sym.Setup.exe_private:_void___thiscall_OctetString::AtoH_char___char___unsigned_long_int_
push 6
add edi, 8
push edi
lea eax, [esp + 0x236]
push eax
mov ecx, esi
call sym.Setup.exe_private:_void___thiscall_OctetString::AtoH_char___char___unsigned_long_int_
mov eax, dword [esi + 0x14]
mov edi, 1
cmp dword [esi + 0xc], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x124], edi
mov dword [esp + 0x128], eax
jne 0x4da872
mov ecx, dword [esi + 8]
imul ecx, ecx, 0x3e8
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
jmp 0x4da87d
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
test ebp, ebp
jl 0x4da8bf
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x4da8a7
lea ebx, [eax - 0x46]
jmp 0x4da8b9
cmp eax, edi
jne 0x4da8b4
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 0x14]
je 0x4da8dc
mov ebx, 0xffffffb7
sub ebp, edi
test ebp, ebp
jge 0x4da881
mov eax, ebx
pop ebp
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004fa103
add esp, 0x22c
ret 0xc
mov edx, dword [esp + 0x248]
mov eax, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x22c]
push ecx
mov ecx, dword [esi + 0x14]
push 0
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
sub eax, 0xffffffff
neg eax
sbb eax, eax
and eax, 0x49
add eax, 0xffffffb7
jmp 0x4da8c1
mov eax, 0xffffffba
jmp 0x4da8c2
Function at 0x4da77c
Capabilities:
Get socket status
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x22c
mov eax, dword [0x5a4aa8]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [esp + 0x234]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], ebx
push edi
mov edi, dword [esp + 0x23c]
mov dword [esp + 0x18], eax
jne 0x4da79a
lea eax, [ebx - 0x3e]
jmp 0x4da8c2
cmp eax, ebx
je 0x4da90e
cmp edi, ebx
je 0x4da90e
mov ecx, dword [esi + 0x14]
push 4
lea eax, [esp + 0x18]
push eax
push 0x20
push 0xffff
push ecx
mov dword [esp + 0x28], ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x4da7d5
mov eax, 0xffffffb8
jmp 0x4da8c2
xor eax, eax
push ebp
mov ebp, dword [esi + 0x10]
mov dword [esp + 0x228], eax
push 0x900f
mov dword [esp + 0x230], eax
mov dword [esp + 0x234], eax
mov word [esp + 0x238], ax
mov word [esp + 0x22c], 6
call dword [sym.imp.WS2_32.dll_htons]
push 4
push edi
lea edx, [esp + 0x232]
push edx
mov ecx, esi
mov word [esp + 0x240], ax
call sym.Setup.exe_private:_void___thiscall_OctetString::AtoH_char___char___unsigned_long_int_
push 6
add edi, 8
push edi
lea eax, [esp + 0x236]
push eax
mov ecx, esi
call sym.Setup.exe_private:_void___thiscall_OctetString::AtoH_char___char___unsigned_long_int_
mov eax, dword [esi + 0x14]
mov edi, 1
cmp dword [esi + 0xc], edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], eax
mov dword [esp + 0x124], edi
mov dword [esp + 0x128], eax
jne 0x4da872
mov ecx, dword [esi + 8]
imul ecx, ecx, 0x3e8
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ecx
jmp 0x4da87d
mov edx, dword [esi + 8]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
test ebp, ebp
jl 0x4da8bf
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x28]
push edx
push 0
push 0
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x4da8a7
lea ebx, [eax - 0x46]
jmp 0x4da8b9
cmp eax, edi
jne 0x4da8b4
mov eax, dword [esp + 0x24]
cmp eax, dword [esi + 0x14]
je 0x4da8dc
mov ebx, 0xffffffb7
sub ebp, edi
test ebp, ebp
jge 0x4da881
mov eax, ebx
pop ebp
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004fa103
add esp, 0x22c
ret 0xc
mov edx, dword [esp + 0x248]
mov eax, dword [esp + 0x1c]
push 0x10
lea ecx, [esp + 0x22c]
push ecx
mov ecx, dword [esi + 0x14]
push 0
push edx
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
sub eax, 0xffffffff
neg eax
sbb eax, eax
and eax, 0x49
add eax, 0xffffffb7
jmp 0x4da8c1
mov eax, 0xffffffba
jmp 0x4da8c2

Function at 0x4de0c4
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4de0fd
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00452680
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00474fa0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x4dfbe3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4dfc26
call fcn.004e4d97
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4dfc26
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4dfc41
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.004df79d
test ebx, ebx
mov esi, eax
je 0x4dfc3f
test edi, edi
je 0x4dfc3f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4e035a
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5183dd
call fcn.004fe643
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4e037f
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x4e03cb
call fcn.004e27df
push eax
lea ecx, [ebp - 0x10]
call fcn.00474dd0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004dfc48
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00405b20
mov eax, esi
call fcn.004fe71b
ret 8
Function at 0x4e0e9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x518473
call fcn.004fe676
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004e4d97
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x4e0eea
call fcn.004e4d97
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x4e0efb
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x4e0f08
or eax, 0xffffffff
jmp 0x4e1064
mov ecx, esi
call fcn.004e09cf
mov dword [ebp - 0x14], eax
call fcn.004dd113
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x4e0f86
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x4e0f86
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x4e0f86
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.004dbcd2
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x4e0f86
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x4e0f86
mov ecx, ebx
call fcn.004dfe61
test eax, eax
je 0x4e0f86
push 0
mov ecx, ebx
call fcn.004dfe7c
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.004deac9
push dword [ebp - 0x14]
call fcn.004dd06b
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.004e0ca7
xor edi, edi
cmp eax, edi
je 0x4e0fe3
test byte [esi + 0x3c], 0x10
je 0x4e0fcd
push 4
pop edi
mov ecx, esi
call fcn.004dfd1e
test ax, 0x100
je 0x4e0fc3
push 5
pop edi
push edi
mov ecx, esi
call fcn.004dcc33
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x4e0fe3
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.004e004b
or dword [ebp - 4], 0xffffffff
jmp 0x4e100e
cmp dword [ebp - 0x28], edi
je 0x4e101c
push 1
mov ecx, ebx
call fcn.004dfe7c
cmp dword [ebp - 0x2c], edi
je 0x4e102c
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x4e1045
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x4e1045
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.004e0a09
cmp dword [esi + 0x58], edi
je 0x4e1061
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.004fe71b
ret
Function at 0x4e729f
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x4e72dc
push 0x5306d8
push 4
push eax
call fcn.004fa94e
push eax
call fcn.00405940
add esp, 0x10
jmp 0x4e72ee
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4e7359
push edi
call fcn.004fe816
mov edi, dword [eax]
call fcn.004fe816
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.004fa539
add esp, 0x18
mov ebx, eax
call fcn.004fe816
cmp dword [eax], 0
je 0x4e7339
call fcn.004fe816
push dword [eax]
call fcn.004da99e
pop ecx
jmp 0x4e7340
call fcn.004fe816
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4e7359
cmp ebx, esi
jae 0x4e7359
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x4e735b
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004fa103
leave
ret
Function at 0x4e7f37
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x4e7f7d
call fcn.004e4d97
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4e7f7d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4e7fc0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x4e7fa9
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4e7fa9
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4e7fbd
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4ebcd6
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x4ebcff
call fcn.004e4d97
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x4ebd22
push eax
push dword [esi + 4]
call fcn.004ebc61
push esi
push eax
mov ecx, 0x5a9170
call fcn.004eb910
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x4ec557
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x518c06
call fcn.004fe643
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call fcn.004ec519
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00407e60
push dword [esi + 8]
mov edi, dword [edi + 8]
push 0
push 3
push dword [ebp + 0x18]
mov byte [ebp - 4], 1
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
test eax, eax
mov dword [esi + 4], eax
jne 0x4ec5bd
push eax
push dword [esi + 8]
call fcn.004ebc61
push dword [esi + 0xc]
mov ecx, 0x5a9170
push eax
call fcn.004eb910
mov eax, esi
call fcn.004fe71b
ret 0x18
Function at 0x4f6f3b
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x4f6f44
xor eax, eax
jmp 0x4f6fad
cmp dword [esp + 8], 0
jne 0x4f6f50
call fcn.004e2c34
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004fc9ab
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x4f6f8b
push dword [esi + 0x10]
call fcn.004fc9c6
test eax, eax
pop ecx
jne 0x4f6f8b
mov esi, dword [esi + 0xc]
call fcn.004fe829
push esi
push dword [eax]
push 1
call fcn.004e99d5
push dword [esi + 0x10]
call fcn.004fc9f5
test eax, eax
pop ecx
je 0x4f6faa
push dword [esi + 0x10]
call fcn.00501870
push eax
call fcn.00405940
pop ecx
pop ecx
jmp 0x4f6f79
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x4f6fb6
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x4f6fc0
call fcn.004e2c34
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.004fcb83
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x4f6fed
mov esi, dword [esi + 0xc]
call fcn.004fe829
push esi
push dword [eax]
push 1
call fcn.004e99d5
pop esi
ret 8

Function at 0x4fa103
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x5a4aa8]
jne 0x4fa10d
repz ret
jmp fcn.00504776
Function at 0x4fc70f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x4fc74c
cmp dword [ebp + 0x14], edi
je 0x4fc74c
cmp ecx, edi
jne 0x4fc753
call fcn.004fe816
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004f9d59
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4fc767
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4fc788
cmp ebx, 0xffffffff
je 0x4fc777
push ebx
push edi
push ecx
call fcn.004fd670
add esp, 0xc
cmp esi, edi
je 0x4fc734
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x4fc734
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4fc7a4
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4fc7ab
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4fc89c
test word [esi + 0xc], 0x10c
je 0x4fc7ff
mov eax, dword [esi + 4]
test eax, eax
je 0x4fc7ff
jl 0x4fc8fd
cmp ebx, eax
mov edi, ebx
jb 0x4fc7d0
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4fc8a4
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004fa112
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x4fc894
cmp ebx, dword [ebp - 0xc]
jb 0x4fc86c
cmp dword [ebp - 0xc], 0
je 0x4fc829
mov ecx, bind
xor edx, edx
cmp ebx, ecx
jbe 0x4fc81e
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x4fc825
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x4fc834
mov eax, bind
cmp ebx, eax
ja 0x4fc834
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4fc8d0
push eax
push dword [ebp - 8]
push esi
call fcn.005016bd
pop ecx
push eax
call fcn.00508fb9
add esp, 0xc
test eax, eax
je 0x4fc90f
cmp eax, 0xffffffff
je 0x4fc8fd
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4fc894
push esi
call fcn.00509777
cmp eax, 0xffffffff
pop ecx
je 0x4fc901
cmp dword [ebp - 4], 0
je 0x4fc8d0
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x4fc7b3
mov eax, dword [ebp + 0x14]
jmp 0x4fc74e
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4fc8bb
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004fd670
add esp, 0xc
call fcn.004fe816
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4fc744
cmp dword [ebp + 0xc], 0xffffffff
je 0x4fc8e6
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004fd670
add esp, 0xc
call fcn.004fe816
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4fc744
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4fc74e
or dword [esi + 0xc], 0x10
jmp 0x4fc901
Function at 0x50ed5a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov dword [0xa445c624], eax
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.0050e972
push eax
push esi
push dword [ebp + 8]
call fcn.0050e927
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.0050e972
push eax
push esi
push dword [ebp + 8]
call fcn.0050e927
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.0050e962
aas
xchg edi, eax
pop ss
xchg dword [eax - 0x8363], ecx
dec dword [eax - 0x8263]
inc esi
test dword [esi - 1], edi
invalid
Function at 0x5172f2
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x5a4aa8]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00517287
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004fd670
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x517341
cmp dword [ebp - 0x1c], 5
jb 0x517359
jmp 0x517355
cmp dword [ebp - 0x10], 1
jne 0x517359
cmp dword [ebp - 0x1c], 4
ja 0x517355
jne 0x517359
cmp dword [ebp - 0x18], 0
jbe 0x517359
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x535184
call fcn.00517178
test eax, eax
jge 0x51737a
mov byte [0x64a880], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004fa103
add ebp, 0x78
leave
ret
Function at 0x4015ad
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4d807c]
jne 0x4015b7
repz ret
jmp fcn.0040222b

Function at 0x406b8a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4d807c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040407d
and dword [ebp - 0x14], 0
cmp dword [0x4dad4c], 0
mov dword [ebp - 0x18], eax
jne 0x406c3d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x406ce5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x406ce5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4dad4c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4dad50], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4dad54], eax
call edi
push eax
call esi
mov dword [0x4dad5c], eax
test eax, eax
je 0x406c3d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4dad58], eax
mov eax, dword [0x4dad58]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406c96
cmp dword [0x4dad5c], ecx
je 0x406c96
push eax
call esi
push dword [0x4dad5c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406c96
test ebx, ebx
je 0x406c96
call edi
test eax, eax
je 0x406c8d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406c8d
test byte [ebp - 8], 1
jne 0x406c96
or dword [ebp + 0x10], 0x200000
jmp 0x406cc9
mov eax, dword [0x4dad50]
cmp eax, dword [ebp - 0x18]
je 0x406cc9
push eax
call esi
test eax, eax
je 0x406cc9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406cc9
mov eax, dword [0x4dad54]
cmp eax, dword [ebp - 0x18]
je 0x406cc9
push eax
call esi
test eax, eax
je 0x406cc9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4dad4c]
call esi
test eax, eax
je 0x406ce5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x406ce7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015ad
leave
ret