joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d2b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x45d2e3
push esi
call fcn.004603a0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x45d2dc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x45d369
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x45d352
mov eax, dword [esi + 8]
test eax, eax
je 0x45d307
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45d34e
cmp eax, 2
je 0x45d352
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45d2fa
cmp eax, 3
je 0x45d32d
cmp eax, 1
jne 0x45d2fa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45d2fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45d2fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0045d390
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x45d378
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0045d390
add esp, 4
pop esi
ret

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

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x46a096
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x46a096
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x46a077
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x46abd0
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0046ad20
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x46abf0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x46abd1
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
push ecx
push esi
mov esi, ecx
call fcn.0046ad20
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov dword [esi], eax
cmp eax, 0xffffffff
pop esi
jne 0x46abf0
xor eax, eax
pop ecx
ret
lea ecx, [esp]
push 4
push ecx
push 0x1001
push 0xffff
push eax
mov dword [esp + 0x14], 0
call sub.WS2_32.dll_setsockopt
mov eax, 1
pop ecx
ret

Function at 0x46ac20
Capabilities:
Resolve dns

Disassembly:
sub esp, 0x10
xor eax, eax
push esi
push edi
mov dword [esp + 8], eax
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x10], eax
push ecx
mov dword [esp + 0x18], eax
mov word [esp + 0xc], 2
call sub.WS2_32.dll_htons
mov esi, dword [esp + 0x1c]
mov word [esp + 0xa], ax
push esi
call sub.WS2_32.dll_inet_addr
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x46ac77
push esi
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x46ac8d
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [esp + 0xc], ecx
lea edx, [esp + 8]
push 0x10
push edx
mov ecx, edi
call fcn.0046acb0
pop edi
pop esi
add esp, 0x10
ret 8
push 0x2726
call sub.WS2_32.dll_WSASetLastError
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret 8

Function at 0x46acb0
Capabilities:
Connect socket

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
call sub.WS2_32.dll_connect
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x46ad40
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46ad89
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4
Function at 0x46b200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49fff0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046adb0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046ae30
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046ae30
lea ecx, [esi + 0xc]
call fcn.0048f6cf
lea ecx, [esi + 0x10]
call fcn.0048f6cf
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.0046d670
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.0046d670
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.0046d670
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0048f744
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0048f744
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x46bea8
Capabilities:
Get hostname

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4a0218
push eax
mov dword fs:[0], esp
sub esp, 0x64
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 4]
test eax, eax
je 0x46beb8
call fcn.0046c3d0
mov edi, dword [esp + 0x7c]
test edi, edi
je 0x46bf9b
cmp byte [edi], 0
je 0x46bf9b
mov eax, dword [esp + 0x8c]
test eax, eax
jg 0x46bedd
mov eax, 0x7d0
mov ecx, esi
mov dword [esi + 8], eax
call fcn.0046abd0
test eax, eax
jne 0x46befd
push 0x72af10
lea ecx, [esi + 0x38]
call fcn.0048f8cd
jmp 0x46bf9b
mov eax, dword [esp + 0x80]
mov ecx, esi
push eax
push edi
call fcn.0046ac20
test eax, eax
jne 0x46bf2c
mov ecx, esi
call fcn.0046ad20
push edi
add esi, 0x38
push 0x72aeec
push esi
call fcn.0048d117
add esp, 0xc
jmp 0x46bf9b
push 0xdc
mov ecx, esi
mov dword [esi + 4], 1
call fcn.0046cc60
test eax, eax
je 0x46bf94
lea ecx, [esp + 8]
push 0x64
push ecx
call sub.WS2_32.dll_gethostname
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x8c]
mov dword [esp + 0x8c], 1
push edx
push eax
lea edx, [esp + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0046c070
test eax, eax
jne 0x46bfb0
push edi
lea eax, [esi + 0x38]
push 0x72aec8
push eax
call fcn.0048d117
add esp, 0xc
mov ecx, esi
call fcn.0046c3d0
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x46c058
mov ecx, dword [0x72bb6c]
mov dword [esp + 0x7c], ecx
lea edx, [esp + 8]
lea eax, [esp + 0x7c]
push edx
push str.HELO__s_r_n
push eax
mov dword [esp + 0x80], 0
call fcn.0048d117
mov edx, dword [esp + 0x88]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov ecx, esi
call fcn.0046acd0
test eax, eax
jne 0x46c01a
push 0x72aeac
lea ecx, [esi + 0x38]
call fcn.0048f8cd
jmp 0x46c02a
push 0xfa
mov ecx, esi
call fcn.0046cc60
test eax, eax
jne 0x46c047
mov ecx, esi
call fcn.0046c3d0
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0048f744
jmp 0x46bf9b
lea ecx, [esp + 0x7c]
mov dword [esp + 0x74], 0xffffffff
call fcn.0048f744
mov ecx, dword [esp + 0x6c]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x70
ret 0x14
Function at 0x46f360
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x46f403
test eax, eax
jbe 0x46f403
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46f403
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46f3ae
xor esi, esi
jmp 0x46f3b4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46f3df
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00420320
add esi, eax
push esi
mov ebx, esi
call fcn.00420320
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46f3c0
pop ebp
test edi, edi
pop edi
jne 0x46f403
test ebx, ebx
je 0x46f403
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0047ebb0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x46f545
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46f65d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f65d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004911bb
mov esi, eax
test esi, esi
je 0x46f65d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46f65d
mov ecx, esi
call fcn.0046f4b0
cmp edi, eax
jge 0x46f65d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x46f5e3
mov dword [esp + 0x34], 1
jmp 0x46f63e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46f65d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046eab0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x474ae0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a0aa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push esi
push edi
mov edi, ecx
mov dword [esp + 8], 0
lea eax, [esp + 0xc]
mov dword [esp + 0x24], 0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [esp + 0x30]
test esi, esi
je 0x474b23
mov eax, dword [esi]
jmp 0x474b25
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0xc]
push edx
mov edx, dword [esp + 0x38]
push edx
push eax
push edi
call dword [ecx + 0x74]
test eax, eax
jge 0x474b46
push 0x72b788
push edi
push eax
call fcn.0048c7f1
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, edi
test esi, esi
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc], 0
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
je 0x474ba6
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x474ba6
mov eax, dword [esi]
test eax, eax
je 0x474b8d
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x474b9d
push eax
call fcn.0048f4ae
add esp, 4
push esi
call fcn.0048f4ae
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc

Function at 0x491b5e
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x491b96
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.0048fbeb
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048fbc3
jmp 0x491ba2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x49324f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x493291
call fcn.00498ffa
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x493291
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x493288
xor eax, eax
jmp 0x493299
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0049329f
pop edi
pop esi
pop ebx
ret 4
Function at 0x49952a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x499558
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x499576
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00499490
jmp 0x499576
mov eax, dword [esi + 0x14]
test eax, eax
je 0x499576
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00499490
test edi, edi
mov eax, edi
jne 0x499560
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x40b444
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x40b472
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x40b479
cmp ebx, dword [eax + 4]
jae 0x40b479
xor eax, eax
jmp 0x40b669
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x40b48a
xor eax, eax
inc eax
jmp 0x40b668
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x40b4a0
cmp ecx, edx
jae 0x40b5e5
cmp dword [eax + 4], 0
je 0x40b4a9
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x40b491
cmp dword [ebp + 8], 0
je 0x40b4cb
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x40b5e5
cmp eax, esi
jae 0x40b5e5
mov eax, dword [0x1002cbe0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x40b4f0
cmp dword [esi*4 + 0x1002cbe8], edi
je 0x40b5e9
inc esi
cmp esi, eax
jl 0x40b4de
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x10023140]
test eax, eax
je 0x40b665
cmp dword [ebp - 8], 0x1000000
jne 0x40b665
test byte [ebp - 0xc], 0xcc
je 0x40b56e
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x40b665
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x40b665
cmp word [eax + 0x18], 0x10b
jne 0x40b665
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x40b665
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x40b56e
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x40b56e
test byte [ecx + 0x27], 0x80
jne 0x40b5e5
push 1
push 0x1002cc28
call dword [0x10023058]
test eax, eax
jne 0x40b482
mov ecx, dword [0x1002cbe0]
test ecx, ecx
mov edx, ecx
jle 0x40b5a2
lea eax, [ecx*4 + 0x1002cbe4]
cmp dword [eax], edi
je 0x40b5a2
dec edx
sub eax, 4
test edx, edx
jg 0x40b596
test edx, edx
jne 0x40b5d3
push 0xf
pop ebx
cmp ecx, ebx
jg 0x40b5af
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x40b5c7
lea eax, [edx*4 + 0x1002cbe8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x40b5b5
cmp ecx, 0x10
jge 0x40b5d3
inc ecx
mov dword [0x1002cbe0], ecx
push 0
push 0x1002cc28
call dword [0x10023058]
jmp 0x40b482
xor eax, eax
jmp 0x40b668
test esi, esi
jle 0x40b482
mov ebx, dword [0x10023058]
push 1
push 0x1002cc28
call ebx
test eax, eax
jne 0x40b482
cmp dword [esi*4 + 0x1002cbe8], edi
je 0x40b63f
mov eax, dword [0x1002cbe0]
lea esi, [eax - 1]
test esi, esi
jl 0x40b62d
cmp dword [esi*4 + 0x1002cbe8], edi
je 0x40b629
dec esi
jns 0x40b61d
test esi, esi
jge 0x40b63d
cmp eax, 0x10
jge 0x40b638
inc eax
mov dword [0x1002cbe0], eax
lea esi, [eax - 1]
jmp 0x40b63f
je 0x40b657
xor ecx, ecx
test esi, esi
jl 0x40b657
lea eax, [ecx*4 + 0x1002cbe8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x40b645
push 0
push 0x1002cc28
call ebx
jmp 0x40b482
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x624377
Capabilities:
Encode data using xor

Disassembly:
jmp 0x60e062
xor ecx, ecx
cmp dword [esp + 8], ecx
jbe 0x60e07e
mov edx, dword [esp + 4]
movzx edx, byte [ecx + edx]
rol eax, 7
xor eax, edx
inc ecx
cmp ecx, dword [esp + 8]
jb 0x60e06a
jmp 0x60e089
ret
jmp 0x60e057
Function at 0x798be1
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x798c9e
mov ah, byte [esp + 1]
xchg si, bp
mov byte [esp + 0xe], bh
mov eax, dword [esp + 0x17]
bswap edx
jmp 0x798c5d
xchg edx, edi
push dword [esp + 0x12]
and ebp, ecx
xchg dh, al
cpuid
lea ebp, [edi + edi]
jmp 0x798c1c
pop dword [esp + 2]
cpuid
neg si
mov byte [esp + 0x15], bh
neg dh
bswap esi
jmp 0x798c3c
add al, dh
rdtsc
rdtsc
xor dx, 0xf4
xchg ecx, edi
bsf cx, si
jmp 0x798be6

Function at 0x798d7e
Capabilities:
Execute anti-debugging instructions

Disassembly:
xchg byte [esp + 5], bl
cmc
mov bl, 0x70
mov ch, byte [esp + 5]
mov ecx, 0x1575704e
mov eax, ecx
jmp 0x798ddf
mov dword [esp + 1], ebp
push dword [esp]
pop dword [esp + 2]
shr esi, 0xf
jmp 0x798d58
rcr edx, 7
mov dl, dh
btc ebx, ebx
xchg byte [esp], cl
bswap edx
rdtsc
jmp 0x798df3
xchg word [esp + 3], cx
xchg dh, al
bsr cx, bp
add esp, 3
bsf cx, si
sub bp, 0xeeb0
jmp 0x798da3
pop dword [esp]
mov ch, byte [esp + 1]
mov ebp, 0x1258e682
cld
sub bl, ah
push dword [esp]
jmp 0x798dc1
mov edi, dword [esp + 3]
mov byte [esp + 3], ah
shr ebp, 1
xchg dword [esp], edx
bsr cx, bp
mov edi, dword [esp + 2]
jmp 0x798e62
lea ebx, [ebp*4]
pop word [esp + 2]
xchg byte [esp + 8], al
jmp 0x798e8c
mov word [esp + 1], sp
xchg byte [esp + 2], dl
sub esp, 0xa
mov si, word [esp + 9]
jmp 0x798e34
lea ecx, [esp + ecx]
lea edx, [esi*4]
xchg dh, al
mov bp, 0x5043
rdtsc
jmp 0x798e4b

Function at 0x798f3d
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea ecx, [eax*4]
bswap edi
setg ch
neg ah
rdtsc
jmp 0x798f63
rdtsc
mov si, dx
pop word [esp + 3]
mov cl, ch
xchg dh, al
jmp 0x798f0c
xchg word [esp + 3], di
push word [esp + 1]
neg dx
jmp 0x798f26
xchg ch, dl
bsf di, si
stc
lea edx, [eax + ebx]
bswap ecx
lea esp, [esp + 1]
jmp 0x798f7e
mov bx, 0xe87f
lea esp, [esp + 3]
mov cl, 0xf2
mov word [esp], sp
mov word [esp], bx
lea ebp, [ecx*4]
jmp 0x798f4c
lea esp, [esp + 1]
mov ecx, dword [esp]
add esp, 0
neg di
lea eax, [ecx + 0x33]
mov dl, dh
jmp 0x798fad
Function at 0x798fe2
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 1
pop bx
jmp 0x799029
add esp, 1
mov edx, esi
push esp
lea esp, [esp + 3]
and cl, bh
btc ebx, ebx
jmp 0x79a9c3
btr ebx, esp
xchg edx, ebp
mov edi, eax
setnp bh
mov ecx, ebp
mov edi, ecx
jmp 0x798fed
ror bh, 3
add esp, 1
bswap ebp
sub esp, 2
btr eax, esp
add esp, 0
jmp 0x79900b
sub esp, 0x12
xchg ebx, eax
lea ecx, [esi + 0x3d]
add esp, 0x12
and bx, 0xe8a
jmp 0x7990db
mov dh, byte [esp + 0x19]
pop ebx
add esp, 0x25
mov ah, byte [esp + 2]
btc ebp, edi
mov al, ah
jmp 0x79903c
rdtsc
mov word [esp + 0xa], di
pop dword [esp + 0x12]
stc
sub esp, 0xe
btr esi, edx
jmp 0x799053
pop ax
xchg bh, cl
cmc
lea ecx, [eax - 0x21]
cpuid
xchg byte [esp], dl
jmp 0x7990b4
lea edi, reloc.MSVFW32.dll_DrawDibDraw
inc cx
mov ebp, ecx
xchg word [esp + 4], bx
add esp, 0xa
mov bh, byte [esp]
jmp 0x79907e
sub dx, 0xf728
bsr cx, cx
lea eax, reloc.MSVFW32.dll_DrawDibDraw
bswap ebp
mov ebx, 0x32bc5ffa
add di, 0x9ede
jmp 0x799109
mov ah, byte [esp + 1]
btr ebx, esp
neg dh
sub esp, 8
mov dword [esp + 7], ecx
xchg dword [esp + 1], esi
jmp 0x79909d
mov al, ah
ror ah, 1
mov eax, 0x3125f432
mov word [esp + 1], sp
btr edi, edx
jmp 0x7994be
rdtsc
add esp, 0
shr esi, 0xd
mov dx, 0xa161
pushal
setge ch
jmp 0x7990f1
lea ebx, [esi + 0x45]
pop word [esp + 0x1b]
mov esi, 0xaeb08396
push word [esp + 0x1d]
neg ch
pop dword [esp + 0x1e]
jmp 0x79906a
shr ebx, 3
cld
call fcn.00799157
xchg byte [esp + 0x16], bl
lea ebp, [ecx + 0xa3]
call fcn.007991e5
jne 0x7991a9
xchg ebx, eax
test byte [0x5ac44dd7], 0x3d
xlatb
dec ebp
les ebx, [edx + 0x3d]
int3
xchg dword [esp + 0x18], eax
mov ecx, 0xa418c142
not ebx
pushal
lea esp, [esp + 0x41]
mov edx, ecx
jmp 0x79918c
push word [esp + 0x11]
cpuid
rol di, cl
mov ax, word [esp + 4]
cpuid
pop si
jmp 0x799120
pop dword [esp + 1]
pushal
mov esi, 0x18ee29ee
add esp, 9
cpuid
push esp
jmp 0x799670
xor bx, 0x49b4
sub esp, 0x12
pop edi
lea esi, [ebp*4]
mov di, word [esp + 6]
xchg byte [esp + 8], al
jmp 0x799971
Function at 0x799d3a
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call fcn.00799020
push eax
jmp 0x79901b
mov eax, dword [eax + 0x1c]
mov eax, dword [eax]
mov eax, dword [eax + 8]
jmp 0x799c40
lea esp, [esp + 0x40]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
jmp 0x799c57
pop dword [esp]
push dword [esp + 2]
push edx
mov byte [esp], ch
mov dword [esp + 0x40], edi
jmp 0x799c84
Function at 0x4078cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x7327d290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x4078d7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x40791d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x4078fc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40793c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00437450
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x4079cc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x407982
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x407998
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x4079bf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x407971
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8