joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e5110
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x9483ec]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4e5123
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4e5164
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x948494]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4e5196
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4e519a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4e518b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4e51b8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4e51bc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4e51ad
xor ecx, ecx
mov eax, 0x9483fc
xor ebx, ebx
mov bl, byte [ecx + 0x9484a4]
cmp byte [esp + ebx + 0x14], 0
je 0x4e51e7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x9484bc]
cmp byte [esp + ebx + 0x14], 0
je 0x4e51fe
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4e51ce
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4e5157
lea edx, [esp + 0x84]
push edx
call fcn.004e5240
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4e6d20
Capabilities:
Reference http user-agent string

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
push edi
test ecx, ecx
mov edi, dword [ecx + 4]
je 0x4e6d35
mov eax, dword [ecx]
push 1
call dword [eax]
cmp edi, 0x4d
je 0x4e6d43
cmp edi, 0xc
jne 0x4e6dd8
mov ecx, dword [esi + 0x234]
test ecx, ecx
je 0x4e6d5d
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x234], 0
push 3
mov ecx, esi
call fcn.004e6e40
mov eax, dword [esi + 0x30]
test eax, eax
je 0x4e6d8b
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e6d8b
mov eax, dword [esi + 0x30]
push 0
push 0x64
push 0x8075
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
mov edi, dword [esi + 0x20]
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi + 0x20]
repne scasb al, byte es:[edi]
not ecx
add edx, ecx
mov eax, edx
mov dword [esi + 0x20], edx
cmp byte [eax], 0
jne 0x4e6dc7
mov eax, dword [esi + 0x18]
mov ecx, dword [esi + 0x1c]
test eax, eax
mov dword [esi + 0x20], ecx
jle 0x4e6dc7
dec eax
test eax, eax
mov dword [esi + 0x18], eax
jne 0x4e6dc7
mov dword [esi + 0x10], 1
pop edi
pop esi
ret 4
mov eax, dword [esi + 0x30]
lea edx, [esi + 0x34]
push 0
push edx
push eax
mov ecx, esi
call fcn.004e6ea0
pop edi
pop esi
ret 4

Function at 0x4e71b0
Capabilities:
Reference http user-agent string

Disassembly:
mov eax, dword [ecx]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x4e81c0
Capabilities:
Reference http user-agent string

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x4e8207
mov edi, dword [esp + 0x10]
push edi
call fcn.0050f5f7
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [esi + 0xa8], eax
mov eax, dword [esi + 0xa4]
mov ecx, dword [ecx]
push eax
push edi
push 1
push ecx
call fcn.004ffc7b
sub eax, edi
add esp, 0x14
neg eax
sbb eax, eax
pop edi
and eax, 0x21
pop esi
ret 0xc
mov ecx, dword [esi + 0x2c]
test ecx, ecx
je 0x4e823b
mov eax, dword [esi + 0x18]
test eax, eax
je 0x4e823b
mov edx, dword [ecx]
call dword [edx + 0x40]
test al, al
je 0x4e8225
mov eax, dword [esi + 0x7c]
test eax, eax
jg 0x4e823b
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push eax
push ecx
mov ecx, esi
call fcn.004e8300
pop edi
pop esi
ret 0xc
mov ecx, dword [esi + 0x18]
push ebx
mov edx, dword [ecx]
call dword [edx + 0x18]
mov ecx, dword [esi + 0x14]
mov edi, eax
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ebx, eax
cmp ebx, 0x5a
jle 0x4e826e
cmp edi, 0x5a
jle 0x4e826e
mov ecx, dword [esi + 0x2c]
mov edx, dword [ecx]
call dword [edx + 0x44]
test al, al
je 0x4e826e
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov eax, dword [esi + 0x7c]
imul eax, dword [esi + 0x3c]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
and edx, 0x1fff
add eax, edx
mov edi, eax
mov eax, dword [esi + 0x40]
sar edi, 0xd
cmp edi, eax
jbe 0x4e829d
cdq
sub eax, edx
mov edi, eax
sar edi, 1
mov al, byte [esp + 0x18]
test al, al
je 0x4e82e3
cmp ebx, 1
jge 0x4e82e3
mov ecx, dword [esi + 0x18]
mov edx, edi
shr edx, 1
cmp dword [ecx + 0xc], edx
jae 0x4e82e3
mov al, byte [esi + 0x1d]
test al, al
jne 0x4e82e3
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x3e8
call ebx
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0xc], edi
jae 0x4e82e3
mov eax, dword [ecx]
call dword [eax + 0x18]
cmp eax, 0x5a
jg 0x4e82e3
mov al, byte [esi + 0x1d]
test al, al
je 0x4e82c3
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004e8300
pop ebx
pop edi
pop esi
ret 0xc
Function at 0x4e86a0
Capabilities:
Reference http user-agent string

Disassembly:
push 0xffffffffffffffff
push 0x520948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x92992c
mov ecx, dword [esi + 4]
xor edi, edi
mov dword [esp + 0x14], edi
mov byte [esi + 0x1d], 1
call fcn.004e7210
mov ecx, dword [esi + 8]
call fcn.004e7210
mov ecx, dword [esi + 0x64]
cmp ecx, edi
je 0x4e86f7
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [esi + 0x64]
cmp ecx, edi
je 0x4e86f7
mov edx, dword [ecx]
push 1
call dword [edx]
mov al, byte [esi + 0x60]
test al, al
je 0x4e8778
mov eax, dword [esi + 0x3c]
push ebp
push eax
call dword [sym.imp.WINMM.dll_waveOutReset]
mov eax, dword [esi + 0x58]
xor ebp, ebp
cmp eax, edi
jbe 0x4e873c
push ebx
mov ebx, dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov ecx, dword [esi + 0x38]
lea eax, [ecx + edi]
mov ecx, dword [ecx + edi + 0xc]
test ecx, ecx
jge 0x4e8730
mov edx, dword [esi + 0x3c]
push 0x20
push eax
push edx
call ebx
mov eax, dword [esi + 0x58]
inc ebp
add edi, 0x20
cmp ebp, eax
jb 0x4e8719
pop ebx
mov eax, dword [esi + 0x3c]
mov edi, dword [sym.imp.WINMM.dll_waveOutClose]
push eax
call edi
cmp eax, 0x21
jne 0x4e8762
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
call ebp
mov ecx, dword [esi + 0x3c]
push ecx
call edi
cmp eax, 0x21
je 0x4e8753
mov eax, dword [esi + 0x38]
push eax
call fcn.0050f620
mov eax, dword [esi + 0x34]
push eax
call fcn.0050f620
add esp, 8
pop ebp
mov edi, dword [0x98e27c]
test edi, edi
je 0x4e879c
mov ecx, edi
call fcn.004e71a0
push edi
call fcn.0050f620
add esp, 4
mov dword [0x98e27c], 0
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.004e7280
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4e89f0
Capabilities:
Reference http user-agent string

Disassembly:
push esi
push edi
mov esi, ecx
push 0
call fcn.004e8b00
mov edi, eax
test edi, edi
jne 0x4e8a0b
pop edi
mov eax, 0x1c
pop esi
ret 4
mov eax, dword [esi + 0x54]
mov ecx, dword [esp + 0xc]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov edx, dword [esi + 0x50]
mov eax, dword [esi + 0x3c]
push edx
push edi
push eax
call dword [sym.imp.WINMM.dll_waveOutPrepareHeader]
mov ecx, dword [esi + 0x50]
mov edx, dword [esi + 0x3c]
push ecx
push edi
push edx
call dword [sym.imp.WINMM.dll_waveOutWrite]
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x4e8b00
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x1d], bl
jne 0x4e8ba1
mov ecx, dword [0x98e27c]
call fcn.004e71b0
mov eax, dword [esi + 0x58]
xor ebp, ebp
cmp eax, ebx
jbe 0x4e8b7f
xor edi, edi
mov eax, dword [esi + 0x38]
lea ecx, [eax + edi]
mov eax, dword [eax + edi + 0xc]
cmp eax, ebx
jge 0x4e8b65
mov edx, dword [esi + 0x78]
inc edx
neg eax
cmp eax, edx
jne 0x4e8b65
mov eax, dword [esi + 0x3c]
push 0x20
push ecx
push eax
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov ecx, esi
call fcn.004e8ab0
test eax, eax
jne 0x4e8baa
mov ecx, dword [esi + 0x38]
mov dword [ecx + edi + 0xc], ebx
mov eax, dword [esi + 0x78]
inc eax
mov dword [esi + 0x78], eax
cmp byte [esp + 0x14], bl
jne 0x4e8b74
mov edx, dword [esi + 0x38]
cmp dword [edx + edi + 0xc], ebx
je 0x4e8bbe
mov eax, dword [esi + 0x58]
inc ebp
add edi, 0x20
cmp ebp, eax
jb 0x4e8b27
mov ecx, dword [0x98e27c]
call fcn.004e71c0
cmp byte [esp + 0x14], bl
jne 0x4e8ba1
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], bl
je 0x4e8b11
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov ecx, dword [0x98e27c]
call fcn.004e71c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x74]
shl ebp, 5
add ebp, ecx
inc eax
mov dword [esi + 0x74], eax
mov esi, eax
mov dword [ebp + 0xc], esi
mov ecx, dword [0x98e27c]
call fcn.004e71c0
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 4

Function at 0x4e8b02
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 0x1d], bl
jne 0x4e8ba1
mov ecx, dword [0x98e27c]
call fcn.004e71b0
mov eax, dword [esi + 0x58]
xor ebp, ebp
cmp eax, ebx
jbe 0x4e8b7f
xor edi, edi
mov eax, dword [esi + 0x38]
lea ecx, [eax + edi]
mov eax, dword [eax + edi + 0xc]
cmp eax, ebx
jge 0x4e8b65
mov edx, dword [esi + 0x78]
inc edx
neg eax
cmp eax, edx
jne 0x4e8b65
mov eax, dword [esi + 0x3c]
push 0x20
push ecx
push eax
call dword [sym.imp.WINMM.dll_waveOutUnprepareHeader]
mov ecx, esi
call fcn.004e8ab0
test eax, eax
jne 0x4e8baa
mov ecx, dword [esi + 0x38]
mov dword [ecx + edi + 0xc], ebx
mov eax, dword [esi + 0x78]
inc eax
mov dword [esi + 0x78], eax
cmp byte [esp + 0x14], bl
jne 0x4e8b74
mov edx, dword [esi + 0x38]
cmp dword [edx + edi + 0xc], ebx
je 0x4e8bbe
mov eax, dword [esi + 0x58]
inc ebp
add edi, 0x20
cmp ebp, eax
jb 0x4e8b27
mov ecx, dword [0x98e27c]
call fcn.004e71c0
cmp byte [esp + 0x14], bl
jne 0x4e8ba1
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x1d], bl
je 0x4e8b11
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov ecx, dword [0x98e27c]
call fcn.004e71c0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov ecx, dword [esi + 0x38]
mov eax, dword [esi + 0x74]
shl ebp, 5
add ebp, ecx
inc eax
mov dword [esi + 0x74], eax
mov esi, eax
mov dword [ebp + 0xc], esi
mov ecx, dword [0x98e27c]
call fcn.004e71c0
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 4
Function at 0x4e9540
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x98e384]
xor edx, edx
cmp eax, edx
jne 0x4e9566
xor eax, eax
mov byte [eax + 0x98e284], al
inc eax
cmp eax, 0x100
jl 0x4e954e
mov dword [0x98e384], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x98e284
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4e95f7
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4e95ca
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4e9598
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e9670
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4e96c3
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4e96aa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4e9a70
Capabilities:
Reference http user-agent string

Disassembly:
mov eax, dword [ecx + 4]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret

Function at 0x4f0050
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5209ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004f0970
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x929a4c
call fcn.0050f5f7
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4f00e3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0050f5f7
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4f00dc
push 0
mov ecx, eax
call fcn.004e7180
mov dword [esi + 0xc], eax
jmp 0x4f00e5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4f00e5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x4f0a70
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp byte [esi + 8], bl
jne 0x4f0aa5
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 4]
call fcn.004e71b0
cmp dword [esi + 0x28], ebx
jne 0x4f0a94
cmp dword [esi + 0x24], ebx
je 0x4f0aae
mov ecx, dword [esi + 4]
call fcn.004e71c0
push 0xa
call edi
cmp byte [esi + 8], bl
je 0x4f0a82
pop edi
pop esi
mov eax, 0x1c
pop ebx
ret
mov ecx, dword [esi + 4]
mov byte [esi + 0x20], bl
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0xc], ebx
call fcn.004e71c0
pop edi
pop esi
xor eax, eax
pop ebx
ret

Function at 0x4f0ad0
Capabilities:
Reference http user-agent string

Disassembly:
push esi
mov esi, ecx
push edi
mov al, byte [esi + 8]
test al, al
jne 0x4f0b03
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 4]
call fcn.004e71b0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4f0b0b
mov ecx, dword [esi + 4]
call fcn.004e71c0
push 0xa
call edi
mov al, byte [esi + 8]
test al, al
je 0x4f0ae1
pop edi
mov eax, 0x1c
pop esi
ret
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0x18]
call fcn.004e71c0
mov eax, edi
pop edi
pop esi
ret

Function at 0x4f0b20
Capabilities:
Reference http user-agent string

Disassembly:
push esi
mov esi, ecx
push edi
mov al, byte [esi + 8]
test al, al
jne 0x4f0b53
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esi + 4]
call fcn.004e71b0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x4f0b5b
mov ecx, dword [esi + 4]
call fcn.004e71c0
push 0xa
call edi
mov al, byte [esi + 8]
test al, al
je 0x4f0b31
pop edi
mov eax, 0x1c
pop esi
ret
mov ecx, dword [esi + 4]
mov edi, dword [esi + 0x1c]
call fcn.004e71c0
mov eax, edi
pop edi
pop esi
ret

Function at 0x4f0b90
Capabilities:
Reference http user-agent string

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [esp + 0x10]
mov eax, dword [ebx + 0xc]
cmp edi, eax
jae 0x4f0bab
pop edi
pop esi
mov eax, 7
pop ebx
ret 8
mov eax, dword [ebx + 0x18]
test eax, eax
je 0x4f0bbd
pop edi
pop esi
mov eax, 0x10
pop ebx
ret 8
mov al, byte [ebx + 8]
test al, al
jne 0x4f0bf3
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebx + 4]
call fcn.004e71b0
mov eax, dword [ebx + 0x28]
test eax, eax
jne 0x4f0be0
mov eax, dword [ebx + 0x24]
test eax, eax
je 0x4f0bfe
mov ecx, dword [ebx + 4]
call fcn.004e71c0
push 0xa
call esi
mov al, byte [ebx + 8]
test al, al
je 0x4f0bca
pop edi
pop esi
mov eax, 0x1c
pop ebx
ret 8
mov eax, dword [esp + 0x14]
push ebp
add edi, eax
push edi
call fcn.0050f5f7
mov ecx, dword [ebx + 0xc]
mov esi, dword [ebx + 0x2c]
mov ebp, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebx + 0x2c]
push eax
call fcn.0050f620
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, dword [ebx + 0xc]
mov dword [ebx + 0x14], ecx
mov ecx, dword [ebx + 4]
add esp, 8
mov dword [ebx + 0x2c], ebp
mov dword [ebx + 0x10], edx
mov dword [ebx + 0x1c], eax
call fcn.004e71c0
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret 8
Function at 0x4f1299
Capabilities:
Reference http user-agent string

Disassembly:
sub esp, 0x24
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 8
lea edi, [esi + 0x44]
push edi
push eax
call fcn.004f1240
mov eax, dword [edi]
mov ecx, 0x38
shr eax, 3
and eax, 0x3f
cmp eax, 0x38
jb 0x4f12c0
mov ecx, 0x78
sub ecx, eax
push ecx
push 0x94aa9c
mov ecx, esi
call fcn.004f1380
lea ecx, [esp + 0x10]
push 8
push ecx
mov ecx, esi
call fcn.004f1380
lea edx, [esi + 0x4c]
push 0x10
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, esi
call fcn.004f1240
mov ebx, dword [esp + 0x38]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
mov dword [esp + 0x38], 0
mov byte [ebx], 0
mov ecx, dword [esp + 0x38]
mov al, byte [esp + ecx + 0x24]
test al, al
jne 0x4f1317
mov edi, 0x94aae4
jmp 0x4f1341
cmp al, 0xf
ja 0x4f1328
and eax, 0xff
push eax
push 0x94aae0
jmp 0x4f1333
and eax, 0xff
push eax
push 0x94aadc
lea eax, [esp + 0x20]
push eax
call ebp
add esp, 0xc
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x38]
mov ecx, edx
and ecx, 3
inc eax
cmp eax, 0x10
mov dword [esp + 0x38], eax
rep movsb byte es:[edi], byte [esi]
jl 0x4f1304
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 4

