joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5d0538
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 0x5d06e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5d06c5
mov dl, 1
mov eax, dword [0x4411c0]
call fcn.0046abe8
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.004098bc
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5d06b4
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.00533a4c
test al, al
je 0x5d06a7
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, 0x5d06f4
lea eax, [ebp - 0x394]
call fcn.004252ac
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5d06a7
xor eax, eax
push ebp
push 0x5d06a0
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 0x5d0764
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5d0689
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a530
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 0x5d0689
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a530
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d06a7
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5d05a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.0046ab10
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 0x5d06eb
lea eax, [ebp - 0x3a0]
call fcn.004098bc
ret

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

Disassembly:
push ecx
mov eax, dword [0x6e3838]
cmp byte [eax + 0xc5], 0
jne 0x5d1316
cmp dword [0x6e385c], 0
jne 0x5d12d6
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x6db484]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x6e385c], eax
cmp dword [0x6e3858], 0
jne 0x5d12f1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x6e3858], eax
cmp dword [0x6e3860], 0
jne 0x5d1316
push esp
push 0
push 0
mov eax, dword [0x6db480]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x6e3860], eax
pop edx
ret
Function at 0x5d16e8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5d16ff
add esp, 0xfffffff0
call fcn.004080f8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00478004
mov eax, dword [0x6dc514]
cmp byte [eax], 0
jne 0x5d172c
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x6dc974]
cmp word [eax + 2], 0
jne 0x5d1746
mov eax, dword [0x6dc974]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005d3a8c
mov eax, dword [0x6dcb10]
cmp word [eax + 2], 0
jne 0x5d1760
mov eax, dword [0x6dcb10]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005d3c90
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4ef008]
call fcn.004f5c1c
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5d4118
mov dl, 1
mov eax, dword [0x43d768]
call fcn.00407a88
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x43d768]
call fcn.00407a88
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 + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4f42d4]
call fcn.004ff84c
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5d1950
mov eax, dword [0x6dc7b4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004ffcd4
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5d43d8
mov dl, 1
mov eax, dword [0x43d768]
call fcn.00407a88
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x6dc7b4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.004250ac
test eax, eax
je 0x5d187a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00424eb0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00425090
test eax, eax
je 0x5d1892
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.0040a530
push ebx
push 0x5d346c
call fcn.005c6b14
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x6dc514]
cmp byte [eax], 0
jne 0x5d18e3
mov eax, ebx
call fcn.005d1b18
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.005d4610
mov eax, ebx
call fcn.005d52bc
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5d1947
call fcn.00408150
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5d1e44
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5d1ee6
cmp dword [ebx + 0xac], 0
jne 0x5d1ee0
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5d1d84
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5d1ee0
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 0x5d1ea6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5d1ee0
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.004666bc
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5d1eb5
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x6e3838]
cmp dword [eax + 0x188], 0
je 0x5d22f5
test bl, bl
jne 0x5d2248
cmp dword [esi + 0xb4], 0
jne 0x5d223d
mov eax, esi
call fcn.005d510c
push eax
push 0x5d208c
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5d220e
mov eax, dword [0x6e3838]
cmp byte [eax + 0xeb], 0
je 0x5d220e
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5d21ef
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5d220e
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 0x5d21f7
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5d223d
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004666bc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5d221d
inc dword [esi + 0xb4]
jmp 0x5d22f5
cmp dword [esi + 0xb4], 0
jle 0x5d22f5
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5d22f5
cmp dword [esi + 0x58], 0
je 0x5d22aa
mov eax, dword [0x6e3838]
cmp byte [eax + 0xeb], 0
je 0x5d22aa
mov eax, dword [esi + 0xf0]
test eax, eax
je 0x5d228b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5d22aa
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 0x5d2293
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5d22d9
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004666bc
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5d22b9
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5c30dc]
call fcn.0040cc48
pop edi
pop esi
pop ebx
ret
Function at 0x5d3078
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 0x5d30d5
cmp byte [ebx + 0xeb], 0
jne 0x5d30d5
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409a44
mov eax, dword [esi]
test eax, eax
je 0x5d30c2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5d30e2
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409c9c
jmp 0x5d30e2
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409c9c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5d4824
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5d4895
mov eax, esi
call fcn.0052d18c
test al, al
je 0x5d4895
mov eax, dword [ebx + 0x98]
call fcn.0052cdb8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5d4895
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x150]
test al, al
je 0x5d4886
push 0
mov eax, dword [ebx + 0x98]
call fcn.0052cdb8
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.00523574
jmp 0x5d4895
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005d4630
pop esi
pop ebx
ret
Function at 0x5dd340
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
cmp dword [ebx + 0x90], 0
jne 0x5dd3c6
mov eax, dword [ebx + 8]
call fcn.0052cdb8
mov ecx, eax
mov dl, 1
mov eax, dword [0x53b994]
call fcn.00526be8
mov dword [ebx + 0x90], eax
mov esi, dword [ebx + 0x90]
xor edx, edx
mov eax, esi
call fcn.00542594
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x5dcc10
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
push 0
mov eax, dword [ebx + 0x90]
call fcn.0052cdb8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x90]
call fcn.0052cdb8
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0xa0], 0
jne 0x5dd448
mov eax, dword [ebx + 8]
call fcn.0052cdb8
mov ecx, eax
mov dl, 1
mov eax, dword [0x53b994]
call fcn.00526be8
mov dword [ebx + 0xa0], eax
mov esi, dword [ebx + 0xa0]
mov dl, 1
mov eax, esi
call fcn.00542594
mov dword [esi + 0x2d4], ebx
mov dword [esi + 0x2d0], 0x5dcc5c
push 8
push 0
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0xa0]
call fcn.0052cdb8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0xa0]
call fcn.0052cdb8
push eax
call sub.user32.dll_ShowWindow
cmp dword [ebx + 0x98], 0
jne 0x5dd4c6
mov eax, dword [ebx + 8]
call fcn.0052cdb8
mov ecx, eax
mov dl, 1
mov eax, dword [0x53c478]
call fcn.00526be8
mov dword [ebx + 0x98], eax
mov esi, dword [ebx + 0x98]
mov byte [esi + 0x2a8], 1
push 8
mov edx, 3
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
mov edx, 2
mov eax, esi
mov ecx, dword [eax]
call dword [ecx + 0xdc]
push eax
push 0
push 0
push 0
mov eax, dword [ebx + 0x98]
call fcn.0052cdb8
push eax
call sub.user32.dll_SetWindowPos
push 0
mov eax, dword [ebx + 0x98]
call fcn.0052cdb8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x61eab0
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x61ec14
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 8]
test esi, esi
je 0x61eaf2
or ebx, 0xffff
mov eax, esi
call fcn.0040a478
mov esi, eax
jmp 0x61eaf4
xor esi, esi
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.winhttp.dll_WinHttpQueryHeaders
call sub.kernel32.dll_GetLastError
cmp eax, 0x2f76
jne 0x61eb24
mov eax, edi
call fcn.004098bc
jmp 0x61ebf9
call sub.kernel32.dll_GetLastError
cmp eax, 0x7a
je 0x61eb74
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x20]
mov edx, dword [0x6e38b8]
call fcn.00428c58
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [0x6dc7ec]
mov dl, 1
mov eax, dword [0x621ba4]
call fcn.0042a18c
call fcn.00408f7c
mov edx, dword [ebp - 0xc]
shr edx, 1
dec edx
mov eax, edi
call fcn.0040a608
mov eax, dword [edi]
test eax, eax
je 0x61eb8c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x61ebf9
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [edi]
call fcn.0040a478
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
push eax
call sub.winhttp.dll_WinHttpQueryHeaders
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x61ebf9
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x24]
mov edx, dword [0x6e38b8]
call fcn.00428c58
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x1c]
push eax
push 1
mov ecx, dword [0x6dc7ec]
mov dl, 1
mov eax, dword [0x621ba4]
call fcn.0042a18c
call fcn.00408f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x61ec1b
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040991c
ret

