joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ca3e4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5ca3f6
add esp, 0xfffffff0
call fcn.00408ef8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c1a74
mov eax, dword [0x6986bc]
mov dword [eax + 4], ebx
mov dword [eax], 0x5ca8b0
mov eax, dword [0x6986d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x5ca8bc
mov eax, ebx
call fcn.005ca8c8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x489e34]
call fcn.00408840
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x489e34]
call fcn.00408840
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x489e34]
call fcn.00408840
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x489e34]
call fcn.00408840
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x489e34]
call fcn.00408840
mov dword [ebx + 0x84], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x50], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x68]
push eax
mov eax, 0x5c4db4
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4f2fb0]
call fcn.004f94d8
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4f2fb0]
call fcn.004f94d8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4f2fb0]
call fcn.004f94d8
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4f2fb0]
call fcn.004f94d8
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4f2fb0]
call fcn.004f94d8
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005caea4
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5cacd4
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5cacd4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5cacd4
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5cacd4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5cacd4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5ca576
call fcn.00408f50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5caa74
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 0x5cac1f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5cac00
mov dl, 1
mov eax, dword [0x48d7f0]
call fcn.004b10b8
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040a65c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5cabef
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.005341b0
test al, al
je 0x5cabe2
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5cac30
lea eax, [ebp - 0x394]
call fcn.00425388
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5cabe2
xor eax, eax
push ebp
push 0x5cabdb
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 0x5caca0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5cabc4
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b3b8
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 0x5cabc4
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040b3b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cabe2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5caae5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004b0fdc
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 0x5cac26
lea eax, [ebp - 0x3a0]
call fcn.0040a65c
ret

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

Disassembly:
push ecx
mov eax, dword [0x6a01a0]
cmp byte [eax + 0xc5], 0
jne 0x5cb89e
cmp dword [0x6a01c4], 0
jne 0x5cb85e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, dword [0x69513c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x6a01c4], eax
cmp dword [0x6a01c0], 0
jne 0x5cb879
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x6a01c0], eax
cmp dword [0x6a01c8], 0
jne 0x5cb89e
push esp
push 0
push 0
mov eax, dword [0x695138]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x6a01c8], eax
pop edx
ret
Function at 0x5cbcc0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5cbcd7
add esp, 0xfffffff0
call fcn.00408ef8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004c1a74
mov eax, dword [0x6983a8]
cmp byte [eax], 0
jne 0x5cbd04
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x698b14]
cmp word [eax + 2], 0
jne 0x5cbd1e
mov eax, dword [0x698b14]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005ce0b4
mov eax, dword [0x698da4]
cmp word [eax + 2], 0
jne 0x5cbd38
mov eax, dword [0x698da4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005ce2b8
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4f2fb0]
call fcn.004f94d8
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5ce830
mov dl, 1
mov eax, dword [0x489e34]
call fcn.00408840
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x489e34]
call fcn.00408840
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 [0x4f7d4c]
call fcn.00503818
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5cbf28
mov eax, dword [0x69882c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00503d44
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5ceb18
mov dl, 1
mov eax, dword [0x489e34]
call fcn.00408840
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x69882c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00425188
test eax, eax
je 0x5cbe52
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00424fe0
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0042516c
test eax, eax
je 0x5cbe6a
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.0040b3b8
push ebx
push 0x5cda90
call fcn.005c0f8c
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x6983a8]
cmp byte [eax], 0
jne 0x5cbebb
mov eax, ebx
call fcn.005cc10c
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.005ced50
mov eax, ebx
call fcn.005cf9d8
mov byte [ebx + 0x196], 0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5cbf1f
call fcn.00408f50
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5cc450
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5cc4f2
cmp dword [ebx + 0xac], 0
jne 0x5cc4ec
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5cc38c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5cc4ec
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 0x5cc4b2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5cc4ec
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.004ac644
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5cc4c1
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x6a01a0]
cmp dword [eax + 0x188], 0
je 0x5cc926
test bl, bl
jne 0x5cc871
cmp dword [esi + 0xb4], 0
jne 0x5cc866
mov eax, esi
call fcn.005cf828
push eax
push 0x5cc6a0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5cc837
mov eax, dword [0x6a01a0]
cmp byte [eax + 0xeb], 0
je 0x5cc837
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5cc818
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5cc837
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 0x5cc820
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cc866
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ac644
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cc846
inc dword [esi + 0xb4]
jmp 0x5cc926
cmp dword [esi + 0xb4], 0
jle 0x5cc926
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5cc926
cmp dword [esi + 0x58], 0
je 0x5cc8db
mov eax, dword [0x6a01a0]
cmp byte [eax + 0xeb], 0
je 0x5cc8db
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5cc8bc
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5cc8db
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 0x5cc8c4
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5cc90a
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004ac644
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5cc8ea
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5bddc8]
call fcn.0040cca8
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5cd5c4
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 0x5cd621
cmp byte [ebx + 0xeb], 0
jne 0x5cd621
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.0040a7e4
mov eax, dword [esi]
test eax, eax
je 0x5cd60e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5cd62e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040aa3c
jmp 0x5cd62e
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040aa3c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5cef64
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5cefd5
mov eax, esi
call fcn.0052dcd0
test al, al
je 0x5cefd5
mov eax, dword [ebx + 0x98]
call fcn.0052d8fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5cefd5
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x134]
test al, al
je 0x5cefc6
push 0
mov eax, dword [ebx + 0x98]
call fcn.0052d8fc
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.005243b4
jmp 0x5cefd5
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005ced70
pop esi
pop ebx
ret
Function at 0x5daedc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x6a05dc], 0
jne 0x5daef3
call fcn.005dae98
mov eax, edi
dec eax
test eax, eax
jl 0x5daf1b
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x6a01dc]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x5daefd
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x5ddc70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x5ddd0a.0
jmp dword [ecx*4 + 0x5ddca3]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5ddcd5
sub dl, 8
je 0x5ddce4
jmp case.0x5ddd0a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5dd93c
jmp case.0x5ddd0a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5dd990
jmp case.0x5ddd0a.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x5ddd0a.0
movzx ecx, byte [ecx + 0x5ddd11]
jmp dword [ecx*4 + 0x5ddd22]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5dda30
jmp case.0x5ddd0a.0
cmp dl, 3
jne 0x5ddd4f
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5dda88
jmp case.0x5ddd0a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5dda44
jmp case.0x5ddd0a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ddacc
jmp case.0x5ddd0a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5ddd7a
sub dl, 8
je 0x5ddd86
jmp case.0x5ddd0a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ddaf8
jmp case.0x5ddd0a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ddb5c
jmp case.0x5ddd0a.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x5ddda5
sub dl, 8
je 0x5dddb1
jmp case.0x5ddd0a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ddc0c
jmp case.0x5ddd0a.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x5ddc34
mov ecx, dword [eax + 0x468]
mov edx, dword [ebx + 0x1c]
dec edx
imul ecx, edx
mov esi, ecx
add esi, dword [eax + 0x450]
mov dword [ebp - 0xc], esi
mov esi, dword [eax + 0x454]
mov dword [ebp - 8], esi
add ecx, dword [eax + 0x44c]
mov dword [ebp - 0x10], ecx
mov esi, edx
test esi, esi
jb 0x5dde53
inc esi
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.005dce98
test eax, eax
je 0x5dde53
mov eax, ebx
call fcn.005dde5c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea edx, [eax + 1]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
call dword [ebp - 0x18]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [ebx + 0x14]
mov eax, dword [eax + 0x468]
sub dword [ebp - 0xc], eax
sub dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x18]
add dword [ebp - 8], eax
dec esi
jne 0x5dddec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x5dde5c
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 0x5dde8d
dec al
je 0x5ddec8
dec al
je 0x5ddf0c
dec al
je 0x5ddf7e
jmp 0x5de019
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x5de019
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 0x5dde9d
jmp 0x5de019
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5de019
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 0x5dded8
jmp 0x5de019
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x5de019
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 0x5ddf3f
xor edx, edx
mov dword [esp + 4], edx
jmp 0x5ddf54
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 0x5ddf6c
adc eax, 0
add dl, al
and dl, 0xff
mov byte [ebp + esi], dl
inc esi
dec edi
jne 0x5ddf1c
jmp 0x5de019
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 0x5de019
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 0x5ddfe5
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.005daf24
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 0x5ddf9a
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x5e5d08
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x5e5d36
mov eax, ebx
call fcn.005e67c4
cmp dword [ebx + 0x40], 0
je 0x5e5d2f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x5e5da7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x5e5d99
cmp dword [ebx + 8], 0
je 0x5e5d58
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 0x5e5d6a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x5e5d99
cmp dword [ebx + 8], 0
je 0x5e5d4b
cmp eax, 3
je 0x5e5d7d
dec eax
jne 0x5e5d4b
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 0x5e5d4b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x5e5d4b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x5e5dc5
cmp dword [ebx + 0x14], 0xcc
je 0x5e5dc5
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.005e5dd0
pop ebx
ret

Function at 0x5f7470
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a740
xor eax, eax
push ebp
push 0x5f759b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00423658
mov edx, dword [ebp - 0x3c]
mov ecx, 1
mov eax, 0x5f75bc
call fcn.0040b8e8
test eax, eax
jne 0x5f74ce
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x5f75bc
call fcn.0040b568
mov byte [ebp - 5], 0
push 0
push 0
push 0
push 0
push 0x5f75cc
call sub.wininet.dll_InternetOpenW
mov ebx, eax
test ebx, ebx
je 0x5f7578
push 0
push 0x80000000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040b2fc
push eax
push ebx
call sub.wininet.dll_InternetOpenUrlW
mov esi, eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0xa
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x38]
push eax
push 0x13
push esi
call sub.wininet.dll_HttpQueryInfoW
lea edi, [ebp - 0x38]
lea eax, [ebp - 0x40]
mov edx, edi
call fcn.0040b364
mov eax, dword [ebp - 0x40]
mov edx, 0x5f75f4
call fcn.0040b6a0
je 0x5f7563
lea eax, [ebp - 0x44]
mov edx, edi
call fcn.0040b364
mov eax, dword [ebp - 0x44]
mov edx, 0x5f7608
call fcn.0040b6a0
je 0x5f7563
xor eax, eax
jmp 0x5f7565
mov al, 1
mov byte [ebp - 5], al
test esi, esi
je 0x5f7572
push esi
call sub.wininet.dll_InternetCloseHandle
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5f75a2
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040a6bc
lea eax, [ebp - 4]
call fcn.0040a65c
ret
Function at 0x5f7c17
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
push ebx
push 0
push 0x1fffff
call sub.KERNEL32.DLL_OpenProcess
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
push 0x40
push 0x1000
push 0x800
push 0
mov eax, dword [esp + 0x10]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
pop ecx
pop edx
pop ebx
ret

Function at 0x5f7c48
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
push ebx
push 0
push 0x1fffff
call sub.KERNEL32.DLL_OpenProcess
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
push 0x40
push 0x1000
push 0x800
push esi
mov eax, dword [esp + 0x10]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5f7c52
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
push ebx
push 0
push 0x1fffff
call sub.KERNEL32.DLL_OpenProcess
xor edx, edx
mov dword [esp], eax
mov dword [esp + 4], edx
push 0x40
push 0x1000
push 0x800
push esi
mov eax, dword [esp + 0x10]
push eax
call sub.KERNEL32.DLL_VirtualAllocEx
pop ecx
pop edx
pop esi
pop ebx
ret