joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dbf4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x114], 0
je 0x41dc10
cmp dword [esi + 4], 0
je 0x41dc37
mov eax, ebx
call fcn.0041ce28
test eax, eax
jne 0x41dc29
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x41dd47
mov edx, esi
mov eax, ebx
call fcn.0041d898
jmp 0x41dd47
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41dd40
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0041f1f4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0041bd30
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0041dbf4
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0041f1f4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dd47
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x420cdc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.004035f4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x420d3d
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x420d3d
cmp byte [ebp - 0x102], 0
je 0x420d3d
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403820
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4220cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x28], 0
je 0x42214d
xor eax, eax
mov al, byte [ebx + 4]
mov word [ebp - 6], ax
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4220fe
add word [ebp - 6], 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x422110
add word [ebp - 6], 0x4000
test byte [ebx + 0xb], 0x20
je 0x42211c
add word [ebp - 6], 0x8000
xor ebx, ebx
movzx edx, word [ebp - 6]
mov cl, 2
mov eax, dword [ebp - 0xc]
call fcn.00421f58
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x422141
push ebp
mov eax, dword [ebp - 4]
call fcn.0042203c
pop ecx
mov ebx, eax
cmp bl, 2
je 0x42211c
cmp dword [ebp - 4], 0
setne al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x423fb4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4376e4
cmp dword [edi], 0
jne 0x424030
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4376e0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x436700
mov ecx, 2
call fcn.00402690
mov edx, 0x423f8c
lea eax, [esi + 5]
call fcn.00423fac
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423fac
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x424005
mov dword [0x4376e0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x424154
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4241a4]
test si, 4
je 0x424168
or bl, 1
test si, 8
je 0x424172
or bl, 4
test si, 1
je 0x42417c
or bl, 8
test si, 2
je 0x424186
or bl, 0x10
test si, 0x10
je 0x424190
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42419f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4285dc
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x428781
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40a474]
call fcn.00402b68
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004035f4
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x428757
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.0042047c
test al, al
je 0x42874a
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x428790
lea eax, [ebp - 0x254]
call fcn.00407058
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x42874a
xor eax, eax
push ebp
push 0x428743
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4287c8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x42872c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403820
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x42872c
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403820
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42874a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x42864d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040d3f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428788
lea eax, [ebp - 0x260]
call fcn.004035f4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4376b8]
cmp byte [eax + 0x85], 0
jne 0x428a6d
cmp dword [0x4376f0], 0
jne 0x428a2e
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4289b8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4376f0], eax
cmp dword [0x4376ec], 0
jne 0x428a49
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4376ec], eax
cmp dword [0x4376f4], 0
jne 0x428a6d
push esp
push 0
push 0
push 0x42895c
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4376f4], eax
pop edx
ret
Function at 0x428b5c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x428b73
add esp, 0xfffffff0
call fcn.00402d5c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040fca8
mov dl, 1
mov eax, dword [0x40a05c]
call fcn.00402b68
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x40a05c]
call fcn.00402b68
mov dword [ebx + 0x88], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x40], 0x80000018
mov dword [ebx + 0x58], 0x1f4
mov dword [ebx + 0x5c], 0x32
mov dword [ebx + 0x60], 0x9c4
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, dword [0x41121c]
call fcn.00417c4c
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x428ccc
mov eax, dword [0x436a68]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00417fe4
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x42a320
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x436a68]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004085c0
test eax, eax
je 0x428c54
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00406a98
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004085e8
test eax, eax
je 0x428c68
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403820
mov eax, dword [0x4369d4]
cmp byte [eax], 0
jne 0x428c99
mov eax, ebx
call fcn.00428db0
mov byte [ebx + 0x3d], 1
mov byte [ebx + 0x3e], 1
mov byte [ebx + 0x3f], 1
mov byte [ebx + 0x7e], 1
xor eax, eax
mov dword [ebx + 0x80], eax
cmp byte [ebp - 1], 0
je 0x428cc1
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x429004
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4376b8]
cmp dword [eax + 0x24], 0
je 0x429094
cmp dword [ebx + 0x74], 0
jne 0x429091
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x428f98
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x70]
cmp dword [eax + 8], 0
je 0x429091
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_GetWindowLongA
test al, 8
je 0x429060
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x429091
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x70]
call fcn.0040b230
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x42906c
inc dword [ebx + 0x74]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x42997c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x84], 0
je 0x4299b1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004036d8
jmp 0x4299bb
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.0040368c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42a590
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x42a5c8
mov eax, esi
call fcn.0041f38c
test al, al
je 0x42a5c8
mov eax, dword [ebx + 0x64]
call fcn.0041f1f4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42a5c8
push 0
mov eax, dword [ebx + 0x64]
call fcn.0041f1f4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x432e44
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
push 0
lea eax, [ebp - 4]
push eax
push 0
push 2
push 0
push 0
push 0
mov eax, edi
call fcn.00403a34
push eax
push esi
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x432ea3
mov eax, ebx
call fcn.00403870
push eax
mov eax, ebx
call fcn.00403a34
push eax
push 1
push 0
mov eax, dword [ebp + 0xc]
call fcn.00403a34
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x432eac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x432f98
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp + 0xc]
call fcn.0040368c
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.00403a34
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x432f82
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp + 0x10]
call fcn.00403a34
mov esi, eax
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x432f79
mov eax, dword [ebp - 0x10]
dec eax
sub eax, 2
jae 0x432f79
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00403b44
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x432f79
mov eax, dword [ebp - 0xc]
call fcn.00403a34
call fcn.00406a30
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00403b44
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.0040368c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432f9f
lea eax, [ebp - 0xc]
call fcn.004035f4
ret
Function at 0x435130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x435215
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004035f4
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.00403a34
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4351ff
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp + 0xc]
call fcn.00403a34
mov esi, eax
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4351f6
mov eax, dword [ebp - 0x10]
dec eax
sub eax, 2
jae 0x4351f6
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00403b44
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push esi
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
mov eax, dword [ebp - 0xc]
call fcn.00403a34
call fcn.00406a30
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00403b44
mov eax, ebx
mov edx, dword [ebp - 0xc]
call fcn.0040368c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43521c
lea eax, [ebp - 0xc]
call fcn.004035f4
ret
Function at 0x401080
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, eax
xor esi, esi
test edi, edi
je 0x40111a
push edi
call dword [0x41e158]
cmp eax, 0xffffffff
setne al
test al, al
je 0x40111a
push 0x4214ac
push edi
call fcn.00403c20
mov edi, eax
add esp, 8
test edi, edi
je 0x40111a
push ebx
push 2
push esi
push edi
call fcn.0040412c
push edi
call fcn.0040403d
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x401110
lea eax, [ebx + 1]
push eax
call fcn.0040340b
mov esi, eax
add esp, 4
test esi, esi
je 0x401110
lea eax, [ebx + 1]
push eax
push 0
push esi
call fcn.00406b50
push 0
push 0
push edi
call fcn.0040412c
push edi
push ebx
push 1
push esi
call fcn.00403e81
add esp, 0x28
test eax, eax
jne 0x401110
push esi
call fcn.00403e9e
add esp, 4
xor esi, esi
push edi
call fcn.00404215
add esp, 4
pop ebx
pop edi
mov eax, esi
pop esi
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x4033e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x407ac8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
mov eax, dword [0x40c018]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
xor esi, esi
mov dword [esp + 8], 0x4091ac
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], esi
lea eax, [esp + 8]
push eax
push 0x4042a0
push esi
mov dword [esp + 0x30], esi
push esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
call dword [0x4081d0]
cmp eax, esi
je 0x403462
cmp edi, dword [esp + 0x10]
jge 0x40345a
cmp edi, esi
jl 0x403455
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + edi*4]
mov ecx, dword [esp + 0x2c]
push edx
call fcn.00403290
jmp 0x403462
call fcn.0040693e
push 0x10
call dword [0x4081ac]
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0xc]
mov dword [esp + 8], 0x4091ac
cmp eax, esi
je 0x403483
push eax
call fcn.00406938
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x20
ret 4
Function at 0x401b2b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6645
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x4cf070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x38], edi
and dword [ebp - 4], 0
lea eax, [ebp - 0x30]
push eax
call fcn.00402ff8
lea ecx, [ebp - 0x30]
mov esi, dword [eax + 0x10]
call fcn.00403a62
test esi, esi
je 0x401c30
push edi
mov byte [ebp - 4], 1
call fcn.00403f8c
pop ecx
lea eax, [ebp - 0x30]
mov ecx, edi
push eax
call fcn.00402ff8
cmp dword [ebp - 0x1c], 0x10
lea eax, [ebp - 0x30]
mov esi, dword [ebp - 0x30]
lea ecx, [ebp - 0x30]
mov ebx, dword [ebp - 0x20]
cmovae eax, esi
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x30]
cmovae eax, esi
mov dword [ebp - 0x18], ebx
add eax, ebx
cmp dword [ebp - 0x1c], 0x10
mov dword [ebp - 0x34], eax
cmovae ecx, esi
mov dword [ebp - 0x3c], ecx
xor ecx, ecx
mov edx, dword [ebp - 0x3c]
sub dword [ebp - 0x34], edx
and dword [ebp - 0x40], ecx
cmp edx, eax
mov eax, dword [ebp - 0x34]
cmova eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x401c00
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x3c]
mov al, byte [ecx + eax]
xor al, 0xef
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [ebp - 0x34]
jne 0x401be6
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x30]
mov ebx, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x18]
cmp edx, 0x10
push ecx
lea eax, [ebp - 0x30]
push ebx
cmovae eax, esi
push eax
push dword [edi + 0x98]
call dword [0x4ab144]
lea ecx, [ebp - 0x30]
call fcn.00403a62
jmp 0x401c30
mov ecx, edi
call fcn.00401c51
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047398a
leave
ret
Function at 0x428c6e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
movzx eax, byte [edi + 8]
and eax, 0x3f
dec eax
cmp eax, 0x15
ja case.0x428bc3.2
movzx eax, byte [eax + 0x428d2c]
jmp dword [eax*4 + 0x428d0c]
push dword [edi + 4]
push dword [edi]
call fcn.00428b40
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
fld qword [edi]
lea eax, [ebp - 4]
push eax
sub esp, 8
fstp qword [esp]
call fcn.004906f5
fmul qword [0x4c4d60]
add esp, 0xc
fld qword [0x4c4d88]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x428c29
fld qword [0x4c4d78]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x428c29
call int.004a5b10
add eax, dword [ebp - 4]
cmp eax, 0x7fffffff
jbe 0x428c2d
not eax
jmp 0x428c2d
fstp st(0)
xor eax, eax
mov cl, byte [ebx + 7]
mov esi, 1
shl esi, cl
dec esi
cdq
or esi, 1
idiv esi
mov eax, dword [ebx + 0x10]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [ebx + 7]
mov edx, 1
mov eax, dword [edi]
shl edx, cl
dec edx
and edx, dword [eax + 8]
mov eax, dword [ebx + 0x10]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [edi]
cmp byte [edi + 6], 0
mov edx, dword [edi + 8]
jne 0x428ca3
mov esi, dword [edi + 0xc]
xor edx, esi
test esi, esi
je 0x428c9c
movzx ecx, byte [edi + esi + 0xf]
mov eax, edx
shl eax, 5
add ecx, eax
mov eax, edx
shr eax, 2
add ecx, eax
xor edx, ecx
sub esi, 1
jne 0x428c82
mov dword [edi + 8], edx
mov byte [edi + 6], 1
mov cl, byte [ebx + 7]
mov eax, 1
shl eax, cl
dec eax
and eax, edx
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x10]
lea eax, [eax + ecx*8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [ebx + 7]
mov eax, 1
shl eax, cl
dec eax
and eax, 1
lea ecx, [eax + eax*2]
mov eax, dword [ebx + 0x10]
lea eax, [eax + ecx*8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov cl, byte [ebx + 7]
mov esi, 1
mov eax, dword [edi]
xor edx, edx
shl esi, cl
dec esi
or esi, 1
div esi
mov eax, dword [ebx + 0x10]
pop edi
pop esi
pop ebx
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
mov esp, ebp
pop ebp
ret
Function at 0x42a780
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
mov eax, dword [0x4cf070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, edx
mov esi, ecx
push edi
lea edx, [ebp - 0xe0]
call fcn.0042a5f0
mov edx, eax
test edx, edx
je 0x42a7d7
mov ecx, dword [ebp - 0xe0]
sub edx, esi
mov dword [ebx], ecx
mov al, 3
mov ecx, dword [ebp - 0xdc]
mov dword [ebx + 4], ecx
mov byte [ebx + 8], al
lea eax, [edx + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047398a
mov esp, ebp
pop ebp
ret
push 0x4bc900
push esi
call fcn.00491300
add esp, 8
test eax, eax
je 0x42a807
movzx edi, byte [eax]
or edi, 0x20
cmp edi, 0x6e
jne 0x42a809
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047398a
mov esp, ebp
pop ebp
ret
xor edi, edi
push edi
lea edx, [ebp - 0xe8]
mov ecx, esi
call fcn.0042a580
mov edx, eax
add esp, 4
test edx, edx
jne 0x42a8b8
push 0x2e
push esi
call fcn.0048aad0
add esp, 8
mov dword [ebp - 0xdc], eax
test eax, eax
je 0x42a7f4
mov ecx, esi
lea edx, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x42a840
sub ecx, edx
cmp ecx, 0xc8
ja 0x42a7f4
lea edx, [ebp - 0xd8]
mov ecx, esi
sub edx, esi
jmp 0x42a860
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x42a860
call fcn.004906c6
mov ecx, dword [ebp - 0xdc]
lea edx, [ebp - 0xe8]
sub ecx, esi
push edi
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp + ecx - 0xd8], al
lea ecx, [ebp - 0xd8]
call fcn.0042a580
mov edx, eax
add esp, 4
test edx, edx
je 0x42a7f4
mov eax, esi
lea ecx, [ebp - 0xd8]
sub eax, ecx
add edx, eax
test edx, edx
je 0x42a7f4
fld qword [ebp - 0xe8]
sub edx, esi
mov ecx, dword [ebp - 4]
mov al, 0x13
pop edi
fstp qword [ebx]
mov byte [ebx + 8], al
xor ecx, ebp
pop esi
lea eax, [edx + 1]
pop ebx
call fcn.0047398a
mov esp, ebp
pop ebp
ret