joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001d30
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10001d10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
ret

Function at 0x10001e30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100055e7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0x2c]
mov ebx, 1
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [esp + 0x30]
mov byte [esp + 0x1c], 2
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 3
call fcn.100051c6
push str._HTTP
lea ecx, [esp + 0x2c]
mov byte [esp + 0x20], 4
call sub.MFC42.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
jne 0x10001f1a
push 0x3f
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::Find_3
mov esi, eax
cmp esi, 0xffffffff
jne 0x10001ecf
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0xc], ebx
jmp 0x10001f71
inc esi
push 0x100071ac
push esi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Insert
lea eax, [esp + 0x2c]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 0x34]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push eax
push esi
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::Insert
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x28]
push eax
jmp 0x10001f62
lea ecx, [esp + 0x2c]
lea edx, [esp + 8]
push ecx
lea eax, [esp + 0x34]
push edx
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x28]
push eax
push esi
mov byte [esp + 0x24], 6
call sub.MFC42.DLL_CString::Insert
lea ecx, [esp + 0x30]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString
push 0x100071ac
push esi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Insert
lea ecx, [esp + 0x28]
push ecx
mov esi, dword [esp + 0x28]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0xc], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 0x10
Function at 0x10001fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1000563f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
push edi
mov dword [esp + 0x10], 0
push str.HTTP_
lea ecx, [esp + 0x2c]
mov dword [esp + 0x20], 2
call sub.MFC42.DLL_CString::Find
push 0x100071b8
lea ecx, [esp + 0x2c]
mov esi, eax
call sub.MFC42.DLL_CString::Find
mov edi, eax
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x10]
push 0x100071b8
push ecx
call sub.MFC42.DLL_operator
push 0x100071b8
lea edx, [esp + 0xc]
push eax
push edx
mov byte [esp + 0x28], 3
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x20], 4
call fcn.100051cc
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
sub esi, edi
lea eax, [esp + 0xc]
push esi
push edi
push eax
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::Mid
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 5
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CString::CString
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, 1
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], al
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 0xc
Function at 0x10002fe0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100058f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
push str.Host:_www.tao123.com
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x10003158
push str.GET___
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x1000304d
push str.GET___4462
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x10003063
push str.GET___HTTP
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x10003158
push str.__4462
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x10]
mov bl, 1
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x30], bl
call fcn.10001fc0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.100051cc
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
push str.User_Agent:
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.10002900
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.100051cc
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
push edi
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.100027e0
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
Function at 0x10003180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10005938
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
mov esi, ecx
push edi
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_2
push str.Host:_www.hao123.com
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::Find
test eax, eax
jle 0x100032f8
push str.GET___
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x100031ed
push str.GET___tn32044076_1_hao_pg
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x10003203
push str.GET___HTTP
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Find
test eax, eax
jne 0x100032f8
push str.__tn32044076_1_hao_pg
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x10]
mov bl, 1
mov ecx, esp
mov dword [esp + 0x18], esp
push eax
mov byte [esp + 0x2c], bl
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x30], 2
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov ecx, esi
push eax
mov byte [esp + 0x30], bl
call fcn.10001fc0
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 3
call fcn.100051cc
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
push str.User_Agent:
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.10002900
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call fcn.100051cc
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], bl
call sub.MFC42.DLL_CString::CString
push edi
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov ecx, esi
call fcn.100027e0
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
Function at 0x10003a80
Capabilities:
Read file via mapping

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
test ebp, ebp
jne 0x10003a93
pop edi
pop ebp
xor eax, eax
pop ebx
ret 8
mov ecx, dword [esp + 0x14]
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push str.JTWZHOMEPAGESharedData
and ecx, 3
push 0
rep stosb byte es:[edi], al
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
push 0
push 0
mov ebx, eax
push 0
push 0xf001f
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
jne 0x10003ad6
pop edi
pop ebp
pop ebx
ret 8
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
push esi
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop edi
pop ebp
mov eax, 1
pop ebx
ret 8
Function at 0x10004460
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x208
lea eax, [esp]
push esi
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftInternet_ExplorerMain
push SysStringLen
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0x200
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x1000449e
push 0x10008008
jmp 0x100044cc
mov eax, dword [esp + 4]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push edx
push 0
push 0
push str.WHBarId
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100044c7
push 0x10008008
jmp 0x100044cc
lea ecx, [esp + 0xc]
push ecx
mov esi, dword [esp + 0x214]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop esi
add esp, 0x208
ret 4

Function at 0x10004530
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x20
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
mov ebp, ecx
push 0x40
push edi
mov dword [esp + 0x18], ebp
call ebx
test eax, eax
jne 0x100045d6
mov esi, dword [edi + 0x3c]
push 0xf8
add esi, edi
push esi
call ebx
test eax, eax
jne 0x100045d6
mov esi, dword [esi + 0x80]
add esi, edi
je 0x100045d6
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100045d6
mov ebx, dword [esp + 0x34]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push 0x14
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100045d6
mov eax, dword [esi + 0xc]
push ebx
add eax, edi
push eax
call ebp
test eax, eax
je 0x100045a4
mov eax, dword [esi + 0x20]
add esi, 0x14
test eax, eax
jne 0x10004580
mov eax, dword [esi + 0xc]
mov ebp, dword [esp + 0x10]
test eax, eax
je 0x100045d6
mov esi, dword [esi + 0x10]
add esi, edi
mov eax, dword [esi]
test eax, eax
je 0x100045d6
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov dword [ebp + 4], eax
mov dword [ebp + 8], ebx
cmp dword [esi], ecx
je 0x100045e2
mov eax, dword [esi + 4]
add esi, 4
test eax, eax
jne 0x100045c2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 0x10
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x14]
push 0x1c
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea ecx, [esp + 0x28]
push ecx
push 4
push edx
push eax
call edi
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
mov dword [esi], ebx
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 0x10
Function at 0x100046b0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x30
push ebx
push esi
mov esi, dword [esp + 0x3c]
xor ecx, ecx
mov bl, 4
push edi
mov ax, word [esi]
mov byte [esp + 0x11], bl
test ax, ax
mov byte [esp + 0x10], bl
jne 0x100046d7
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
cmp ax, 0xffff
jne 0x100046e6
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
mov dl, byte [esi]
inc esi
mov byte [esp + 0xc], dl
mov eax, dword [esp + 0xc]
and eax, 0xff
mov eax, dword [eax*4 + 0x100076dc]
test al, 0xf8
je 0x10004738
test ecx, eax
jne 0x10004764
or ecx, eax
test al, 0x10
je 0x10004710
xor bl, 6
jmp 0x10004719
test al, 0x20
je 0x10004719
xor byte [esp + 0x11], 6
mov dl, byte [esi]
inc esi
mov byte [esp + 0xc], dl
mov eax, dword [esp + 0xc]
and eax, 0xff
mov eax, dword [eax*4 + 0x100076dc]
test al, 0xf8
jne 0x10004701
mov byte [esp + 0x10], bl
or ecx, eax
cmp dl, 0xf
jne 0x10004771
mov al, byte [esi]
inc esi
mov byte [esp + 0xc], al
mov eax, dword [esp + 0xc]
and eax, 0xff
or ecx, dword [eax*4 + 0x10007adc]
cmp ecx, 0xffffffff
jne 0x1000478d
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
pop edi
mov byte [esp + 0xc], bl
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret
cmp dl, 0xf7
jne 0x10004780
test byte [esi], 0x38
jne 0x1000478d
or ch, 0x20
jmp 0x1000478d
cmp dl, 0xf6
jne 0x1000478d
test byte [esi], 0x38
jne 0x1000478d
or ch, 1
test ch, 0x40
je 0x100047fc
mov al, byte [esi]
inc esi
mov bl, al
and bl, 0x38
cmp bl, 0x20
jne 0x100047aa
cmp dl, 0xff
jne 0x100047aa
or ecx, 0x40000
mov dl, al
and al, 7
and dl, 0xc0
cmp dl, 0xc0
je 0x100047fc
cmp byte [esp + 0x10], 4
jne 0x100047e6
cmp al, 4
jne 0x100047c9
mov al, byte [esi]
or ch, 8
inc esi
and al, 7
cmp dl, 0x40
jne 0x100047d3
or ecx, 1
jmp 0x100047fc
cmp dl, 0x80
jne 0x100047dd
or ecx, 4
jmp 0x100047fc
cmp al, 5
jne 0x100047fc
or ecx, 4
jmp 0x100047fc
cmp dl, 0x40
jne 0x100047f0
or ecx, 1
jmp 0x100047fc
cmp dl, 0x80
je 0x100047f9
cmp al, 6
jne 0x100047fc
or ecx, 2
push ebp
mov ebp, ecx
mov ebx, ecx
shr ebp, 8
and ebx, 7
and ebp, 7
test ch, 0x10
je 0x1000481b
mov edx, dword [esp + 0x14]
and edx, 0xff
add ebx, edx
test ch, 0x20
je 0x1000482b
mov eax, dword [esp + 0x15]
and eax, 0xff
add ebp, eax
xor edi, edi
test ebx, ebx
jbe 0x10004848
push 0x10008008
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov cl, byte [esi]
inc esi
mov byte [esp + edi + 0x30], cl
inc edi
cmp edi, ebx
jb 0x10004831
xor edi, edi
test ebp, ebp
jbe 0x10004865
push 0x10008008
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dl, byte [esi]
inc esi
mov byte [esp + edi + 0x38], dl
inc edi
cmp edi, ebp
jb 0x1000484e
mov eax, dword [esp + 0x44]
pop ebp
sub esi, eax
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x100048a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push 5
mov ebx, dword [ebp + 8]
mov dword [esp + 0x14], 0
push ebx
call fcn.10004670
mov esi, eax
mov eax, dword [ebp + 0xc]
add esp, 8
mov dword [ebp + 4], esi
test eax, eax
je 0x10004a45
test ebx, ebx
je 0x10004a45
test esi, esi
je 0x10004a45
push esi
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
mov dword [esp + 0x14], edi
jne 0x10004902
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0xc
ret
lea eax, [esi + 5]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [ebp], eax
test eax, eax
jne 0x10004934
push edi
mov dword [esp + 0x14], 3
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, esi
mov eax, 0x90909090
mov edx, ecx
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.10004a60
mov edx, dword [ebp]
lea ecx, [esi + ebx]
lea eax, [edx + esi]
push eax
push ecx
push eax
call fcn.10004a60
mov eax, dword [ebp]
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x18
lea edx, [esp + 0x18]
push edx
push 0x40
push esi
push eax
call edi
test eax, eax
jne 0x10004991
mov dword [esp + 0x10], 4
jmp 0x10004a1e
lea ecx, [esp + 0x18]
push ecx
push 0x40
push esi
push ebx
call edi
test eax, eax
jne 0x100049aa
mov dword [esp + 0x10], 4
jmp 0x10004a1e
mov eax, dword [ebp]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea edx, [esp + 0x20]
push edx
push esi
push eax
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x10004a16
cmp dword [esp + 0x20], esi
jne 0x10004a16
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
push ecx
push esi
push edx
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x10004a0c
cmp dword [esp + 0x20], esi
jne 0x10004a0c
push esi
push ebx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
push ecx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x10004a2b
mov dword [esp + 0x10], 6
jmp 0x10004a1e
mov dword [esp + 0x10], 5
mov edx, dword [ebp]
push edx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x6843ce
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp + 2], sp
jmp 0x684355
mov di, 0x5da9
mov dword [esp], ebp
bswap ebx
bswap ebp
rdtsc
sub esp, 0x12
jmp 0x68439a
mov byte [esp + 9], bh
mov bh, byte [esp + 6]
mov ebx, eax
setl bh
call 0x6843ce
pop es
scasb al, byte es:[edi]
mov ecx, 0xb29cb298
in al, 0x8b
jl 0x6843c5
mov dl, 0x9c
mov dl, 0xe4
mov edi, dword [esp + 0x10]
xchg word [esp + 5], cx
adc byte [esi - 0x79], ah
dec esp
and al, 5
bsf bx, si
mov ebp, dword [esp + 9]
jmp 0x684384
add esp, 0xb
mov eax, ecx
setne bh
add di, 0x46
rdtsc
xchg cx, ax
jmp 0x6843d7
out dx, eax
mov bh, byte [ecx + 0x61]
ror byte [ebp - 0x24], cl
das
ror bh, 3
mov byte [esp + 0x19], ah
jmp 0x6843b1
lea ebp, [eax - 0x59]
not ah
btr esi, edx
mov dl, dh
push dword [esp]
xchg ebx, ebp
jmp 0x68440d
not dh
pop bp
add esp, 0xf
lea esp, [esp]
mov ebp, ecx
setns ch
jmp 0x6845fb
mov edi, ebp
call fcn.00684492
mov ecx, dword [esp + 4]
sub esp, 8
shr ah, 1
mov ebp, esi
pop si
pop bx
jmp 0x684471
mov byte [esp + 1], ch
inc ebx
setae dh
xchg bx, cx
shr dh, 7
mov si, word [esp]
jmp 0x68443e
cmc
lea esi, [edx + edx]
pop dword [esp]
mov di, 0x7ddf
push edx
xor ecx, esi
jmp 0x6845d2
sete ch
cld
bswap eax
xchg word [esp], bp
setae dh
not bh
jmp 0x68445d
btc ebp, edi
lea esi, [ebp - 0x5f]
mov ax, bx
mov cl, 0x52
mov dh, byte [esp + 1]
mov bl, 0xe0
jmp 0x684526
mov word [esp + 6], bx
lea esp, [esp + 9]
bswap ebp
clc
lea esi, [esi - 0x2d]
mov ax, 0x1801
jmp 0x6844c0
bswap ebx
xor cx, 0x10d4
sete ch
mov al, ah
cmc
setp ch
jmp 0x6844dc
mov dx, 0x42b5
mov dl, 0xec
xchg bp, ax
bswap ecx
btr edi, edx
call fcn.0068450b
rol dword [eax + reloc.RASAPI32.dll_RasHangUpA], 0x87
je 0x684566
xchg word [esp + 0x1c], si
popal
sbb al, 0x61
lea ecx, [ecx*4]
btc edi, edi
mov ah, byte [esp + 5]
push dword [esp + 1]
jmp 0x6844f9
invalid
mov byte [esp + 3], ah
mov ebx, ebp
mov word [esp + 1], bx
inc cl
pushal
pop dword [esp + 9]
jmp 0x68453e
mov si, 0xa531
bswap ebp
mov si, 0x9c2d
rdtsc
mov edx, dword [esp]
mov bl, bh
jmp 0x6844af

Function at 0x684742
Capabilities:
Execute anti-debugging instructions

Disassembly:
neg cx
not eax
xchg bh, cl
jmp 0x684796
lea eax, [eax + edi]
pop ax
pop bx
mov dl, 0x7c
inc dx
mov bx, sp
jmp 0x684801
not dh
xchg byte [esp + 0xd], dl
mov dh, byte [esp + 0xd]
xchg ah, bl
bsf cx, si
neg ah
jmp 0x68476e
push edx
rdtsc
pop dword [esp + 6]
xchg ecx, ebp
lea edi, [ecx*4]
jmp 0x6847c0
xchg dword [esp + 0xc], ebp
mov byte [esp + 0xb], ch
lea edx, [edi + ebp]
inc ax
mov byte [esp + 0xa], bh
xchg dword [esp + 0xc], ebx
jmp 0x6847e8
Function at 0x684bb0
Capabilities:
Execute anti-debugging instructions

Disassembly:
push dword [esp + 1]
pop dword [esp]
mov cx, 0xd1cf
inc bl
lea ebp, [eax*4]
inc dx
jmp 0x684b81
xchg word [esp + 2], bx
cld
xchg word [esp + 1], ax
cpuid
setle ch
neg ecx
jmp 0x684b49
btr eax, esp
not si
mov word [esp + 1], sp
btr edi, edx
jmp 0x684bf1
lea esp, [esp + 1]
mov byte [esp + 5], dh
pop bx
lea edx, reloc.RASAPI32.dll_RasHangUpA
xchg di, cx
jmp 0x684b6d
lea eax, [ebx + ebp]
lea esp, [esp + 0xf]
jmp 0x684b97
mov bp, di
bsr bx, cx
neg bp
inc dl
jmp 0x684d4f
lea esp, [esp]
xchg dh, al
rdtsc
mov ecx, dword [esp]
lea ebp, [ebx*4]
xchg dh, al
jmp 0x684bb9
add esp, 0
btr ebx, esp
rdtsc
xchg byte [esp], al
mov si, di
lea esp, [esp + 4]
jmp 0x684bcf
mov eax, 0x1420d66a
call 0x684c9c

Function at 0x684f41
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esp, 4
mov bx, word [esp + 1]
inc dl
lea ebp, reloc.RASAPI32.dll_RasHangUpA
mov word [esp + 3], sp
mov bp, word [esp + 2]
jmp 0x684f78
btr ebx, edx
lea eax, [ecx - 0x1b]
push word [esp + 9]
jmp 0x684f1e
xchg dword [esp + 6], esi
ror ecx, 3
and ecx, ecx
lea ebp, [ebx + esi]
sub esp, 0xa
rdtsc
jmp 0x684fc0
mov cx, sp
add esp, 8
mov dword [esp + 7], ecx
lea eax, [ebp*4]
jmp 0x684fa9
lea edi, [ebp*4]
xor bp, 0x21e4
ror eax, 0x1f
pop word [esp + 9]
neg ch
mov di, word [esp + 0xe]
jmp 0x684f4e
mov dh, byte [esp + 3]
xchg dword [esp + 4], edx
mov byte [esp + 0xf], dh
lea eax, [esi*4]
jmp 0x684f61

Function at 0x6851f4
Capabilities:
Parse pe header

Disassembly:
mov dword [esp + 0xc], ebp
pushal
mov dword [esp + 9], ebp
lea esp, [esp + 0x1d]
mov byte [esp + 1], ah
call fcn.00685266
jae 0x68525b
test dword [edi], esi
pop word [esp + 0xb]
lea esp, [esp + 3]
jmp 0x6851d9
outsb dx, byte [esi]

Function at 0x68522d
Capabilities:
Parse pe header

Disassembly:
call fcn.0068501c
lea esp, [esp + 1]
mov dword [esp + 0xc], edi
lea esp, [esp + 0xc]
jmp 0x68526c
mov eax, dword fs:[0x30]
jmp 0x6852c5
mov eax, dword [eax + 0x1c]
jmp 0x68530b
mov eax, dword [eax + 0xc]
jmp 0x6852ae
mov eax, dword [eax + 8]
push eax
jmp 0x685017
mov eax, dword [eax]
jmp 0x6852e8

Function at 0x685266
Capabilities:
Parse pe header

Disassembly:
and al, 0xeb
push ebp
pop dword [esp]
lea esp, [esp + 3]
mov dword [esp + 0xc], esi
call fcn.00685221
rol dword [edi - 0x29], cl
mov dl, 0x41
lodsd eax, dword [esi]
imul edi, eax, 0x6e
or eax, edi
adc dword [edi - 0x2b], eax
inc ebp
sub al, 0xdf
jp 0x68522a
push dword [esp + 2]
jmp 0x685243

Function at 0x6852dc
Capabilities:
Parse pe header

Disassembly:
push dword [esp]
mov dword [esp + 3], eax
call fcn.006852a3