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

Disassembly:
push esi
push ebx
sub esp, 0x28
mov ebx, eax
test ebx, ebx
je 0x4258cd
movsx edx, byte [0x59cc14]
test edx, edx
je 0x425829
mov eax, ebx
call fcn.004258dc
mov eax, dword [ebx + 0x44]
test eax, eax
je 0x4258cd
mov edx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
mov edx, dword [eax + 0x38]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x44]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 0x48]
mov ecx, dword [eax + 0x4c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ecx
mov esi, ebx
mov ebx, eax
mov eax, esi
lea edx, [esp + 8]
call fcn.00411094
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
add dword [esp + 8], edx
adc dword [esp + 0xc], ecx
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
add dword [esp + 0x10], edx
adc dword [esp + 0x14], ecx
mov edx, dword [ebx + 0x70]
mov ecx, dword [ebx + 0x74]
add dword [esp + 0x18], edx
adc dword [esp + 0x1c], ecx
mov edx, dword [ebx + 0x78]
mov ecx, dword [ebx + 0x7c]
add dword [esp + 0x20], edx
adc dword [esp + 0x24], ecx
mov esi, dword [esi + 0x10]
cmp esi, dword [0x835b38]
je 0x4258c5
mov ebx, dword [esi + 0x44]
test ebx, ebx
jne 0x425870
xor eax, eax
add esp, 0x28
pop ebx
pop esi
ret
mov eax, 0xffffffff
add esp, 0x28
pop ebx
pop esi
ret
Function at 0x4391a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x58
mov edi, dword [esp + 0x78]
test eax, eax
je 0x439364
mov ebx, dword [eax + 0x44]
test edx, edx
je 0x43935d
mov esi, dword [edx + 0x44]
mov eax, ecx
cdq
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov eax, edi
cdq
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov ecx, dword [ebx + 0x88]
mov dword [esp + 0x14], ecx
mov edi, dword [ebx + 0x8c]
mov dword [esp + 0x18], edi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x88]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x8c]
mov dword [esp + 0x30], eax
lea eax, [esp + 4]
call fcn.00406514
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov byte [esi + 0xa8], 1
movsx ecx, word [ebx + 0xa2]
cmp ecx, 0x100
je 0x4392d8
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
movsx ecx, word [ebx + 0xa2]
movsx edi, word [esi + 0xa2]
mov dword [esp + 0x54], edi
cmp dword [esp + 0x4c], 0
jle 0x4392ce
xor edi, edi
mov ebp, ebx
mov ebx, ecx
jmp 0x43926d
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x40]
add ecx, ecx
add ecx, ecx
add ecx, dword [esi + 0xc0]
imul edx, dword [esi + 0x88]
add edx, edx
add edx, edx
add ecx, edx
mov edx, dword [esp + 0x38]
add edx, edx
add edx, edx
add edx, dword [ebp + 0xc0]
imul eax, dword [ebp + 0x88]
add eax, eax
add eax, eax
add edx, eax
mov eax, dword [esp + 0x48]
add eax, eax
add eax, eax
push eax
push ebx
mov eax, dword [esp + 0x5c]
push eax
push edx
push ecx
call dword [0x5b9ac4]
add esp, 0x14
mov edx, dword [esp + 0x44]
inc edx
mov eax, dword [esp + 0x3c]
inc eax
inc edi
cmp edi, dword [esp + 0x4c]
jl 0x439265
xor eax, eax
add esp, 0x58
pop ebx
pop ebp
pop esi
pop edi
ret
mov dword [esp + 0x44], edx
mov dword [esp + 0x3c], eax
movsx ecx, word [esi + 0xa2]
cmp dword [esp + 0x4c], 0
jle 0x4392ce
xor edi, edi
mov ebp, ecx
jmp 0x4392fc
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x40]
add ecx, ecx
add ecx, ecx
add ecx, dword [esi + 0xc0]
imul edx, dword [esi + 0x88]
add edx, edx
add edx, edx
add ecx, edx
mov edx, dword [esp + 0x38]
add edx, edx
add edx, edx
add edx, dword [ebx + 0xc0]
imul eax, dword [ebx + 0x88]
add eax, eax
add eax, eax
add edx, eax
mov eax, dword [esp + 0x48]
add eax, eax
add eax, eax
push eax
push ebp
push edx
push ecx
call dword [0x5b9ac0]
add esp, 0x10
mov edx, dword [esp + 0x44]
inc edx
mov eax, dword [esp + 0x3c]
inc eax
inc edi
cmp edi, dword [esp + 0x4c]
jl 0x4392f4
jmp 0x4392ce
xor esi, esi
jmp 0x4391c1
xor ebx, ebx
jmp 0x4391b6
Function at 0x439cc9
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x4c
mov ebp, eax
test ebp, ebp
je 0x439f16
mov ebx, dword [ebp + 0x44]
movsx ecx, cl
test ecx, ecx
je 0x439ce6
mov ebp, edx
mov edx, dword [ebp + 0x44]
mov dword [esp + 0x3c], edx
mov eax, ebp
call fcn.00410fd8
mov edi, dword [esp + 0x6c]
neg edi
mov dword [esp + 0x40], edi
mov ecx, dword [esp + 0x74]
neg ecx
mov esi, dword [ebx + 0x88]
mov edx, dword [esp + 0x70]
lea edx, [edx + esi - 1]
mov dword [esp + 0x44], edx
mov eax, dword [ebx + 0x8c]
mov esi, dword [esp + 0x78]
lea esi, [esi + eax - 1]
mov dword [esp + 0x38], esi
sub edx, edi
lea edi, [edx + 1]
mov dword [esp + 0x48], edi
sub esi, ecx
inc esi
test edi, edi
jle 0x439e45
test esi, esi
jle 0x439e45
lea eax, [edx*4 + 4]
cmp edi, 0x2000
jg 0x439ed9
imul eax, esi
lea edx, [eax + edx*4 + 8]
push edx
mov dword [esp + 0x38], ecx
call fcn.004704cc
mov ecx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x30], eax
mov edx, eax
test edx, edx
je 0x439e9e
mov edx, esi
imul edx, dword [esp + 0x48]
add edx, edx
add edx, edx
push dword [0x59cc74]
push edx
mov edi, dword [esp + 0x38]
push edi
mov dword [esp + 0x40], ecx
call dword [0x5b9a68]
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x6c]
test edx, edx
jle 0x439e64
mov edx, dword [esp + 0x3c]
mov byte [edx + 0xa8], 1
mov edx, dword [esp + 0x30]
test edx, edx
je 0x439e57
mov dword [esp + 0xc], ecx
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], edi
mov edx, dword [esp + 0x38]
mov dword [esp + 0x14], edx
mov edx, dword [ebx + 0x88]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x8c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x74]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], esi
mov eax, dword [esp + 0x30]
mov edx, dword [ebx + 0xc0]
mov ecx, dword [esp + 0x40]
call fcn.00439f2c
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
call fcn.00433a0c
mov eax, ebp
call fcn.00410fd8
xor eax, eax
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret
push 0x83c638
push 0x83b2b0
call fcn.00409024
add esp, 8
mov eax, 0xffffffff
add esp, 0x4c
pop ebx
pop ebp
pop esi
pop edi
ret
mov edx, dword [esp + 0x70]
test edx, edx
jg 0x439db1
mov edx, dword [esp + 0x74]
test edx, edx
jg 0x439db1
mov edx, dword [esp + 0x78]
test edx, edx
jg 0x439db1
movzx edx, byte [ebx + 0xa8]
mov edi, dword [esp + 0x3c]
mov byte [edi + 0xa8], dl
jmp 0x439dbc
push esi
mov edx, edi
push edx
push 0
push 0x83c614
push 0x83b2b0
mov dword [esp + 0x48], ecx
call fcn.0041fe58
mov ecx, dword [esp + 0x48]
push 0
push 1
push 0x1965e
mov dword [esp + 0x54], ecx
call fcn.0046d58c
mov ecx, dword [esp + 0x54]
add esp, 0x20
jmp 0x439d7d
push esi
mov edx, edi
push edx
push 0x83c5ec
push 0x83b2b0
mov dword [esp + 0x44], ecx
call fcn.00409024
mov ecx, dword [esp + 0x44]
push 1
push 0x186aa
mov dword [esp + 0x4c], ecx
call fcn.0046d5e8
mov ecx, dword [esp + 0x4c]
add esp, 0x18
xor edx, edx
mov dword [esp + 0x30], edx
jmp 0x439d7d
xor ebx, ebx
jmp 0x439cdd
Function at 0x4408d8
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 1
push edx
push dword [eax]
call fcn.00470b98
movsx eax, byte [esp + 0xc]
add esp, 0x10
ret
Function at 0x4513c4
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 8
mov dword [esp], eax
xor ecx, ecx
xor ecx, edx
cmp edx, 4
jl 0x4513fd
imul ebp, dword [eax], 0x5bd1e995
mov ebx, ebp
shr ebx, 0x18
xor ebp, ebx
imul esi, ebp, 0x5bd1e995
imul ecx, ecx, 0x5bd1e995
xor ecx, esi
add eax, 4
add edx, 0xfffffffc
cmp edx, 4
jge 0x4513d7
cmp edx, 3
je 0x45140e
cmp edx, 2
je 0x451417
cmp edx, 1
je 0x451420
jmp 0x45142b
movzx edx, byte [eax + 2]
shl edx, 0x10
xor ecx, edx
movzx edx, byte [eax + 1]
shl edx, 8
xor ecx, edx
movzx eax, byte [eax]
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
mov edx, ecx
shr edx, 0xd
xor ecx, edx
imul edx, ecx, 0x5bd1e995
mov eax, edx
shr eax, 0xf
xor edx, eax
mov ecx, edx
shr ecx, 0x18
mov eax, dword [ecx*4 + 0x795280]
mov ecx, dword [0x835efc]
mov dword [esp + 4], ecx
cmp eax, ecx
jge 0x4514a2
mov ecx, dword [0x835f00]
mov ebx, eax
mov ebp, edx
mov esi, dword [ecx + ebx*4]
cmp ebp, dword [esi + 4]
jne 0x451499
mov edi, dword [esi]
mov esi, dword [esp]
mov dl, byte [edi]
cmp dl, byte [esi]
jne 0x451490
or dl, dl
je 0x45148c
mov dl, byte [edi + 1]
cmp dl, byte [esi + 1]
jne 0x451490
add edi, 2
add esi, 2
or dl, dl
jne 0x451470
xor eax, eax
jmp 0x451495
sbb eax, eax
or eax, 1
test eax, eax
je 0x4514af
inc ebx
mov esi, dword [esp + 4]
cmp ebx, esi
jl 0x451463
mov eax, 0xffffffff
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
mov eax, ebx
add esp, 8
pop ebx
pop ebp
pop esi
pop edi
ret
Function at 0x464e18
Capabilities:
Read file on windows

Disassembly:
push esi
lea edx, [esp]
push 4
push edx
push dword [eax]
call fcn.00470b98
mov eax, dword [esp + 0xc]
add esp, 0x10
ret

Function at 0x464e34
Capabilities:
Read file on windows

Disassembly:
push edi
push ebx
sub esp, 0x24
mov edi, eax
xor eax, eax
mov dh, byte [edi]
mov ecx, edi
test dh, dh
je 0x464e4d
inc ecx
inc eax
mov dl, byte [ecx]
test dl, dl
jne 0x464e45
mov ebx, eax
inc ebx
push ebx
call fcn.004704cc
pop ecx
mov ecx, dword [0x835cb8]
mov edx, dword [0x835cb4]
mov dword [edx + ecx*4], eax
mov edx, dword [0x835cb4]
mov ecx, dword [0x835cb8]
mov edx, dword [edx + ecx*4]
test edx, edx
je 0x464fa9
push ebx
push edi
push edx
call dword [0x5b9a6c]
add esp, 0xc
mov ebx, dword [0x835cb8]
mov ecx, dword [0x835cb4]
lea eax, [esp + 8]
mov edx, dword [ecx + ebx*4]
call fcn.0046501c
movsx eax, byte [esp + 0x10]
test eax, eax
je 0x464f84
lea eax, [esp + 0x20]
push 4
push eax
push dword [esp + 0x10]
call fcn.00470b98
add esp, 0xc
lea eax, [esp + 8]
call fcn.00464e18
mov edi, eax
lea eax, [esp + 8]
call fcn.00464e18
mov ebx, eax
lea eax, [esp + 8]
call fcn.004650ac
mov edx, dword [esp + 0x20]
cmp edx, 0x465059
jne 0x464f22
cmp edi, 0x22b
je 0x464efc
cmp edi, 0xea
jl 0x464f5f
mov edx, dword [0x835cbc]
add edx, ebx
mov dword [0x835cbc], edx
cmp edx, 0x30d40
jge 0x464f43
mov eax, dword [0x835cb8]
inc eax
mov dword [0x835cb8], eax
cmp eax, 0x64
jge 0x464f2a
xor eax, eax
add esp, 0x24
pop ebx
pop edi
ret
push 0x64
push 1
push 0x196c2
call fcn.0046d58c
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
push 0x30d40
push 1
push 0x196cc
call fcn.0046d58c
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x835cb8]
mov eax, dword [0x835cb4]
push dword [eax + edx*4]
push 1
push 0x196b8
call fcn.0046d58c
mov eax, 0xffffffff
add esp, 0x30
pop ebx
pop edi
ret
mov edx, dword [0x835cb8]
mov eax, dword [0x835cb4]
push dword [eax + edx*4]
push 1
push 0xdbfb0
call fcn.0046d58c
mov eax, 0xfffffffe
add esp, 0x30
pop ebx
pop edi
ret
push 1
push 0x186aa
call fcn.0046d5e8
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop edi
ret

