joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f5f0
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
mov esi, ecx
push 1
lea ebx, [esi + 0x1e]
push 2
push ebx
mov dword [esp + 0x20], esi
call fcn.0048ef71
push ebp
push 1
lea edi, [esi + 0x20]
push 2
push edi
call fcn.0048ef71
movsx edi, word [edi]
add esp, 0x20
cmp byte [0x4efb84], 0
jne 0x47f631
mov ecx, esi
call fcn.0047ad00
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.0047a6f0
mov esi, eax
test edi, edi
je 0x47f65f
movsx ecx, word [ebx]
push ebp
push ecx
push 2
push esi
dec edi
call fcn.0048ef71
mov edx, dword [esp + 0x28]
add esp, 0x10
lea esi, [esi + edx*2]
test edi, edi
jne 0x47f643
mov esi, dword [esp + 0x10]
mov ecx, esi
call fcn.0047a720
cmp byte [0x4efb84], 0
jne 0x47f67a
mov ecx, esi
call fcn.0047ac60
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4

Function at 0x47f690
Capabilities:
Read file on windows

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [esp + 0x10]
push edi
push ebx
push 1
lea eax, [esp + 0x1c]
push 2
push eax
mov edi, ecx
call fcn.0048ecff
push ebx
push 1
lea ecx, [esp + 0x20]
push 2
push ecx
call fcn.0048ecff
movsx edx, word [esp + 0x28]
movsx eax, word [esp + 0x34]
add esp, 0x20
push edx
push eax
mov ecx, edi
call fcn.0047b060
test eax, eax
je 0x47f730
push esi
lea ecx, [esp + 0x10]
push ecx
mov ecx, edi
call fcn.0047a6f0
cmp word [esp + 0xc], 0
mov esi, eax
je 0x47f714
lea ebx, [ebx]
movsx edx, word [edi + 0x1e]
dec dword [esp + 0xc]
push ebx
push edx
push 2
push esi
call fcn.0048ecff
mov eax, dword [esp + 0x20]
add esp, 0x10
cmp word [esp + 0xc], 0
lea esi, [esi + eax*2]
jne 0x47f6f0
dec dword [esp + 0xc]
mov ecx, edi
call fcn.0047a720
cmp byte [0x4efb84], 0
pop esi
jne 0x47f730
mov ecx, edi
call fcn.0047ac60
pop edi
pop ebx
add esp, 8
ret 4
Function at 0x4832c0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x4f6bdc]
test eax, eax
je 0x4832f9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4f6bdc]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4832ef
mov ecx, dword [0x4f6bdc]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x4f6bdc], 0
ret

Function at 0x4834a0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x860
mov eax, dword [0x4eadc8]
xor eax, esp
mov dword [esp + 0x85c], eax
push edi
mov edi, dword [esp + 0x868]
lea eax, [esp + 0x354]
push eax
push 0x104
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
test eax, eax
jne 0x4834eb
xor eax, eax
pop edi
mov ecx, dword [esp + 0x85c]
xor ecx, esp
call fcn.0048d5a8
add esp, 0x860
ret
cmp dword [0x4f6be0], 0
je 0x4834d3
push esi
mov esi, dword [sym.imp.kernel32.dll_MultiByteToWideChar]
push 0x104
lea ecx, [esp + 0x660]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x364]
push edx
push 1
push 0
call esi
mov eax, dword [0x4f6be0]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x660]
push edx
push 0x4d2460
push eax
mov eax, dword [ecx + 0x14]
call eax
test eax, eax
je 0x483559
cmp eax, 1
je 0x483559
pop esi
mov eax, 0x80004005
pop edi
mov ecx, dword [esp + 0x85c]
xor ecx, esp
call fcn.0048d5a8
add esp, 0x860
ret
push 0x350
lea ecx, [esp + 0xc]
push 0
push ecx
call fcn.00493ca0
mov eax, dword [0x4d2544]
mov edx, dword [0x4d2540]
mov ecx, dword [0x4d2548]
add esp, 0xc
push 0x104
mov dword [esp + 0x28], eax
lea eax, [esp + 0x460]
push eax
push 0xffffffffffffffff
push edi
mov dword [esp + 0x30], edx
mov edx, dword [0x4d254c]
push 1
push 0
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x20], 0x350
call esi
xor eax, eax
jmp 0x4835c0
movzx ecx, word [esp + eax + 0x45c]
mov word [esp + eax + 0x140], cx
add eax, 2
test cx, cx
jne 0x4835c0
mov eax, dword [0x4f6be8]
mov dword [esp + 0xc], 0x12
test eax, eax
je 0x4835f1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [0x4f6be0]
push 0x4f6be8
push 0x4d2120
lea edx, [esp + 0x10]
mov dword [0x4f6be8], 0
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
mov ecx, dword [esp + 0x864]
pop esi
pop edi
xor ecx, esp
call fcn.0048d5a8
add esp, 0x860
ret
Function at 0x489c20
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x18
mov eax, dword [0x4eadc8]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov esi, ecx
call fcn.0048de36
mov ecx, esi
mov byte [esi + 0x15], 0
mov byte [esi + 0x14], 0
call fcn.0048a640
mov ecx, esi
call fcn.0048a230
cmp dword [esi + 0x34], 0
jne 0x489c6d
mov dword [esi + 0x30], 1
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0048d5a8
add esp, 0x18
ret 0xc
push 6
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x489c9b
mov dword [esi + 0x30], 2
xor eax, eax
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.0048d5a8
add esp, 0x18
ret 0xc
push ebp
mov ebp, dword [esp + 0x2c]
push edi
test ebp, ebp
je 0x489cb9
mov ecx, dword [0x4f9a0c]
push 0x30
push 0x464
push ecx
push eax
call sub.WSOCK32.dll_WSAAsyncSelect
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov edx, 2
push ecx
mov word [esp + 0x14], dx
mov dword [esp + 0x18], eax
call sub.WSOCK32.dll_htons
mov edx, dword [esp + 0x14]
push edx
mov word [esp + 0x16], ax
call sub.WSOCK32.dll_inet_ntoa
mov ecx, dword [esi + 4]
push 0x10
lea eax, [esp + 0x14]
push eax
push ecx
xor edi, edi
call sub.WSOCK32.dll_connect
cmp eax, 0xffffffff
je 0x489d04
mov edi, 1
mov byte [esi + 0x14], 1
cmp byte [esi + 0x16], 0
je 0x489d11
mov ecx, esi
call fcn.00489fc0
mov eax, dword [esi + 4]
lea edx, [esp + 0xc]
push edx
push 0x8004667e
push eax
mov dword [esp + 0x18], 1
call sub.WSOCK32.dll_ioctlsocket
test ebp, ebp
je 0x489d35
mov edi, 1
mov ecx, dword [esp + 0x20]
mov eax, edi
pop edi
pop ebp
pop esi
xor ecx, esp
call fcn.0048d5a8
add esp, 0x18
ret 0xc

Function at 0x489d50
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, ecx
mov ecx, eax
lea esi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x489d60
sub ecx, esi
mov edx, eax
lea esi, [ecx + eax]
mov edi, edi
cmp edx, esi
jae 0x489da9
mov cl, byte [edx]
cmp cl, 0x2e
je 0x489d85
cmp cl, 0x39
jg 0x489d88
cmp cl, 0x30
jl 0x489d88
inc edx
jmp 0x489d70
push eax
call sub.WSOCK32.dll_gethostbyname
test eax, eax
je 0x489da1
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call sub.WSOCK32.dll_inet_ntoa
jmp 0x489d58
pop edi
or eax, 0xffffffff
pop esi
ret 0xc
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
push eax
call sub.WSOCK32.dll_inet_addr
push eax
mov ecx, edi
call fcn.00489c20
pop edi
pop esi
ret 0xc
Function at 0x48a2d0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, 0x10004
call fcn.004942a0
mov eax, dword [0x4eadc8]
xor eax, esp
mov dword [esp + 0x10000], eax
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x48a370
mov eax, dword [esi + 0x10]
test eax, eax
jle 0x48a390
cmp byte [esi + 0x16], 0
je 0x48a355
cmp dword [esi + 0x1c], eax
jle 0x48a31a
push 0x4cef98
push 0x4dbf84
call fcn.00476f98
add esp, 8
int3
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
sub ecx, eax
push edi
push ecx
mov ecx, dword [esi + 0x24]
add edx, eax
push edx
lea eax, [esp + 0x10]
push eax
call ecx
mov edi, eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 0x1c]
push edi
lea edx, [esp + 0x18]
push edx
push eax
call fcn.00492c30
add esp, 0x18
add dword [esi + 0x1c], edi
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x10], eax
pop edi
mov ecx, dword [esi + 0x10]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 4]
push 0
push ecx
push edx
push eax
call sub.WSOCK32.dll_send
test eax, eax
jge 0x48a388
mov byte [esi + 0x14], 0
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10000]
xor ecx, esp
call fcn.0048d5a8
add esp, 0x10004
ret
push eax
mov ecx, esi
call fcn.0048a1e0
mov ecx, dword [esp + 0x10004]
pop esi
xor ecx, esp
mov eax, 1
call fcn.0048d5a8
add esp, 0x10004
ret

Function at 0x48a400
Capabilities:
Receive data
Receive data on socket

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x2c]
sub eax, 0x400
cmp ecx, eax
jl 0x48a416
xor eax, eax
pop esi
ret
sub eax, ecx
push 0
push eax
mov eax, dword [esi + 8]
add eax, ecx
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.WSOCK32.dll_recv
test eax, eax
jle 0x48a43b
add dword [esi + 0x2c], eax
mov eax, dword [esi + 0x2c]
mov edx, dword [esi + 8]
mov byte [eax + edx], 0
mov eax, 1
pop esi
ret
Function at 0x48a500
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
sub esp, 0x210
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x48a5a9
mov ecx, dword [esp + 0x21c]
mov eax, dword [esp + 0x218]
lea edx, [esp + 4]
push edx
push 0
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x118]
push ecx
lea edx, [esp + 0x18]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
push edx
push eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x128], eax
mov dword [esp + 0x124], 1
call sub.WSOCK32.dll_select
mov ecx, dword [esi + 4]
lea eax, [esp + 0xc]
push eax
push ecx
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x48a609
mov eax, dword [esi + 0x34]
mov ecx, dword [esi + 0x2c]
sub eax, 0x400
cmp ecx, eax
jge 0x48a625
mov edx, dword [esi + 8]
push 0
sub eax, ecx
push eax
mov eax, dword [esi + 4]
add edx, ecx
push edx
push eax
call sub.WSOCK32.dll_recv
test eax, eax
jg 0x48a5b5
mov byte [esi + 0x14], 0
xor eax, eax
pop esi
add esp, 0x210
ret 8
add dword [esi + 0x2c], eax
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 8]
mov byte [eax + ecx], 0
cmp byte [esi + 0x16], 0
je 0x48a609
mov edx, dword [esi + 0x18]
cmp edx, dword [esi + 0x2c]
jle 0x48a5e3
push 0x4cefb8
push 0x4dbf84
call fcn.00476f98
add esp, 8
int3
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x2c]
sub eax, ecx
cmp eax, 8
jl 0x48a609
mov edx, eax
and edx, 7
sub eax, edx
push eax
mov eax, dword [esi + 8]
add eax, ecx
mov ecx, dword [esi + 0x28]
push eax
call ecx
add esp, 8
add dword [esi + 0x18], eax
mov eax, dword [esi + 4]
lea edx, [esp + 0x110]
push edx
push eax
call sub.WSOCK32.dll___WSAFDIsSet
test eax, eax
je 0x48a625
mov ecx, esi
call fcn.0048a2d0
mov eax, 1
pop esi
add esp, 0x210
ret 8
Function at 0x48b7d0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x4eadc8]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x218]
push ebx
push ebp
push 0x4dc164
push eax
xor bl, bl
call fcn.00477073
mov ebp, eax
add esp, 8
mov dword [esp + 8], ebp
test ebp, ebp
jne 0x48b820
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.0048d5a8
add esp, 0x214
ret
push esi
push edi
push 2
push 0
push ebp
call fcn.0048fcf7
push ebp
call fcn.0048ff19
push 0
push 0
push ebp
mov esi, eax
call fcn.0048fcf7
push esi
call fcn.0048d59d
push ebp
push 1
mov edi, eax
push esi
push edi
call fcn.0048ecff
mov eax, 0x4ceff0
add esp, 0x30
lea edx, [eax + 1]
jmp 0x48b860
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x48b860
sub eax, edx
xor ecx, ecx
mov dword [esp + 0x14], eax
test esi, esi
je 0x48b889
mov eax, ecx
cdq
idiv dword [esp + 0x14]
inc ecx
mov al, byte [edx + 0x4ceff0]
xor byte [ecx + edi - 1], al
cmp ecx, esi
jne 0x48b873
cmp dword [edi], 0x72657465
jne 0x48b918
mov ebx, dword [edi + 4]
mov esi, 8
test ebx, ebx
je 0x48b916
mov al, byte [esi + edi]
movzx ebp, al
inc esi
push ebp
lea ecx, [esi + edi]
push ecx
lea edx, [esp + 0x124]
push edx
call fcn.00492c30
add esi, ebp
mov byte [esp + ebp + 0x128], 0
mov al, byte [esi + edi]
movzx ebp, al
inc esi
push ebp
lea eax, [esi + edi]
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00492c30
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x138]
push eax
add esi, ebp
mov byte [esp + ebp + 0x38], 0
call fcn.0048b6d0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x140]
push edx
push 0x4cefe8
call fcn.0048de58
add esp, 0x2c
sub ebx, 1
jne 0x48b8a1
mov ebp, dword [esp + 0x10]
mov bl, 1
push edi
call fcn.004900cd
push ebp
call fcn.0048ed93
mov ecx, dword [esp + 0x228]
add esp, 8
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.0048d5a8
add esp, 0x214
ret
Function at 0x48c720
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
or eax, 0xffffffff
push esi
cmp edx, 0x10
jb 0x48c8a3
movsx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 1]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 2]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 3]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 4]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 5]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 6]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 7]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 8]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 9]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 0xa]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 0xb]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 0xc]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 0xd]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 0xe]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
movsx esi, byte [ecx + 0xf]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
add ecx, 0x10
sub edx, 0x10
cmp edx, 0x10
jae 0x48c735
test edx, edx
je 0x48c8cb
jmp 0x48c8b0
movsx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4ea688]
inc ecx
sub edx, 1
jne 0x48c8b0
not eax
pop esi
ret

Function at 0x48d5a8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4eadc8]
jne 0x48d5b2
repz ret
jmp fcn.004942cb

Function at 0x48f4d6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x48f507
call fcn.00494426
mov dword [eax], esi
call fcn.00494413
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0048dc31
add esp, 0x14
push 0x16
pop eax
jmp 0x48f55c
test dword [ebp + 0xc], 0xfffffff9
jne 0x48f4e3
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x48f534
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.00494439
pop ecx
call fcn.00494413
mov eax, dword [eax]
jmp 0x48f55c
test al, 0x10
jne 0x48f55a
test al, 1
je 0x48f55a
test byte [ebp + 0xc], 2
je 0x48f55a
call fcn.00494426
mov dword [eax], 5
call fcn.00494413
mov dword [eax], 0xd
jmp 0x48f52b
xor eax, eax
pop esi
pop ebp
ret
Function at 0x49005e
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x49008f
call fcn.00494426
mov dword [eax], esi
call fcn.00494413
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0048dc31
add esp, 0x14
or eax, 0xffffffff
jmp 0x4900ca
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4900ac
call dword [sym.imp.kernel32.dll_GetLastError]
push eax
call fcn.00494439
pop ecx
jmp 0x49008a
test byte [ebp + 0xc], 0x80
je 0x4900b7
and eax, 0xfffffffe
jmp 0x4900ba
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test eax, eax
je 0x49009d
xor eax, eax
pop esi
pop ebp
ret

Function at 0x4b12ad
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00494d59
and dword [ebp - 4], 0
cmp dword [0x4fa584], 0
mov ebx, eax
jne 0x4b135e
push 0x4d175c
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4b140f
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x4d1750
push edi
call esi
test eax, eax
je 0x4b140f
push eax
call fcn.00494ce7
mov dword [esp], 0x4d1740
push edi
mov dword [0x4fa584], eax
call esi
push eax
call fcn.00494ce7
mov dword [esp], 0x4d172c
push edi
mov dword [0x4fa588], eax
call esi
push eax
call fcn.00494ce7
mov dword [esp], 0x4d1710
push edi
mov dword [0x4fa58c], eax
call esi
push eax
call fcn.00494ce7
pop ecx
mov dword [0x4fa594], eax
test eax, eax
je 0x4b135e
push 0x4d16f8
push edi
call esi
push eax
call fcn.00494ce7
pop ecx
mov dword [0x4fa590], eax
mov eax, dword [0x4fa590]
cmp eax, ebx
je 0x4b13b6
cmp dword [0x4fa594], ebx
je 0x4b13b6
push eax
call fcn.00494d62
push dword [0x4fa594]
mov esi, eax
call fcn.00494d62
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4b13b6
test edi, edi
je 0x4b13b6
call esi
test eax, eax
je 0x4b13ad
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4b13ad
test byte [ebp - 0xc], 1
jne 0x4b13b6
or dword [ebp + 0x10], 0x200000
jmp 0x4b13ef
mov eax, dword [0x4fa588]
cmp eax, ebx
je 0x4b13ef
push eax
call fcn.00494d62
pop ecx
test eax, eax
je 0x4b13ef
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4b13ef
mov eax, dword [0x4fa58c]
cmp eax, ebx
je 0x4b13ef
push eax
call fcn.00494d62
pop ecx
test eax, eax
je 0x4b13ef
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4fa584]
call fcn.00494d62
pop ecx
test eax, eax
je 0x4b140f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4b1411
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x6d10b9
Capabilities:
Execute anti-debugging instructions

Disassembly:
push ecx
push eax
push edx
jb 0x6d10c2
rdtsc
pushal
popal
pop edx
pop eax
pop ecx
push eax
push edi
jb 0x6d10d3
push edx
pop edx
pop edi
mov eax, dword [esp + 4]
push eax
jl 0x6d10e1
pushal
popal
pop eax
mov eax, dword [eax]
push eax
push edx
push eax
push edx
pushal
popal
rdtsc
jne 0x6d10f2
pop edx
pop eax
rdtsc
push eax
push edx
pushal
popal
rdtsc
push eax
push edx
rdtsc
pop edx
pop eax
pop edx
pop eax
pop edx
pop eax
mov dword [esp + 4], eax
jmp 0x6d111a
pop eax
pushal
popal
push 3
mov esi, 0x1e04afd3
push 0
push 0
push edi
call 0x6d1131
and byte [edi - 0x3d], bl
pop edi
mov dword [esp + 4], edi
add dword [esp + 4], 0x1d
inc edi
push edi
ret
Function at 0x100039fd
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0x18]
sub esp, 0x74
mov eax, dword [eax + 0x30]
cmp dword [eax + 0xa4], 6
jae 0x10003bd4
cmp dword [0x100ee410], 0
jne 0x10003bcd
push ebx
push ebp
push edi
call fcn.100042e6
mov ebx, eax
test ebx, ebx
jne 0x10003a40
push eax
push eax
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
push 0x5c
pop edx
push 0x4b
pop eax
push 0x65
pop ecx
push 0x72
mov word [esp + 0x36], ax
pop eax
push 0x6e
mov word [esp + 0x3a], ax
pop eax
push 0x6c
mov word [esp + 0x3c], ax
pop eax
push 0x4f
pop edi
push 0x62
mov word [esp + 0x40], ax
pop eax
push 0x6a
mov word [esp + 0x44], ax
pop eax
push 0x63
mov word [esp + 0x46], ax
mov word [esp + 0x38], cx
mov word [esp + 0x3e], cx
mov word [esp + 0x48], cx
pop ecx
push 0x74
pop ebp
push 0x73
pop eax
push 0x43
mov word [esp + 0x4e], ax
pop eax
push 0x72
mov word [esp + 0x52], ax
mov word [esp + 0x34], dx
mov word [esp + 0x50], dx
pop edx
push 0x69
pop eax
push 0x53
mov word [esp + 0x56], ax
pop eax
push 0x65
mov word [esp + 0x5a], ax
pop eax
push 0x75
mov word [esp + 0x5c], ax
pop eax
push 0x66
mov word [esp + 0x62], ax
pop eax
push 0x4d
mov word [esp + 0x68], ax
pop eax
push 0x65
mov word [esp + 0x4a], cx
mov word [esp + 0x5e], cx
pop ecx
push 0x6d
mov word [esp + 0x6a], ax
pop eax
push 0x6f
mov word [esp + 0x6e], ax
pop eax
push 0x79
mov word [esp + 0x70], ax
pop eax
mov word [esp + 0x3e], di
mov word [esp + 0x48], bp
mov word [esp + 0x50], dx
mov word [esp + 0x54], bp
mov word [esp + 0x5c], di
mov word [esp + 0x60], bp
mov word [esp + 0x62], di
mov word [esp + 0x68], cx
mov word [esp + 0x6e], dx
mov word [esp + 0x70], ax
push 0x45
pop eax
mov word [esp + 0x72], ax
lea edi, [esp + 0x24]
push 0x76
pop eax
mov word [esp + 0x74], ax
push 0x6e
pop eax
mov word [esp + 0x78], ax
xor eax, eax
mov word [esp + 0x7c], ax
push 0x4c
pop eax
mov word [esp + 0x10], ax
mov word [esp + 0x12], ax
lea eax, [esp + 0x30]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x20], eax
xor eax, eax
mov word [esp + 0x7a], bp
xor ebp, ebp
mov dword [esp + 0x18], 0x18
mov dword [esp + 0x1c], ebp
stosd dword es:[edi], eax
mov word [esp + 0x76], cx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x18]
push eax
push 0x2000000
lea eax, [esp + 0x14]
push eax
call ebx
test eax, eax
jns 0x10003bae
push ebp
push ebp
push 1
push 0xc0000264
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov ecx, dword [esp + 0xc]
mov edx, 0x100ee410
xor eax, eax
lock cmpxchg dword [edx], ecx
pop edi
pop ebp
pop ebx
test eax, eax
je 0x10003bcd
push dword [esp]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x100ee410]
jmp 0x10003bd6
xor eax, eax
add esp, 0x74
ret