joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100017a0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x24
mov eax, dword [0x1000501c]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, 1
cmp dword [0x10007bb8], eax
je 0x1000193e
push ebx
push ebp
push esi
mov dword [0x10007bb8], eax
mov byte [esp + 0x19], al
mov al, 0x90
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov byte [esp + 0x26], al
mov byte [esp + 0x27], al
mov byte [esp + 0x28], al
mov byte [esp + 0x29], al
mov byte [esp + 0x2a], al
mov byte [esp + 0x2b], al
mov byte [esp + 0x2c], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x2f], al
lea eax, [esp + 0x10]
push eax
push 0x40
push 0x14
xor ebx, ebx
push 0x60c269
mov byte [esp + 0x2c], 0x6a
mov byte [esp + 0x2e], 0xff
mov byte [esp + 0x2f], 0x15
mov byte [esp + 0x30], 0x38
mov byte [esp + 0x31], 0x11
mov byte [esp + 0x32], 0x66
mov byte [esp + 0x33], bl
mov byte [esp + 0x34], 0xeb
mov byte [esp + 0x35], 0xdb
mov dword [esp + 0x20], ebx
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1000188a
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov eax, 0x60c269
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x28]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
push 0x14
push 0x60c269
mov dword [esp + 0x24], ebx
call edi
test eax, eax
jne 0x1000188c
call ebp
mov esi, 0x5bf8b6
call fcn.100020e0
mov esi, 0x5bf8f2
call fcn.100020e0
mov esi, 0x5c25d9
call fcn.100020e0
lea ecx, [esp + 0x14]
push ecx
push 0x40
push 4
push 0x5f6ee7
mov byte [esp + 0x20], bl
mov byte [esp + 0x21], 0x94
mov byte [esp + 0x22], 0x35
mov byte [esp + 0x23], 0x77
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x100018fb
mov eax, dword [esp + 0x10]
mov edx, 0x5f6ee7
mov dword [edx], eax
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x18]
push ecx
push edx
push 4
push 0x5f6ee7
mov dword [esp + 0x28], ebx
call edi
test eax, eax
jne 0x100018fd
call ebp
mov esi, 5
mov ebx, 0x4f77cf
call fcn.10002060
push 0x10001950
mov cl, 0xe8
mov esi, ebx
call fcn.10002140
mov esi, 5
mov ebx, 0x5dea45
call fcn.10002060
push 0x10001950
mov cl, 0xe8
mov esi, ebx
call fcn.10002140
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10002663
add esp, 0x24
ret

Function at 0x10001d70
Capabilities:
Send data
Send data on socket

Disassembly:
call fcn.10001c90
mov dl, byte [ecx]
xor eax, eax
cmp dl, 0xc1
je 0x10001d94
cmp dl, 0xc3
je 0x10001d94
cmp dl, 0xc2
je 0x10001d8d
cmp dl, 0xc4
jne 0x10001d99
mov eax, 4
jmp 0x10001d99
mov eax, 3
cmp eax, esi
jge 0x10001dc2
lea ecx, [ecx]
mov edx, eax
and edx, 0x8000001f
jns 0x10001daf
dec edx
or edx, 0xffffffe0
inc edx
mov dl, byte [edx + 0x10005464]
xor dl, byte [eax + ecx - 1]
inc eax
xor byte [eax + ecx - 1], dl
cmp eax, esi
jl 0x10001da0
mov eax, dword [0x66ff04]
push 0
push esi
push ecx
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_send]
ret
Function at 0x10001de0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x158
mov eax, dword [0x1000501c]
xor eax, esp
mov dword [esp + 0x154], eax
push esi
push edi
push 0x3d
lea eax, [esp + 0x11]
push 0
push eax
mov byte [esp + 0x14], 0xc2
mov byte [esp + 0x15], 0
mov byte [esp + 0x16], 0xd0
mov byte [esp + 0x17], 0xfd
mov byte [esp + 0x18], 0
call sub.MSVCR90.dll_memset
push 0x7c
lea ecx, [esp + 0x5a]
push 0
push ecx
call sub.MSVCR90.dll_memset
add esp, 0x18
lea edx, [esp + 0xd8]
push edx
call dword [sym.imp.ADVAPI32.dll_GetCurrentHwProfileA]
test eax, eax
je 0x10001e58
mov ecx, 0xf
lea esi, [esp + 0xdc]
lea edi, [esp + 0xd]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [0x10007ba8]
mov ecx, 7
mov esi, str.main.exe
lea edi, [esp + 0x4a]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0xc8], eax
mov ecx, 7
mov esi, str.DarksTeam.dll
lea edi, [esp + 0x69]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x10007bac]
mov edx, dword [0x10007bb0]
movsw word es:[edi], word [esi]
mov dword [esp + 0xcc], ecx
mov eax, dword [0x10007bb4]
mov ecx, 7
mov esi, str.PS.dll
lea edi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0xd0], edx
mov ecx, 7
mov esi, str.wz_min.dll
lea edi, [esp + 0xa7]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov dword [esp + 0xd4], eax
call fcn.10001c90
mov cl, byte [esp + 8]
xor eax, eax
cmp cl, 0xc1
je 0x10001efe
cmp cl, 0xc3
je 0x10001efe
cmp cl, 0xc2
je 0x10001ef7
cmp cl, 0xc4
jne 0x10001f03
mov eax, 4
jmp 0x10001f03
mov eax, 3
cmp eax, 0xd0
jge 0x10001f35
lea ebx, [ebx]
mov ecx, eax
and ecx, 0x8000001f
jns 0x10001f1f
dec ecx
or ecx, 0xffffffe0
inc ecx
mov dl, byte [ecx + 0x10005464]
xor dl, byte [esp + eax + 7]
inc eax
xor byte [esp + eax + 7], dl
cmp eax, 0xd0
jl 0x10001f10
mov ecx, dword [0x66ff04]
mov edx, dword [ecx + 0xc]
push 0
push 0xd0
lea eax, [esp + 0x10]
push eax
push edx
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
xor ecx, esp
call fcn.10002663
mov esp, ebp
pop ebp
ret
Function at 0x10001fa0
Capabilities:
Reference cloudflare dns server

Disassembly:
sub esp, 0x18
mov eax, dword [0x1000501c]
xor eax, esp
mov dword [esp + 0x14], eax
mov byte [esp], 0xc1
mov byte [esp + 2], 0xfe
mov byte [esp + 3], 2
mov byte [esp + 1], 0x14
mov ecx, str.1.1.1.1
mov eax, 0x10007b98
jmp 0x10001fd0
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10001ff0
test dl, dl
je 0x10001fec
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10001ff0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10001fd0
xor eax, eax
jmp 0x10001ff5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10002000
call fcn.100024b0
jmp 0x10002005
mov eax, 0x10007b98
xor ecx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
mov dword [esp + 4], ecx
mov edx, dword [eax + 4]
mov dword [esp + 8], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0xc], ecx
mov dx, word [eax + 0xc]
push esi
movzx esi, byte [esp + 5]
mov word [esp + 0x14], dx
mov al, byte [eax + 0xe]
lea ecx, [esp + 4]
mov byte [esp + 0x16], al
call fcn.10001d70
mov ecx, dword [esp + 0x18]
pop esi
xor ecx, esp
call fcn.10002663
add esp, 0x18
ret

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

Disassembly:
sub esp, 8
push ebp
movzx esi, si
push edi
push esi
call fcn.10002658
push esi
mov edi, eax
push 0x90
push edi
call sub.MSVCR90.dll_memset
mov ebp, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 0x10
lea eax, [esp + 8]
push eax
push 0x40
push esi
push ebx
mov dword [esp + 0x18], 0
call ebp
test eax, eax
jne 0x100020a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebp
add esp, 8
ret
push esi
push edi
push ebx
call sub.MSVCR90.dll_memcpy
mov edx, dword [esp + 0x14]
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
push edx
push esi
push ebx
mov dword [esp + 0x1c], 0
call ebp
test eax, eax
je 0x1000209c
pop edi
xor eax, eax
pop ebp
add esp, 8
ret

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

Disassembly:
sub esp, 8
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [esp + 8]
push eax
push 0x40
push 1
push esi
mov bl, 0xa
mov dword [esp + 0x18], 0
call edi
test eax, eax
jne 0x10002111
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop ebx
add esp, 8
ret
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push ecx
push edx
push 1
push esi
mov byte [esi], bl
mov dword [esp + 0x1c], 0
call edi
test eax, eax
je 0x10002105
pop edi
xor eax, eax
pop ebx
add esp, 8
ret
Function at 0x10002140
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
sub esp, 0x14
mov eax, dword [0x1000501c]
xor eax, esp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea edx, [esp + 4]
push edx
push 0x40
sub eax, esi
push 5
sub eax, 5
push esi
mov byte [esp + 0x1c], cl
mov dword [esp + 0x1d], eax
mov dword [esp + 0x14], 0
call edi
test eax, eax
jne 0x10002194
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.10002663
add esp, 0x14
ret
mov eax, dword [esp + 0xc]
mov cl, byte [esp + 0x10]
mov dword [esi], eax
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push eax
push 5
push esi
mov byte [esi + 4], cl
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x1000217e
mov ecx, dword [esp + 0x14]
pop edi
xor ecx, esp
xor eax, eax
call fcn.10002663
add esp, 0x14
ret
Function at 0x10002663
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000501c]
jne 0x1000266d
repz ret
jmp fcn.10002b34
Function at 0x517080
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc0000]
push edi
jmp 0x51709a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5170a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517090
mov eax, 1
add ebx, ebx
jne 0x5170b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5170c4
jne 0x5170e3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5170e3
dec eax
add ebx, ebx
jne 0x5170d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5170a8
add ebx, ebx
jne 0x5170df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x517135
xor ecx, ecx
sub eax, 3
jb 0x5170fb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51716a
sar eax, 1
mov ebp, eax
jmp 0x517106
add ebx, ebx
jne 0x517106
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5170d4
inc ecx
add ebx, ebx
jne 0x517114
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5170d4
add ebx, ebx
jne 0x517121
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x517116
jne 0x517132
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x517116
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x517154
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x517146
jmp 0x517096
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x517154
add edi, ecx
jmp 0x517096
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x517172
cmp byte [edi], 0x11
jne 0x517172
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 0x517177
lea edi, [esi + 0x110000]
mov eax, dword [edi]
or eax, eax
je 0x5171ef
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x155c04]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x155d80]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5171a4
mov ecx, edi
jns 0x5171d3
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 + 0x155d84]
or eax, eax
je 0x5171e9
mov dword [ebx], eax
add ebx, 4
jmp 0x5171c1
call dword [esi + 0x155d94]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x517220
cmp al, 0xef
ja 0x517213
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5171f5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x517202
mov ebp, dword [esi + 0x155d88]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x517254
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x40b57d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x410920
cmp edx, dword [eax]
je 0x40b59f
add eax, 8
inc ecx
cmp eax, 0x4109b0
jl 0x40b590
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x410920]
jne 0x40b6cd
mov eax, dword [0xf0f8b4]
cmp eax, 1
je 0x40b6a7
test eax, eax
jne 0x40b5d0
cmp dword [0x410248], 1
je 0x40b6a7
cmp edx, 0xfc
je 0x40b6cd
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b607
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004088e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00408ab0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b64a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00408ab0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40f48c
push edi
call fcn.00409000
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004088e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004088f0
lea eax, [ebp - 0xa0]
push 0x40f46c
push eax
call fcn.004088f0
push dword [esi + 0x410924]
lea eax, [ebp - 0xa0]
push eax
call fcn.004088f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040d753
add esp, 0x2c
pop edi
jmp 0x40b6cd
lea eax, [ebp + 8]
lea esi, [esi + 0x410924]
push 0
push eax
push dword [esi]
call fcn.00408ab0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43300c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x433030
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1000189b
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [0x10242d94], 0x4d29ac2
push 0
mov ebx, 0x108
call fcn.101ba370
add esp, 4
mov dword [ebp - 8], eax
push 0x80000301
push 0
push 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x100018e9
mov eax, 0x101e52e0
push eax
push 2
mov ebx, 0x138
call fcn.101ba410
add esp, 0x1c
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000190f
push ebx
call fcn.101b9db6
add esp, 4
push OleUIBusyA
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x10001922
mov eax, 0x101e52e0
push eax
push 1
mov ebx, 0x154
call fcn.101ba480
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10001948
push ebx
call fcn.101b9db6
add esp, 4
push str..tmp
push dword [ebp - 0x10]
call fcn.100017fe
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10001976
push ebx
call fcn.101b9db6
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x10001a75
push OleUIBusyA
push 0
push str.Super_EC
push 1
mov ebx, 0x158
call fcn.101ba500
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0
push 6
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x100019cd
push 6
call fcn.101b9dc8
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100019e0
push ebx
call fcn.101b9db6
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 0
push 0
push 0
push 6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10001a1c
push 6
call fcn.101b9dc8
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push 3
mov eax, 0x101e52f7
test eax, eax
je 0x10001a33
add eax, 8
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10001a53
push 6
call fcn.101b9dc8
add esp, 4
mov dword [ebp - 8], esp
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 8], esp
je 0x10001a75
push 6
call fcn.101b9dc8
add esp, 4
call fcn.10001a88
mov eax, 0
jmp 0x10001a84
mov esp, ebp
pop ebp
ret
Function at 0x10001ae7
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
fninit
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1bc
call fcn.101ba5e0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10001b2e
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10001cb6
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10001b65
push 6
call fcn.101b9dc8
add esp, 4
mov dword [0x10242d98], 4
call fcn.10001cd7
test eax, eax
je 0x10001c03
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 0x40
push 6
mov ebx, 0xc8
call fcn.101ba610
add esp, 0x4c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.10001eef
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10001bfe
push ebx
call fcn.101b9db6
add esp, 4
jmp 0x10001c91
push 0x80000301
push 0
push 0x80
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 8
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push 0x40
push 7
mov ebx, 0xc8
call fcn.101ba610
add esp, 0x58
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call fcn.10001eef
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10001c91
push ebx
call fcn.101b9db6
add esp, 4
call fcn.10001f44
mov eax, 0
jmp 0x10001ca0
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10001cb1
push ebx
call fcn.101b9db6
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x10001ddb
Capabilities:
Reference the vmware io port

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov eax, 0x564d5868
mov ebx, 0
mov ecx, 0xa
mov edx, 0x5658
in eax, dx
cmp ebx, 0x564d5868
sete byte [ebp - 4]
mov eax, dword [ebp - 4]
jmp 0x10001e12
mov esp, ebp
pop ebp
ret
Function at 0x100b9f47
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
cmp dword [0x10242ec8], 0
je 0x100b9f7a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100ba182
mov dword [0x10242e30], 2
jmp 0x100ba17c
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 4], eax
push dword [0x10243228]
push dword [ebp - 4]
call fcn.1000609b
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x640
jge 0x100b9fb2
jmp 0x100ba17c
push 0x10242ec0
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x3c]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 1
jne 0x100ba09c
mov eax, str.12_05_00_00_00_00_03
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10005936
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100b9ff2
push ebx
call fcn.101b9db6
add esp, 4
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x198
call fcn.101bafd0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, str.B9_88_01_00_00_00_00_C2_00_19_00_04_03
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10005936
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100ba035
push ebx
call fcn.101b9db6
add esp, 4
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ecx, 3
call fcn.100020fe
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100ba05e
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100ba06e
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100ba07e
push ebx
call fcn.101b9db6
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.10005da2
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100ba097
push ebx
call fcn.101b9db6
add esp, 4
jmp 0x100ba165
mov eax, str.12_05_00_00_00_00_03
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.10005936
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100ba0c0
push ebx
call fcn.101b9db6
add esp, 4
push 0x80000301
push 0
push dword [ebp + 8]
push 1
mov ebx, 0x198
call fcn.101bafd0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, str.A1_8C_01_00_00_00_00_C2_00_19_00_04_03
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10005936
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x100ba103
push ebx
call fcn.101b9db6
add esp, 4
push dword [ebp - 0x14]
push dword [ebp - 0xc]
push dword [ebp - 8]
mov ecx, 3
call fcn.100020fe
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100ba12c
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x100ba13c
push ebx
call fcn.101b9db6
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100ba14c
push ebx
call fcn.101b9db6
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.10005da2
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x100ba165
push ebx
call fcn.101b9db6
add esp, 4
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x10243228], eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x101a9a62
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x10243eec], 0
jne 0x101a9a9b
push 0x10242681
push dword [0x10243f04]
call fcn.100017fe
add esp, 8
cmp eax, 0
jne 0x101a9a9b
mov eax, 1
jmp 0x101a9a9d
xor eax, eax
test eax, eax
je 0x101a9b03
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [0x10243f08]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x1024268a]
fcomp qword [0x101e7eb9]
fnstsw ax
test ah, 0x41
jne 0x101a9b03
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x10243f08], eax
cmp dword [0x10243ed8], 0
je 0x101a9b10
mov esp, ebp
pop ebp
ret 8
Function at 0x101b612e
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.101ba610
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x101b6198
push 6
call fcn.101b9dc8
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x101b620b
push 0x80000301
push 0
push 0x2000
push 0x80000301
push 0
push 0x1000
push 2
mov ebx, 0xc8
call fcn.101ba610
add esp, 0x1c
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0x40
push dword [ebp - 8]
push dword [ebp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x101b6201
push 6
call fcn.101b9dc8
add esp, 4
jmp 0x101b6213
mov eax, dword [ebp - 4]
jmp 0x101b6213
mov esp, ebp
pop ebp
ret 8