Function at 0x465098
Capabilities:
Read file on windows

Disassembly:
push ecx
push edx
push dword [eax]
call fcn.00470b98
add esp, 0xc
ret

Function at 0x4657a0
Capabilities:
Create thread

Disassembly:
push ebx
xor eax, eax
push eax
push eax
push 0x418940
call fcn.00472098
add esp, 0xc
mov ebx, eax
movsx edx, byte [0x59cc34]
dec edx
push edx
push ebx
call dword [0x5780c0]
push 0xffffffffffffffff
push ebx
call dword [0x5780c4]
pop ebx
ret
Function at 0x46b8b0
Capabilities:
Create thread

Disassembly:
movsx eax, byte [0x835a38]
test eax, eax
je 0x46b8cc
xor eax, eax
push eax
push eax
push 0x41d06c
call fcn.00472098
add esp, 0xc
ret

Function at 0x46b8d0
Capabilities:
Create thread

Disassembly:
push ebx
sub esp, 8
movsx edx, byte [0x59cc30]
test edx, edx
jle 0x46b929
xor eax, eax
mov ebx, eax
xor edx, edx
push edx
push edx
push edx
push edx
call dword [0x5780e4]
mov dword [ebx*4 + 0x79eca0], eax
xor edx, edx
push edx
push edx
push edx
push edx
call dword [0x5780e4]
mov dword [ebx*4 + 0x79eda0], eax
xor edx, edx
push edx
push 1
push edx
push edx
call dword [0x5780e4]
mov dword [ebx*4 + 0x79eea0], eax
inc ebx
movsx edx, byte [0x59cc30]
cmp ebx, edx
jl 0x46b8e3
test edx, edx
jle 0x46b97d
xor edx, edx
xor eax, eax
mov dword [esp], esi
mov ebx, eax
mov esi, edx
mov dword [ebx + 0x79d3a0], esi
xor edx, edx
lea eax, [ebx + 0x79d3a0]
lea ecx, [esp + 4]
push ecx
push edx
push eax
push 0x41bbc4
push edx
push edx
call fcn.00473a1d
add esp, 0x18
mov dword [esi*4 + 0x79d2a0], eax
push esi
push eax
call dword [0x5780c0]
add ebx, 0x64
inc esi
movsx ecx, byte [0x59cc30]
cmp esi, ecx
jl 0x46b938
mov esi, dword [esp]
add esp, 8
pop ebx
ret

Function at 0x46d140
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
call dword [0x578468]
test eax, eax
jg 0x46d154
mov dword [0x8356f8], eax
xor eax, eax
pop ecx
ret
mov edx, 0x10
cmp eax, 0x10
jl 0x46d160
mov eax, edx
mov dword [0x8356f8], eax
xor eax, eax
mov dword [esp], ebx
mov ebx, eax
lea edx, [ebx + 0x7946c0]
push 0x34
push edx
call dword [0x5b9a60]
add esp, 8
mov dword [ebx + 0x7946c0], 0x34
mov dword [ebx + 0x7946c4], 0x83
add ebx, 0x34
cmp ebx, 0x340
jl 0x46d16c
mov ebx, dword [esp]
mov dword [0x794a00], 1
mov dword [0x794a04], 2
mov dword [0x794a08], 4
mov dword [0x794a0c], 8
mov dword [0x794a10], 0x10
mov dword [0x794a14], 0x20
mov dword [0x794a18], 0x40
mov dword [0x794a1c], 0x80
mov dword [0x794a20], 0x100
mov dword [0x794a24], 0x200
mov dword [0x794a28], 0x400
mov dword [0x794a2c], 0x800
mov dword [0x794a30], 0x1000
mov dword [0x794a34], 0x2000
mov dword [0x794a38], 0x4000
mov dword [0x794a3c], 0x8000
mov dword [0x794a40], 0x10000
mov dword [0x794a44], 0x20000
mov dword [0x794a48], 0x40000
mov dword [0x794a4c], 0x80000
mov dword [0x794a50], 0x100000
mov dword [0x794a54], 0x200000
mov dword [0x794a58], 0x400000
mov dword [0x794a5c], 0x800000
mov dword [0x794a60], 0x1000000
mov dword [0x794a64], 0x2000000
mov dword [0x794a68], 0x4000000
mov dword [0x794a6c], 0x8000000
mov dword [0x794a70], 0x10000000
mov dword [0x794a74], 0x20000000
mov dword [0x794a78], 0x40000000
mov dword [0x794a7c], 0x80000000
mov eax, 1
pop ecx
ret

Function at 0x46d844
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 4]
mov dword [0x5cfd80], eax
mov eax, 1
mov ecx, dword [eax*4 + 0x5cfd7c]
mov edx, ecx
shr edx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [eax*4 + 0x5cfd80], edx
inc eax
cmp eax, 0x270
jl 0x46d852
mov dword [0x59cc10], eax
ret
Function at 0x496020
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
push esi
mov ebx, dword [esp + 0xc]
mov eax, dword [ebx + 0x14]
cmp eax, 0xca
je 0x4960ce
cmp eax, 0xcb
je 0x496063
cmp eax, 0xcc
je 0x496059
push ebx
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x14]
mov dword [ecx + 0x18], edx
mov eax, dword [ebx]
call dword [eax]
pop ecx
mov eax, ebx
call fcn.00496100
pop ecx
pop ebx
ret
mov edx, dword [ebx + 0x190]
movzx ecx, byte [edx + 0x10]
test ecx, ecx
jne 0x49607c
mov edx, dword [ebx + 0x7c]
mov dword [ebx + 0x84], edx
jmp 0x496059
mov edx, dword [ebx + 8]
test edx, edx
je 0x496087
push ebx
call dword [edx]
pop ecx
push ebx
mov edx, dword [ebx + 0x190]
call dword [edx]
pop ecx
test eax, eax
je 0x4960f8
cmp eax, 2
je 0x496071
mov edx, dword [ebx + 8]
test edx, edx
je 0x496087
cmp eax, 3
je 0x4960ab
cmp eax, 1
jne 0x496083
mov ecx, dword [edx + 4]
add ecx, 1
mov dword [edx + 4], ecx
mov edx, dword [ebx + 8]
mov eax, dword [edx + 8]
cmp ecx, eax
jl 0x49607f
mov ecx, dword [ebx + 0x11c]
add eax, ecx
mov dword [edx + 8], eax
mov edx, dword [ebx + 8]
jmp 0x49607f
push ebx
call fcn.00498e58
pop ecx
movzx edx, byte [ebx + 0x40]
test edx, edx
jne 0x4960e9
mov dword [ebx + 0x14], 0xcb
jmp 0x496063
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ecx
pop ebx
ret
xor eax, eax
pop ecx
pop ebx
ret

Function at 0x496100
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
sub esp, 8
mov ebx, eax
mov edx, dword [ebx + 0x14]
cmp edx, 0xcc
je 0x496129
push ebx
mov edx, dword [ebx + 0x180]
call dword [edx]
pop ecx
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x14], 0xcc
mov edx, dword [ebx + 0x180]
movzx ecx, byte [edx + 8]
test ecx, ecx
je 0x4961c2
mov eax, dword [ebx + 0x78]
mov dword [esp], esi
mov dword [esp + 4], edi
lea ecx, [ebx + 0x78]
mov esi, ecx
jmp 0x49614e
xor eax, eax
cmp eax, dword [ebx + 0x60]
jae 0x496196
mov edx, dword [ebx + 8]
test edx, edx
je 0x496170
push ebx
mov dword [edx + 4], eax
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0x60]
mov dword [edx + 8], eax
mov edi, dword [ebx + 8]
call dword [edi]
pop ecx
mov eax, dword [ebx + 0x78]
mov edx, dword [ebx + 0x184]
mov edi, eax
xor eax, eax
push eax
push esi
push eax
push ebx
call dword [edx + 4]
add esp, 0x10
mov eax, dword [ebx + 0x78]
cmp eax, edi
je 0x4961e3
cmp eax, dword [ebx + 0x60]
jb 0x496153
mov edx, dword [ebx + 0x180]
push ebx
call dword [edx + 4]
push ebx
mov eax, dword [ebx + 0x180]
call dword [eax]
add esp, 8
mov edx, dword [ebx + 0x180]
mov dword [ebx + 0x78], 0
movzx eax, byte [edx + 8]
test eax, eax
jne 0x49614c
mov esi, dword [esp]
mov edi, dword [esp + 4]
movzx edx, byte [ebx + 0x41]
test edx, edx
je 0x4961d1
mov edx, 0xce
jmp 0x4961d6
mov edx, 0xcd
mov dword [ebx + 0x14], edx
mov eax, 1
add esp, 8
pop ebx
ret
mov esi, dword [esp]
mov edi, dword [esp + 4]
xor eax, eax
add esp, 8
pop ebx
ret
Function at 0x49ac3c
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push edi
push esi
push ebp
sub esp, 0x20
mov edi, eax
mov esi, dword [edi + 0x1a8]
mov edx, dword [edi + 0x4c]
cmp edx, 1
je 0x49ad91
mov byte [esi + 0x1c], 0
xor ebp, ebp
push dword [edi + 0x64]
mov ecx, dword [edi + 4]
lea edx, [ebp + 0x100]
push edx
push 1
push edi
call dword [ecx + 8]
add esp, 0x10
mov ecx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov edx, dword [edi + 0x64]
test edx, edx
jle 0x49ad8a
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edi
mov dword [esp], ebx
xor edx, edx
mov ebx, eax
mov dword [esp + 4], edx
jmp 0x49aca3
mov edx, dword [esp + 0xc]
mov ebx, dword [edx + 0x18]
mov edi, dword [esp + 0xc]
mov ebp, dword [esp + 4]
mov esi, dword [esp + 8]
mov edi, dword [edi + ebp*4 + 0x20]
mov eax, ecx
cdq
idiv edi
lea ebp, [ebp + ebp]
test esi, esi
mov ecx, eax
je 0x49acd0
mov edx, dword [esp + 0xc]
add dword [ebx + ebp*2], 0xff
mov ebx, dword [edx + 0x18]
mov ebp, dword [ebx + ebp*2]
lea ebx, [edi + edi - 2]
mov dword [esp + 0x1c], ebx
lea eax, [edi + 0xfe]
cdq
idiv ebx
xor esi, esi
mov edx, eax
xor eax, eax
mov ebx, eax
mov eax, edi
mov edi, edx
cmp esi, edi
jle 0x49ad2c
mov dword [esp + 0x18], eax
mov edx, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x1c]
shl edx, 9
sub edx, ebx
sub edx, ebx
lea edi, [eax + edx + 0xfe]
add edi, 0x1fe
add ebx, 1
mov eax, edi
cdq
idiv ecx
cmp esi, eax
jg 0x49ad10
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
mov edx, ecx
imul edx, ebx
mov byte [esi + ebp], dl
add esi, 1
cmp esi, 0xff
jle 0x49acf0
mov edx, dword [esp + 8]
test edx, edx
je 0x49ad6f
mov ebx, 1
movzx edx, byte [ebp]
mov esi, ebp
sub esi, ebx
mov byte [esi], dl
movzx edx, byte [ebp + 0xff]
mov byte [ebx + ebp + 0xff], dl
add ebx, 1
cmp ebx, 0xff
jle 0x49ad4c
mov edx, dword [esp + 4]
mov ebx, dword [esp + 0x10]
add edx, 1
cmp edx, dword [ebx + 0x64]
mov dword [esp + 4], edx
jl 0x49ac9c
mov ebx, dword [esp]
add esp, 0x20
pop ebp
pop esi
pop edi
ret
mov byte [esi + 0x1c], 1
mov ebp, 0x1fe
jmp 0x49ac5c
Function at 0x4bc3a6
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x18]
imul eax, edi
add eax, edx
cmp edx, eax
mov dword [ebp - 0x14], eax
jae 0x4bc4c9
mov eax, dword [ebp + 0x10]
lea eax, [edx + eax*4]
push ebx
push esi
mov dword [ebp + 0x14], eax
mov esi, 0xffc03fc0
mov eax, 0xff00ff
cmp edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
jae 0x4bc4ad
mov ebx, dword [ebp + 0x14]
sub ebx, edx
dec ebx
shr ebx, 3
lea ecx, [edx + 4]
inc ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ebx
mov edx, dword [ecx + edi]
mov edi, dword [edi + ecx - 4]
mov dword [ebp - 8], edi
shr edi, 2
and edi, esi
mov dword [ebp + 0x10], edx
mov edx, dword [ecx]
mov ecx, dword [ecx - 4]
mov ebx, ecx
shr ebx, 2
and ebx, esi
add ebx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ebx, edi
mov edi, edx
shr edi, 2
and edi, esi
lea ebx, [ebx + edi - 0x7fff80]
mov edi, dword [ebp - 8]
and edi, eax
mov esi, ecx
and esi, eax
add esi, edi
mov edi, dword [ebp + 0x10]
and edi, eax
add esi, edi
mov edi, edx
and edi, eax
lea esi, [esi + edi + 0x20002]
mov edi, dword [ebp - 8]
shr ecx, 2
shr esi, 2
xor ebx, esi
shr edi, 2
mov esi, 0x3fc03fc0
and ecx, esi
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x10]
shr edi, 2
and edi, esi
add ecx, edi
mov edi, dword [ebp + 0x18]
shr edx, 2
and edx, esi
lea ecx, [ecx + edx + 0x800080]
and ebx, eax
xor ebx, ecx
mov ecx, dword [ebp - 4]
add dword [ebp - 4], 4
mov dword [ecx], ebx
mov ecx, dword [ebp - 0xc]
add ecx, 8
dec dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
mov esi, 0xffc03fc0
jne 0x4bc3ff
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x1c]
add dword [ebp + 8], ecx
lea ecx, [edi + edi]
add dword [ebp + 0x14], ecx
add edx, ecx
cmp edx, dword [ebp - 0x14]
mov dword [ebp + 0xc], edx
jb 0x4bc3dd
pop esi
pop ebx
xor eax, eax
pop edi
leave
ret 0x18
Function at 0x4bc785
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x20]
push ebx
mov ebx, dword [edx + 0x20]
push esi
mov esi, dword [edx + 0x6c]
imul esi, dword [edx + 0x60]
add esi, ebx
cmp ebx, esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x24], esi
jae 0x4bc8b3
mov eax, 0xf81f
push edi
mov edi, dword [edx + 0x60]
mov edx, dword [edx + 0x68]
lea edx, [ebx + edx*2]
add edi, ebx
cmp ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edx
jae 0x4bc893
movzx ecx, word [edi]
movzx edx, word [edi + 2]
movzx esi, word [ebx + 2]
mov dword [ebp - 4], ecx
movzx ecx, word [ebx]
mov ebx, ecx
and bx, ax
mov edi, edx
and di, ax
mov dword [ebp - 0x1c], ecx
and ecx, 0xffff07e0
add edi, ebx
mov ebx, dword [ebp - 4]
and bx, ax
add edi, ebx
mov ebx, esi
and bx, ax
lea edi, [edi + ebx + 0x1002]
mov ebx, edx
and ebx, 0xffff07e0
add ebx, ecx
mov ecx, dword [ebp - 4]
and ecx, 0xffff07e0
add ebx, ecx
mov ecx, esi
and ecx, 0xffff07e0
lea ecx, [ebx + ecx + 0x40]
mov ebx, dword [ebp - 0xc]
shr ecx, 2
shr edi, 2
xor edi, ecx
mov ecx, dword [ebp - 0x1c]
and ecx, eax
and edx, eax
add edx, ecx
mov ecx, dword [ebp - 4]
and ecx, eax
add edx, ecx
and esi, eax
and edi, 0xffff07e0
lea ecx, [edx + esi + 0x1002]
shr ecx, 2
xor edi, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 8], 2
mov word [ecx], di
mov edi, dword [ebp - 0x10]
add ebx, 4
add edi, 4
cmp ebx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edi
jb 0x4bc7de
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov edi, dword [edx + 4]
add ecx, dword [edi + 0x60]
mov edx, dword [edx]
mov edi, dword [edx + 0x60]
lea ebx, [ebx + edi*2]
cmp ebx, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ebx
jb 0x4bc7bf
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret