joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464162
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor edi, edi
lea eax, [ebp - 4]
push edi
push eax
mov ebx, ecx
mov dword [ebp - 4], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x4641a2
test byte [ebp - 4], 0x41
je 0x4641a2
push edi
push dword [ebx + 0x78]
call dword [sym.imp.WININET.dll_InternetAutodial]
test eax, eax
jne 0x4641a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx + 8], eax
xor al, al
jmp 0x464291
mov eax, dword [ebx + 0x44]
xor ecx, ecx
mov word [eax], cx
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x4641cf
push eax
cmp dword [ebx + 0x40], edi
je 0x4641be
push str.Range:_bytes_d__r_n
jmp 0x4641c3
push str.Range:_bytes_d_
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
cmp dword [ebx + 0x40], edi
je 0x4641e0
push dword [ebx + 0x40]
push dword [ebx + 0x44]
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push esi
cmp dword [ebx + 4], edi
jne 0x46424e
push dword [ebx + 0xc]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push dword [ebx + 0x50]
jmp 0x464214
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x46423c
mov eax, dword [ebx + 0x50]
test eax, 0x100
je 0x46423c
and eax, 0xfffffeff
push ebx
mov dword [ebx + 0x50], eax
push eax
push dword [ebx + 0x44]
mov esi, dword [ebx + 0x30]
mov edi, dword [ebx]
call fcn.00473ca3
pop ecx
push eax
push dword [ebx + 0x44]
mov ecx, ebx
push dword [ebx + 0x3c]
push esi
call dword [edi + 0x2c]
test eax, eax
je 0x4641f5
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x28]
jmp 0x464290
mov eax, dword [ebx]
lea ecx, [ebx + 0xc]
push 0
push ecx
push dword [ebx + 0x28]
mov ecx, ebx
call dword [eax + 8]
jmp 0x464290
cmp byte [ebp + 8], 0
je 0x46428e
lea esi, [ebx + 0xc]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
push edi
push dword [ebx + 0x44]
call fcn.00473ca3
pop ecx
push eax
push dword [ebx + 0x44]
push dword [ebx + 4]
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov edx, dword [ebx]
mov ecx, ebx
test eax, eax
je 0x464284
call dword [edx + 0x28]
jmp 0x464290
push edi
push esi
push dword [ebx + 0x28]
call dword [edx + 8]
jmp 0x464290
mov al, 1
pop esi
pop edi
pop ebx
leave
ret 4
Function at 0x464576
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
call fcn.00463d97
push esi
push edi
push edi
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
mov edi, eax
test edi, edi
je 0x46463f
inc dword [esi + 8]
xor ecx, ecx
mov eax, dword [esi + 8]
push ebx
push 2
pop ebx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459c53
inc dword [esi + 0x14]
xor ecx, ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 0x14]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459c53
inc dword [esi + 0x20]
xor ecx, ecx
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0x20]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459c53
inc dword [esi + 0x28]
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0x28]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459c53
inc dword [esi + 0x30]
xor ecx, ecx
mov dword [esi + 0x24], eax
mov eax, dword [esi + 0x30]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459c53
inc dword [esi + 0x38]
xor ecx, ecx
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x38]
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00459c53
add esp, 0x18
mov dword [esi + 0x34], eax
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret 8

Function at 0x464690
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], 4
call fcn.00464123
movzx edi, al
test al, al
je 0x4646c7
push 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000005
push dword [esi + 4]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test edi, edi
jne 0x4646d8
or ecx, 0xffffffff
jmp 0x4646de
mov ecx, dword [esi + 0x48]
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov ecx, esi
call fcn.0046397b
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4646f7
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea eax, [esi + 0x5c]
lea edi, [esi + 0x54]
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x6c]
xor ebx, ebx
cmp eax, 0x7530
jbe 0x464745
mov eax, dword [esi + 0x60]
mov dword [edi], eax
mov eax, dword [esi + 0x68]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x58], eax
mov dword [esi + 0x64], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x6c], eax
mov eax, dword [ebp - 4]
jmp 0x46474b
lea eax, [esi + 0x5c]
mov dword [ebp - 4], eax
mov ecx, dword [eax]
test ecx, ecx
jne 0x464755
mov eax, dword [edi]
jmp 0x4647a9
mov dword [ebp - 8], 0xa
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x4647a7
mov ebx, dword [ebp - 8]
or eax, 0xffffffff
xor edx, edx
mov esi, dword [edi]
div ebx
cmp esi, eax
jbe 0x46477e
mov eax, dword [ebp - 4]
shr esi, 1
shr ecx, 1
mov dword [edi], esi
mov dword [eax], ecx
imul esi, ebx
xor edx, edx
mov eax, esi
imul esi, dword [ebp - 8], 0xa
div ecx
xor edx, edx
imul eax, eax, 0x3e8
div dword [ebp - 8]
mov dword [ebp - 8], esi
mov ebx, eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, 3
jb 0x46475f
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46494f
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
pop ebp
ret

