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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4c3fea
add esp, 0xfffffff0
call fcn.004053fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004429a0
mov eax, dword [0x636320]
mov dword [eax + 4], ebx
mov dword [eax], 0x4c4434
mov eax, dword [0x636330]
mov dword [eax + 4], ebx
mov dword [eax], 0x4c4440
mov eax, ebx
call fcn.004c444c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x42b1e0]
call fcn.00404e98
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x42b1e0]
call fcn.00404e98
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x42b1e0]
call fcn.00404e98
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x42b1e0]
call fcn.00404e98
mov dword [ebx + 0x5c], eax
mov dl, 1
mov eax, dword [0x42b1e0]
call fcn.00404e98
mov dword [ebx + 0x78], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x44], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x5c]
push eax
mov eax, 0x4beccc
push eax
push 0
push 0
mov eax, dword [0x6366b4]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4505a4]
call fcn.00456ae0
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x4505a4]
call fcn.00456ae0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4505a4]
call fcn.00456ae0
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x4505a4]
call fcn.00456ae0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4505a4]
call fcn.00456ae0
mov dword [ebx + 0x8c], eax
mov eax, ebx
call fcn.004c49ac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c481c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c481c
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c481c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c481c
mov eax, dword [ebx + 0x8c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4c481c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c4165
call fcn.00405454
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4c45bc
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 0x4c4769
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
jne 0x4c474a
mov dl, 1
mov eax, dword [0x42d8e0]
call fcn.00439e8c
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
call fcn.00406e00
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x4c4739
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.004a6c28
test al, al
je 0x4c472c
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, 0x4c4778
lea eax, [ebp - 0x394]
call fcn.00415354
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x4c472c
xor eax, eax
push ebp
push 0x4c4725
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 0x4c47e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x4c470e
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407010
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x40]
jne 0x4c470e
mov eax, dword [ebp - 4]
add eax, 0x3c
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.00407010
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c472c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4c462f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
mov byte [eax + 0x29], 0
mov dl, 1
call fcn.00439dc8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4770
lea eax, [ebp - 0x3a0]
call fcn.00406df0
ret

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

Disassembly:
push ecx
mov eax, dword [0x63c2c0]
cmp byte [eax + 0xad], 0
jne 0x4c533a
cmp dword [0x63c2d8], 0
jne 0x4c52fa
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x62083c]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x63c2d8], eax
cmp dword [0x63c2d4], 0
jne 0x4c5315
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x63c2d4], eax
cmp dword [0x63c2dc], 0
jne 0x4c533a
push esp
push 0
push 0
mov eax, dword [0x620838]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x63c2dc], eax
pop edx
ret
Function at 0x4c5660
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x4c5677
add esp, 0xfffffff0
call fcn.004053fc
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004429a0
mov eax, dword [0x6360bc]
cmp byte [eax], 0
jne 0x4c56a4
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x17c], al
mov eax, dword [0x636674]
cmp word [eax + 2], 0
jne 0x4c56be
mov eax, dword [0x636674]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004c7758
mov eax, dword [0x636868]
cmp word [eax + 2], 0
jne 0x4c56d8
mov eax, dword [0x636868]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004c7968
mov byte [ebx + 0x35], 0
mov dl, 1
mov eax, dword [0x4505a4]
call fcn.00456ae0
mov esi, eax
mov dword [ebx + 0x3c], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x4c7f18
mov dl, 1
mov eax, dword [0x42b1e0]
call fcn.00404e98
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x42b1e0]
call fcn.00404e98
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x454ca4]
call fcn.00460358
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x4c58b8
mov eax, dword [0x63642c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.004607ec
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4c8200
mov dl, 1
mov eax, dword [0x42b1e0]
call fcn.00404e98
mov dword [ebx + 0x98], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x63642c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00415148
test eax, eax
je 0x4c57e9
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00414e24
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.0041512c
test eax, eax
je 0x4c5801
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.00407010
push ebx
push 0x4c7128
call fcn.004bb2b4
mov dword [ebx + 0x178], eax
mov byte [ebx + 0xd0], 0
mov eax, dword [0x6360bc]
cmp byte [eax], 0
jne 0x4c5852
mov eax, ebx
call fcn.004c5a2c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
mov byte [ebx + 0xd1], 0
mov byte [ebx + 0xdc], 0
xor eax, eax
mov dword [ebx + 0xd4], eax
mov byte [ebx + 0xd3], 0
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.004c842c
mov eax, ebx
call fcn.004c9060
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4c58af
call fcn.00405454
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c5d00
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x170]
test eax, eax
je 0x4c5da2
cmp dword [ebx + 0x94], 0
jne 0x4c5d9c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4c5c4c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4c5d9c
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 0x4c5d62
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4c5d9c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004365d8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4c5d71
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x63c2c0]
cmp dword [eax + 0x170], 0
je 0x4c6125
test bl, bl
jne 0x4c6073
cmp dword [esi + 0x9c], 0
jne 0x4c6068
mov eax, esi
call fcn.004c8eb0
push eax
push 0x4c5ecc
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x4c6039
mov eax, dword [0x63c2c0]
cmp byte [eax + 0xd3], 0
je 0x4c6039
mov eax, dword [esi + 0xd8]
call fcn.004086c0
mov edi, eax
cmp edi, 0
jl 0x4c6039
push 0
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4c6022
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4c6068
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004365d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4c6048
inc dword [esi + 0x9c]
jmp 0x4c6125
cmp dword [esi + 0x9c], 0
jle 0x4c6125
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x4c6125
cmp dword [esi + 0x44], 0
je 0x4c60d0
mov eax, dword [0x63c2c0]
cmp byte [eax + 0xd3], 0
je 0x4c60d0
mov eax, dword [esi + 0xd8]
call fcn.004086c0
mov edi, eax
cmp edi, 0
jl 0x4c60d0
push 5
mov eax, dword [esi + 0xd8]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4c60b9
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4c60ff
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004365d8
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x4c60df
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
lea eax, [esi + 0xd8]
mov ecx, 1
mov edx, dword [0x4b918c]
call fcn.00408880
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4c6d74
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffdfc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4c6ddf
cmp byte [ebx + 0xd3], 0
jne 0x4c6ddf
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x170]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00406f3c
mov eax, dword [esi]
mov dword [esp + 0x200], eax
mov eax, dword [esp + 0x200]
test eax, eax
je 0x4c6dcc
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x4c6dec
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406e00
jmp 0x4c6dec
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00406e00
add esp, 0x204
pop esi
pop ebx
ret

Function at 0x4c8614
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4c8682
mov eax, esi
call fcn.004a0bec
test al, al
je 0x4c8682
mov eax, dword [ebx + 0x84]
call fcn.004a0840
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4c8682
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
je 0x4c8676
push 0
mov eax, dword [ebx + 0x84]
call fcn.004a0840
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004977e0
jmp 0x4c8682
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004c844c
pop esi
pop ebx
ret

Function at 0x4cca68
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
mov ebx, eax
push 0
push 0x80
push 4
push 0
push 1
push 0x40000000
mov eax, ebx
call fcn.00406e8c
push eax
call sub.kernel32.dll_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4ccad7
push dword [ebp + 0xc]
push dword [ebp + 8]
lea eax, [ebp - 0x18]
call fcn.00416f80
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_SystemTimeToFileTime
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_LocalFileTimeToFileTime
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
push ebx
call sub.kernel32.dll_CloseHandle_1
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4d416c
Capabilities:
Initialize winsock library

Disassembly:
add esp, 0xfffffe70
push esp
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
je 0x4d418b
call sub.wsock32.dll_WSAGetLastError
call fcn.004d020c
add esp, 0x190
ret
Function at 0x4d419c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4d42c5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov esi, 1
test edx, edx
je 0x4d41da
inc esi
push 0xbf
push edi
push 0
lea eax, [ebp - 0x10]
push eax
push esi
call sub.user32.dll_MsgWaitForMultipleObjects
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4d4202
call sub.wsock32.dll_WSAGetLastError
call fcn.004d020c
jmp 0x4d42a3
cmp ebx, 0x102
jne 0x4d4224
lea edx, [ebp - 0x30]
mov eax, dword [0x636098]
call fcn.0040a17c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004d0264
jmp 0x4d42a3
cmp ebx, esi
jne 0x4d42a3
jmp 0x4d4265
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_DispatchMessageW
cmp edi, 0xffffffff
je 0x4d4265
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x4d4265
lea edx, [ebp - 0x34]
mov eax, dword [0x636098]
call fcn.0040a17c
mov eax, dword [ebp - 0x34]
or edx, 0xffffffff
call fcn.004d0264
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x4d422a
cmp edi, 0xffffffff
je 0x4d42a3
call sub.kernel32.dll_GetTickCount_1
sub eax, dword [ebp - 8]
cmp edi, eax
jge 0x4d42a3
lea edx, [ebp - 0x38]
mov eax, dword [0x636098]
call fcn.0040a17c
mov eax, dword [ebp - 0x38]
or edx, 0xffffffff
call fcn.004d0264
test ebx, ebx
sete al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d42cc
lea eax, [ebp - 0x38]
mov edx, 3
call fcn.00406df8
ret

Function at 0x4d4e24
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
push esi
push ecx
push edx
call sub.wsock32.dll_recv
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004d50f0
cmp dword [eax + 0xc], 0
jle 0x4d4ea8
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d4ea1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004d50f0
push dword [eax + 0xc]
mov eax, esi
add eax, eax
add eax, eax
add eax, eax
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, eax
mov eax, ebx
call fcn.004d5074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4ea8
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetLastError
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8
Function at 0x4d4f4c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push eax
push esi
push ecx
push edx
call sub.wsock32.dll_send
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004d50f0
cmp dword [eax + 0xc], 0
jle 0x4d4fd0
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4d4fc9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.004d50f0
push dword [eax + 0xc]
mov eax, esi
add eax, eax
add eax, eax
add eax, eax
imul eax, eax, 0x3e8
pop edx
mov ecx, edx
cdq
idiv ecx
mov edx, eax
mov eax, ebx
call fcn.004d5074
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4fd0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetLastError
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4d5074
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov ebx, edx
lea edi, [esp + 4]
mov eax, dword [eax + 8]
mov dword [esp], eax
call sub.kernel32.dll_GetTickCount_1
mov esi, eax
push 0xbf
push ebx
push 0
lea eax, [esp + 0xc]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
sub eax, 1
jb 0x4d50e7
je 0x4d50c8
sub eax, 0x101
jne 0x4d508d
jmp 0x4d50e7
push edi
call sub.user32.dll_TranslateMessage
push edi
call sub.user32.dll_DispatchMessageW
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp ebx, eax
jl 0x4d50da
push 1
push 0
push 0
push 0
push edi
call sub.user32.dll_PeekMessageW
test eax, eax
jne 0x4d50b1
call sub.kernel32.dll_GetTickCount_1
sub eax, esi
cmp ebx, eax
jl 0x4d50e7
jmp 0x4d508d
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x4e11b8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov eax, edi
xor edx, edx
call fcn.00406e00
push 0
push 0
push 0x20000003
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
add edx, 0x30
push edx
mov eax, dword [eax]
push eax
call fcn.004dab90
mov esi, eax
cmp esi, 1
jl 0x4e1253
mov ecx, esi
mov dl, 1
mov eax, dword [0x4db038]
call fcn.004cb828
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x4e124c
push dword fs:[edx]
mov dword fs:[edx], esp
push esi
mov edx, dword [ebp - 4]
mov edx, dword [edx + 4]
push edx
push 0x20000003
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
add edx, 0x30
push edx
mov eax, dword [eax]
push eax
call fcn.004dab90
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004cbb54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e1253
mov eax, dword [ebp - 4]
call fcn.00404ec8
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4f1e20
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4f1e28
push ecx
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4f1fce
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
mov edx, 0x4f1fe8
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 8]
lea eax, [ebx + 0x38]
call fcn.00406e00
lea ecx, [ebp - 0xc]
mov edx, 0x4f2008
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 8]
call fcn.00406e00
lea ecx, [ebp - 0x10]
mov edx, 0x4f2024
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x18]
call fcn.00406e00
lea ecx, [ebp - 0x14]
mov edx, 0x4f2040
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x14]
call fcn.00406e00
lea ecx, [ebp - 0x18]
mov edx, 0x4f205c
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x1c]
call fcn.00406e00
lea ecx, [ebp - 0x1c]
mov edx, 0x4f2078
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 0x1c]
mov eax, 0x4f2094
call fcn.0041336c
mov byte [ebx + 4], al
lea ecx, [ebp - 0x20]
mov edx, 0x4f20ac
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0xc]
call fcn.00406e00
lea ecx, [ebp - 0x24]
mov edx, 0x4f20d0
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 0x24]
lea eax, [ebx + 0x10]
call fcn.00406e00
lea ecx, [ebp - 0x28]
mov edx, 0x4f20e8
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 0x28]
lea eax, [ebx + 0x24]
call fcn.00406e00
lea ecx, [ebp - 0x2c]
mov edx, 0x4f2108
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 0x2c]
lea eax, [ebx + 0x30]
call fcn.00406e00
lea ecx, [ebp - 0x30]
mov edx, 0x4f2120
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 0x30]
lea eax, [ebx + 0x28]
call fcn.00406e00
lea ecx, [ebp - 4]
mov edx, 0x4f213c
mov eax, esi
call fcn.004cbdc4
cmp dword [ebp - 4], 0
je 0x4f1f8c
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4f2150
call fcn.004072e4
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004141b4
mov dword [ebx + 0x20], eax
lea ecx, [ebp - 0x34]
mov edx, 0x4f2160
mov eax, esi
call fcn.004cbdc4
mov edx, dword [ebp - 0x34]
lea eax, [ebx + 0x2c]
call fcn.00406e00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f1fd5
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.00406df8
ret
Function at 0x518738
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x518848
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, esi
mov eax, ebx
call fcn.0051865c
mov dword [ebp - 8], 4
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x20000013
mov eax, dword [esi + 0x18]
push eax
call fcn.004ca958
test eax, eax
je 0x51880a
mov eax, ebx
call fcn.00517ff0
mov eax, ebx
call fcn.0051950c
mov edx, dword [ebp - 4]
call fcn.004ceb44
mov eax, ebx
call fcn.0051950c
cmp dword [eax + 0x24], 0x190
jl 0x518825
mov eax, ebx
call fcn.0051950c
mov eax, dword [eax + 0x24]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x636514]
call fcn.0040a17c
mov eax, dword [ebp - 0x14]
push eax
mov eax, ebx
call fcn.0051950c
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
lea edx, [ebp - 0x1c]
xor ecx, ecx
pop eax
call fcn.004153dc
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4ce288]
call fcn.004cebc8
call fcn.004059a0
jmp 0x518825
push 0
lea edx, [ebp - 0x20]
mov eax, dword [0x6363c0]
call fcn.0040a17c
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov eax, ebx
call fcn.00517f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x51884f
lea eax, [ebp - 0x20]
call fcn.00406df0
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406df8
ret