joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5e6748
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5e68f8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5e68d7
mov dl, 1
mov eax, dword [0x48c134]
call fcn.004b80e8
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040b634
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5e68c6
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0055773c
test al, al
je 0x5e68b9
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
movzx eax, word [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5e6908
lea eax, [ebp - 0x394]
call fcn.00428694
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5e68b9
xor eax, eax
push ebp
push 0x5e68b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5e6978
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5e6899
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c2c8
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5e6899
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040c2c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e68b9
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
pop eax
jmp eax
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5e67b9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b8010
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e68ff
lea eax, [ebp - 0x3a0]
call fcn.0040b634
pop eax
jmp eax

Function at 0x5e7690
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x66cc08]
cmp byte [eax + 0xc5], 0
jne 0x5e7702
cmp dword [0x66cc2c], 0
jne 0x5e76c2
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6635a4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x66cc2c], eax
cmp dword [0x66cc28], 0
jne 0x5e76dd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x66cc28], eax
cmp dword [0x66cc30], 0
jne 0x5e7702
push esp
push 0
push 0
mov eax, dword [0x6635a0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x66cc30], eax
pop edx
ret
Function at 0x5e7afc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5e7b13
add esp, 0xfffffff0
call fcn.00409e4c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c8e70
mov eax, dword [0x6655a0]
cmp byte [eax], 0
jne 0x5e7b40
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x19c], al
mov eax, dword [0x665a70]
cmp word [eax + 2], 0
jne 0x5e7b5a
mov eax, dword [0x665a70]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005e9fc0
mov eax, dword [0x665c18]
cmp word [eax + 2], 0
jne 0x5e7b74
mov eax, dword [0x665c18]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005ea3d8
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x50d988]
call fcn.005161a0
mov esi, eax
mov dword [ebx + 0x54], esi
mov byte [esi + 0x25], 1
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5ea984
mov dl, 1
mov eax, dword [0x488274]
call fcn.0040982c
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x488274]
call fcn.0040982c
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x512fa8]
call fcn.00520d04
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5e7d68
mov eax, dword [0x665888]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.005212fc
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5eac70
mov dl, 1
mov eax, dword [0x488274]
call fcn.0040982c
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x665888]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00428494
test eax, eax
je 0x5e7c8b
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00428298
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00428478
test eax, eax
je 0x5e7ca3
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040c2c8
push ebx
push 0x5e9998
call fcn.005d7944
mov dword [ebx + 0x198], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x6655a0]
cmp byte [eax], 0
jne 0x5e7cf4
mov eax, ebx
call fcn.005e7f30
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005eb018
mov eax, ebx
call fcn.005ebb50
mov byte [ebx + 0x19e], 0
mov byte [ebx + 0xf5], 1
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5e7d5f
call fcn.00409ea4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5e8260
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x190]
test eax, eax
je 0x5e8302
cmp dword [ebx + 0xac], 0
jne 0x5e82fc
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5e81a0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5e82fc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5e82c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5e82fc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004b2f2c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5e82d1
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x66cc08]
cmp dword [eax + 0x190], 0
je 0x5e879d
test bl, bl
jne 0x5e86f2
cmp dword [esi + 0xb4], 0
jne 0x5e86e7
mov eax, esi
call fcn.005eb9a0
push eax
push 0x5e8540
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5e86b8
mov eax, dword [0x66cc08]
cmp byte [eax + 0xeb], 0
je 0x5e86b8
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5e8699
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5e86b8
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5e86a1
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5e86e7
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b2f2c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5e86c7
inc dword [esi + 0xb4]
jmp 0x5e879d
cmp dword [esi + 0xb4], 0
jle 0x5e879d
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5e879d
cmp dword [esi + 0x58], 0
je 0x5e8752
mov eax, dword [0x66cc08]
cmp byte [eax + 0xeb], 0
je 0x5e8752
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5e8733
mov eax, dword [eax - 4]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5e8752
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5e873b
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5e8781
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004b2f2c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5e8761
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5d4358]
call fcn.0040e9ec
pop edi
pop esi
pop ebx
ret
Function at 0x5e95a4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5e95ff
cmp byte [ebx + 0xeb], 0
jne 0x5e95ff
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x190]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040b7cc
mov eax, dword [esi]
test eax, eax
je 0x5e95ec
mov eax, dword [eax - 4]
test eax, eax
jne 0x5e960c
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040ba24
jmp 0x5e960c
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040ba24
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5eb22c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5eb29d
mov eax, esi
call fcn.00551138
test al, al
je 0x5eb29d
mov eax, dword [ebx + 0x98]
call fcn.00550cd0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5eb29d
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x17c]
test al, al
je 0x5eb28e
push 0
mov eax, dword [ebx + 0x98]
call fcn.00550cd0
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0054699c
jmp 0x5eb29d
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005eb038
pop esi
pop ebx
ret
Function at 0x5f0e6c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x98], 0
jne 0x5f0ef2
mov eax, dword [ebx + 8]
call fcn.00550cd0
mov ecx, eax
mov dl, 1
mov eax, dword [0x561cc4]
call fcn.0054a588
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
xor edx, edx
mov eax, esi
call fcn.00568f5c
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5f073c
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.00550cd0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.00550cd0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa8], 0
jne 0x5f0f74
mov eax, dword [ebx + 8]
call fcn.00550cd0
mov ecx, eax
mov dl, 1
mov eax, dword [0x561cc4]
call fcn.0054a588
mov dword [ebx + 0xa8], eax
mov esi, dword [ebx + 0xa8]
mov dl, 1
mov eax, esi
call fcn.00568f5c
mov dword [esi + 0x2f4], ebx
mov dword [esi + 0x2f0], 0x5f0788
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa8]
call fcn.00550cd0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa8]
call fcn.00550cd0
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x5f0ff2
mov eax, dword [ebx + 8]
call fcn.00550cd0
mov ecx, eax
mov dl, 1
mov eax, dword [0x562808]
call fcn.0054a588
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov byte [esi + 0x2c8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xe8]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.00550cd0
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.00550cd0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x5fa97c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5fa9aa
mov eax, ebx
call fcn.005fb438
cmp dword [ebx + 0x40], 0
je 0x5fa9a3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5faa1b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5faa0d
cmp dword [ebx + 8], 0
je 0x5fa9cc
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x5fa9de
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5faa0d
cmp dword [ebx + 8], 0
je 0x5fa9bf
cmp eax, 3
je 0x5fa9f1
dec eax
jne 0x5fa9bf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x5fa9bf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5fa9bf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5faa39
cmp dword [ebx + 0x14], 0xcc
je 0x5faa39
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.005faa44
pop ebx
ret