Function at 0x465457
Capabilities:
Create new key via cryptacquirecontext
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x4d9754]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
call fcn.004654d4
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
push 0x28
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.ole32.dll_StringFromGUID2]
push 0x28
lea eax, [ebp - 0x54]
push eax
lea esi, [ebx + 0x1c]
push esi
call fcn.00476dac
add esp, 0xc
push 8
push 1
push edi
push esi
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea eax, [ebx + 0x10]
push eax
push 0
push 0
push dword [ebx + 0x80]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045978b
leave
ret 4
Function at 0x468070
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x4d9754]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xa4]
push edi
mov edi, dword [ebp + 8]
push 0xa0
push 0
push eax
mov dword [ebp - 0xc4], edi
call fcn.004714b0
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0xb4]
push eax
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
add dword [ebp - 0xb4], 0xa
lea eax, [ebp - 0xa4]
sub dword [ebp - 0xac], 0xa
push 0x50
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp word [ebp - 0xa4], 0
je 0x468249
push esi
push 0x4b65d4
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xfffffffffffffff0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xffffffffffffffec
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0
push 0
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [ebp - 0xa8]
mov edx, dword [ebp - 0xb0]
sub ecx, edx
push eax
mov eax, dword [ebp - 0xac]
push 0xffffffffffffffff
push dword [ebx]
shr esi, 0x10
push ecx
mov ecx, dword [ebp - 0xb4]
and esi, 0xaffc
sub eax, ecx
or esi, 0x50000000
push eax
push edx
push ecx
push esi
lea eax, [ebp - 0xa4]
push eax
push str.STATIC
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
je 0x468248
push 0
push 0
push 0x31
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push eax
push 0x30
push edi
mov dword [ebp - 0xc0], eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x469950
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push ebx
push str.PROP_STAT_PSKIN
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_SetPropW]
push esi
push str.PROP_STAT_OLDPROC
push edi
call dword [sym.imp.USER32.dll_SetPropW]
push edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xbc], eax
test esi, esi
je 0x46821e
push dword [ebp - 0xc0]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0xbc]
push eax
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0xa4]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov ecx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0xbc]
push 2
push ecx
push eax
push dword [ebp - 0xb0]
push dword [ebp - 0xb4]
push dword [ebp - 0xc4]
push edi
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebx + 0x14c]
push ebx
push edi
call fcn.00467c10
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0045978b
mov esp, ebp
pop ebp
ret
Function at 0x46a810
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a29b3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d9754]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov edi, dword [ebp + 8]
mov dword [ebx + 0x7c], edi
mov dword [ebx + 0x80], 0
push 0x4c
push 0
push ebx
mov dword [ebp - 4], 0
call fcn.004714b0
push 0x30
lea esi, [ebx + 0x4c]
push 0
push esi
call fcn.004714b0
mov eax, dword [ebp + 0xc]
mov dword [esi], eax
mov eax, dword [ebx + 0x7c]
mov dword [ebx + 0x50], eax
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x5c], eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x14]
push edi
mov dword [ebx + 0x54], 1
mov dword [ebx + 0x6c], 0
mov dword [ebx + 0x64], 0x64
mov dword [ebx + 0x68], 0x64
mov dword [ebx + 0x60], 0
mov dword [ebx + 0x34], 0x4000
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 1
mov dword [ebx + 0x48], eax
call fcn.0046f290
mov dword [ebx + 0x58], eax
add esp, 0x1c
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46c090
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jne 0x46c09c
pop ebp
ret
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0046ab30

