joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10038873
Capabilities:
Get mac address on windows

Disassembly:
push 0x48
mov eax, 0x1010bc71
call fcn.100c7e75
mov esi, edx
mov dword [ebp - 0x1c], esi
mov edi, ecx
xor ecx, ecx
mov eax, edi
mov dword [ebp - 0x3c], ecx
cmp dword [edi + 0x14], 0x10
jb 0x10038895
mov eax, dword [edi]
mov dword [edi + 0x10], ecx
mov byte [eax], cl
mov eax, 0x288
push eax
mov byte [ebp - 0x15], cl
mov dword [ebp - 0x14], eax
call fcn.100cde52
mov ebx, eax
mov dword [ebp - 0x20], ebx
pop ecx
test ebx, ebx
je 0x10038958
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 0x14]
push eax
push ebx
call esi
cmp eax, 0x6f
jne 0x100388e4
push ebx
call fcn.100cde5d
pop ecx
push dword [ebp - 0x14]
call fcn.100cde52
mov ebx, eax
mov dword [ebp - 0x20], eax
pop ecx
test ebx, ebx
je 0x10038955
lea eax, [ebp - 0x14]
push eax
push ebx
call esi
test eax, eax
jne 0x1003894e
mov esi, ebx
test ebx, ebx
je 0x10038940
cmp dword [esi + 0x1a4], 0
je 0x10038937
cmp dword [esi + 0x27c], 0
jl 0x10038937
jg 0x10038912
cmp dword [esi + 0x278], 0xa
jbe 0x10038937
xor ebx, ebx
cmp dword [esi + 0x190], ebx
jbe 0x10038937
movzx eax, byte [esi + ebx + 0x194]
mov ecx, edi
push eax
push 1
call fcn.10011a25
inc ebx
cmp ebx, dword [esi + 0x190]
jb 0x1003891c
mov esi, dword [esi]
test esi, esi
jne 0x100388f5
mov ebx, dword [ebp - 0x20]
cmp dword [edi + 0x10], 0
setne al
mov byte [ebp - 0x15], al
test ebx, ebx
je 0x10038955
push ebx
call fcn.100cde5d
pop ecx
mov esi, dword [ebp - 0x1c]
mov edx, edi
lea ecx, [ebp - 0x38]
call fcn.10017fc7
push eax
mov ecx, edi
call fcn.1000fedd
lea ecx, [ebp - 0x38]
call fcn.10002013
xor eax, eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
call fcn.100147f1
cmp dword [ebp - 0x24], 0x10
lea ecx, [ebp - 0x38]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x3c], 1
jb 0x100389a5
mov ecx, dword [ebp - 0x38]
mov edx, ecx
add eax, ecx
jmp 0x100389aa
lea edx, [ebp - 0x38]
add eax, edx
push ecx
push eax
push edx
mov edx, 0x100d386f
lea ecx, [ebp - 0x20]
call fcn.1002ce75
add esp, 0xc
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call fcn.1000fedd
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10002013
cmp byte [esi], 0
je 0x100389f3
mov edx, edi
lea ecx, [ebp - 0x54]
call fcn.1002ceb3
push eax
mov ecx, edi
call fcn.1000fedd
lea ecx, [ebp - 0x54]
call fcn.10002013
mov al, byte [ebp - 0x15]
call fcn.100c7e24
ret
Function at 0x10043f70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x10043fa1
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x10043f90
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x1006b180
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x90
call fcn.100c8250
mov eax, dword [0x10158f9c]
xor eax, esp
mov dword [esp + 0x8c], eax
mov edx, dword [esp + 0xa4]
xor ecx, ecx
push ebx
mov ebx, dword [esp + 0xa0]
push ebp
mov ebp, dword [esp + 0xa0]
push esi
mov esi, dword [esp + 0xa0]
push edi
mov edi, dword [esp + 0xb0]
mov dword [esp + 0x18], ebp
mov eax, dword [esi]
mov dword [esp + 0x10], edx
test edi, edi
je 0x1006b1ec
cmp edi, eax
je 0x1006b1e3
test ebp, ebp
je 0x1006b269
test ebx, ebx
js 0x1006b269
mov ecx, 1
mov dword [esi], edi
jmp 0x1006b1f2
test eax, eax
je 0x1006b269
mov edi, eax
test ebp, ebp
je 0x1006b36b
push edi
call fcn.1007eec0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, 0x80
jle 0x1006b226
push str.j____int_sizeof_ctx__key_
push 0x74
push str..cryptohmachmac.c
call fcn.1006dd60
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
jge 0x1006b284
push dword [esp + 0x10]
lea ebp, [esi + 4]
push edi
push ebp
call fcn.1007f0a0
add esp, 0xc
test eax, eax
je 0x1006b269
push ebx
push dword [esp + 0x1c]
push ebp
call fcn.1007f250
add esp, 0xc
test eax, eax
je 0x1006b269
lea ebp, [esi + 0x4c]
push ebp
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 4]
push eax
call fcn.1007f020
add esp, 0xc
test eax, eax
jne 0x1006b2a0
xor eax, eax
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100c7413
add esp, 0x90
ret
cmp ebx, 0x80
ja 0x1006b269
push ebx
lea eax, [esi + 0x50]
push ebp
push eax
call fcn.100c9030
lea ebp, [esi + 0x4c]
add esp, 0xc
mov dword [ebp], ebx
mov ecx, dword [ebp]
cmp ecx, 0x80
je 0x1006b2c3
mov eax, 0x80
sub eax, ecx
push eax
lea eax, [esi + 0x50]
add eax, ecx
push 0
push eax
call fcn.100c95b0
add esp, 0xc
mov edx, dword [esp + 0x10]
xor ecx, ecx
nop dword [eax]
mov al, byte [esi + ecx + 0x50]
xor al, 0x36
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x1006b2d0
push edx
lea ebx, [esi + 0x1c]
push edi
push ebx
call fcn.1007f0a0
add esp, 0xc
test eax, eax
je 0x1006b269
push edi
call fcn.1007eec0
push eax
lea eax, [esp + 0x24]
push eax
push ebx
call fcn.1007f250
add esp, 0x10
test eax, eax
je 0x1006b269
xor ecx, ecx
nop dword [eax + eax]
mov al, byte [esi + ecx + 0x50]
xor al, 0x5c
mov byte [esp + ecx + 0x1c], al
inc ecx
cmp ecx, 0x80
jl 0x1006b320
push dword [esp + 0x10]
lea ebp, [esi + 0x34]
push edi
push ebp
call fcn.1007f0a0
add esp, 0xc
test eax, eax
je 0x1006b269
push edi
call fcn.1007eec0
push eax
lea eax, [esp + 0x24]
push eax
push ebp
call fcn.1007f250
add esp, 0x10
test eax, eax
je 0x1006b269
jmp 0x1006b376
test ecx, ecx
jne 0x1006b2c7
lea ebx, [esi + 0x1c]
lea eax, [esi + 4]
push ebx
push eax
call fcn.1007f450
add esp, 8
test eax, eax
je 0x1006b269
mov eax, 1
jmp 0x1006b26b

