joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e4d2
Capabilities:
Send data

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x18], 1
push edi
je 0x44e57b
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44e57b
mov ecx, dword [esi + 0x30]
test ecx, ecx
mov edi, dword [ebp + 0xc]
jne 0x44e516
lea ecx, [ebp + 0xc]
push ecx
push edi
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
jne 0x44e50f
push 0
jmp 0x44e57d
cmp dword [ebp + 0xc], edi
je 0x44e554
jmp 0x44e50b
mov eax, dword [esi + 0x2c]
lea edx, [eax + edi]
cmp edx, dword [esi + 0x28]
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetWriteFile]
jb 0x44e53b
lea edx, [ebp + 0xc]
push edx
push eax
push ecx
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x44e50b
and dword [esi + 0x2c], 0
mov ecx, dword [esi + 0x28]
cmp edi, ecx
jb 0x44e55a
lea eax, [ebp + 0xc]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 0x14]
call ebx
test eax, eax
je 0x44e50b
pop ebx
pop edi
pop esi
pop ebp
ret 8
mov eax, dword [esi + 0x2c]
lea edx, [eax + edi]
cmp edx, ecx
ja 0x44e553
mov ecx, dword [esi + 0x30]
push edi
push dword [ebp + 8]
add ecx, eax
push ecx
call fcn.004303b0
add esp, 0xc
add dword [esi + 0x2c], edi
jmp 0x44e553
push 6
push dword [esi + 0x1c]
call fcn.0044e14a
int3

Function at 0x44e5b5
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
jne 0x44e5f2
push 0x1000
call fcn.0044ddb4
test eax, eax
je 0x44e64d
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x44e653
mov eax, dword [ebp - 4]
mov dword [esi + 0x40], eax
mov dword [esi + 0x38], ebx
mov eax, dword [esi + 0x38]
add eax, dword [esi + 0x3c]
push edi
mov edi, dword [ebp + 8]
jmp 0x44e642
mov ecx, dword [esi + 0x38]
cmp ecx, dword [esi + 0x40]
jb 0x44e62d
lea eax, [ebp - 4]
push eax
push dword [esi + 0x34]
push dword [esi + 0x3c]
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x44e653
mov eax, dword [ebp - 4]
cmp eax, ebx
mov dword [esi + 0x40], eax
je 0x44e65c
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x38], ebx
mov cl, byte [eax]
cmp cl, 0xd
je 0x44e637
mov byte [edi], cl
inc edi
inc dword [esi + 0x38]
mov cl, byte [eax]
inc eax
cmp cl, 0xa
je 0x44e647
dec dword [ebp + 0xc]
jne 0x44e5fe
mov eax, dword [ebp + 8]
mov byte [edi], bl
pop edi
pop esi
pop ebx
leave
ret 8
push ebx
push dword [esi + 0x1c]
call fcn.0044e14a
mov eax, edi
sub eax, dword [ebp + 8]
neg eax
sbb eax, eax
and eax, dword [ebp + 8]
jmp 0x44e64a
Function at 0x44e852
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags

Disassembly:
mov eax, 0x455a63
call fcn.0043077c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00445653
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
xor edi, edi
mov ecx, ebx
mov dword [ebp - 4], edi
mov dword [esi], vtable.CInternetFile.0
mov dword [esi + 0x1c], eax
call fcn.00401580
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
call fcn.00402a30
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.00402a30
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x18], eax
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x44ed57
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
cmp dword [ebp + 0xc], 0x800
mov eax, dword [0x46da7c]
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
jne 0x44edb5
push 0x45ae54
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.0043095e
add esp, 0x10
cmp eax, 0xffffffff
je 0x44edc9
cmp eax, esi
jae 0x44edc9
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x44edcb
push 4
push eax
push 3
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x44ed80
jmp 0x44edcc
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
call fcn.0042d9b6
leave
ret
Function at 0x44edec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x46da7c]
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], ebx
xor esi, esi
call edi
push str.GetUserDefaultUILanguage
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x44ee8e
call eax
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ebx, 0x3ff
mov edi, 0xfc00
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ecx, cx
and eax, edi
or eax, ecx
push eax
mov dword [ebp - 0x1c], ecx
call esi
push dword [ebp - 0x1c]
mov dword [ebp - 0x3c], eax
call esi
push str.GetSystemDefaultUILanguage
push dword [ebp - 0x20]
mov dword [ebp - 0x38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, ebx
movzx ebx, cx
and eax, edi
or eax, ebx
push eax
call esi
push ebx
mov dword [ebp - 0x34], eax
call esi
mov dword [ebp - 0x30], eax
push 4
xor ebx, ebx
jmp 0x44ef90
call dword [sym.imp.KERNEL32.dll_GetVersion]
test eax, eax
jns 0x44ef3e
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push ebx
push str.Control_PanelDesktopResourceLocale
push reloc.WS2_32.dll_accept
mov dword [ebp - 0x1c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44ef91
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44ef33
cmp dword [ebp - 0x24], 1
jne 0x44ef33
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push 0x45ae64
push eax
call fcn.004309b5
add esp, 0xc
cmp eax, 1
jne 0x44ef33
mov eax, dword [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov dword [ebp - 0x18], eax
movzx eax, ax
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
push 2
mov dword [ebp - 0x38], eax
pop esi
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44ef91
push str.ntdll.dll
call edi
cmp eax, ebx
je 0x44ef91
lea ecx, [ebp - 0x18]
push ecx
push 0x44edd6
push 1
push 0x10
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
cmp word [ebp - 0x18], bx
je 0x44ef91
movzx eax, word [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_ConvertDefaultLocale]
mov ecx, eax
and ecx, 0x3ff
movzx edi, cx
and eax, 0xfc00
or eax, edi
push eax
call esi
push edi
mov dword [ebp - 0x3c], eax
call esi
mov dword [ebp - 0x38], eax
push 2
pop esi
mov dword [ebp + esi*4 - 0x3c], 0x800
inc esi
xor edi, edi
cmp esi, ebx
jle 0x44efb7
push dword [ebp + edi*4 - 0x3c]
push dword [ebp + 8]
call fcn.0044ed57
cmp eax, ebx
pop ecx
pop ecx
jne 0x44efb9
inc edi
cmp edi, esi
jl 0x44efa0
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.0042d9b6
leave
ret 4
Function at 0x44efc8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x46c838
je 0x44f084
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push reloc.WS2_32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44f06c
mov esi, dword [ebx + 4]
jmp 0x44f066
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44f056
cmp dword [ebp - 0xc], 4
jne 0x44f056
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x44f04e
or dword [eax + 0x9c], ecx
jmp 0x44f056
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x44f01a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x44effd
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x44f8e9
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x4558ff
call fcn.0043077c
sub esp, 0x11c
mov eax, dword [0x46da7c]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x44f9e2
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x44f9b6
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00402ca0
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0044f8e9
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.00401320
test bl, bl
jne 0x44f9b6
or dword [ebp - 4], 0xffffffff
jmp 0x44f927
cmp esi, 0x103
je 0x44f9c6
cmp esi, 0x3f2
jne 0x44f9d6
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.0042d9b6
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x450a6e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x450aa3
cmp edi, dword [esi + 0xc]
jge 0x450aa3
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x450aa3
cmp edi, dword [eax + 8]
jge 0x450aa3
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x450aa5
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x450ba9
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x450bdd
jmp fcn.0043cbd9
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x450d47
cmp eax, dword [edi + 0xc]
jge 0x450d47
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x450c9f
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x450d30
cmp dword [ebp + 0xc], ebx
je 0x450d30
jmp 0x450cc9
push 0x10
call fcn.0045093a
cmp eax, ebx
je 0x450cb5
mov ecx, eax
call fcn.00450ba0
mov esi, eax
jmp 0x450cb7
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x450ce0
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x450cf0
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x450d02
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0043cbd9
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00430a00
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x450d42
cmp ecx, dword [esi + 8]
jge 0x450d42
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x450d48
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x452edb
Capabilities:
Receive data
Receive data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_recv]
ret 0xc

Function at 0x452ef3
Capabilities:
Send data
Send data on socket

Disassembly:
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_send]
ret 0xc

Function at 0x452f9b
Capabilities:
Connect socket

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
push dword [ecx + 4]
call dword [sym.imp.WS2_32.dll_connect]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x4534e8
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
mov ebx, dword [ebp + 8]
push edi
xor edi, edi
cmp ebx, edi
jne 0x453505
cmp dword [ebp + 0xc], edi
je 0x4535fa
push 1
push ebx
call fcn.00452f39
test eax, eax
jne 0x4535fa
push esi
push edi
push ebx
call fcn.00452f39
mov esi, eax
cmp esi, edi
jne 0x453551
call fcn.0044f765
mov ecx, dword [eax + 0x30]
push 0xffffffffffffffff
call fcn.0043e412
mov esi, eax
cmp esi, edi
je 0x4535f9
push edi
push 0xffffffffffffffff
mov dword [esi + 4], ebx
call fcn.00453408
push edi
push esi
push dword [esi + 4]
call fcn.00453341
movzx eax, word [ebp + 0xc]
mov ebx, dword [ebp + 0xc]
shr ebx, 0x10
dec eax
je 0x4535aa
dec eax
je 0x4535a0
dec eax
dec eax
je 0x453596
sub eax, 4
je 0x45358c
sub eax, 8
je 0x453582
sub eax, 0x10
jne 0x4535f9
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x30]
jmp 0x4535f9
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x2c]
jmp 0x4535f9
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x28]
jmp 0x4535f9
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x24]
jmp 0x4535f9
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x20]
jmp 0x4535f9
mov eax, dword [esi + 4]
mov dword [ebp - 0x108], eax
lea eax, [ebp - 8]
push eax
push edi
push edi
lea eax, [ebp - 0x10c]
push eax
push edi
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10c], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
jne 0x4535e7
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp dword [ebp + 0xc], 1
je 0x4535f1
cmp ebx, edi
je 0x4535f9
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x1c]
pop esi
pop edi
pop ebx
leave
ret 8
Function at 0x453b1a
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x4558d8
call fcn.0043077c
sub esp, 0x198
mov eax, dword [0x46da7c]
push ebx
push esi
push edi
push 0x44f8b9
mov ecx, 0x470588
mov dword [ebp - 0x10], eax
call fcn.00450ace
mov edi, eax
xor ebx, ebx
cmp dword [edi + 0xc], ebx
jne 0x453b7c
mov esi, dword [ebp + 8]
cmp esi, ebx
jne 0x453b5a
lea esi, [ebp - 0x1a0]
push esi
push 0x101
call dword [sym.imp.WS2_32.dll_WSAStartup]
cmp eax, ebx
jne 0x453bae
cmp byte [esi], 1
jne 0x453ba8
cmp byte [esi + 1], 1
jne 0x453ba8
mov dword [edi + 0xc], 0x453ae7
call fcn.0044f765
mov esi, eax
cmp dword [esi + 0x30], ebx
jne 0x453bbb
push 0x1c
call fcn.0043eb95
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], ebx
je 0x453bb2
push 0xa
call fcn.0043e52d
jmp 0x453bb4
call dword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x453c1e
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x30], eax
cmp dword [esi + 0x34], ebx
jne 0x453bed
push 0x1c
call fcn.0043eb95
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 1
je 0x453be4
push 0xa
call fcn.0043e52d
jmp 0x453be6
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x34], eax
cmp dword [esi + 0x38], ebx
jne 0x453c1b
push 0x1c
call fcn.0043eb95
pop ecx
mov ecx, eax
mov dword [ebp - 0x1a4], ecx
cmp ecx, ebx
mov dword [ebp - 4], 2
je 0x453c16
push 0xa
call fcn.0043e044
jmp 0x453c18
xor eax, eax
mov dword [esi + 0x38], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop ebx
call fcn.0042d9b6
leave
ret 4
Function at 0x88b950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1d6000]
push edi
or ebp, 0xffffffff
jmp 0x88b972
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x88b979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b968
mov eax, 1
add ebx, ebx
jne 0x88b98b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x88b99c
jne 0x88b9bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b9bb
dec eax
add ebx, ebx
jne 0x88b9a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x88b980
add ebx, ebx
jne 0x88b9b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x88ba0d
xor ecx, ecx
sub eax, 3
jb 0x88b9d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x88ba42
sar eax, 1
mov ebp, eax
jmp 0x88b9de
add ebx, ebx
jne 0x88b9de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b9ac
inc ecx
add ebx, ebx
jne 0x88b9ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x88b9ac
add ebx, ebx
jne 0x88b9f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x88b9ee
jne 0x88ba0a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x88b9ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x88ba2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x88ba1e
jmp 0x88b96e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x88ba2c
add edi, ecx
jmp 0x88b96e
pop esi
mov edi, esi
mov ecx, 0x6992
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x88ba4a
cmp byte [edi], 0x13
jne 0x88ba4a
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 0x88ba4f
lea edi, [esi + 0x482000]
mov eax, dword [edi]
or eax, eax
je 0x88bac7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x48fb94]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x48fcd4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x88ba7c
mov ecx, edi
jns 0x88baab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x48fcd8]
or eax, eax
je 0x88bac1
mov dword [ebx], eax
add ebx, 4
jmp 0x88ba99
call dword [esi + 0x48fce8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x88baf8
cmp al, 0xef
ja 0x88baeb
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x88bacd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x88bada
mov ebp, dword [esi + 0x48fcdc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x88bb2c
sub esp, 0xffffff80
jmp 0x4aeda0
Function at 0x4026f0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x14]
push ebx
push ebp
push esi
mov eax, dword [ecx + 0x3c]
xor edx, edx
add eax, ecx
push edi
xor edi, edi
xor ebp, ebp
mov dx, word [eax + 0x14]
mov di, word [eax + 6]
test edi, edi
lea edx, [edx + eax + 0x18]
mov dword [esp + 0x10], edx
jle 0x40275e
mov esi, 0x40541c
mov eax, edx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x402745
test cl, cl
je 0x402741
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x402745
add eax, 2
add esi, 2
test cl, cl
jne 0x402721
xor eax, eax
jmp 0x40274a
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402756
inc ebp
add edx, 0x28
cmp ebp, edi
jl 0x40271a
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x10], edx
cmp ebp, edi
je 0x402854
mov esi, dword [edx + 0x14]
xor eax, eax
add esi, ecx
xor edx, edx
mov dword [esp + 0x18], 0
mov ax, word [esi + 0xe]
mov dx, word [esi + 0xc]
add eax, edx
lea ecx, [esi + 0x10]
test eax, eax
mov dword [esp + 0x1c], ecx
jle 0x402854
mov eax, dword [ecx]
cmp eax, 3
je 0x4027a0
cmp eax, 0xe
jne 0x40282e
mov ebx, dword [ecx + 4]
xor eax, eax
and ebx, 0x7fffffff
xor edx, edx
add ebx, esi
mov dword [esp + 0x14], 0
mov ax, word [ebx + 0xe]
mov dx, word [ebx + 0xc]
add eax, edx
test eax, eax
jle 0x40282e
lea eax, [ebx + 0x14]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
test eax, 0x80000000
jbe 0x402804
mov ebp, dword [esp + 0x10]
and eax, 0x7fffffff
mov edi, esi
mov edx, dword [eax + esi + 0x14]
sub edi, dword [ebp + 0xc]
add edx, esi
xor eax, eax
mov ecx, dword [edx + 4]
mov ebp, dword [edx]
mov edx, ecx
add edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x24]
xor ecx, ecx
xor edx, edx
mov cx, word [ebx + 0xe]
mov dx, word [ebx + 0xc]
inc eax
add ecx, edx
add ebp, 8
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], ebp
jl 0x4027cc
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
xor edx, edx
mov dx, word [esi + 0xe]
xor edi, edi
mov di, word [esi + 0xc]
inc eax
add edx, edi
add ecx, 8
cmp eax, edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
jl 0x402790
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x405c50
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1024
call fcn.00415460
mov eax, dword [0x423034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov esi, edx
push 0x7fe
push eax
mov word [ebp - 0x804], ax
xor bl, bl
lea eax, [ebp - 0x802]
push eax
call sub.MSVCR120.dll_memset
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x1004], ax
lea eax, [ebp - 0x1002]
push eax
call sub.MSVCR120.dll_memset
lea ecx, [ebp - 0x804]
add esp, 0x18
sub ecx, esi
mov edi, edi
movzx eax, word [esi]
lea esi, [esi + 2]
mov word [ecx + esi - 2], ax
test ax, ax
jne 0x405cb0
xor eax, eax
movzx ecx, word [eax + 0x41d09c]
lea eax, [eax + 2]
mov word [ebp + eax - 0x1006], cx
test cx, cx
jne 0x405cc2
xorps xmm0, xmm0
mov dword [ebp - 0x1024], 0
movdqu xmmword [ebp - 0x1020], xmm0
mov eax, 0x14
mov word [ebp - 0x1008], cx
movq qword [ebp - 0x1010], xmm0
mov word [ebp - 0x1014], ax
lea eax, [ebp - 0x804]
mov dword [ebp - 0x101c], eax
lea eax, [ebp - 0x1004]
mov dword [ebp - 0x1018], eax
lea eax, [ebp - 0x1024]
push eax
mov dword [ebp - 0x1020], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
movzx ecx, bl
mov edx, 1
cmove ecx, edx
mov al, cl
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00414a82
mov esp, ebp
pop ebp
ret