Function at 0x46d2e0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2ccd
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x4d9754]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
or esi, 0xffffffff
mov dword [ebp - 4], 0
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push dword [ebp + 8]
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, esi
je 0x46d39c
push edi
push edi
push edi
push 2
push edi
mov esi, ebx
push ebx
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test eax, eax
je 0x46d39c
push 0
push 0
push 0
push 4
mov edi, eax
push eax
mov dword [ebp - 0x1c], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x46d39c
push dword [ebp + 0xc]
mov dword [ebp - 0x20], eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ecx, dword [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call fcn.0046d0a0
cmp dword [sym.imp.KERNEL32.dll_UnmapViewOfFile], 0
mov bl, 1
je 0x46d39e
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x46d39e
xor bl, bl
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x46d3b7
test eax, eax
je 0x46d3b7
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x46d3c7
test eax, eax
je 0x46d3c7
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46eff0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push 2
mov dword [esi + 0x20], ecx
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 1
mov eax, dword [ebx + 0x10]
mov dword [esi + 0x30], eax
movzx eax, cx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46f05b
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x46f05b
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
push esi
push ebx
call fcn.0046d5e0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x46f070
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
test ebx, ebx
je 0x46f1da
call fcn.0046f240
movzx esi, word [ebp + 0xc]
mov edi, dword [ebp + 8]
push 0x4b091c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
jne 0x46f104
push 2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x46f1da
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x46f0f6
lea eax, [ebp - 4]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
movzx eax, word [ebp + 0xc]
push eax
push edi
mov dword [ebp - 4], 0
call sub.gdiplus.dll_GdipCreateBitmapFromResource
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov eax, 1
pop edi
mov dword [ebx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
pop edi
mov dword [ebx], esi
lea eax, [esi + 1]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 8], eax
test eax, eax
je 0x46f1ce
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x46f1ce
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x46f1c7
push esi
push dword [ebp - 8]
push eax
call fcn.00471640
add esp, 0xc
mov dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x46f1be
mov eax, dword [ebp - 4]
push 0x10
mov dword [ebp - 0xc], eax
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x46f1a7
lea eax, [ebp - 8]
mov dword [esi], vtable.Gdiplus::Bitmap.0
push eax
push dword [ebp - 0xc]
mov dword [ebp - 8], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], eax
jmp 0x46f1a9
xor esi, esi
mov eax, dword [ebp - 4]
mov dword [ebx], esi
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4a5608]
call esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4890b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4890dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4890dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10606058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x106061a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1060607e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1060606a
add dl, dl
jne 0x10606089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x106060dc
xor eax, eax
add dl, dl
jne 0x10606096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1060617d
add dl, dl
jne 0x106060a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106060b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106060bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106060c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x106060d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10606075
mov eax, 1
add dl, dl
jne 0x106060ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x106060f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x106060e1
sub eax, ebx
mov ebx, 1
jne 0x10606128
mov ecx, 1
add dl, dl
jne 0x1060610e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10606119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10606105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10606075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1060613f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1060614a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10606136
cmp eax, 0x7d00
jae 0x1060616d
cmp eax, 0x500
jb 0x10606168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10606075
cmp eax, 0x7f
ja 0x10606170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10606075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1060619e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10606075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x3001f3a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3001f3dc
cmp byte [eax], 0
je 0x3001f420
lea eax, [eax + 1]
test eax, 3
je 0x3001f3dc
cmp byte [eax], 0
je 0x3001f420
lea eax, [eax + 1]
test eax, 3
je 0x3001f3dc
cmp byte [eax], 0
je 0x3001f420
lea eax, [eax + 1]
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x1010101
xor edx, ecx
and edx, 0x80808080
je 0x3001f3dc
test cl, cl
lea eax, [eax - 4]
je 0x3001f420
test ecx, 0xff00
lea eax, [eax + 1]
je 0x3001f420
test ecx, 0xff0000
lea eax, [eax + 1]
je 0x3001f420
test ecx, 0xff000000
lea eax, [eax + 1]
je 0x3001f420
lea eax, [eax + 1]
jmp 0x3001f3dc
sub eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x3001f42f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3001f456
cmp word [eax], 0
je 0x3001f44f
lea eax, [eax + 2]
test eax, 3
je 0x3001f456
jmp 0x3001f43d
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x3001f491
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x3001f456
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x3001f491
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x3001f491
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x3001f456
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x3002138d
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, ecx
cmp si, 0xffff
push edi
mov dword [ebp - 4], edx
je 0x30021402
test si, 0x3ff
je 0x30021402
push dword [ebp + 8]
call fcn.30021317
test eax, eax
jne 0x3002140b
movzx edi, si
mov esi, dword [sym.imp.KERNEL32.DLL_GetLocaleInfoA]
push eax
push eax
push 0x58
push edi
call esi
test eax, eax
je 0x3002140b
lea eax, [ebp - 0x24]
push 0x20
push eax
push 0x58
push edi
call esi
and dword [ebp - 0x10], 0
lea edx, [ebp - 0x44]
push 3
lea ecx, [ebp - 0x14]
call fcn.3002128d
test eax, eax
je 0x300213fa
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x44]
mov byte [ecx], al
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x40]
mov dword [ecx], eax
jmp 0x3002140b
mov eax, dword [ebp - 4]
mov byte [eax], 1
jmp 0x30021405
mov byte [edx], 1
mov eax, dword [ebp + 8]
and dword [eax], 0
pop edi
pop esi
leave
ret 4

Function at 0x43b64a
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
sub edx, edx
mov edi, 0x2ac67f50
call fcn.0043b684
add edx, edx
add edi, 0xdb537edb
inc edx
xor dword [eax], ebx
dec edi
sub edi, edx
add edx, 0x8615de74
add eax, 1
dec edx
cmp eax, ecx
jne fcn.0043b64a
mov edi, 0xb34d5145
ret
Function at 0x431003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x402c16
Capabilities:
Check for peb beingdebugged flag
Encode data using xor

Disassembly:
mov word [edx], es
add dword [ecx], eax
xor dword [edi], ecx
xor byte [0x86600906], cl
dec eax
add dword [ebp + 3], esp
add al, 2
add dword [0x1823000], eax
stc
push es
or dword [ebx], ebp
push es
add dword [ecx + eax], eax
xor byte [edi], 0xa
add dword [eax + 0x30ea0182], esp
add byte [ecx], 0xe6
xor byte [esi + eax], cl
or ch, byte [ebx]
push es
add dword [ecx + eax], eax
xor byte [edi], 0xc
add dword [ecx], eax
add al, 0x10
dec edx
sbb eax, 0x4b7873cd
inc ebx
stosb byte es:[edi], al
pop ss
add al, 0xb0
sub esi, ebx
invalid