joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10088780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x100887a3
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x100887a3
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x100887ad
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x100887ef
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x10088851
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x1008884c
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10088837
test dl, dl
je 0x10088833
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10088837
add ecx, 2
add eax, 2
test dl, dl
jne 0x10088817
xor eax, eax
jmp 0x1008883c
sbb eax, eax
or eax, 1
test eax, eax
je 0x1008885d
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x10088804
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
Function at 0x100888ef
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x10088912
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10088912
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x1008891c
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x1008895e
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x100889c0
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x100889bb
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100889a6
test dl, dl
je 0x100889a2
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100889a6
add ecx, 2
add eax, 2
test dl, dl
jne 0x10088986
xor eax, eax
jmp 0x100889ab
sbb eax, eax
or eax, 1
test eax, eax
je 0x100889cc
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x10088973
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
Function at 0x10088a5e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0xc
push ebp
push edi
mov edi, dword [esp + 0x18]
test edi, edi
je 0x10088a81
mov ebp, dword [esp + 0x1c]
test ebp, ebp
je 0x10088a81
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x10088a8b
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x20], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
cmp ecx, ebx
ja 0x10088acd
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x10088b2f
mov ecx, ebx
lea ebx, [ebx]
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x10088b2a
mov eax, dword [esp + 0x24]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10088b15
test dl, dl
je 0x10088b11
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10088b15
add ecx, 2
add eax, 2
test dl, dl
jne 0x10088af5
xor eax, eax
jmp 0x10088b1a
sbb eax, eax
or eax, 1
test eax, eax
je 0x10088b3b
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
inc esi
cmp esi, eax
jb 0x10088ae2
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esp + 0x18]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0xc
ret 8

Function at 0x1008c7af
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 0x3e8
push 1
mov ebx, 0x1bc
call fcn.100945a0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1008c7f4
push ebx
call fcn.10093956
add esp, 4
pop eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.100669a2
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 8]
push 0x101
xor eax, eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1008c835
push 0xcc
push 0x401633f
push 6
call fcn.10093944
add esp, 0xc
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1008c845
push ebx
call fcn.10093956
add esp, 4
mov esp, ebp
pop ebp
ret 4
Function at 0x1008f765
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [esi + 4]
bswap eax
bswap edx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], esp
mov esp, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
xor eax, dword [ecx + edi*4]
mov edi, eax
mov esi, eax
shr edi, 0x18
shr esi, 0x10
and esi, 0xff
mov ebx, dword [esp + edi*4]
add ebx, dword [esp + esi*4 + 0x400]
movzx edi, ah
movzx esi, al
xor ebx, dword [esp + edi*4 + 0x800]
add ebx, dword [esp + esi*4 + 0xc00]
xor ebx, edx
inc dword [ebp - 4]
mov edx, eax
cmp dword [ebp - 4], 0x10
mov eax, ebx
jne 0x1008f788
mov esp, dword [ebp - 8]
xchg edx, eax
xor edx, dword [ecx + 0x40]
xor eax, dword [ecx + 0x44]
mov esi, dword [ebp + 8]
bswap eax
bswap edx
mov dword [esi], eax
mov dword [esi + 4], edx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1008f860
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [esi + 4]
bswap eax
bswap edx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], esp
mov esp, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
xor eax, dword [ecx + edi*4]
mov edi, eax
mov esi, eax
shr edi, 0x18
shr esi, 0x10
and esi, 0xff
mov ebx, dword [esp + edi*4]
add ebx, dword [esp + esi*4 + 0x400]
movzx edi, ah
movzx esi, al
xor ebx, dword [esp + edi*4 + 0x800]
add ebx, dword [esp + esi*4 + 0xc00]
xor ebx, edx
inc dword [ebp - 4]
mov edx, eax
cmp dword [ebp - 4], 0x10
mov eax, ebx
jne 0x1008f883
mov esp, dword [ebp - 8]
xchg edx, eax
xor edx, dword [ecx + 0x40]
xor eax, dword [ecx + 0x44]
mov esi, dword [ebp + 8]
bswap eax
bswap edx
mov dword [esi], eax
mov dword [esi + 4], edx
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x1008fa3c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [esi + 4]
bswap eax
bswap edx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 8], esp
mov esp, dword [ebp + 0xc]
mov edi, dword [ebp - 4]
xor eax, dword [ecx + edi*4]
mov edi, eax
mov esi, eax
shr edi, 0x18
shr esi, 0x10
and esi, 0xff
mov ebx, dword [esp + edi*4]
add ebx, dword [esp + esi*4 + 0x400]
movzx edi, ah
movzx esi, al
xor ebx, dword [esp + edi*4 + 0x800]
add ebx, dword [esp + esi*4 + 0xc00]
xor ebx, edx
inc dword [ebp - 4]
mov edx, eax
cmp dword [ebp - 4], 0x10
mov eax, ebx
jne 0x1008fa5f
mov esp, dword [ebp - 8]
xchg edx, eax
xor edx, dword [ecx + 0x40]
xor eax, dword [ecx + 0x44]
mov esi, dword [ebp + 8]
bswap eax
bswap edx
mov dword [esi], eax
mov dword [esi + 4], edx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x10092bd9
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x80000301
push 0
push 0x20
push 1
mov ebx, 0x1bc
call fcn.100945a0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10092c3a
push ebx
call fcn.10093956
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
call fcn.100669a2
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10092c78
push 0xc9
push 0x40164a0
push 6
call fcn.10093944
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10092db1
push edi
push edx
push esi
mov eax, dword [ebp - 8]
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov edx, ecx
mov edi, dword [ebp - 4]
mov esi, dword [eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
pop edx
pop edi
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0x910
call fcn.100963d0
add esp, 0x1c
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0x80000301
push 0
push 3
push getsockname
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x10092d07
mov eax, 0x100ae200
push eax
push 3
mov ebx, 0x19c
call fcn.10094400
add esp, 0x28
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10092d33
push ebx
call fcn.10093956
add esp, 4
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
cmp ecx, 0x80000101
jne 0x10092d4b
and eax, 0xff
jmp 0x10092da0
cmp ecx, 0x80000201
jne 0x10092d56
cwde
jmp 0x10092da0
cmp ecx, 0x80000301
je 0x10092da0
cmp ecx, 0x80000401
je 0x10092da0
mov dword [ebp - 0x24], eax
cmp ecx, 0x80000501
je 0x10092d90
cmp ecx, 0x80000601
je 0x10092d95
push 0x366
push 0x40164a0
push 2
call fcn.10093944
add esp, 0xc
fld dword [ebp - 0x24]
jmp 0x10092d9b
mov dword [ebp - 0x20], edx
fld qword [ebp - 0x24]
call fcn.10001174
push eax
call fcn.10092dd3
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x10092dbb
mov eax, 0x100ae28f
jmp 0x10092dbb
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10092dcc
push ebx
call fcn.10093956
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x10096dc0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x10096dde
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x10096dd3
pop esi
ret
Function at 0x10097a50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x10097a71
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x10097acb
inc edi
cmp edi, esi
jl 0x10097a65
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x10097b00
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x10097aba
cmp byte [eax], bl
je 0x10097ad5
cmp byte [eax + 1], bl
je 0x10097ade
cmp byte [eax + 2], bl
je 0x10097ae8
cmp byte [eax + 3], bl
je 0x10097af4
add eax, 4
cmp eax, edi
jb 0x10097a91
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4

Function at 0x100989a0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x100989ac
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x10098a3f
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x10098a09
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.10098a50
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x100989de
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret
Function at 0x10098a70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x10098b6d
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x10098ac2
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x10098aee
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.10098a50
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x10098b2f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x10098ab1
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x10099b50
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x100b066c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x10099b63
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x10099ba4
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x100b0714]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x10099bd6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x10099bda
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x10099bcb
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x10099bf8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x10099bfc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x10099bed
xor ecx, ecx
mov eax, 0x100b067c
xor ebx, ebx
mov bl, byte [ecx + 0x100b0724]
cmp byte [esp + ebx + 0x14], 0
je 0x10099c27
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x100b073c]
cmp byte [esp + ebx + 0x14], 0
je 0x10099c3e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x10099c0e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x10099b97
lea edx, [esp + 0x84]
push edx
call fcn.10099c80
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x100a1274
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x100b2b6c]
jne 0x100a127e
repz ret
jmp fcn.100a60b3

Function at 0x100a650f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100b2b6c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1009d07b
and dword [ebp - 0x14], 0
cmp dword [0x100c39bc], 0
mov dword [ebp - 0x18], eax
jne 0x100a65c2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100a666a
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100a666a
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x100c39bc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x100c39c0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x100c39c4], eax
call edi
push eax
call esi
mov dword [0x100c39cc], eax
test eax, eax
je 0x100a65c2
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x100c39c8], eax
mov eax, dword [0x100c39c8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100a661b
cmp dword [0x100c39cc], ecx
je 0x100a661b
push eax
call esi
push dword [0x100c39cc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100a661b
test ebx, ebx
je 0x100a661b
call edi
test eax, eax
je 0x100a6612
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100a6612
test byte [ebp - 8], 1
jne 0x100a661b
or dword [ebp + 0x10], 0x200000
jmp 0x100a664e
mov eax, dword [0x100c39c0]
cmp eax, dword [ebp - 0x18]
je 0x100a664e
push eax
call esi
test eax, eax
je 0x100a664e
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100a664e
mov eax, dword [0x100c39c4]
cmp eax, dword [ebp - 0x18]
je 0x100a664e
push eax
call esi
test eax, eax
je 0x100a664e
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x100c39bc]
call esi
test eax, eax
je 0x100a666a
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100a666c
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a1274
leave
ret
Function at 0x100d2cf1
Capabilities:
Execute anti-debugging instructions

Disassembly:
push edx
cdq
push eax
cwd
cwde
rdtsc
push ebp
cbw
mov ax, bp
movzx eax, di
push esi
mov si, di
cmovne ax, cx
pushfd
push ebx
stc
movsx edx, cx
push ecx
btr ecx, 0xf0
rcr ah, 0x6f
push edi
rcl ebp, 0x1d
mov ecx, 0
push ecx
cwde
lahf
cdq
mov edi, dword [esp + 0x28]
btc si, 0xa3
btr ax, cx
ror edi, 3
sub bh, 0x4e
add edi, 0x1bdc77c4
ror edi, 3
movzx ebx, sp
cmc
add bp, 0x5e7c
bswap edi
rcr bp, 0x27
and ebx, esp
jmp 0x101e3694
neg edi
rdtsc
ror edi, 1
sub edi, 0x37b967e1
adc al, 0xe8
add edi, ecx
jmp 0x102c421b
inc eax
neg eax
cmc
test ch, dl
jmp 0x10266f1a
add edi, 4
cmc
cmp eax, 0x25128e1
xor eax, ebx
stc
jmp 0x1033f6f8
add eax, 0x3a891dd4
jmp 0x102c3ef7
mov esi, esp
sub esp, 0xc0
cmp bx, ax
btr bp, 0x66
and ax, cx
mov ebx, edi
sbb bp, sp
neg edx
mov edx, 0
sub ebx, edx
cbw
adc bp, 0x26ef
lea ebp, [0x102c4243]
cmc
mov eax, dword [edi]
jmp 0x10256c90
rol eax, 1
test edx, 0x20e612ec
test edx, ebp
neg eax
jmp 0x1021f8da

Function at 0x101ec746
Capabilities:
Execute anti-debugging instructions

Disassembly:
dec eax
bswap eax
jmp 0x1019870b
lea eax, [eax - 0xc912b36]
neg eax
xor ebx, eax
add ebp, eax
push ebp
ret
push eax
cwde
setg al
lahf
push esi
lahf
mov si, di
movsx eax, bx
push edx
lahf
not edx
push ecx
cwde
push edi
cdq
movsx edi, di
bswap dx
push ebx
movzx dx, ch
rdtsc
cmovge eax, ebp
push ebp
cwd
movsx esi, cx
pushfd
mov eax, 0
btr si, 0x70
push eax
cmp esi, 0x76ea19c8
mov edi, dword [esp + 0x28]
mov ebx, esp
shl dl, cl
not edi
rol esi, 0x24
dec esi
btr esi, esp
add edi, 0x2a12714
rol edi, 1
inc dl
bswap edx
dec dh
inc edi
sar bh, 0x45
xor bx, bp
add edi, eax
rdtsc
movzx ebp, si
mov esi, esp
test bp, 0x6439
bt ax, bx
bsr bp, si
lea esp, [esp - 0xc0]
mov bp, di
mov ebx, edi
mov edx, 0
btc ax, ax
sub ebx, edx
ror ebp, 0xbc
shr eax, 0x33
lea ebp, [0x101ec7dd]
sub edi, 4
setle al
shl ah, cl
cmp bp, sp
mov eax, dword [edi]
clc
cmp ebp, eax
xor eax, ebx
jmp 0x1017e133
Function at 0x493cb3
Capabilities:
Encode data using xor

Disassembly:
add al, 0x43
imul eax, dword [eax + 0x33], 0xffffffc5
lodsb al, byte [esi]
pushfd
mov eax, 0xf2cdc35a
imul esp, dword [eax - 0x473ef925], 0x4c95c67b
aas
push ds
movsd dword es:[edi], dword [esi]
and byte [edi - 0x1f827c3d], bh
cmp dword [ebp - 0x20], 0xffffffff
mov byte [esp], 0x3a
call 0x507f61
mov dh, 0xbf
bound esp, qword [eax - 0x50c737f]
cmp dword [ebp - 0x20], 0xffffffff
mov byte [esp], 0x3a
call 0x507f61
mov dh, 0xbf
bound esp, qword [eax - 0x50c737f]
pop ebp
xor bh, dl
mov dh, 0xe9
push 0x30ad6263
inc edi
mov byte [0xe0013865], al
adc eax, edx
xchg esi, eax
mov word [ebx + 0x2b853c4c], es
jnp 0x493c96
xchg byte [edi], ah
lds edi, [edi - 0x27e10cc0]
mov bh, 0x90
lcall 0xcd85, 0xbf842cf
retf