Function at 0x4fd3bb
Capabilities:
Reference http user-agent string

Disassembly:
push esi
mov esi, ecx
call fcn.005196c6
movzx ecx, word [esp + 8]
mov eax, dword [eax + 0xc]
push ecx
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, esi
call fcn.005166d0
pop esi
ret 4

Function at 0x4fd4e8
Capabilities:
Reference http user-agent string

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
and dword [esi + 0xc], 0
and dword [esi + 8], 0
mov dword [esi], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 4], eax
lea eax, [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret 8

Function at 0x50abca
Capabilities:
Reference http user-agent string

Disassembly:
push esi
push 1
pop esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x50abe2
xor esi, esi
mov eax, esi
pop esi
ret

Function at 0x50abe6
Capabilities:
Reference http user-agent string

Disassembly:
push esi
push 1
pop esi
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
je 0x50abfe
xor esi, esi
mov eax, esi
pop esi
ret

Function at 0x50cced
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push 0x935dd0
push eax
mov dword [ebp - 4], 0x99e240
call fcn.005008dc

Function at 0x50cd06
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push 0x935e18
push eax
mov dword [ebp - 4], 0x99e1a8
call fcn.005008dc
Function at 0x511c25
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push dword [ebp + 0xc]
mov ebx, ecx
push dword [ebp + 8]
push dword [ebx + 0x1c]
call fcn.00517055
mov edi, eax
test edi, edi
je 0x511c8d
push esi
push edi
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov esi, dword [ebp + 0x10]
movzx eax, ax
test esi, esi
mov dword [ebp + 0xc], eax
je 0x511c87
cmp dword [esi], 0x28
jb 0x511c87
mov eax, dword [ebx + 0x1c]
or dword [esi + 4], 1
or dword [esi + 0x24], 0xffffffff
push 0
push 0
push 0x87
push edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], edi
call dword [sym.imp.USER32.dll_SendMessageA]
test ah, 0x20
jne 0x511c87
or dword [esi + 4], reloc.OLEAUT32.dll_SysReAllocString
mov eax, dword [ebp + 0xc]
pop esi
jmp 0x511c90
or eax, 0xffffffff
pop edi
pop ebx
pop ebp
ret 0xc

Function at 0x511c96
Capabilities:
Get graphical window text
Reference http user-agent string

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x511cce
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0050fd11
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0050fce9
jmp 0x511cda
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x511f60
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
call fcn.00519499
mov esi, eax
add esi, 0x58
call fcn.005196c6
mov ebx, dword [ebp + 0xc]
mov edi, dword [eax + 8]
test ebx, ebx
jne 0x511fa1
cmp dword [ebp + 0x10], ebx
jne 0x511fa1
cmp dword [ebp + 0x14], ebx
jne 0x511fa1
push dword [ebp + 8]
push edi
push str.Afx:_x:_x
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
jmp 0x511fbb
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push dword [ebp + 8]
push edi
push str.Afx:_x:_x:_x:_x:_x
push esi
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
push edi
call dword [sym.imp.USER32.dll_GetClassInfoA]
test eax, eax
jne 0x51200b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [sym.imp.USER32.dll_DefWindowProcA]
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
call fcn.00511ebf
test eax, eax
jne 0x51200b
call fcn.005167d7
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x512b31
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [ebp + 8]
mov eax, dword [esi]
call dword [eax + 0x68]
push dword [ebp + 0x10]
test eax, eax
push dword [ebp + 0xc]
je 0x512b50
push 2
push dword [eax + 0x1c]
jmp 0x512b56
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SetScrollPos]
pop esi
pop ebp
ret 0xc

Function at 0x512bbc
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push dword [ebp + 8]
mov eax, dword [esi]
call dword [eax + 0x68]
push dword [ebp + 0x10]
test eax, eax
push dword [ebp + 0xc]
je 0x512bdb
push 2
push dword [eax + 0x1c]
jmp 0x512be1
push dword [ebp + 8]
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetScrollRange]
pop esi
pop ebp
ret 0xc

Function at 0x51348d
Capabilities:
Extract resource via kernel32 functions
Reference http user-agent string

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5134cf
call fcn.005196c6
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5134cf
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5134c6
xor eax, eax
jmp 0x5134d7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005134dd
pop edi
pop esi
pop ebx
ret 4