Function at 0x60e6cc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
test dl, dl
je 0x60e6e6
add esp, 0xfffffff0
call fcn.00409e4c
mov byte [ebp - 9], dl
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 0xc]
xor eax, eax
push ebp
push 0x60e805
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
mov eax, dword [ebp - 8]
mov dword [eax + 8], ebx
mov eax, ebx
shl eax, 3
call fcn.00406e90
mov edx, dword [ebp - 8]
mov dword [edx + 0xc], eax
dec ebx
test ebx, ebx
jl 0x60e7ed
inc ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x18]
call fcn.0052a148
xor eax, eax
push ebp
push 0x60e7da
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x30]
call fcn.0052a148
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea esi, [eax + edx*8]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov eax, dword [eax + 8]
mov dword [esi], eax
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.0040c304
jmp 0x60e7a5
lea eax, [esi + 4]
mov ecx, 1
mov edx, 1
call fcn.0040c630
mov edi, dword [esi + 4]
mov ebx, edi
test ebx, ebx
je 0x60e7b1
mov ebx, dword [ebx - 4]
dec ebx
jle 0x60e7bd
mov eax, dword [esi + 4]
cmp word [eax], 0x5f
je 0x60e793
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60e7e1
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [eax]
call dword [eax + 0x54]
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x60e80c
lea eax, [ebp - 4]
call fcn.0040b67c
pop eax
jmp eax
Function at 0x6174ac
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x66d078], 0
jne 0x6174c3
call fcn.00617468
mov eax, edi
dec eax
test eax, eax
jl 0x6174eb
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x66cc78]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6174cd
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x61a5b8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x61a5e9
dec al
je 0x61a624
dec al
je 0x61a668
dec al
je 0x61a6da
jmp 0x61a775
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x61a775
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x61a5f9
jmp 0x61a775
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x61a775
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
movzx ecx, al
mov ecx, dword [ebx + ecx*4 + 0x40]
add dl, byte [ecx + esi]
and dl, 0xff
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x61a634
jmp 0x61a775
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x61a775
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
jbe 0x61a69b
xor edx, edx
mov dword [esp + 4], edx
jmp 0x61a6b0
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov ebp, dword [ebx + edx*4 + 0x40]
movzx edx, byte [ebp + esi]
add eax, dword [esp + 4]
sar eax, 1
jns 0x61a6c8
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x61a678
jmp 0x61a775
xor eax, eax
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 8], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x61a775
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, dword [ebx + 0x24]
mov ecx, esi
dec ecx
cmp edx, ecx
ja 0x61a741
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 8], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 8]
push eax
movzx eax, byte [esp + 8]
pop edx
call fcn.006174f4
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [esp]
and al, 0xff
mov byte [edx + esi], al
inc esi
dec edi
jne 0x61a6f6
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x646494
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x64649d
mov eax, dword [ebp - 4]
add esp, 0xfffffdb8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040b728
xor eax, eax
push ebp
push 0x6465a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x665d1c]
mov byte [eax], 0
mov dword [ebx], 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x258]
call fcn.00408190
mov edx, 1
lea eax, [ebp - 0x258]
call fcn.00409104
call fcn.00407190
test eax, eax
jne 0x646581
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10249]
mov ecx, 0xfff1
lea eax, [ebp - 0x258]
call fcn.00408380
mov eax, dword [ebp - 8]
cmp eax, 0xffff
jbe 0x64652b
call fcn.00409468
test ax, ax
jbe 0x64657b
mov dx, 1
movzx ecx, dx
dec ecx
cmp ecx, 0xfff0
jbe 0x646545
call fcn.00409468
inc ecx
movzx ecx, byte [ebp + ecx - 0x1024a]
mov esi, dword [ebx]
and esi, 0xff
xor ecx, esi
cmp ecx, 0xff
jbe 0x646565
call fcn.00409468
mov ecx, dword [ecx*4 + 0x66514c]
mov esi, dword [ebx]
shr esi, 8
xor ecx, esi
mov dword [ebx], ecx
inc edx
dec ax
jne 0x646534
cmp dword [ebp - 8], 0
jne 0x646502
lea eax, [ebp - 0x258]
call fcn.004083c0
not dword [ebx]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6465ad
lea eax, [ebp - 4]
call fcn.0040b634
pop eax
jmp eax
Function at 0x6469a0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff980
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov esi, edx
mov dword [ebp - 8], eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x646b66
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
lea eax, [ebp - 4]
mov edx, 0x646b88
call fcn.0040ba6c
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x2c], edx
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040c214
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x646b24
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, esi
call fcn.0040c214
mov edi, eax
push edi
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetOpenUrlW
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x646b0b
xor eax, eax
push ebp
push 0x646b04
push dword fs:[eax]
mov dword fs:[eax], esp
push edi
call sub.wininet.dll_DeleteUrlCacheEntryW
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 0x680]
call fcn.00408190
call fcn.00407038
mov edx, 1
lea eax, [ebp - 0x680]
call fcn.00409120
call fcn.00407038
lea eax, [ebp - 0x1c]
push eax
push 0x400
lea eax, [ebp - 0x430]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetReadFile
push 0
lea edx, [ebp - 0x430]
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x680]
call fcn.004083a0
call fcn.00407038
test bl, bl
je 0x646ad1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add dword [eax + 0x2c], edx
jae 0x646ab6
call fcn.00409470
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], 0x6467a0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.004c8878
cmp dword [ebp - 0x1c], 0
jne 0x646a6e
lea eax, [ebp - 0x680]
call fcn.004083c0
call fcn.00407038
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x646b0b
mov eax, dword [ebp - 0x18]
push eax
call sub.wininet.dll_InternetCloseHandle
pop eax
jmp eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x646b2b
mov eax, dword [ebp - 0x14]
push eax
call sub.wininet.dll_InternetCloseHandle
pop eax
jmp eax
Function at 0x4ab306
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004ab4b6
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x4ab404
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4ab3a7
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x4ab3ea
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4ab3be
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x4ab3d9
test al, 0x40
je 0x4ab3d0
mov ecx, dword [edi + 0x20]
jmp 0x4ab3d7
test al, 0x80
je 0x4ab3ea
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x4ab3ea
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4ab376
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret