joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49d5a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
mov eax, 0x57
test esi, esi
je 0x49d640
cmp byte [esi], 0
je 0x49d640
mov cl, byte [ebp + 0x10]
cmp cl, 1
je 0x49d5d2
test cl, cl
jne 0x49d640
mov eax, dword [ebp + 0xc]
push eax
call fcn.0049d470
mov edi, eax
add esp, 4
test edi, edi
jne 0x49d640
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49d604
push 1
mov esi, ebx
call fcn.0049d020
mov edi, eax
add esp, 4
test edi, edi
jne 0x49d640
mov esi, dword [ebp + 8]
mov al, byte [ebp + 0x10]
test al, al
jne 0x49d654
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0046d9c0
mov ecx, dword [ebp + 8]
mov eax, esp
push esi
push ecx
push eax
call fcn.00488078
mov edx, dword [ebp + 0xc]
push eax
push ebx
push str._s_s.txt
push edx
push ebx
call fcn.00468336
add esp, 0x14
mov eax, edi
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
cmp al, 1
jne 0x49d63e
mov eax, 0x28
call fcn.00468360
mov edi, esp
test edi, edi
je 0x49d714
add edi, 8
mov dword [edi - 8], 0xcccc
je 0x49d714
push 0
push 0x20
push edi
push 0x1f
push str.RCCVN097JJ26YB99ZXYF75ZN533RGPZ
call fcn.004a5690
add esp, 0x14
mov dword [ebp - 8], eax
test eax, eax
jne 0x49d71b
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0046d9c0
mov eax, esp
push esi
push edi
push eax
call fcn.00488078
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0046d9c0
mov ecx, dword [ebp + 8]
mov eax, esp
push esi
push ecx
push eax
call fcn.00488078
mov edx, dword [ebp - 0xc]
push edx
push eax
mov eax, dword [ebp + 0xc]
push ebx
push str._s_s._s
push eax
push ebx
call fcn.00468336
add esp, 0x18
push edi
call fcn.0041a740
mov eax, dword [ebp - 8]
add esp, 4
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 8
push edi
call fcn.0041a740
mov eax, dword [ebp - 8]
add esp, 4
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00467d4f
mov esp, ebp
pop ebp
ret
Function at 0x49d740
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x224
mov eax, dword [0x4ce724]
xor eax, esp
mov dword [esp + 0x220], eax
mov eax, dword [esp + 0x238]
mov ecx, dword [esp + 0x240]
mov edx, dword [esp + 0x244]
push ebx
push ebp
mov ebp, dword [esp + 0x234]
push esi
push edi
mov edi, dword [esp + 0x238]
mov dword [esp + 0x20], eax
xor eax, eax
push 0x206
mov dword [esp + 0x1c], ecx
push eax
lea ecx, [esp + 0x32]
push ecx
mov dword [esp + 0x28], edx
mov dword [edi], 0xffffffff
mov byte [esp + 0x1f], 0
mov word [esp + 0x34], ax
call fcn.00467d60
mov edx, dword [esp + 0x258]
push edx
push 0x104
xor bl, bl
push ebp
lea ecx, [esp + 0x40]
mov byte [esp + 0x2c], bl
call fcn.0049d5a0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x49d83b
lea eax, [esp + 0x28]
mov bl, 1
push eax
mov byte [esp + 0x18], bl
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp dword [esp + 0x240], 0x40000000
mov dword [esp + 0x24], eax
jne 0x49d824
test eax, eax
je 0x49d824
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x49d81c
test al, 0x21
je 0x49d824
and eax, 0xffffffde
push eax
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x49d824
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp byte [esp + 0x24c], 1
jne 0x49d83b
cmp dword [esp + 0x24], 0
jne 0x49d83b
mov bl, 2
mov byte [esp + 0x14], bl
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49d857
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ecx
push edx
lea ecx, [esp + 0x30]
push ecx
push ebp
call eax
mov esi, eax
test bl, bl
je 0x49d8a7
mov edx, dword [esp + 0x244]
mov eax, dword [esp + 0x240]
push 0
push 0x80
push edx
push 0
push 0
or eax, 0x80000000
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [edi], 0xffffffff
mov esi, eax
jne 0x49d8ac
test dword [esp + 0x240], 0x40000000
setne al
add al, 5
jmp 0x49d8b0
mov byte [esp + 0x13], 0x29
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x49d8ba
mov byte [ecx], al
mov ecx, dword [esp + 0x230]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00467d4f
add esp, 0x224
ret
Function at 0x49d8e0
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x4ce724]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
mov esi, dword [esp + 0x214]
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.00467d60
mov edx, dword [esp + 0x228]
push edx
push 0x104
push esi
lea ecx, [esp + 0x20]
call fcn.0049d5a0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x49d980
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x49d978
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test al, 0x21
je 0x49d965
and eax, 0xffffffde
push eax
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x49d965
call edi
mov esi, eax
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x49d980
call edi
jmp 0x49d97e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.0049b7c0
call fcn.00497a90
mov ecx, dword [esp + 0x210]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00467d4f
add esp, 0x20c
ret

Function at 0x49d9b0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc8
mov eax, dword [0x4ce724]
xor eax, esp
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0xcc]
push esi
push edi
push 0
push 0
push 0
push 0
push 2
push 0x40000000
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0049d740
mov esi, dword [esp + 0x28]
add esp, 0x20
mov edi, eax
cmp esi, 0xffffffff
je 0x49da62
push 0
push 1
push str._u._02.2u
lea ecx, [esp + 0x18]
push 0x20
push ecx
call fcn.00468336
lea edx, [esp + 0x20]
push edx
push str.version_s
lea eax, [esp + 0x68]
push 0x40
push eax
call fcn.00468336
lea eax, [esp + 0x70]
add esp, 0x24
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49da30
sub eax, edx
push 0
sar eax, 1
lea ecx, [esp + 0xc]
push ecx
lea edx, [eax + eax]
push edx
lea eax, [esp + 0x58]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x49da62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xcc]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.00467d4f
add esp, 0xc8
ret
Function at 0x49dab0
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x298]
sub esp, 0x318
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp + 0x294], eax
push esi
push edi
push 0
push 0x100
lea eax, [ebp + 0x194]
push eax
push 0x2c
push str.19NZ8YX37VNG10JUFD93DAXC1HV0KRBFTN5M893K12WR
mov esi, ecx
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
call fcn.004a5690
add esp, 0x14
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0x7c]
push edx
push 0
push 0x20006
push 0
push 0
push 0
lea eax, [ebp + 0x194]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x49dc33
cmp dword [ebp - 0x7c], eax
je 0x49dc33
xor ecx, ecx
push 0x208
push ecx
lea edx, [ebp - 0x76]
push edx
mov word [ebp - 0x78], cx
call fcn.00467d60
add esp, 0xc
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x105
lea eax, [ebp - 0x78]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jbe 0x49dc1a
cmp eax, 0x7a
je 0x49dc1a
lea ecx, [ebp - 0x78]
push 0x5c
push ecx
call fcn.0046aed3
mov edi, eax
add esp, 8
test edi, edi
je 0x49dc22
push 0
push 0x100
lea edx, [ebp + 0x194]
push edx
push 0x2c
push str.8BZE1WMZSAPEAVY306W47XWR4K8XFFYUFYP43SUAMSX0
call fcn.004a5690
add esp, 0x14
lea eax, [ebp + 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
call fcn.0046d9c0
mov eax, esp
push esi
lea ecx, [ebp + 0x194]
push ecx
push eax
call fcn.00488078
push eax
mov edx, edi
lea eax, [ebp - 0x78]
sub edx, eax
add edx, 2
sar edx, 1
mov ecx, 0x105
sub ecx, edx
push ecx
add edi, 2
push edi
call fcn.0046a6ad
mov eax, dword [ebp - 0x7c]
add esp, 0xc
push 0x20a
lea edx, [ebp - 0x78]
push edx
push 1
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
jmp 0x49dc27
test eax, eax
je 0x49dc22
mov esi, eax
jmp 0x49dc27
mov esi, 2
mov ecx, dword [ebp - 0x7c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea esp, [ebp - 0x88]
pop edi
pop esi
mov ecx, dword [ebp + 0x294]
xor ecx, ebp
call fcn.00467d4f
add ebp, 0x298
mov esp, ebp
pop ebp
ret
Function at 0x49e810
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
lea ebp, [esp - 0x39c]
sub esp, 0x41c
mov eax, dword [0x4ce724]
xor eax, ebp
mov dword [ebp + 0x398], eax
mov eax, dword [ebp + 0x3a8]
mov edx, dword [ebp + 0x3a4]
push ebx
mov ebx, dword [ebp + 0x3b0]
push esi
lea ecx, [ebp - 0x78]
push edi
push ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], 0x208
call fcn.0049e180
add esp, 4
test eax, eax
jne 0x49e963
cmp dword [ebp + 0x3ac], eax
je 0x49e885
test ebx, ebx
je 0x49e871
cmp byte [ebx], al
jne 0x49e885
lea edx, [ebp - 0x78]
push edx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
jmp 0x49e963
test ebx, ebx
je 0x49e98a
cmp byte [ebx], 0
je 0x49e98a
mov eax, ebx
lea edx, [eax + 1]
jmp 0x49e8a0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x49e8a0
sub eax, edx
lea esi, [eax + 1]
lea eax, [esi + 8]
cmp eax, 0x400
ja 0x49e8c9
call fcn.0046d9c0
mov eax, esp
test eax, eax
je 0x49e8df
mov dword [eax], 0xcccc
jmp 0x49e8dc
push eax
call fcn.00468977
add esp, 4
test eax, eax
je 0x49e8df
mov dword [eax], 0xdddd
add eax, 8
mov edi, eax
test edi, edi
je 0x49e983
push 0
push esi
push edi
dec esi
push esi
push ebx
call fcn.004a5690
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x49e94c
mov eax, dword [ebp - 0x80]
xor bl, bl
mov dword [ebp - 0x7c], eax
test eax, eax
jne 0x49e934
lea eax, [ebp - 0x7c]
push eax
push 3
push 0
lea ecx, [ebp - 0x78]
push ecx
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x49e929
mov bl, 1
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x49e941
test esi, esi
jne 0x49e941
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
mov eax, dword [ebp - 0x7c]
test bl, bl
je 0x49e94c
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [edi - 8], 0xdddd
lea eax, [edi - 8]
jne 0x49e961
push eax
call fcn.00468a41
add esp, 4
mov eax, esi
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x398]
xor ecx, ebp
call fcn.00467d4f
add ebp, 0x39c
mov esp, ebp
pop ebp
ret
mov eax, 8
jmp 0x49e963
mov eax, 0x57
jmp 0x49e963
Function at 0x49ef30
Capabilities:
Connect to http server
Create http request

Disassembly:
mov dword [edi], 0
mov dword [esi], 0
test eax, eax
je 0x49ef46
cmp word [eax], 0
jne 0x49ef4b
mov eax, str.Avanquest
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi], eax
test eax, eax
je 0x49ef96
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi], eax
test eax, eax
je 0x49ef90
xor eax, eax
ret
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x4a7980
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x4f0c10]
and eax, 7
dec eax
push ebx
push esi
cmp eax, 6
ja case.default.0x4a7994
jmp dword [eax*4 + 0x4a7c20]
mov eax, dword [0x4d059c]
mov ecx, dword [0x4d0598]
push 0
push 0x41a7
push eax
push ecx
call fcn.0046d890
push 0
push closesocket
push edx
push eax
call fcn.004a8980
lea ecx, [eax - 1]
mov dword [0x4d0598], eax
mov eax, ecx
shr eax, 0xc
mov dword [0x4d059c], edx
movzx edx, al
mov eax, dword [edx*4 + 0x4f16b0]
mov dword [edx*4 + 0x4f16b0], ecx
jmp 0x4a7c04
mov edx, dword [0x4d05a4]
mov eax, dword [0x4d05a0]
push 0
push 0x10dcd
push edx
push eax
call fcn.0046d890
add eax, 1
adc edx, 0
xor edx, edx
mov dword [0x4d05a0], eax
mov dword [0x4d05a4], edx
shr eax, 1
jmp 0x4a7c04
mov ecx, dword [0x4d05ac]
mov edx, dword [0x4d05a8]
push 0
push 0x10dcd
push ecx
push edx
call fcn.0046d890
add eax, 1
adc edx, 0
mov dword [0x4d05a8], eax
shr eax, 1
xor edx, edx
mov ecx, eax
shr ecx, 0xc
movzx ecx, cl
mov dword [0x4d05ac], edx
mov edx, dword [ecx*4 + 0x4f12b0]
mov dword [ecx*4 + 0x4f12b0], eax
mov eax, edx
jmp 0x4a7c04
mov eax, dword [0x4d05b4]
mov ecx, dword [0x4d05b0]
push 0
push 0x19660d
push eax
push ecx
call fcn.0046d890
add eax, 0x3c6ef35f
adc edx, 0
xor edx, edx
mov dword [0x4d05b0], eax
mov dword [0x4d05b4], edx
shr eax, 1
jmp 0x4a7c04
mov edx, dword [0x4d05bc]
mov eax, dword [0x4d05b8]
push 0
push 0x19660d
push edx
push eax
call fcn.0046d890
add eax, 0x3c6ef35f
adc edx, 0
mov dword [0x4d05b8], eax
shr eax, 1
xor edx, edx
mov ecx, eax
shr ecx, 0xc
movzx ecx, cl
mov dword [0x4d05bc], edx
mov edx, dword [ecx*4 + 0x4f0eb0]
mov dword [ecx*4 + 0x4f0eb0], eax
mov eax, edx
jmp 0x4a7c04
movzx eax, byte [0x4d05c0]
mov bl, byte [0x4f1ab0]
mov ecx, dword [eax*8 + 0x4f0cf8]
mov edx, dword [eax*8 + 0x4f0cfc]
movzx esi, bl
add ecx, dword [esi*8 + 0x4f0cf8]
push 0
adc edx, dword [esi*8 + 0x4f0cfc]
push closesocket
push edx
push ecx
call fcn.004a8980
inc bl
mov dword [esi*8 + 0x4f0cf8], eax
mov dword [esi*8 + 0x4f0cfc], edx
mov eax, dword [esi*8 + 0x4f0cf8]
mov byte [0x4f1ab0], bl
cmp bl, 0x37
jne 0x4a7b4f
mov byte [0x4f1ab0], 0
mov cl, byte [0x4d05c0]
inc cl
mov byte [0x4d05c0], cl
cmp cl, 0x37
jne 0x4a7c04
mov byte [0x4d05c0], 0
jmp 0x4a7c04
mov cl, byte [0x4f1ab1]
mov bl, byte [0x4d05c1]
movzx esi, cl
movzx eax, bl
mov eax, dword [eax*4 + 0x4f0c18]
xor eax, dword [esi*4 + 0x4f0c18]
push edi
xor edx, edx
mov edi, closesocket
div edi
inc cl
mov byte [0x4f1ab1], cl
pop edi
mov eax, edx
mov dword [esi*4 + 0x4f0c18], eax
cmp cl, 0x37
jne 0x4a7bba
mov byte [0x4f1ab1], 0
inc bl
mov byte [0x4d05c1], bl
cmp bl, 0x37
jne 0x4a7c04
mov byte [0x4d05c1], 0
jmp 0x4a7c04
mov ecx, dword [0x4d0594]
mov edx, dword [0x4d0590]
push 0
push 0x41a7
push ecx
push edx
call fcn.0046d890
push 0
push closesocket
push edx
push eax
call fcn.004a8980
mov dword [0x4d0590], eax
mov dword [0x4d0594], edx
dec eax
pop esi
mov dword [0x4f0c10], eax
pop ebx
cmp eax, 0x7ffffffd
jbe 0x4a7c1c
call fcn.004a7980
mov eax, dword [0x4f0c10]
ret
Function at 0x4a7d80
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x104
mov eax, dword [0x4ce724]
xor eax, esp
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x108]
push ebx
mov ebx, dword [esp + 0x114]
push ebp
push esi
mov esi, dword [esp + 0x118]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x124]
mov dword [esi], 0xffffffff
test eax, eax
je 0x4a7dd2
cmp byte [eax], 0
je 0x4a7dd2
push eax
push 0x100
lea eax, [esp + 0x18]
push eax
jmp 0x4a7de1
push str.www.avanquest.com
push 0x100
lea ecx, [esp + 0x18]
push ecx
call fcn.0046a4fd
add esp, 0xc
test edi, edi
je 0x4a7e07
mov eax, dword [esp + 0x128]
test eax, eax
je 0x4a7e07
lea edx, [esp + 0x10]
push edx
push eax
push edi
call fcn.0046a4fd
add esp, 0xc
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov edi, eax
test edi, edi
je 0x4a7e3b
movsx ecx, word [edi + 0xa]
mov edx, dword [edi + 0xc]
mov eax, dword [edx]
push ecx
push eax
push esi
call fcn.0046b0a0
add esp, 0xc
mov eax, ebp
test ebx, ebx
je 0x4a7e63
mov cx, word [edi + 8]
mov word [ebx], cx
jmp 0x4a7e63
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x4a7e55
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
jmp 0x4a7e63
test ebx, ebx
je 0x4a7e61
mov eax, 2
mov word [ebx], ax
mov eax, ebp
mov ecx, dword [esp + 0x110]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00467d4f
add esp, 0x104
ret
Function at 0x4a8420
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4ce724]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, dword [esp + 0x120]
push edi
mov edi, dword [esp + 0x134]
push 0x110
lea eax, [esp + 0x10]
push 0
push eax
mov dword [esp + 0x14], 0x114
call fcn.00467d60
add esp, 0xc
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [esp + 0xc], 5
push edi
jb 0x4a8493
push esi
call fcn.004a8210
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00467d4f
add esp, 0x118
ret
mov edx, dword [esp + 0x134]
mov eax, dword [esp + 0x130]
mov ecx, dword [esp + 0x12c]
push edx
push eax
push ecx
push esi
call fcn.004a7e80
mov ecx, dword [esp + 0x130]
add esp, 0x14
pop edi
pop esi
xor ecx, esp
call fcn.00467d4f
add esp, 0x118
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x402a90
Capabilities:
Delete file

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
mov esi, dword [sym.imp.MSVCR90.dll_fopen]
push edi
mov edi, dword [sym.imp.MSVCR90.dll_fclose]
mov ebp, 0x10
jmp 0x402ab0
push 0x40845c
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebp
jae 0x402acd
lea eax, [esp + 0x14]
push 0x40547c
push eax
call esi
add esp, 8
xor bl, bl
test eax, eax
je 0x402ae6
push eax
mov bl, 1
call edi
add esp, 4
lea ecx, [esp + 0x10]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
test bl, bl
je 0x402b1a
push 0xc8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x408460]
cmp dword [0x408474], ebp
jae 0x402b11
mov eax, 0x408460
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x402ab0
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x1c
ret

