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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x5a3a32
add esp, 0xfffffff0
call fcn.00407bd0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004af3a8
mov eax, dword [0x729f90]
mov dword [eax + 4], ebx
mov dword [eax], 0x5a3ee8
mov eax, dword [0x729fb0]
mov dword [eax + 4], ebx
mov dword [eax], 0x5a3ef4
mov eax, ebx
call fcn.005a3f00
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x47b924]
call fcn.00407628
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x47b924]
call fcn.00407628
mov dword [ebx + 0x60], eax
mov dl, 1
mov eax, dword [0x47b924]
call fcn.00407628
mov dword [ebx + 0x64], eax
mov dl, 1
mov eax, dword [0x47b924]
call fcn.00407628
mov dword [ebx + 0x68], eax
mov dl, 1
mov eax, dword [0x47b924]
call fcn.00407628
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, 0x59ec50
push eax
push 0
push 0
call sub.user32.dll_EnumDisplayMonitors
mov dl, 1
mov eax, dword [0x4e01b8]
call fcn.004e644c
mov dword [ebx + 0x8c], eax
mov dl, 1
mov eax, dword [0x4e01b8]
call fcn.004e644c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4e01b8]
call fcn.004e644c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4e01b8]
call fcn.004e644c
mov dword [ebx + 0x94], eax
mov dl, 1
mov eax, dword [0x4e01b8]
call fcn.004e644c
mov dword [ebx + 0x98], eax
mov eax, ebx
call fcn.005a4444
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5a42c4
mov eax, dword [ebx + 0x90]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5a42c4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5a42c4
mov eax, dword [ebx + 0x94]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5a42c4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x5a42c4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5a3bb2
call fcn.00407c28
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x5a4064
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 0x5a420f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5a41f0
mov dl, 1
mov eax, dword [0x47f0c0]
call fcn.004a21e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.0040934c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5a41df
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.0051bb44
test al, al
je 0x5a41d2
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, 0x5a4220
lea eax, [ebp - 0x394]
call fcn.00422434
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5a41d2
xor eax, eax
push ebp
push 0x5a41cb
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 0x5a4290
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x5a41b4
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a398
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 0x5a41b4
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a398
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5a41d2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5a40d5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x39], 0
mov dl, 1
call fcn.004a2134
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 0x5a4216
lea eax, [ebp - 0x3a0]
call fcn.0040934c
ret

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

Disassembly:
push ecx
mov eax, dword [0x730730]
cmp byte [eax + 0xc5], 0
jne 0x5a4dde
cmp dword [0x730754], 0
jne 0x5a4d9e
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x7262b4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x730754], eax
cmp dword [0x730750], 0
jne 0x5a4db9
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventW
mov dword [0x730750], eax
cmp dword [0x730758], 0
jne 0x5a4dde
push esp
push 0
push 0
mov eax, dword [0x7262b0]
push eax
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread_1
mov dword [0x730758], eax
pop edx
ret
Function at 0x5a5188
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5a519f
add esp, 0xfffffff0
call fcn.00407bd0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004af3a8
mov eax, dword [0x729c2c]
cmp byte [eax], 0
jne 0x5a51cc
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x72a47c]
cmp word [eax + 2], 0
jne 0x5a51e6
mov eax, dword [0x72a47c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005a7420
mov eax, dword [0x72a758]
cmp word [eax + 2], 0
jne 0x5a5200
mov eax, dword [0x72a758]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005a7624
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4e01b8]
call fcn.004e644c
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5a7aa0
mov dl, 1
mov eax, dword [0x47b924]
call fcn.00407628
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x47b924]
call fcn.00407628
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 [0x4e4d50]
call fcn.004ef838
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5a53e8
mov eax, dword [0x72a114]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004efc34
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5a7d60
mov dl, 1
mov eax, dword [0x47b924]
call fcn.00407628
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x72a114]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00422234
test eax, eax
je 0x5a531a
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00422070
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00422218
test eax, eax
je 0x5a5332
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.0040a398
push ebx
push 0x5a6dfc
call fcn.0059b078
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x729c2c]
cmp byte [eax], 0
jne 0x5a5383
mov eax, ebx
call fcn.005a55cc
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.005a7f98
mov eax, ebx
call fcn.005a8c04
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5a53e0
call fcn.00407c28
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5a5910
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5a59b2
cmp dword [ebx + 0xac], 0
jne 0x5a59ac
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5a584c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5a59ac
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 0x5a5972
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5a59ac
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0xa8]
call fcn.0049e034
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5a5981
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5a5bf0
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 [0x730730]
cmp dword [eax + 0x188], 0
je 0x5a5d6a
test bl, bl
jne 0x5a5cb5
cmp dword [esi + 0xb4], 0
jne 0x5a5caa
mov eax, esi
call fcn.005a8a54
push eax
push 0x5a5ae4
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5a5c7b
mov eax, dword [0x730730]
cmp byte [eax + 0xeb], 0
je 0x5a5c7b
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5a5c5c
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5a5c7b
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 0x5a5c64
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5a5caa
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.0049e034
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5a5c8a
inc dword [esi + 0xb4]
jmp 0x5a5d6a
cmp dword [esi + 0xb4], 0
jle 0x5a5d6a
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5a5d6a
cmp dword [esi + 0x58], 0
je 0x5a5d1f
mov eax, dword [0x730730]
cmp byte [eax + 0xeb], 0
je 0x5a5d1f
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5a5d00
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5a5d1f
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 0x5a5d08
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5a5d4e
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0xb0]
call fcn.0049e034
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5a5d2e
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x597edc]
call fcn.0040bb1c
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5a6988
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 0x5a69e5
cmp byte [ebx + 0xeb], 0
jne 0x5a69e5
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.004094d4
mov eax, dword [esi]
test eax, eax
je 0x5a69d2
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5a69f2
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040972c
jmp 0x5a69f2
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.0040972c
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5a8180
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5a81f1
mov eax, esi
call fcn.005158e4
test al, al
je 0x5a81f1
mov eax, dword [ebx + 0x98]
call fcn.00515514
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5a81f1
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x114]
test al, al
je 0x5a81e2
push 0
mov eax, dword [ebx + 0x98]
call fcn.00515514
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x98]
call fcn.0050c5ac
jmp 0x5a81f1
mov cl, 1
mov edx, dword [ebx + 0x88]
mov eax, ebx
call fcn.005a7fb8
pop esi
pop ebx
ret
Function at 0x5ba894
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5ba9c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x47f0c0]
call fcn.004a21e4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x48]
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
mov eax, esi
call fcn.0040a2dc
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x5ba9ac
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 4]
push eax
push 0
mov eax, edi
call fcn.0040a2dc
mov ebx, eax
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
push eax
call sub.KERNEL32.DLL_SetLastError
call sub.KERNEL32.DLL_GetLastError_2
test eax, eax
jne 0x5ba9ac
cmp dword [ebp - 4], 7
jne 0x5ba9ac
mov eax, dword [ebp - 8]
call fcn.00406ad4
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5ba9a5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
push 0
push ebx
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov ebx, dword [ebp - 0xc]
jmp 0x5ba97e
lea eax, [ebp - 0x18]
mov edx, ebx
call fcn.0040a344
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
push ebx
call sub.KERNEL32.DLL_lstrlenW_1
inc eax
add eax, eax
add ebx, eax
cmp word [ebx], 0
jne 0x5ba95e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ba9ac
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.00406af0
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ba9c9
lea eax, [ebp - 0x18]
call fcn.0040934c
ret
Function at 0x62986c
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x629992
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
je 0x629958
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.004070cc
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0xc], 1
mov eax, esi
call fcn.0040a2dc
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
push edi
call sub.wininet.dll_InternetCrackUrlW
mov eax, dword [ebp - 0x30]
add eax, 0xfffffffd
sub eax, 2
jb 0x629913
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0x11
lea eax, [ebp - 0x44]
push eax
push 0
push 0
push 0
lea edx, [ebp - 0x48]
mov eax, dword [0x729e90]
call fcn.0040d834
mov ecx, dword [ebp - 0x48]
mov dl, 1
mov eax, dword [0x627c80]
call fcn.0062939c
call fcn.00408a08
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x78], eax
movzx eax, word [ebp - 0x24]
mov dword [ebx + 0x74], eax
lea eax, [ebx + 0x6c]
push eax
mov edx, dword [ebp - 0x2c]
sub edx, edi
sar edx, 1
jns 0x629930
adc edx, 0
inc edx
mov ecx, dword [ebp - 0x28]
mov eax, esi
call fcn.0040a6b8
lea eax, [ebx + 0x70]
push eax
mov edx, dword [ebp - 0x10]
sub edx, edi
sar edx, 1
jns 0x62994b
adc edx, 0
inc edx
mov ecx, dword [ebp - 0xc]
mov eax, esi
call fcn.0040a6b8
jmp 0x629972
xor eax, eax
mov dword [ebx + 0x74], eax
lea eax, [ebx + 0x6c]
call fcn.0040934c
lea eax, [ebx + 0x70]
call fcn.0040934c
xor eax, eax
mov dword [ebx + 0x78], eax
lea eax, [ebx + 0x4c]
mov edx, esi
call fcn.0040972c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x629999
lea eax, [ebp - 0x48]
call fcn.0040934c
ret
Function at 0x629ee0
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
test dl, dl
je 0x62a021
mov eax, dword [ebp - 4]
cmp byte [eax + 0x49], 0
jne 0x62a064
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
test eax, eax
je 0x629f0e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x629f19
mov ebx, 3
jmp 0x629f1b
xor ebx, ebx
push 0
call sub.wininet.dll_InternetAttemptConnect
test eax, eax
je 0x629f2b
call fcn.00427034
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0040a2dc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
call fcn.0040a2dc
push eax
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
call fcn.0040a2dc
push eax
call sub.wininet.dll_InternetOpenW
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x84], esi
test esi, esi
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.006295fc
xor eax, eax
push ebp
push 0x629ff6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
push 0
push 3
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.0040a2dc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
call fcn.0040a2dc
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x74]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c]
call fcn.0040a2dc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
push eax
call sub.wininet.dll_InternetConnectW
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x88], ebx
test ebx, ebx
setne dl
xor dl, 1
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.006295fc
mov eax, dword [ebp - 4]
mov byte [eax + 0x49], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x62a064
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
test eax, eax
je 0x62a034
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x88], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
test eax, eax
je 0x62a052
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x84], edx
mov eax, dword [ebp - 4]
mov byte [eax + 0x49], 0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x6435d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
cmp byte [0x730ce0], 0
jne 0x6435e7
call fcn.0064358c
mov eax, edi
dec eax
test eax, eax
jl 0x64360f
inc eax
xor edx, edx
movzx ecx, byte [esi + edx]
xor ecx, ebx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x7308e0]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc edx
dec eax
jne 0x6435f1
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x6462a8
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.0x646342.0
jmp dword [ecx*4 + 0x6462db]
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x64630d
sub dl, 8
je 0x64631c
jmp case.0x646342.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x645f74
jmp case.0x646342.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x645fc8
jmp case.0x646342.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x646342.0
movzx ecx, byte [ecx + 0x646349]
jmp dword [ecx*4 + 0x64635a]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x646068
jmp case.0x646342.0
cmp dl, 3
jne 0x646387
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x6460c0
jmp case.0x646342.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x64607c
jmp case.0x646342.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x646104
jmp case.0x646342.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6463b2
sub dl, 8
je 0x6463be
jmp case.0x646342.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x646130
jmp case.0x646342.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x646194
jmp case.0x646342.0
movzx edx, byte [eax + 0x460]
sub dl, 8
je 0x6463dd
sub dl, 8
je 0x6463e9
jmp case.0x646342.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x646244
jmp case.0x646342.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0x64626c
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 0x64648b
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.006454bc
test eax, eax
je 0x64648b
mov eax, ebx
call fcn.00646494
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 0x646424
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8