joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4798f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4efed8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x24]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
mov dword [esp + 0xc], ecx
push edi
mov byte [esp + 0x14], al
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.00401d50
test al, al
je 0x479967
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [eax + ebp], bl
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov dword [esp + 0x34], ebx
call fcn.004794e0
mov esi, eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4799a5
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x47999c
cmp al, 0xff
je 0x47999c
dec al
mov byte [ecx], al
jmp 0x4799a5
push ecx
call fcn.004db420
add esp, 4
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x479ad0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x40c
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [0x5130b0]
mov esi, dword [esp + 0x41c]
test ecx, ecx
push edi
mov byte [esp + 0x13], 0
je 0x479b21
mov ebx, dword [esp + 0x424]
mov eax, dword [ecx]
push ebx
push esi
call dword [eax + 0x10]
mov eax, dword [0x5130b0]
test eax, eax
je 0x479b28
cmp byte [eax + 0x90], 1
jne 0x479b28
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x40c
ret 8
mov ebx, dword [esp + 0x424]
call fcn.00469ec0
test al, al
je 0x479b40
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x40c
ret 8
cmp dword [ebp], 0
je 0x479cd2
mov al, byte [ebp + 8]
mov dl, bl
inc al
lea edi, [esp + 0x23]
mov byte [ebp + 8], al
mov cl, al
mov eax, ebx
mov byte [esp + 0x22], cl
sar eax, 8
mov byte [esp + 0x1e], al
mov ecx, ebx
not al
mov byte [esp + 0x20], al
mov eax, ecx
not dl
shr ecx, 2
mov byte [esp + 0x1c], 0xcf
mov byte [esp + 0x1d], 0x33
mov byte [esp + 0x1f], bl
mov byte [esp + 0x21], dl
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [ebx + 7]
xor cl, cl
test esi, esi
jle 0x479ba7
mov dl, byte [esp + eax + 0x1c]
add cl, dl
inc eax
cmp eax, esi
jl 0x479b9c
mov byte [esp + ebx + 0x23], cl
add ebx, 8
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [ebp]
push eax
lea eax, [esp + 0x20]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
xor bl, bl
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 4]
sub eax, edi
cmp eax, ecx
ja 0x479cc0
mov ecx, dword [ebp]
lea eax, [esp + 0x11]
push 1
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
cmp eax, 1
jne 0x479bd8
mov al, byte [esp + 0x11]
mov cl, byte [esp + 0x13]
test bl, bl
mov byte [esp + 0x13], al
jne 0x479c2f
cmp cl, 0xcf
jne 0x479bd8
cmp al, 0x33
jne 0x479bd8
mov byte [esp + 0x21c], cl
mov byte [esp + 0x21d], al
mov bl, 1
mov esi, 2
jmp 0x479bd8
mov byte [esp + esi + 0x21c], al
inc esi
cmp esi, 9
jne 0x479bd8
mov al, byte [esp + 0x21e]
mov cl, byte [esp + 0x21f]
xor dx, dx
xor bx, bx
mov dl, al
mov bl, cl
shl edx, 8
add edx, ebx
cmp dx, 1
je 0x479c66
xor bl, bl
jmp 0x479bd8
mov dl, byte [esp + 0x220]
not dl
cmp al, dl
jne 0x479c5f
mov al, byte [esp + 0x221]
not al
cmp cl, al
jne 0x479c5f
mov al, byte [ebp + 8]
mov cl, byte [esp + 0x222]
cmp cl, al
jne 0x479c9b
mov cl, byte [esp + 0x223]
not cl
cmp al, cl
je 0x479ca4
xor bl, bl
xor esi, esi
jmp 0x479bd8
xor cl, cl
xor eax, eax
mov bl, byte [esp + eax + 0x21c]
add cl, bl
inc eax
cmp eax, 8
jl 0x479ca8
cmp cl, byte [esp + 0x224]
je 0x479ce1
mov eax, dword [esp + 0x14]
inc eax
cmp eax, 3
mov dword [esp + 0x14], eax
jl 0x479bba
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40c
ret 8
mov eax, dword [esp + 0x424]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40c
ret 8
Function at 0x47a810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4effe4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x4f4ee0
mov dword [esp + 0x40], 3
call fcn.0047ad60
mov eax, dword [esi + 0x74]
push eax
mov dword [esp + 0x18], eax
call fcn.004db420
xor ebx, ebx
add esp, 4
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], ebx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
mov byte [esp + 0x40], 1
je 0x47a928
mov edi, dword [esi + 0x4c]
add edi, 4
dec eax
cmp eax, ebx
mov dword [esi + 0x4c], edi
mov ecx, edi
mov dword [esi + 0x6c], eax
je 0x47a88c
cmp ecx, dword [esi + 0x48]
jne 0x47a91d
mov eax, dword [esi + 0x50]
lea ecx, [eax + 4]
mov dword [esi + 0x50], ecx
mov eax, dword [eax]
push eax
call fcn.004db420
mov eax, dword [esi + 0x6c]
add esp, 4
cmp eax, ebx
jne 0x47a8ee
lea ecx, [esp + 0x18]
call fcn.0048a660
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
lea edx, [esi + 0x44]
mov edi, dword [esp + 0x24]
mov ebp, edx
mov edx, dword [esp + 0x20]
mov dword [ebp], eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
lea ebp, [esi + 0x54]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x64]
push eax
mov dword [ebp + 4], ecx
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], edi
call fcn.004db420
add esp, 4
jmp 0x47a91d
mov eax, dword [esi + 0x50]
push eax
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x30]
call fcn.0047bda0
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
lea eax, [esi + 0x44]
mov dword [esi + 0x44], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x34]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov eax, dword [esi + 0x6c]
cmp eax, ebx
jne 0x47a870
mov eax, dword [esi + 0x34]
push eax
mov dword [esp + 0x18], eax
call fcn.004db420
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
add esi, 4
add esp, 4
mov dword [esp + 0x14], esi
mov ebp, dword [esi + 0x18]
mov edi, dword [esi + 0x14]
cmp edi, ebp
mov dword [esp + 0x40], 4
je 0x47a968
mov ecx, edi
call fcn.00453ea0
add edi, 4
cmp edi, ebp
jne 0x47a95a
mov eax, dword [esi + 0x14]
push eax
call fcn.004db420
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
add esp, 4
cmp eax, ebx
je 0x47a9a1
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x47a998
cmp al, 0xff
je 0x47a998
dec al
mov byte [ecx], al
jmp 0x47a9a1
push ecx
call fcn.004db420
add esp, 4
mov ecx, dword [esp + 0x38]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret
Function at 0x47ee50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f0406
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov byte [esi + 8], al
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov cl, byte [esp + 0xb]
mov dword [esp + 0x18], edi
mov byte [esi + 0x20], cl
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 1
call fcn.004a94a0
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa0], edi
mov dword [esi], 0x4f4f28
mov dword [esi + 0x18], 1
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x47eef0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f0426
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x4f4f28
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], 1
call fcn.004a9660
mov eax, dword [esi + 0x24]
push eax
mov dword [esp + 0xc], eax
call fcn.004db420
xor edi, edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov eax, dword [esi + 0xc]
push eax
mov dword [esp + 0x10], eax
call fcn.004db420
mov ecx, dword [esp + 0x14]
add esp, 8
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x48a420
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x4f0c7f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
xor bl, bl
call fcn.00453d60
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x40], 1
test esi, esi
je 0x48a5ee
mov edi, dword [esp + 0x50]
test edi, edi
je 0x48a5ee
mov ecx, dword [ebp + 0x60]
call fcn.004c89a0
dec eax
cmp eax, 9
ja case.default.0x48a47f
jmp dword [eax*4 + 0x48a628]
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.00454340
lea eax, [esp + 0x10]
push eax
mov esi, dword [esp + 0x4c]
mov ecx, esi
call fcn.00453d70
mov dword [esp + 0x14], 1
jmp 0x48a603
xor eax, eax
test esi, esi
jle 0x48a4be
mov cl, byte [eax + edi]
add bl, cl
inc eax
cmp eax, esi
jl 0x48a4b4
mov byte [esi + edi], bl
jmp 0x48a5d6
xor eax, eax
test esi, esi
jle 0x48a4d6
mov cl, byte [eax + edi]
add bl, cl
inc eax
cmp eax, esi
jl 0x48a4cc
mov ecx, dword [ebp + 0x60]
not bl
call fcn.004c89a0
cmp eax, 0xa
jne 0x48a4e7
dec bl
mov byte [esi + edi], bl
jmp 0x48a5d6
xor eax, eax
test esi, esi
jle 0x48a4ff
mov cl, byte [eax + edi]
add bl, cl
inc eax
cmp eax, esi
jl 0x48a4f5
not bl
inc bl
mov byte [esi + edi], bl
jmp 0x48a5d6
xor ecx, ecx
xor eax, eax
test esi, esi
jle 0x48a51f
movzx dx, byte [eax + edi]
add ecx, edx
inc eax
cmp eax, esi
jl 0x48a513
mov byte [esi + edi], cl
inc esi
xor eax, eax
mov al, ch
mov byte [esi + edi], al
jmp 0x48a5d6
xor ecx, ecx
xor eax, eax
test esi, esi
jle 0x48a543
movzx dx, byte [eax + edi]
add ecx, edx
inc eax
cmp eax, esi
jl 0x48a537
xor eax, eax
inc esi
mov al, ch
mov byte [esi + edi - 1], al
mov byte [esi + edi], cl
jmp 0x48a5d6
xor eax, eax
test esi, esi
jle 0x48a564
mov cl, byte [eax + edi]
xor bl, cl
inc eax
cmp eax, esi
jl 0x48a55a
mov byte [esi + edi], bl
jmp 0x48a5d6
xor eax, eax
mov edx, 0xff
test esi, esi
mov dword [esp + 0x4c], eax
jle 0x48a5cb
xor ecx, ecx
mov ebx, 8
mov cl, byte [eax + edi]
mov eax, ecx
lea ecx, [esp + 0x18]
mov ebp, eax
add ecx, 4
and ebp, 1
mov dword [ecx - 4], ebp
sar eax, 1
dec ebx
jne 0x48a588
lea eax, [esp + 0x34]
mov ebp, 8
mov ecx, dword [eax]
shl ecx, 7
mov dword [eax], ecx
xor ecx, edx
test cl, 0x80
je 0x48a5b6
add edx, edx
xor edx, 0x1d
jmp 0x48a5b8
shl edx, 1
sub eax, 4
dec ebp
jne 0x48a5a1
mov eax, dword [esp + 0x4c]
inc eax
cmp eax, esi
mov dword [esp + 0x4c], eax
jl 0x48a578
not edx
and edx, 0xff
mov byte [esi + edi], dl
lea eax, [esi + 1]
lea ecx, [esp + 0x10]
push eax
push edi
call fcn.00454340
lea edx, [esp + 0x10]
push edx
jmp 0x48a496
mov esi, dword [esp + 0x48]
push 0
mov ecx, esi
call fcn.00453d90
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 0
call fcn.00453ea0
mov ecx, dword [esp + 0x38]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0xc
Function at 0x495960
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f15a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, dword [0x4f4164]
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov dword [esp + 0xc], ecx
mov esi, dword [ebp + 4]
test esi, esi
je 0x4959bb
mov al, byte [esi - 1]
test al, al
je 0x4959bb
cmp al, 0xff
je 0x4959bb
push edi
push 1
mov ecx, ebp
call fcn.004019e0
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
mov ecx, ebp
call fcn.00404080
pop edi
mov eax, dword [ebp + 8]
cmp eax, ebx
jae 0x4959c4
mov ebx, eax
test ebx, ebx
jbe 0x4959f9
mov ecx, dword [ebp + 4]
sub eax, ebx
push eax
lea edx, [ecx + ebx]
push edx
push ecx
call fcn.004dbcc0
mov esi, dword [ebp + 8]
add esp, 0xc
sub esi, ebx
mov ecx, ebp
push 0
push esi
call fcn.00401d50
test al, al
je 0x4959f9
mov eax, dword [ebp + 4]
mov dword [ebp + 8], esi
add esi, eax
mov byte [esi], 0
mov al, byte [esp + 0x34]
xor esi, esi
mov byte [esp + 0x10], al
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov dword [esp + 0x30], esi
call fcn.00495780
test eax, eax
jne 0x495a7a
mov ecx, dword [esp + 0x14]
cmp ecx, esi
je 0x495a64
mov al, byte [ecx - 1]
test al, al
je 0x495a58
cmp al, 0xff
je 0x495a58
dec al
pop esi
mov byte [ecx - 1], al
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
add ecx, 0xfffffffe
push ecx
call fcn.004db420
add esp, 4
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
lea eax, [esp + 0x10]
push ebp
push eax
call fcn.004ca250
mov ecx, dword [esp + 0x1c]
add esp, 8
cmp ecx, esi
je 0x495aae
mov al, byte [ecx - 1]
test al, al
je 0x495aa2
cmp al, 0xff
je 0x495aa2
dec al
mov byte [ecx - 1], al
jmp 0x495aae
add ecx, 0xfffffffe
push ecx
call fcn.004db420
add esp, 4
mov ecx, dword [esp + 0x20]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4a56a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f1b28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov byte [esp + 0xc], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [ecx + 4]
lea edx, [esp + 0xc]
mov dword [esp + 0x24], ebx
push edx
push eax
call fcn.0049ffb0
test eax, eax
je 0x4a5705
push 0x5097c8
lea ecx, [esp + 0x10]
push 0x509a24
push ecx
call fcn.004ca320
add esp, 0xc
mov esi, dword [esp + 0x2c]
mov dl, byte [esp + 0xc]
lea ecx, [esp + 0xc]
mov byte [esi], dl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov eax, dword [0x4f4164]
push eax
push ebx
push ecx
mov ecx, esi
call fcn.004017e0
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4a574f
mov al, byte [ecx - 1]
cmp al, bl
je 0x4a5745
cmp al, 0xff
je 0x4a5745
dec al
mov byte [ecx - 1], al
jmp 0x4a574f
dec ecx
push ecx
call fcn.004db420
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4ab3a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f1fd8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [esp + 0xe0]
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
mov dword [esp + 0xd0], 0
jne 0x4ab3e7
mov eax, dword [esp + 0xe8]
push eax
jmp 0x4ab54e
lea esi, [ebp + 0x30]
mov dword [ebp + 0x1c], eax
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
push ecx
push eax
push eax
call fcn.004ae0d0
mov ecx, dword [esi + 8]
add esp, 0xc
mov edi, eax
push ecx
push edi
mov ecx, esi
call fcn.004ca170
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
mov edx, dword [esp + 0xdc]
mov dword [esi + 8], edi
cmp eax, ecx
mov dword [ebp + 0x2c], edx
mov dword [esp + 0x10], eax
jae 0x4ab546
mov ecx, dword [esp + 0xe8]
lea ebx, [ecx + eax*8]
mov eax, dword [ebx]
mov ecx, dword [ebp + 0x2c]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004835a0
test eax, eax
je 0x4ab576
mov ecx, 0x1d
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 4]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x58], ecx
mov edx, dword [ebx]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0xc0], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x68], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x38]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x80], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0xb4], eax
dec eax
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc4], ecx
mov dword [esp + 0x60], 0xffffffff
mov dword [esp + 0x64], edx
je 0x4ab519
dec eax
je 0x4ab50c
mov ecx, dword [esi + 8]
lea eax, [esp + 0x54]
push eax
push 1
push ecx
jmp 0x4ab524
mov eax, dword [esi + 8]
lea edx, [esp + 0x54]
push edx
push 1
push eax
jmp 0x4ab524
mov edx, dword [esi + 8]
lea ecx, [esp + 0x54]
push ecx
push 1
push edx
mov ecx, esi
call fcn.004ad620
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xf8]
inc eax
add ebx, 8
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x4ab43d
mov ecx, dword [esp + 0xe8]
push ecx
call fcn.004db420
add esp, 4
mov eax, 1
mov ecx, dword [esp + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xc4
ret 0x24
mov eax, dword [esp + 0xe8]
push eax
call fcn.004db420
add esp, 4
xor eax, eax
jmp 0x4ab55b
Function at 0x4aeed0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f2178
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov al, byte [esp + 0x28]
push ebx
xor ebx, ebx
push esi
mov dword [esp + 8], ebx
mov byte [esp + 0xc], al
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x30]
lea edx, [esp + 0xc]
push edx
push eax
mov dword [esp + 0x2c], ebx
call fcn.004aeea0
mov esi, dword [esp + 0x2c]
mov cl, byte [esp + 0xc]
lea eax, [esp + 0xc]
mov byte [esi], cl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [0x4f4164]
mov ecx, esi
push edx
push ebx
push eax
call fcn.004017e0
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x4aef62
mov al, byte [ecx - 1]
cmp al, bl
je 0x4aef58
cmp al, 0xff
je 0x4aef58
dec al
mov byte [ecx - 1], al
jmp 0x4aef62
dec ecx
push ecx
call fcn.004db420
add esp, 4
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x4c6120
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4f3622
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
mov al, byte [esp + 0x34]
sub esp, 0x24
mov ebx, esp
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], esp
mov dword [esp + 0x38], ebx
mov byte [ebx], al
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jne 0x4c6167
xor eax, eax
jmp 0x4c6170
mov eax, dword [esp + 0x60]
sub eax, ecx
sar eax, 4
test eax, eax
jge 0x4c6176
xor eax, eax
shl eax, 4
push eax
call fcn.004dbc04
mov dword [ebx + 4], eax
mov ecx, dword [esp + 0x64]
mov ebp, dword [esp + 0x60]
add esp, 4
mov esi, eax
cmp ebp, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], esi
je 0x4c6229
add ebp, 4
mov dword [esp + 0x44], esi
test esi, esi
mov byte [esp + 0x50], 1
je 0x4c6210
mov cl, byte [ebp - 4]
mov byte [esi], cl
mov ecx, dword [ebp]
test ecx, ecx
jne 0x4c61bf
xor eax, eax
jmp 0x4c61c7
mov eax, dword [ebp + 4]
sub eax, ecx
sar eax, 2
test eax, eax
jge 0x4c61cd
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.004dbc04
mov dword [esi + 4], eax
mov ebx, dword [ebp + 4]
mov esi, dword [ebp]
add esp, 4
cmp esi, ebx
mov edi, eax
je 0x4c6200
push esi
push edi
call fcn.004044a0
add esi, 4
add esp, 8
add edi, 4
cmp esi, ebx
jne 0x4c61ec
mov eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x38]
mov esi, eax
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov ecx, dword [esp + 0x3c]
add ebp, 0x10
add esi, 0x10
lea eax, [ebp - 4]
mov dword [esp + 0x34], esi
cmp eax, ecx
jne 0x4c61a2
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], esi
mov cl, byte [esp + 0x68]
mov byte [esp + 0x50], 2
mov byte [ebx + 0x10], cl
mov ecx, dword [esp + 0x6c]
test ecx, ecx
jne 0x4c6247
xor eax, eax
jmp 0x4c6250
mov eax, dword [esp + 0x70]
sub eax, ecx
sar eax, 3
test eax, eax
jge 0x4c6256
xor eax, eax
lea edx, [eax*8]
push edx
call fcn.004dbc04
mov dword [ebx + 0x14], eax
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x70]
add esp, 4
mov esi, eax
cmp edi, ecx
mov ebp, ecx
mov dword [esp + 0x3c], esi
je 0x4c62a0
mov dword [esp + 0x44], esi
test esi, esi
mov byte [esp + 0x50], 3
je 0x4c6292
push edi
mov ecx, esi
call fcn.00415ff0
add edi, 8
add esi, 8
cmp edi, ebp
mov dword [esp + 0x3c], esi
jne 0x4c627d
mov ecx, dword [esp + 0x40]
mov dword [ebx + 0x18], esi
mov dword [ebx + 0x1c], esi
mov al, byte [esp + 0x78]
add ecx, 0x1ff0
mov byte [ebx + 0x20], al
mov byte [esp + 0x50], 0
call fcn.0046ee30
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0046ed80
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret 0x24
Function at 0x4d6f00
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
test eax, eax
push edi
mov edi, ecx
jbe 0x4d7045
fldln2
push ebx
push ebp
push esi
fld qword [0x4f51d0]
fyl2x
fldln2
fld qword [0x4f51c8]
fyl2x
fdivp st(1)
call fcn.004dc2fc
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
mov ecx, 0xfffffffc
sub ecx, eax
lea esi, [eax + 4]
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 8]
mov ecx, dword [esi]
add ecx, eax
mov eax, dword [esi + 8]
mov dword [esi], ecx
mov ecx, dword [edi + 0xc]
add eax, ecx
lea ebp, [edi + 0x14]
mov dword [esi + 8], eax
mov dword [esp + 0x14], 0x10
mov edx, dword [esp + 0x10]
mov ebx, dword [esi]
push edx
mov ecx, edi
call fcn.004d7120
push eax
lea eax, [ebx + ebx + 1]
imul eax, ebx
push eax
mov ecx, edi
call fcn.004d7150
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi + 8]
push ecx
mov ecx, edi
mov dword [esp + 0x24], eax
call fcn.004d7120
lea edx, [ebx + ebx + 1]
push eax
imul edx, ebx
push edx
mov ecx, edi
call fcn.004d7150
mov ebx, eax
mov ecx, edi
push ebx
call fcn.004d7120
mov ecx, dword [esp + 0x20]
push eax
mov eax, dword [esi - 4]
xor eax, ecx
mov ecx, edi
push eax
call fcn.004d7150
mov ecx, dword [ebp - 4]
add eax, ecx
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, edi
mov dword [esi - 4], eax
call fcn.004d7120
mov ecx, dword [esi + 4]
push eax
xor ebx, ecx
mov ecx, edi
push ebx
call fcn.004d7150
mov edx, dword [ebp]
add ebp, 8
add eax, edx
mov edx, dword [esi]
mov dword [esi + 4], eax
mov eax, dword [esi - 4]
mov ecx, dword [esi + 4]
mov dword [esi - 4], edx
mov edx, dword [esi + 8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi], ecx
dec eax
mov dword [esi + 4], edx
mov dword [esp + 0x14], eax
jne 0x4d6f65
mov eax, dword [edi + 0x90]
mov ebx, dword [esi - 4]
add ebx, eax
mov eax, dword [esp + 0x24]
mov dword [esi - 4], ebx
mov ecx, dword [edi + 0x94]
add edx, ecx
mov dword [esi + 4], edx
mov edx, dword [esp + 0x18]
add esi, 0x10
add edx, esi
cmp edx, eax
jb 0x4d6f46
pop esi
pop ebp
pop ebx
pop edi
add esp, 0xc
ret 8