Function at 0x1006da90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [esp + 0x10]
xor dl, dl
test esi, esi
je 0x1006dab7
mov eax, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
sub edi, eax
mov cl, byte [edi + eax]
lea eax, [eax + 1]
xor cl, byte [eax - 1]
or dl, cl
sub esi, 1
jne 0x1006daa6
pop edi
movzx eax, dl
pop esi
ret
Function at 0x1006dc00
Capabilities:
Access the windows event log
Write file on windows

Disassembly:
mov eax, 0x108
call fcn.100c8250
mov eax, dword [0x10158f9c]
xor eax, esp
mov dword [esp + 0x104], eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov esi, eax
test esi, esi
je 0x1006dc9f
push esi
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x1006dc9f
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0x100
push eax
call fcn.1000a31b
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.100d1e9b
add esp, 0x1c
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
lea ecx, [esp + 4]
push 0
push ecx
test eax, eax
mov ecx, 0x100
cmovs eax, ecx
push eax
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100c7413
add esp, 0x108
ret
lea eax, [esp + 0x114]
push eax
push 0
push dword [esp + 0x118]
lea eax, [esp + 0x14]
push 0xff
push eax
call fcn.1000a31b
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.100d1e9b
add esp, 0x1c
mov byte [esp + 0x107], 0
call fcn.1006dac0
test eax, eax
jle 0x1006dd33
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x1006dd47
push 0
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.100c7413
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea eax, [esp + 0x10]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x108]
pop esi
xor ecx, esp
call fcn.100c7413
add esp, 0x108
ret

