joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ca2c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x455074]
cmp byte [eax + 0xc], 0
je 0x43cb99
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43cb92
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x456bb8], 0
jne 0x43ca80
push 0x43cba0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43cba8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bb8], eax
cmp dword [0x454a40], 0
jne 0x43cb7b
push 0x43cbb8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x454a40], eax
cmp dword [0x454a40], 0
je 0x43cb7b
push 0x43cbc4
mov eax, dword [0x454a40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bbc], eax
push 0x43cbd4
mov eax, dword [0x454a40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bc0], eax
push 0x43cbe8
mov eax, dword [0x454a40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bc4], eax
push 0x43cc00
mov eax, dword [0x454a40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bc8], eax
push 0x43cc18
mov eax, dword [0x454a40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bcc], eax
push 0x43cc2c
mov eax, dword [0x454a40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bd0], eax
push 0x43cc44
mov eax, dword [0x454a40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bd4], eax
push 0x43cc5c
mov eax, dword [0x454a40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bd8], eax
push 0x43cc78
mov eax, dword [0x454a40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456bdc], eax
push 0x43cc84
mov eax, dword [0x454a40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x456be0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cb99
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4407c8
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.00404468
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x440817
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004046d0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x448658
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4486a8]
test si, 4
je 0x44866c
or bl, 1
test si, 8
je 0x448676
or bl, 4
test si, 1
je 0x448680
or bl, 8
test si, 2
je 0x44868a
or bl, 0x10
test si, 0x10
je 0x448694
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4486a3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4486ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4486e4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4486c5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4486d4
or bl, 4
test esi, 0x20000000
je 0x4486df
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44ece8
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44ecfa
add esp, 0xfffffff0
call fcn.00403a60
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c7b8
mov eax, dword [0x454d80]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f08c
mov eax, dword [0x454d8c]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f098
mov eax, ebx
call fcn.0044f0a4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412818]
call fcn.004036e4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412818]
call fcn.004036e4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x412818]
call fcn.004036e4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x412818]
call fcn.004036e4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x412818]
call fcn.004036e4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44b56c
push eax
push 0
push 0
mov eax, dword [0x454ebc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e1b0]
call fcn.0041f5b4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e1b0]
call fcn.0041f5b4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e1b0]
call fcn.0041f5b4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f4c4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f3a0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f3a0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f3a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ee37
call fcn.00403ab8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44f184
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 0x44f32f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44f310
mov dl, 1
mov eax, dword [0x412d08]
call fcn.004036e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404468
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44f2ff
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.0043cd8c
test al, al
je 0x44f2f2
lea eax, [ebp - 0xc]
push eax
push 0x20019
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, 0x44f340
lea eax, [ebp - 0x254]
call fcn.0040915c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44f2f2
xor eax, eax
push ebp
push 0x44f2eb
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 0x44f378
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44f2d4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
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 + 0x3c]
jne 0x44f2d4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f2f2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44f1f5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416e50
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f336
lea eax, [ebp - 0x260]
call fcn.00404468
ret

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

Disassembly:
push ecx
mov eax, dword [0x456bfc]
cmp byte [eax + 0xa5], 0
jne 0x44fcd5
cmp dword [0x456c14], 0
jne 0x44fc96
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44fc20
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x456c14], eax
cmp dword [0x456c10], 0
jne 0x44fcb1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x456c10], eax
cmp dword [0x456c18], 0
jne 0x44fcd5
push esp
push 0
push 0
push 0x44fbc4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x456c18], eax
pop edx
ret
Function at 0x44fdcc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44fde3
add esp, 0xfffffff0
call fcn.00403a60
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c7b8
mov eax, dword [0x454eac]
cmp word [eax + 2], 0
jne 0x44fe0b
mov eax, dword [0x454eac]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451490
mov eax, dword [0x454f34]
cmp word [eax + 2], 0
jne 0x44fe25
mov eax, dword [0x454f34]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451688
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412818]
call fcn.004036e4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412818]
call fcn.004036e4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0x80000018
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 + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41e960]
call fcn.0042456c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44ffac
mov eax, dword [0x454de0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042493c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x451bf8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x454de0]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040bbcc
test eax, eax
je 0x44ff1a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408ab8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bbf4
test eax, eax
je 0x44ff2e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004046d0
mov eax, dword [0x454cf4]
cmp byte [eax], 0
jne 0x44ff62
mov eax, ebx
call fcn.004500d4
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00451dd4
mov eax, ebx
call fcn.00452714
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44ffa2
call fcn.00403ab8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450348
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x456bfc]
cmp dword [eax + 0x30], 0
je 0x4503f2
cmp dword [ebx + 0x94], 0
jne 0x4503ec
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4502d8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4503ec
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 0x4503b2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4503ec
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.00414eb8
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4503c1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x450ed0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x450f05
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404558
jmp 0x450f12
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x451fb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x451ff1
mov eax, esi
call fcn.00438650
test al, al
je 0x451ff1
mov eax, dword [ebx + 0x84]
call fcn.0043834c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x451ff1
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043834c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x417170
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11000]
push edi
jmp 0x41718a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417191
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417180
mov eax, 1
add ebx, ebx
jne 0x4171a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417198
jne 0x4171b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417198
xor ecx, ecx
sub eax, 3
jb 0x4171c8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41723a
mov ebp, eax
add ebx, ebx
jne 0x4171d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4171e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417204
inc ecx
add ebx, ebx
jne 0x4171f0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4171e5
jne 0x417201
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4171e5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417224
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417215
jmp 0x417186
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417224
add edi, ecx
jmp 0x417186
pop esi
mov edi, esi
mov ecx, 0x2cb
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417242
cmp byte [edi], 6
jne 0x417242
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x417247
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4172b6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17a50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17adc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417274
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x17ae0]
or eax, eax
je 0x4172b0
mov dword [ebx], eax
add ebx, 4
jmp 0x417291
call dword [esi + 0x17af0]
mov ebp, dword [esi + 0x17ae4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4172ea
sub esp, 0xffffff80
jmp 0x409134
Function at 0x52d6f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd0000]
push edi
jmp 0x52d70a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52d711
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d700
mov eax, 1
add ebx, ebx
jne 0x52d723
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52d734
jne 0x52d753
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d753
dec eax
add ebx, ebx
jne 0x52d740
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52d718
add ebx, ebx
jne 0x52d74f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52d7a5
xor ecx, ecx
sub eax, 3
jb 0x52d76b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52d7da
sar eax, 1
mov ebp, eax
jmp 0x52d776
add ebx, ebx
jne 0x52d776
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d744
inc ecx
add ebx, ebx
jne 0x52d784
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52d744
add ebx, ebx
jne 0x52d791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52d786
jne 0x52d7a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52d786
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52d7c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52d7b6
jmp 0x52d706
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52d7c4
add edi, ecx
jmp 0x52d706
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52d7e2
cmp byte [edi], 0x11
jne 0x52d7e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x52d7e7
lea edi, [esi + 0x126000]
mov eax, dword [edi]
or eax, eax
je 0x52d85f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17574c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1758c8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52d814
mov ecx, edi
jns 0x52d843
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1758cc]
or eax, eax
je 0x52d859
mov dword [ebx], eax
add ebx, 4
jmp 0x52d831
call dword [esi + 0x1758dc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x52d890
cmp al, 0xef
ja 0x52d883
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x52d865
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x52d872
mov ebp, dword [esi + 0x1758d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x52d8c4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x67fc1694
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], str.Mozilla_5.0__Windows_NT_6.1__AppleWebKit_537.36__KHTML__like_Gecko__Chrome_50.0.2661.94_Safari_537.36
call fcn.68017611
call eax
sub esp, 0x14
mov dword [ebp - 0xc], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x50
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.68127a45
call eax
sub esp, 0x20
mov dword [ebp - 0x10], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0x4003000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], str.HTTP_1.1
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x67fcb06f
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.68073031
call eax
sub esp, 0x20
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.680512ab
call eax
sub esp, 0x14
test eax, eax
je 0x67fc17c2
mov eax, dword [ebp + 0x14]
lea edx, [ebp - 0x18]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.680bac6c
call eax
sub esp, 0x10
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call int.6803cb34
call eax
sub esp, 4
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.680020a3
call eax
sub esp, 4
mov eax, dword [ebp - 0x18]
leave
ret
Function at 0x67fc24c4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0xc]
mov word [ebp - 0x14], ax
mov dword [ebp - 0xc], str.xconfig_content
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x2c7]
and eax, 2
test al, al
je 0x67fc250c
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.67fc2446
test eax, eax
je 0x67fc2502
mov eax, 0
jmp 0x67fc262d
mov eax, 1
jmp 0x67fc262d
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test al, al
jne 0x67fc2527
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax + 0x2c7]
and eax, 1
test al, al
jne 0x67fc2531
mov eax, 1
jmp 0x67fc262d
mov dword [ebp - 4], 0
jmp 0x67fc25ad
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0xb0
mov eax, dword [eax + edx*4 + 8]
test eax, eax
je 0x67fc25b5
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0xb0
mov eax, dword [eax + edx*4 + 8]
xor eax, dword [ebp + 8]
mov ecx, eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
add edx, 0xd0
mov eax, dword [eax + edx*4 + 8]
and eax, ecx
test eax, eax
jne 0x67fc25a9
mov eax, dword [0x67fcc014]
test eax, eax
je 0x67fc258c
mov eax, 0xffffffff
jmp 0x67fc262d
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
lea ecx, [edx + 0xf0]
mov edx, dword [ebp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov eax, 1
jmp 0x67fc262d
add dword [ebp - 4], 1
cmp dword [ebp - 4], 0x1f
jle 0x67fc253a
jmp 0x67fc25b6
nop
mov dword [ebp - 8], 0
jmp 0x67fc261f
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
add edx, 0x220
movzx eax, word [eax + edx*2 + 8]
test ax, ax
je 0x67fc2627
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
add edx, 0x220
movzx eax, word [eax + edx*2 + 8]
movzx edx, ax
movsx eax, word [ebp - 0x14]
cmp edx, eax
jne 0x67fc261b
mov eax, dword [0x67fcc014]
test eax, eax
je 0x67fc2601
mov eax, 0xffffffff
jmp 0x67fc262d
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
lea ecx, [edx + 0x114]
mov edx, dword [ebp + 0x10]
mov dword [eax + ecx*4 + 8], edx
mov eax, 1
jmp 0x67fc262d
add dword [ebp - 8], 1
cmp dword [ebp - 8], 7
jle 0x67fc25bf
jmp 0x67fc2628
nop
mov eax, 0
leave
ret