Function at 0x61edc0
Capabilities:
Initialize winhttp library

Disassembly:
push ebx
push esi
push edi
test dl, dl
je 0x61edcf
add esp, 0xfffffff0
call fcn.004080f8
mov ebx, edx
mov edi, eax
mov eax, edi
call fcn.00628350
mov dl, 1
mov eax, dword [0x61d524]
call fcn.00621738
mov dword [edi + 0xb8], eax
mov dl, 1
mov eax, dword [0x60c1a0]
call fcn.006142a4
mov dword [edi + 0xb4], eax
mov eax, dword [0x61c624]
call fcn.00621328
push 0
push 0
push 0
push 1
push 0x61ee70
call sub.winhttp.dll_WinHttpOpen
mov esi, eax
mov dword [edi + 0xb0], esi
test esi, esi
jne 0x61ee3d
mov ecx, dword [0x6dc970]
mov dl, 1
mov eax, dword [0x621c5c]
call fcn.0042a150
call fcn.00408f7c
push 0
push 0x10010
push 0x61ec34
mov eax, dword [edi + 0xb0]
push eax
call sub.winhttp.dll_WinHttpSetStatusCallback
mov eax, edi
test bl, bl
je 0x61ee6a
call fcn.00408150
pop dword fs:[0]
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x61fe9c
Capabilities:
Prepare http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x62006f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebx + 0xb8], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jle 0x61fedf
mov esi, dword [ebp - 4]
movzx esi, word [esi + 0x10]
jmp 0x61fee1
xor esi, esi
push 0
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0040a478
push eax
mov eax, dword [ebx + 0x58]
mov eax, dword [eax + 0xb0]
push eax
call sub.winhttp.dll_WinHttpConnect
mov edi, eax
mov dword [ebx + 0xa0], edi
test edi, edi
jne 0x61ff35
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x6dc508]
mov dl, 1
mov eax, dword [0x621d24]
call fcn.0042a18c
call fcn.00408f7c
xor esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 0x62008c
call fcn.0040a818
jne 0x61ff4e
or esi, 0x800000
push esi
push 0
push 0
push 0
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0061ea70
mov eax, dword [ebp - 0x10]
call fcn.0040a478
push eax
lea edx, [ebp - 0x14]
mov eax, ebx
call fcn.0061167c
mov eax, dword [ebp - 0x14]
call fcn.0040a478
push eax
mov eax, dword [ebx + 0xa0]
push eax
call sub.winhttp.dll_WinHttpOpenRequest
mov edi, eax
mov dword [ebx + 0xa4], edi
test edi, edi
jne 0x61ffda
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x28]
mov edx, dword [0x6e38b8]
call fcn.00428c58
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x6dc904]
mov dl, 1
mov eax, dword [0x621d24]
call fcn.0042a18c
call fcn.00408f7c
mov eax, dword [ebx + 0x14]
push eax
mov eax, ebx
call fcn.006117cc
push eax
mov esi, dword [ebx + 0xc]
push esi
push esi
mov eax, dword [ebx + 0xa4]
push eax
call sub.winhttp.dll_WinHttpSetTimeouts
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x620047
call sub.kernel32.dll_GetLastError
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
call sub.kernel32.dll_GetLastError
lea ecx, [ebp - 0x2c]
mov edx, dword [0x6e38b8]
call fcn.00428c58
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0x11
lea eax, [ebp - 0x24]
push eax
push 1
mov ecx, dword [0x6dca6c]
mov dl, 1
mov eax, dword [0x621d24]
call fcn.0042a18c
call fcn.00408f7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x620076
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.0040991c
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040991c
ret
Function at 0x634af4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6e3ce8], 0
jne 0x634b0b
call fcn.00634ab0
mov eax, edi
dec eax
test eax, eax
jl 0x634b33
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6e38e8]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x634b15
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x637b10
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 0x637b41
dec al
je 0x637b7c
dec al
je 0x637bc0
dec al
je 0x637c32
jmp 0x637ccd
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x637ccd
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 0x637b51
jmp 0x637ccd
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x637ccd
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 0x637b8c
jmp 0x637ccd
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x637ccd
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 0x637bf3
xor edx, edx
mov dword [esp + 4], edx
jmp 0x637c08
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 0x637c20
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x637bd0
jmp 0x637ccd
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 0x637ccd
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 0x637c99
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.00634b3c
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 0x637c4e
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x63f388
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x63f3b6
mov eax, ebx
call fcn.0063fe44
cmp dword [ebx + 0x40], 0
je 0x63f3af
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x63f427
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x63f419
cmp dword [ebx + 8], 0
je 0x63f3d8
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 0x63f3ea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x63f419
cmp dword [ebx + 8], 0
je 0x63f3cb
cmp eax, 3
je 0x63f3fd
dec eax
jne 0x63f3cb
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 0x63f3cb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x63f3cb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x63f445
cmp dword [ebx + 0x14], 0xcc
je 0x63f445
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.0063f450
pop ebx
ret

Function at 0x658cec
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
xor eax, eax
push ebp
push 0x658db5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 4]
mov ecx, dword [ecx]
mov eax, ecx
test eax, eax
je 0x658d13
sub eax, 4
mov eax, dword [eax]
mov edx, eax
test edx, edx
jns 0x658d1e
call fcn.004079a0
mov eax, ecx
mov ecx, edx
add ecx, ecx
add ecx, eax
cmp ecx, eax
jbe 0x658d3c
movzx ebx, word [eax]
xor edx, ebx
imul edx, edx, 0x1000193
add eax, 2
cmp ecx, eax
ja 0x658d2a
mov ebx, edx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.0065cbe8
test al, al
je 0x658d87
lea ecx, [ebp - 4]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.0065c848
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx]
call fcn.0040a818
jne 0x658d9f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.00409c9c
jmp 0x658d9f
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 4]
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov eax, dword [eax + 0x20]
mov edx, ebx
call fcn.0065caac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x658dbc
lea eax, [ebp - 4]
call fcn.004098bc
ret