Function at 0x40382c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x408020]
jne 0x403836
repz ret
jmp fcn.00403c71
Function at 0x40f490
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40b015
lea edi, [esi - 0xa015]
push edi
or ebp, 0xffffffff
jmp 0x40f4b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40f4b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40f4a8
mov eax, 1
add ebx, ebx
jne 0x40f4cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40f4c0
jne 0x40f4dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f4c0
xor ecx, ecx
sub eax, 3
jb 0x40f4f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40f562
mov ebp, eax
add ebx, ebx
jne 0x40f4fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40f508
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40f52c
inc ecx
add ebx, ebx
jne 0x40f518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40f50d
jne 0x40f529
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40f50d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40f54c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40f53d
jmp 0x40f4ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40f54c
add edi, ecx
jmp 0x40f4ae
pop esi
mov edi, esi
mov ecx, 0x210
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40f56a
cmp byte [edi], 5
jne 0x40f56a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40f56f
lea edi, [esi + 0xd000]
mov eax, dword [edi]
or eax, eax
je 0x40f5de
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x10520]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x105d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40f59c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x105d8]
or eax, eax
je 0x40f5d8
mov dword [ebx], eax
add ebx, 4
jmp 0x40f5b9
call dword [esi + 0x105e8]
mov ebp, dword [esi + 0x105dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40f612
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x348de37d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x348932c4]
jne 0x348de977
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x348e8ec8], eax
mov dword [0x348e8ec4], ecx
mov dword [0x348e8ec0], edx
mov dword [0x348e8ebc], ebx
mov dword [0x348e8eb8], esi
mov dword [0x348e8eb4], edi
mov word [0x348e8ee0], ss
mov word [0x348e8ed4], cs
mov word [0x348e8eb0], ds
mov word [0x348e8eac], es
mov word [0x348e8ea8], fs
mov word [0x348e8ea4], gs
pushfd
pop dword [0x348e8ed8]
mov eax, dword [ebp]
mov dword [0x348e8ecc], eax
mov eax, dword [ebp + 4]
mov dword [0x348e8ed0], eax
lea eax, [ebp + 8]
mov dword [0x348e8edc], eax
mov eax, dword [ebp - 0x320]
mov dword [0x348e8e18], 0x10001
mov eax, dword [0x348e8ed0]
mov dword [0x348e8dcc], eax
mov dword [0x348e8dc0], 0xc0000409
mov dword [0x348e8dc4], 1
mov eax, dword [0x348932c4]
mov dword [ebp - 0x328], eax
mov eax, dword [0x348e42d4]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x348e8e10], eax
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x34893304
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x348e8e10], 0
jne 0x348dea67
push 1
call sub.msvcr80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret