joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
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 + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x10001a90
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10021004]
sub esp, 0x1c
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push edi
test eax, eax
je 0x10001aab
push eax
call esi
mov eax, dword [0x10021008]
test eax, eax
je 0x10001ab7
push eax
call esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_VirtualQuery]
push 0x1c
lea edx, [ebp - 0x1c]
push edx
push 0x100017f0
mov dword [0x10021010], eax
mov dword [section..SHARED], ecx
call esi
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_SetWindowsHookExW]
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
push 0
push eax
push 0x100017f0
push edi
call ebx
mov dword [0x10021004], eax
push 0x1c
lea eax, [ebp - 0x1c]
push eax
push 0x10001a70
call esi
neg eax
sbb eax, eax
and eax, dword [ebp - 0x18]
push 0
push eax
push 0x10001a70
push 3
call ebx
cmp dword [0x10021004], 0
mov dword [0x1002100c], edi
pop edi
pop esi
mov dword [0x10021008], eax
pop ebx
jne 0x10001b3c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10003b50
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001682b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x1001d3ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.10005c33
push 4
mov dword [ebp - 4], 0
call fcn.10006ae8
mov edi, eax
add esp, 4
test edi, edi
je 0x10003bcc
call fcn.10005a2e
mov dword [edi], eax
call fcn.100057ed
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.10005bf4
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x10003bc2
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.10005c1c
jmp 0x10003bce
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x10009966
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
inc eax

Function at 0x100099ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.10008a7f
or byte [eax + 0x2ff845c6], ah
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
test dword [ecx + 0x11fffffc], esp

Function at 0x10009a26
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ecx + 0x11fffffc], esp
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.10008ab1
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10008a66
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.10008aa1
xchg ebp, eax
sub edx, dword [eax]
imul ebp, dword [eax + 4], 0x8d000001
test esp, edx
Function at 0x1017196e
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10187bb4], 0
mov byte [0x10187bb8], 0
mov dword [0x10187bac], 0x247e
mov dword [0x10187bb0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101719c6
xor eax, eax
mov dword [0x10187bb0], 0
mov dword [ebp - 0x20], eax
jmp 0x101719ee
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10187bb0]
add eax, 1
mov dword [0x10187bb0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101719c6
jmp 0x101719b5
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10187bbc], 0
mov edx, dword [0x10187ba8]
mov esi, edx
add esi, 0xffffd965
mov dword [0x10187bac], esi
mov esi, dword [0x10187bb4]
mov edi, dword [ebp - 0x18]
movzx ebx, byte [edi + eax]
add ebx, esi
mov dword [ebp - 0x24], eax
xor esi, esi
mov dword [ebp - 0x28], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add ebx, edx
mov dword [0x10187bbc], ebx
mov dword [0x10187bac], 0x162a
mov eax, ebx
cdq
idiv ecx
mov dword [0x10187bb4], edx
mov ecx, dword [ebp - 0x28]
add ecx, 0x26f4
mov dword [0x10187ba8], ecx
mov ecx, dword [ebp - 0x24]
mov cl, byte [edi + ecx]
mov byte [0x10187bb8], cl
mov dword [0x10187ba8], 0x8fc
mov cl, byte [edi + edx]
mov edx, dword [ebp - 0x24]
mov byte [edi + edx], cl
mov dword [0x10187ba8], 0x721
mov cl, byte [0x10187bb8]
mov ebx, dword [0x10187bb4]
mov byte [edi + ebx], cl
mov dword [0x10187bac], 0x15d4
mov ebx, dword [0x10187bb0]
add ebx, 1
mov dword [0x10187bb0], ebx
cmp ebx, 0x100
mov dword [ebp - 0x20], ebx
jl 0x101719ee
mov dword [0x10187ba8], 0x71f
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10171ada
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x6c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [0x10187bac], 0x26bd
mov dword [0x10187ba8], 0xe95
mov ecx, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, eax, 0x134
mov edi, edx
add edi, esi
add edi, 0xdc
mov esi, dword [edi]
imul edi, eax, 0x134
add edx, edi
add edx, 0x2c
movzx edx, word [edx]
xor edx, esi
add edx, ecx
add eax, 1
cmp eax, 0xf9
mov ecx, edx
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jne 0x10171b07
lea eax, [0x101746b3]
mov ecx, 0xe
lea edx, [ebp - 0x2c]
mov dword [0x10187bac], 0x130b
mov dword [0x10187ba8], 0x1346
mov dword [esp], edx
mov dword [esp + 4], eax
mov dword [esp + 8], 0xe
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
call fcn.10171dc5
mov dword [0x10187bac], 0xb5d
mov dword [0x10187ba8], 0x6c2
call fcn.10171d11
mov dword [esp], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
call fcn.10171f47
mov ecx, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp - 0x48]
mov dword [0x10187bc8], eax
mov ecx, esp
mov edx, dword [ebp - 0x3c]
mov dword [ecx + 4], edx
mov dword [ecx + 0xc], 4
mov dword [ecx + 8], 0x1000
mov dword [ecx], 0
mov ecx, dword [ebp - 0x4c]
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
lea edx, section..data
imul esi, eax, 0x134
mov edi, edx
add edi, esi
add edi, 0xdc
imul esi, eax, 0x134
mov ebx, edx
add ebx, esi
add ebx, 0x14
mov esi, dword [ebp - 0x50]
add esi, ecx
mov dword [ebp - 0x5c], eax
imul eax, eax, 0x134
add edx, eax
add edx, 0x2c
mov eax, dword [ebp - 0x5c]
add eax, 1
mov edi, dword [edi]
mov ebx, dword [ebx]
movzx edx, word [edx]
xor edx, edi
mov dword [esp], esi
mov dword [esp + 4], ebx
mov dword [esp + 8], edx
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x68], eax
call fcn.10172919
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x64]
add eax, ecx
mov edx, dword [ebp - 0x68]
cmp edx, 0xf9
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x54], eax
jne 0x10171bf6
mov dword [0x10187bac], 0x9b1
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 8], ecx
call fcn.10171e72
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 0x40c84
mov edx, dword [ebp - 0x30]
mov dword [edx], ecx
mov ecx, dword [0x10187ba8]
add ecx, 0x183c
mov dword [0x10187ba8], ecx
mov dword [edx + 4], 0x11e200
mov dword [0x10187bac], 0x13e1
mov ecx, dword [ebp - 0x50]
add ecx, 0x20713
mov dword [edx + 8], ecx
mov ecx, dword [0x10187ba8]
add ecx, 0x1510
mov dword [0x10187ba8], ecx
mov dword [edx + 0xc], 0x20b0
mov ecx, dword [0x10187bac]
add ecx, 0xfffff7d7
mov dword [0x10187bac], ecx
add esp, 0x6c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101720f4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
lea edx, [0x101746b3]
mov esi, 0xe
lea edi, [ebp - 0x2c]
mov ebx, dword [0x10187ba8]
add ebx, 0x1e99
mov dword [0x10187ba8], ebx
mov dword [esp], edi
mov dword [esp + 4], edx
mov dword [esp + 8], 0xe
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], esi
call fcn.10171dc5
mov eax, dword [0x10187ba8]
add eax, 0xfffffc44
mov dword [0x10187bac], eax
mov dword [0x10187ba8], 0x6c2
call fcn.10171d11
mov dword [esp], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.10171f47
xor ecx, ecx
mov dword [0x10187ba8], 0x236d
cmp eax, 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
je 0x10172249
mov eax, dword [ebp - 0x40]
mov dword [0x10187ba8], 0x1258
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x10187ba8]
add ecx, 0x194b
mov dword [0x10187bac], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 4], ecx
mov dword [ebp - 0x48], eax
call fcn.10171701
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x34]
mov dword [edx + 0x50], ecx
mov dword [0x10187ba8], 0x341
mov ecx, dword [ebp - 0x48]
mov dword [edx + 0x3c], ecx
cmp ecx, 0
mov dword [ebp - 0x44], eax
je 0x10172249
mov eax, dword [ebp - 0x48]
add eax, 0x1310
mov dword [0x10187bac], 0x1ddf
mov dword [0x10187ba8], 0xffffefc9
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x44], eax
jmp 0x10172249
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10172254
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x2c
mov dword [ebp - 0xc], 0
mov dword [0x10187ba8], 0x1367
mov eax, dword fs:[0x30]
mov dword [ebp - 0xc], eax
xor ecx, ecx
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov esi, dword [0x10187ba8]
mov edi, esi
add edi, 0xffffec0a
mov dword [0x10187ba8], edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
jmp 0x101722c0
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x24], eax
je 0x101723db
jmp 0x101723ef
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edx
je 0x10172301
mov eax, dword [ebp - 0x28]
add eax, 1
cmp eax, 0x104
setl cl
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x31], cl
mov al, byte [ebp - 0x31]
test al, 1
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x2c], edx
jne 0x101722c0
jmp 0x10172301
mov eax, dword [ebp - 0x2c]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
add edx, 0xfffff5a8
mov dword [0x10187ba8], edx
mov edx, dword [ebp - 0x18]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jne 0x101723ef
xor eax, eax
mov dword [0x10187ba8], 0x28f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x24], eax
jne 0x101723ef
xor eax, eax
mov dword [0x10187ba8], 0x2505
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x24], eax
jne 0x101723ef
xor eax, eax
mov dword [0x10187bac], 0x870
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x24], eax
jne 0x101723ef
xor eax, eax
mov dword [0x10187ba8], 0x264f
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x20]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x24], eax
jne 0x101723ef
mov dword [0x10187ba8], 0x1f9e
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x32], dl
xor eax, eax
mov cl, byte [ebp - 0x32]
test cl, 1
mov dword [ebp - 0x24], eax
jne 0x101722a3
jmp 0x101723ef
mov dword [0x10187ba8], 0x536
mov eax, 1
mov dword [ebp - 0x24], eax
jmp 0x101723ef
mov eax, dword [ebp - 0x24]
add esp, 0x2c
pop esi
pop edi
pop ebp
ret
Function at 0x10172728
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov ecx, dword [0x10187ba8]
add ecx, 0xffffea42
mov dword [0x10187bac], ecx
mov dword [ebp - 0x10], eax
call fcn.10172aca
mov ecx, eax
mov edx, dword [eax + 0x3c]
mov dword [0x10187ba8], 0x1516
mov edx, dword [eax + edx + 0x78]
mov dword [0x10187ba8], 0x11d0
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov dword [0x10187bac], 0x6c2
mov eax, edx
add eax, 0x18
mov edi, ecx
add edi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
cmp edx, 0
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], eax
je 0x101727f0
jmp 0x101727d4
mov eax, dword [ebp - 0x2c]
mov ecx, eax
mov edx, dword [ebp - 0x30]
add ecx, edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x35], bh
mov byte [ebp - 0x36], cl
je 0x10172849
jmp 0x1017281d
mov eax, 0xffffefb4
xor ecx, ecx
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
add edx, dword [edx + esi + 0x24]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], ecx
jmp 0x101727fb
mov eax, dword [ebp - 0x28]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
xor esi, esi
mov edi, dword [ebp - 0x1c]
mov ebx, dword [edi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], esi
jmp 0x101727a9
mov eax, dword [ebp - 0x34]
add eax, 1
mov cl, byte [ebp - 0x35]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x36]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x2c], eax
jne 0x101727a9
mov al, byte [ebp - 0x36]
test al, 1
jne 0x10172891
jmp 0x10172852
mov eax, 0xffffeebe
xor ecx, ecx
mov dword [0x10187ba8], 0x10da
mov edx, dword [ebp - 0x4c]
add edx, 2
mov esi, dword [ebp - 0x48]
add esi, 1
mov edi, dword [ebp - 0x24]
cmp esi, edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x44], esi
jb 0x101727fb
jmp 0x101727f0
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x50]
mov dword [0x10187bac], edx
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
add esi, dword [esi + edi + 0x1c]
mov ebx, dword [ebp - 0x18]
add ebx, dword [esi + ecx*4]
mov dword [0x10187ba8], 0x1a69
mov dword [ebp - 0x28], ebx
jmp 0x101727f0
Function at 0x10172c37
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov ebx, 0x4207
mov dword [0x10187bb0], 0
mov dword [0x10187bb4], 0
mov dword [0x10187bc0], 0
mov dword [0x10187bac], 0x222c
mov dword [0x10187ba8], 0x4207
cmp eax, 0
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov eax, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], edi
je 0x10172ddc
jmp 0x10172cce
mov eax, dword [0x10187ba8]
mov ecx, dword [0x10187bb0]
mov edx, dword [0x10187bb4]
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
mov edi, 0x100
add ecx, 0xfffff351
mov dword [0x10187ba8], ecx
add edx, 1
mov dword [ebp - 0x34], eax
mov eax, edx
cdq
idiv edi
mov dword [0x10187bb0], edx
mov ecx, dword [ebp - 0x24]
movzx ebx, byte [ecx + edx]
add ebx, esi
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv edi
mov dword [0x10187bb4], edx
mov dword [0x10187ba8], 0x1bda
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10187bb8], cl
mov dword [0x10187ba8], 0x297
mov edi, dword [ebp - 0x24]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov dword [0x10187ba8], 0x2f0
mov cl, byte [0x10187bb8]
mov edx, dword [0x10187bb4]
mov byte [edi + edx], cl
mov edx, dword [0x10187bb0]
movzx edx, byte [edi + edx]
mov ebx, dword [0x10187bb4]
movzx ebx, byte [edi + ebx]
add ebx, edx
mov dword [0x10187bac], 0xffffe4ab
and ebx, 0xff
mov dword [0x10187bc0], ebx
mov dword [0x10187ba8], 0x1696
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x34]
mov ch, byte [edx + ebx]
mov byte [0x10187bc5], ch
mov byte [0x10187bc6], cl
xor ch, cl
mov byte [0x10187bc4], ch
mov dword [0x10187bac], 0xffffef26
mov dword [0x10187ba8], 0x15f1
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], ch
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x30], ebx
jne 0x10172cae
mov dword [0x10187bac], 0x23ec
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret