joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42423c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
cmp byte [ebp + 0xc], al
sete al
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
push eax
push 0x8004667e
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x42428b
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.Error_d_in_SetBlockingMode__u_
push eax
call fcn.0042778f
add esp, 0x10
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret

Function at 0x42428d
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
xor eax, eax
push 4
cmp byte [ebp + 0xc], al
setne al
mov word [ebp + 0xc], ax
mov ax, word [ebp + 0x10]
mov word [ebp + 0xe], ax
lea eax, [ebp + 0xc]
push eax
push 0x80
push 0xffff
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x4242e9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.setsockopt_SO_LINGER___u
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret

Function at 0x4242eb
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push 4
push eax
push 0x1001
push 0xffff
mov dword [ebp - 4], 0x10000
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
je 0x42433b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xc]
push str.Error_d_setsockopt__
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret

Function at 0x42433d
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
xor edx, edx
mov ecx, 0x3e8
mov dword [ebp - 0x114], 1
div ecx
mov dword [ebp - 8], eax
mov eax, dword [esi]
imul edx, edx, 0x3e8
mov dword [ebp - 0x110], eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0x114]
push 0
push eax
push 0
mov dword [ebp - 4], edx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jl 0x4243c5
cmp eax, 1
jg 0x4243c5
lea eax, [ebp - 0x114]
push eax
push dword [esi]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4243c1
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x4243bc
or eax, 0xffffffff
pop esi
leave
ret 0xc
xor eax, eax
jmp 0x4243bc
push dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x10]
push str.ERROR__d_in_TCP::TryRead__1__d_socket_X
push eax
call fcn.004249d4
add esp, 0x14
lea eax, [ebp - 0x10]
push 0x493124
push eax
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [esp + 4]
push esi
mov esi, ecx
add eax, 4
push eax
lea ecx, [esi + 4]
call fcn.0042a614
mov dword [esi], 0x48a5d8
mov eax, esi
pop esi
ret 4
Function at 0x4248d9
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ecx + 8]
mov ecx, 0x3e8
cdq
idiv ecx
mov dword [ebp - 0x110], esi
mov dword [ebp - 0x114], 1
imul edx, edx, 0x3e8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0
lea eax, [ebp - 0x114]
push 0
push eax
lea eax, [esi + 1]
push eax
mov dword [ebp - 4], edx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jl 0x424947
cmp eax, 2
jg 0x424947
lea eax, [ebp - 0x114]
push eax
push esi
call sub.WS2_32.dll___WSAFDIsSet
neg eax
sbb eax, eax
pop esi
neg eax
leave
ret 4
push eax
lea eax, [ebp - 0x10]
push str.ERROR_in_TransportTCP1::IsReadyForRead__1__d
push eax
call fcn.004249d4
add esp, 0xc
lea eax, [ebp - 0x10]
push 0x493124
push eax
call sub.MSVCRT.dll__CxxThrowException
Function at 0x424fa9
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x48005c
call fcn.0047bf20
sub esp, 0x50
push ebx
push esi
push str.Elevate__
push 0x4ae550
call fcn.0042874e
xor ebx, ebx
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0040bb00
add esp, 0x10
push str._elevated
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0042bf7c
push 0x4adedc
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
call fcn.0042c134
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0042bebc
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], str.runas
call fcn.0042c635
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x4c], eax
call fcn.0042c635
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x3c], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x425099
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x4c7
jne 0x425077
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042bebc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042bebc
xor al, al
jmp 0x4250b2
call esi
push eax
lea eax, [ebp - 0x20]
push str.Error__d_in_Elevate__
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 0x20]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0042bebc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0042bebc
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42519e
Capabilities:
Log keystrokes

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push 0
push eax
call esi
push 0
mov edi, eax
push dword [esp + 0x14]
call esi
mov esi, dword [sym.imp.USER32.dll_AttachThreadInput]
mov ebx, eax
push 1
push ebx
push edi
call esi
test eax, eax
jne 0x4251e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x42523c
push eax
push str.SetForegroundWindow__1_Error__d
jmp 0x42522f
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test eax, eax
jne 0x4251fd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetForegroundWindow__2_Error__d
jmp 0x42522f
push 0
push ebx
push edi
call esi
test eax, eax
jne 0x425215
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetForegroundWindow__3_Error__d
jmp 0x42522f
push dword [esp + 0x10]
call dword [sym.imp.USER32.dll_SetActiveWindow]
test eax, eax
jne 0x425240
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SetForegroundWindow__4_Error__d
push 0x4ae550
call fcn.00428736
add esp, 0xc
xor eax, eax
jmp 0x425243
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
ret
Function at 0x427250
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx + 0x1db4]
push esi
mov esi, dword [esp + 0xc]
test esi, esi
jle 0x427278
mov edx, dword [esp + 8]
push edi
movzx edi, byte [edx]
xor edi, eax
movzx eax, byte [edi + ecx + 0x1cb4]
mov byte [edx], al
inc edx
dec esi
jne 0x427264
pop edi
mov dword [ecx + 0x1db4], eax
pop esi
ret 8

Function at 0x4272a5
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
push edi
mov edi, ecx
test edx, edx
mov ecx, dword [edi + 0x1db4]
jle 0x4272d2
push ebx
push esi
mov esi, dword [esp + 0x10]
movzx eax, byte [esi]
mov bl, byte [edi + eax + 0x1cb4]
xor bl, cl
mov ecx, eax
mov byte [esi], bl
inc esi
dec edx
jne 0x4272bc
pop esi
pop ebx
mov dword [edi + 0x1db4], ecx
pop edi
ret 8

Function at 0x42733e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, edx
push esi
shr eax, 2
test eax, eax
jle 0x427367
mov esi, eax
mov eax, dword [ebp + 8]
push edi
mov edi, dword [ecx]
add ecx, 4
xor dword [eax], edi
add eax, 4
dec esi
jne 0x427357
pop edi
jmp 0x42736a
mov eax, dword [ebp + 8]
and edx, 3
jle 0x42737a
mov esi, edx
mov dl, byte [ecx]
xor byte [eax], dl
inc eax
inc ecx
dec esi
jne 0x427371
pop esi
pop ebp
ret
Function at 0x42737d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
mov esi, ecx
push dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00427509
lea edi, [esi + 0x474]
push ebx
mov ecx, esi
call fcn.00427539
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, 0x200
jb 0x4273a0
and dword [ebp - 4], 0
lea ebx, [esi + 0x74]
mov edi, 0x100
mov eax, dword [ebp - 4]
mov ecx, esi
add eax, 0x1000
push eax
call fcn.00427539
inc dword [ebp - 4]
mov dword [ebx], eax
add ebx, 4
cmp dword [ebp - 4], edi
jb 0x4273c2
and dword [ebp - 4], 0
lea ebx, [esi + 0xc74]
mov eax, dword [ebp - 4]
mov ecx, esi
add eax, 0x2000
push eax
call fcn.00427539
inc dword [ebp - 4]
mov dword [ebx], eax
add ebx, 4
cmp dword [ebp - 4], 0x10
jb 0x4273e9
mov ecx, esi
call fcn.00426f33
and dword [esi + 0x1db4], 0
xor eax, eax
or cl, 0xff
sub cl, al
mov byte [ebp + eax - 0x110], cl
inc eax
cmp eax, edi
jb 0x427417
and dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0x14
jge 0x427492
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, 0x14
mov dword [ebp - 0x10], eax
jge 0x427489
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov ebx, edi
movzx eax, byte [eax + ecx]
movzx edx, byte [ecx + edx - 1]
add eax, edx
mov edx, dword [ebp - 4]
movzx edx, byte [edx + ecx - 1]
xor eax, edx
cdq
idiv ebx
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], edi
mov byte [ebp + eax - 0x210], dl
jge 0x42749b
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x14
jl 0x42744e
inc dword [ebp - 8]
cmp dword [ebp - 8], 0x15
jl 0x427440
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jb 0x427433
xor eax, eax
mov dword [ebp + 8], eax
movzx ecx, byte [ebp + eax - 0x210]
cmp eax, ecx
je 0x4274c5
lea ecx, [ebp + ecx - 0x110]
lea eax, [ebp + eax - 0x110]
mov bl, byte [ecx]
mov dl, byte [eax]
mov byte [eax], bl
mov eax, dword [ebp + 8]
mov byte [ecx], dl
inc eax
cmp eax, edi
mov dword [ebp + 8], eax
jl 0x4274a0
cmp byte [ebp + 0xc], 0
je 0x4274ec
lea eax, [ebp - 0x110]
push edi
add esi, 0x1cb4
push eax
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x427502
xor eax, eax
movzx ecx, byte [ebp + eax - 0x110]
mov byte [ecx + esi + 0x1cb4], al
inc eax
cmp eax, edi
jb 0x4274ee
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x427649
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 8]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenEventA]
test eax, eax
jne 0x42768e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42768a
push eax
lea eax, [ebp - 8]
push str.ERROR:__d_CRLEvent::IsEventExist__
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
xor al, al
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
leave
ret
Function at 0x4276f3
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
push dword [esp + 0xc]
push 0
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [esi], eax
je 0x427726
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x427724
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi], 0
mov eax, dword [esi]
pop esi
ret 8

Function at 0x42772a
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x42776f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x42776b
push eax
lea eax, [ebp - 8]
push str.ERROR:__d_RLMutexWin::IsExist__
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
xor al, al
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
leave
ret

Function at 0x427868
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ecx]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fread]
mov esi, eax
add esp, 0x10
cmp esi, dword [ebp + 0xc]
je 0x4278b3
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push esi
push str.RLFile::Read____d__d_error_d
push eax
call fcn.0042778f
add esp, 0x14
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8

Function at 0x4278b8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ecx]
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_fwrite]
mov esi, eax
add esp, 0x10
cmp esi, dword [ebp + 0xc]
je 0x427903
call dword [sym.imp.MSVCRT.dll__errno]
push dword [eax]
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push esi
push str.RLFile::Write____d__d_error_d
push eax
call fcn.0042778f
add esp, 0x14
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8

Function at 0x427abe
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x427af9
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.RLFileWin::GetSize___error_d
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
leave
ret
Function at 0x427afb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0
push eax
push esi
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x427b20
cmp dword [ebp + 0xc], esi
je 0x427b46
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.RLFileWin::Read___error_d
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8

Function at 0x427b4b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push 0
push eax
push esi
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x427b70
cmp dword [ebp + 0xc], esi
je 0x427b96
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 8]
push str.RLFileWin::Write___error_d
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 8]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException
pop esi
leave
ret 8

Function at 0x427da5
Capabilities:
Connect to http server
Create http request

Disassembly:
mov eax, 0x480174
call fcn.0047bf20
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi]
cmp eax, ebx
jne 0x427e3a
cmp byte [0x4ae7d8], bl
je 0x427dd3
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
jmp 0x427e34
cmp word [0x4ae7da], bx
jne 0x427de3
push ebx
push ebx
push ebx
push 1
jmp 0x427dc8
lea ecx, [ebp - 0x10]
call fcn.0042a608
movzx eax, word [0x4ae7da]
push eax
mov ecx, 0x4ae7d4
mov dword [ebp - 4], ebx
call fcn.0042c635
push eax
lea eax, [ebp - 0x10]
push str._s:_d
push eax
call fcn.0042bb0a
add esp, 0x10
lea ecx, [ebp - 0x10]
push ebx
push ebx
call fcn.0042c635
push eax
push 3
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [esi], eax
call fcn.0042a904
mov eax, dword [esi]
cmp eax, ebx
je 0x427e5e
cmp dword [esi + 4], ebx
jne 0x427ef4
push 1
push ebx
push 3
push ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [esi + 4], eax
jne 0x427e6c
mov ecx, esi
call fcn.00427d0c
xor al, al
jmp 0x427ef6
cmp byte [0x4ae7d8], bl
push edi
jne 0x427e7e
cmp word [0x4ae7da], bx
je 0x427ed0
mov edi, 0x4ae7cc
mov ecx, edi
call fcn.0042b091
test eax, eax
jne 0x427ed0
mov ecx, edi
call fcn.0042b07f
push eax
mov ecx, edi
call fcn.0042c635
push eax
push 0x2b
mov ecx, esi
call fcn.00427d6c
mov edi, 0x4ae7c8
mov ecx, edi
call fcn.0042b091
test eax, eax
jne 0x427ed0
mov ecx, edi
call fcn.0042b07f
push eax
mov ecx, edi
call fcn.0042c635
push eax
push 0x2c
mov ecx, esi
call fcn.00427d6c
mov edi, 0xea60
mov ecx, esi
push edi
push 2
call fcn.00427d34
push edi
push 6
mov ecx, esi
call fcn.00427d34
push edi
push 5
mov ecx, esi
call fcn.00427d34
pop edi
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x427f39
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
lea eax, [ebp - 0x128]
push edi
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x28]
push eax
mov esi, ecx
push dword [ebp + 0xc]
call fcn.00428281
add esp, 0x14
mov ecx, esi
call fcn.00427f06
mov edi, 0x4ae550
push str.RLHttp::SendRequest__3
push edi
call fcn.0042874e
pop ecx
lea eax, [ebp - 0xa8]
pop ecx
push dword [ebp - 4]
mov ecx, esi
push eax
call fcn.00427da5
test al, al
je 0x42808c
lea eax, [ebp - 0x28]
xor ebx, ebx
push 0x49b1a0
push eax
mov dword [ebp - 8], ebx
mov dword [ebp + 0xc], 0x4080100
call sub.MSVCRT.dll_strcmp
pop ecx
test eax, eax
pop ecx
jne 0x427fc1
mov dword [ebp + 0xc], 0x4881100
mov ecx, 0x4ae7cc
call fcn.0042b091
test eax, eax
jne 0x427fd3
or byte [ebp + 0xe], 0x40
push str.RLHttp::SendRequest__5
push edi
call fcn.0042874e
pop ecx
lea eax, [ebp - 8]
pop ecx
push ebx
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x128]
push dword [esi + 0x14]
push ebx
push eax
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
cmp eax, ebx
mov dword [esi + 8], eax
jne 0x42800f
mov ecx, esi
call fcn.00427d0c
jmp 0x42808c
mov ebx, dword [ebp + 0x10]
test ebx, ebx
jne 0x42801e
and dword [ebp + 8], ebx
and dword [ebp + 0xc], ebx
jmp 0x42802e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov dword [ebp + 8], eax
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0xc], eax
lea ebx, [esi + 0x10]
mov ecx, ebx
call fcn.0042b07f
push dword [ebp + 0xc]
mov dword [ebp + 0x10], eax
push dword [ebp + 8]
push eax
push dword [esi + 8]
push str.RLHttp::SendRequest__8__X__X__X__X
push edi
call fcn.0042874e
add esp, 0x18
mov ecx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x10]
call fcn.0042c635
push eax
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x428090
mov ecx, esi
call fcn.00427d0c
push str.RLHttp::SendRequest__8_ERROR
push edi
call fcn.0042874e
pop ecx
pop ecx
mov ecx, esi
call fcn.00427f22
xor al, al
jmp 0x42809f
push str.RLHttp::SendRequest__9
push edi
call fcn.0042874e
pop ecx
mov al, 1
pop ecx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4280a6
Capabilities:
Get http content length

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, ecx
push edi
mov edi, str.S:Ammyy_sourcesRLRLHttp.cpp
cmp dword [esi + 8], 0
jne 0x4280d0
push 0xde
push edi
lea ecx, [ebp - 0x14]
call fcn.00425678
mov ecx, eax
call fcn.00425784
lea eax, [ebp - 8]
and dword [ebp - 4], 0
push eax
lea eax, [ebp - 0xc]
and dword [ebp - 8], 0
push eax
lea eax, [ebp - 4]
mov dword [ebp - 0xc], 4
push eax
push 0x20000005
push dword [esi + 8]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
jne 0x428112
push 0xe4
push edi
lea ecx, [ebp - 0x14]
call fcn.00425678
mov ecx, eax
call fcn.00425784
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret
Function at 0x428821
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
push dword [ebp + 0xc]
push 0
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42884e
mov al, 1
leave
ret 8
cmp eax, 2
jne 0x428857
xor al, al
jmp 0x42884a
push eax
lea eax, [ebp - 0xc]
push str.RegQueryValueExA___error_u
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x428877
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
lea ecx, [ebp - 4]
mov eax, 0x104
push ecx
mov ecx, dword [ebp + 0xc]
push eax
mov dword [ebp - 4], eax
call fcn.0042adf1
push eax
push 0
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
pop esi
jne 0x4288bb
push dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
call fcn.0042aec7
mov al, 1
leave
ret 8
cmp eax, 2
jne 0x4288d1
mov ecx, dword [ebp + 0xc]
push 0x4ade80
call fcn.0042aace
xor al, al
jmp 0x4288b7
push eax
lea eax, [ebp - 0xc]
push str.RegQueryValueExA___error_u
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException

Function at 0x4288f1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
and dword [ebp - 4], 0
push eax
push 0
push 0
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x42891b
xor al, al
leave
ret 4
test eax, eax
jne 0x428923
mov al, 1
jmp 0x428917
push eax
lea eax, [ebp - 0xc]
push str.IsExistW___error_u
push eax
call fcn.0042778f
add esp, 0xc
lea eax, [ebp - 0xc]
push 0x48e404
push eax
call sub.MSVCRT.dll__CxxThrowException