Function at 0x10075fa0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push dword [esp + 0x10]
call fcn.10076070
mov edi, eax
add esp, 8
test edi, edi
jne 0x10076031
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.1006c980
push 0x101232b0
push esi
push 0x101232b4
push dword [esp + 0x2c]
push str.fopen_
push 5
call fcn.1006c1d0
add esp, 0x2c
call fcn.100d4315
cmp dword [eax], 2
je 0x1007600f
call fcn.100d4315
cmp dword [eax], 6
je 0x1007600f
lea eax, [edi + 2]
mov ecx, 0xb8
jmp 0x10076019
mov eax, 0x80
mov ecx, 0xb6
push ecx
push str..crypto_bio_bss_file.c
push eax
push 0x6d
push 0x20
call fcn.1006c980
add esp, 0x14
xor eax, eax
pop edi
pop esi
ret
push 0x101583e8
call fcn.10068620
mov esi, eax
add esp, 4
test esi, esi
jne 0x10076052
push edi
call fcn.100cceba
add esp, 4
xor eax, eax
pop edi
pop esi
ret
push 0
push esi
call fcn.10068240
push edi
push 1
push 0x6a
push esi
call fcn.10068270
add esp, 0x18
mov eax, esi
pop edi
pop esi
ret
Function at 0x1007e7a0
Capabilities:
Encode data using base64

Disassembly:
mov eax, 4
call fcn.100c8250
push esi
mov esi, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 4], ecx
test esi, esi
jle 0x1007e8a3
mov edx, dword [esp + 0xc]
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1c]
inc edi
nop dword [eax]
movzx eax, byte [edi - 1]
cmp esi, 3
jb 0x1007e828
movzx ecx, byte [edi]
shl eax, 8
or eax, ecx
movzx ecx, byte [edi + 1]
shl eax, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], cl
mov ecx, eax
and ecx, 0x3f
shr eax, 6
add edx, 2
and eax, 0x3f
mov bl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, edx
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x1007e874
shl eax, 0x10
cmp esi, 2
jne 0x1007e838
movzx ecx, byte [edi]
shl ecx, 8
or eax, ecx
mov ecx, eax
shr ecx, 0x12
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], cl
mov ecx, eax
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx + 1], cl
add edx, 2
mov ecx, edx
cmp esi, 1
jne 0x1007e866
mov al, 0x3d
jmp 0x1007e872
shr eax, 6
and eax, 0x3f
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov bl, 0x3d
lea ebp, [ecx + 2]
mov byte [edx], al
mov byte [ecx + 1], bl
sub esi, 3
mov ecx, dword [esp + 0x10]
add edi, 3
add ecx, 4
mov edx, ebp
mov dword [esp + 0x10], ecx
test esi, esi
jg 0x1007e7d0
pop edi
mov byte [ebp], 0
mov eax, ecx
pop ebp
pop ebx
pop esi
pop ecx
ret
mov eax, dword [esp + 0xc]
pop esi
mov byte [eax], cl
mov eax, ecx
pop ecx
ret
Function at 0x10087460
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x18], esi
jne 0x10087529
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
cmp al, 0x6a
je 0x10087481
cmp al, 0x6b
jne 0x10087529
inc ecx
cmp al, 0x6b
jne 0x100874eb
add esi, 0xfffffffd
xor eax, eax
test esi, esi
jle 0x100874a2
nop
mov dl, byte [ecx]
inc ecx
cmp dl, 0xba
je 0x100874a2
cmp dl, 0xbb
jne 0x100874cb
inc eax
cmp eax, esi
jl 0x10087490
sub esi, eax
test eax, eax
jne 0x100874ee
push 0x83
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1006c980
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push 0x7b
push str..crypto_rsa_rsa_x931.c
push 0x8a
push 0x80
push 4
call fcn.1006c980
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
add esi, 0xfffffffe
cmp byte [esi + ecx], 0xcc
je 0x10087517
push 0x8b
push str..crypto_rsa_rsa_x931.c
push 0x8b
push 0x80
push 4
call fcn.1006c980
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
push esi
push ecx
push dword [esp + 0x10]
call fcn.100c9030
add esp, 0xc
mov eax, esi
pop esi
ret
push 0x70
push str..crypto_rsa_rsa_x931.c
push 0x89
push 0x80
push 4
call fcn.1006c980
add esp, 0x14
or eax, 0xffffffff
pop esi
ret
Function at 0x1009eaf0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 8]
cmp dword [edi + 0x10c], 0xffffffff
jne 0x1009eb02
xor eax, eax
pop edi
ret
push ebp
push esi
push edi
call fcn.1007ea50
mov ecx, dword [esp + 0x1c]
add esp, 4
mov ebp, dword [esp + 0x14]
mov esi, eax
mov dword [ecx], esi
test ebp, ebp
je 0x1009ebc5
mov ecx, dword [edi + 0x10c]
push ebx
cmp ecx, esi
jne 0x1009eb56
test esi, esi
jle 0x1009eba4
mov edx, ebp
lea ecx, [edi + 0x8c]
mov ebx, esi
nop word [eax + eax]
mov al, byte [ecx + 0x60]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x1009eb40
jmp 0x1009eba4
sub eax, ecx
mov byte [ecx + edi + 0xec], 0x80
cmp eax, 1
jle 0x1009eb7a
dec eax
push eax
lea eax, [edi + 0xed]
add eax, ecx
push 0
push eax
call fcn.100c95b0
add esp, 0xc
test esi, esi
jle 0x1009eba4
mov edx, ebp
lea ecx, [edi + 0xac]
mov ebx, esi
nop dword [eax + eax]
mov al, byte [ecx + 0x40]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
lea edx, [edx + 1]
mov byte [edx - 1], al
sub ebx, 1
jne 0x1009eb90
push esi
push ebp
push ebp
push edi
call fcn.1007ee70
add esp, 0x10
pop ebx
test eax, eax
jne 0x1009ebc5
push esi
push ebp
call fcn.1006b7c0
add esp, 8
xor eax, eax
pop esi
pop ebp
pop edi
ret
pop esi
pop ebp
mov eax, 1
pop edi
ret
Function at 0x100a1a30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x6c
call fcn.100c8250
mov eax, dword [0x10158f9c]
xor eax, esp
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push ebx
mov dword [esp + 0xc], eax
xor ebx, ebx
mov eax, dword [esp + 0x7c]
push ebp
mov ebp, dword [esp + 0x78]
push esi
mov dword [esp + 0x10], eax
xor esi, esi
mov dword [eax], ebx
lea eax, [esp + 0x1c]
push edi
mov edi, dword [esp + 0x8c]
push eax
call fcn.1007f5f0
lea eax, [esp + 0x24]
push ebp
push eax
call fcn.1007f450
add esp, 0xc
test eax, eax
je 0x100a1b32
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.1007f020
add esp, 0xc
test eax, eax
je 0x100a1b32
lea eax, [esp + 0x20]
push eax
call fcn.1007f260
mov esi, dword [ebp]
add esp, 4
test byte [esi + 0xc], 4
je 0x100a1b50
push edi
call fcn.10068150
push ebx
push edi
mov dword [esp + 0x1c], eax
call fcn.10099d90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100a1b32
push esi
call fcn.1009d630
add esp, 4
test eax, eax
jle 0x100a1b32
push dword [ebp]
push ebx
push 1
push 0xf8
push 0xffffffffffffffff
push esi
call fcn.10099b00
add esp, 0x18
test eax, eax
jle 0x100a1b32
push dword [esp + 0x1c]
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x24]
push esi
call fcn.1009d540
add esp, 0x14
test eax, eax
jle 0x100a1b32
mov ecx, dword [esp + 0x14]
mov ebx, 1
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
push esi
call fcn.10099d30
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100c7413
add esp, 0x6c
ret
xor eax, eax
lea ecx, [esi + 0x2c]
mov edx, dword [ecx]
test edx, edx
je 0x100a1b68
cmp dword [edi], edx
je 0x100a1b92
inc eax
add ecx, 4
cmp eax, 4
jl 0x100a1b55
push 0x7b
push str..cryptoevpp_sign.c
push 0x6e
push 0x6b
push 6
call fcn.1006c980
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100c7413
add esp, 0x6c
ret
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x100a1bc6
push 0x80
push str..cryptoevpp_sign.c
push 0x68
push 0x6b
push 6
call fcn.1006c980
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100c7413
add esp, 0x6c
ret
push dword [edi + 0x14]
mov ecx, dword [esp + 0x18]
push ecx
push dword [esp + 0x20]
lea ecx, [esp + 0x44]
push dword [esp + 0x28]
push ecx
push dword [esi]
call eax
mov ecx, dword [esp + 0x90]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100c7413
add esp, 0x6c
ret
Function at 0x100ad2b0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x100bd210
push ebp
mov ebp, dword [esp + 0x10]
push ebp
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.100bd420
add esp, 0xc
test eax, eax
js 0x100bd417
push ebx
push esi
push edi
mov edi, dword [ebp + 0xf0]
xor ebx, ebx
shl edi, 2
test edi, edi
jle 0x100bd290
lea esi, [ebp + 8]
lea esi, [esi + edi*4]
lea eax, [ebp + 8]
nop dword [eax]
mov edx, dword [eax - 8]
lea eax, [eax + 0x10]
mov ecx, dword [esi - 8]
lea esi, [esi - 0x10]
mov dword [eax - 0x18], ecx
add ebx, 4
mov ecx, dword [esi + 0xc]
sub edi, 4
mov dword [esi + 8], edx
mov edx, dword [eax - 0x14]
mov dword [eax - 0x14], ecx
mov ecx, dword [esi + 0x10]
mov dword [esi + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x10], edx
mov edx, dword [eax - 0xc]
mov dword [eax - 0xc], ecx
mov dword [esi + 0x14], edx
cmp ebx, edi
jl 0x100bd250
mov edi, 1
cmp dword [ebp + 0xf0], edi
jle 0x100bd412
lea esi, [ebp + 4]
movzx eax, byte [esi + 0xd]
lea esi, [esi + 0x10]
mov edx, dword [esi - 4]
inc edi
movzx ecx, byte [eax*4 + 0x10130f70]
mov eax, edx
shr eax, 0x18
mov ecx, dword [ecx*4 + 0x10132370]
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10131b70]
movzx eax, byte [esi - 2]
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10131f70]
movzx eax, dl
mov edx, dword [esi]
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10132770]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi - 4], ecx
movzx ecx, byte [eax*4 + 0x10130f70]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10131f70]
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10132370]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10131b70]
movzx eax, dl
mov edx, dword [esi + 4]
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10132770]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi], ecx
movzx ecx, byte [eax*4 + 0x10130f70]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10131f70]
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10132370]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10131b70]
movzx eax, dl
mov edx, dword [esi + 8]
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10132770]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [esi + 4], ecx
movzx ecx, byte [eax*4 + 0x10130f70]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x10131f70]
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10132370]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10131b70]
movzx eax, dl
movzx eax, byte [eax*4 + 0x10130f70]
xor ecx, dword [eax*4 + 0x10132770]
mov dword [esi + 8], ecx
cmp edi, dword [ebp + 0xf0]
jl 0x100bd2a4
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x100bc3e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x70
call fcn.100c8250
mov eax, dword [0x10158f9c]
xor eax, esp
mov dword [esp + 0x6c], eax
cmp dword [esp + 0x88], 0x40000000
mov eax, dword [esp + 0x7c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x84]
push ebp
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], 0
ja 0x100bc5b7
mov esi, dword [esp + 0x80]
cmp esi, 0x40000000
ja 0x100bc5b7
cmp dword [esp + 0x88], 0x40000000
ja 0x100bc5b7
push ebx
push edi
push eax
call fcn.1007eed0
mov edi, eax
lea eax, [esp + 0x28]
push eax
call fcn.1007f5f0
push 0
push dword [esp + 0x20]
lea eax, [esp + 0x34]
mov ebx, 1
push eax
call fcn.1007f0a0
push dword [esp + 0xa4]
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], 0x1000000
push dword [esp + 0x30]
push eax
call fcn.1007f250
add esp, 0x20
test eax, eax
je 0x100bc593
push 4
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1007f250
add esp, 0xc
test eax, eax
je 0x100bc593
push dword [esp + 0x98]
lea eax, [esp + 0x28]
push dword [esp + 0x24]
push eax
call fcn.1007f250
add esp, 0xc
test eax, eax
je 0x100bc593
push 0
cmp esi, edi
jb 0x100bc55b
lea eax, [esp + 0x28]
push ebp
push eax
call fcn.1007efa0
add esp, 0xc
test eax, eax
je 0x100bc593
sub esi, edi
je 0x100bc58b
push 0
push dword [esp + 0x18]
lea eax, [esp + 0x2c]
add ebp, edi
push eax
inc ebx
call fcn.1007f0a0
push dword [esp + 0x9c]
mov eax, ebx
mov byte [esp + 0x23], bl
push dword [esp + 0x28]
shr eax, 8
mov byte [esp + 0x26], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x25], al
mov eax, ebx
shr eax, 0x18
mov byte [esp + 0x24], al
lea eax, [esp + 0x38]
push eax
call fcn.1007f250
add esp, 0x18
test eax, eax
jne 0x100bc4a7
jmp 0x100bc593
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.1007efa0
add esp, 0xc
test eax, eax
je 0x100bc593
push esi
lea eax, [esp + 0x40]
push eax
push ebp
call fcn.100c9030
lea eax, [esp + 0x48]
push edi
push eax
call fcn.1006b7c0
add esp, 0x14
mov dword [esp + 0x1c], 1
lea eax, [esp + 0x24]
push eax
call fcn.1007f260
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop ebx
pop esi
pop ebp
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100c7413
add esp, 0x70
ret
mov ecx, dword [esp + 0x74]
xor eax, eax
pop esi
pop ebp
xor ecx, esp
call fcn.100c7413
add esp, 0x70
ret
Function at 0x100befc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, 0x30
call fcn.100c8250
mov eax, dword [0x10158f9c]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 8], eax
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x30], edi
mov dword [esp + 0x14], 0
movzx eax, byte [edi + 1]
movzx edx, byte [edi]
shl eax, 8
or edx, eax
movzx ebx, byte [edi + 4]
movzx eax, byte [edi + 2]
movzx ecx, byte [edi + 7]
shl eax, 0x10
or edx, eax
shl ecx, 8
movzx eax, byte [edi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [edi + 5]
shl eax, 8
or ebx, eax
mov dword [esp + 0x1c], edx
movzx eax, byte [edi + 6]
or ecx, eax
mov byte [esp + 0x34], dl
mov eax, edx
shl ecx, 0x10
shr eax, 8
or ebx, ecx
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x20], ebx
mov byte [esp + 0x38], bl
mov byte [esp + 0x3b], al
test ebp, ebp
je 0x100bf16f
mov edi, dword [esp + 0x44]
sub dword [esp + 0x10], edi
nop dword [eax]
dec ebp
test esi, esi
jne 0x100bf118
push dword [esp + 0x24]
lea eax, [esp + 0x20]
push dword [esp + 0x2c]
push dword [esp + 0x34]
push eax
call fcn.100be4e0
mov edx, dword [esp + 0x2c]
add esp, 0x10
mov ebx, dword [esp + 0x20]
mov eax, edx
shr eax, 8
mov byte [esp + 0x35], al
mov eax, edx
shr eax, 0x10
mov byte [esp + 0x36], al
mov eax, edx
shr eax, 0x18
mov byte [esp + 0x37], al
mov eax, ebx
shr eax, 8
mov byte [esp + 0x39], al
mov eax, ebx
shr eax, 0x10
mov byte [esp + 0x3a], al
mov eax, ebx
shr eax, 0x18
inc dword [esp + 0x14]
mov byte [esp + 0x34], dl
mov byte [esp + 0x38], bl
mov byte [esp + 0x3b], al
mov al, byte [esp + esi + 0x34]
inc esi
mov ecx, dword [esp + 0x10]
and esi, 7
xor al, byte [edi]
mov byte [ecx + edi], al
inc edi
mov ecx, dword [esp + 0x14]
test ebp, ebp
jne 0x100bf0b0
test ecx, ecx
je 0x100bf16f
mov ecx, dword [esp + 0x30]
mov eax, edx
shr eax, 8
mov byte [ecx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 2], al
mov eax, ebx
shr eax, 8
mov byte [ecx + 5], al
mov eax, ebx
mov byte [ecx], dl
shr edx, 0x18
shr eax, 0x10
mov byte [ecx + 4], bl
shr ebx, 0x18
mov byte [ecx + 3], dl
mov byte [ecx + 6], al
mov byte [ecx + 7], bl
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
pop edi
mov dword [eax], esi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100c7413
add esp, 0x30
ret