joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b6e0
Capabilities:
Encode data using xor

Disassembly:
mov eax, ebx
call fcn.0044b1b0
test eax, eax
jl 0x44b918
mov edx, dword [ebx + 0xf0]
add edx, edx
push esi
add edx, edx
xor esi, esi
push edi
test edx, edx
jle 0x44b74d
lea ecx, [ebx + edx*4 + 8]
lea eax, [ebx + 8]
push ebp
lea esp, [esp]
mov ebp, dword [ecx - 8]
mov edi, dword [eax - 8]
mov dword [eax - 8], ebp
mov ebp, dword [ecx - 4]
mov dword [ecx - 8], edi
mov edi, dword [eax - 4]
mov dword [eax - 4], ebp
mov ebp, dword [ecx]
mov dword [ecx - 4], edi
mov edi, dword [eax]
mov dword [eax], ebp
mov ebp, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [eax + 4]
mov dword [eax + 4], ebp
mov dword [ecx + 4], edi
add esi, 4
sub edx, 4
add eax, 0x10
sub ecx, 0x10
cmp esi, edx
jl 0x44b710
pop ebp
mov edx, 1
cmp dword [ebx + 0xf0], edx
jle 0x44b914
lea eax, [ebx + 2]
mov ecx, dword [eax + 0xe]
movzx edi, byte [eax + 0xf]
mov edi, dword [edi*4 + 0x4ea7f8]
add eax, 0x10
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4ea7f8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4eb3f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4ebbf8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ea7f8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4ebff8]
movzx ecx, byte [eax]
mov ecx, dword [ecx*4 + 0x4ea7f8]
movzx edi, byte [eax + 3]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4eb7f8]
mov ecx, dword [eax + 2]
mov dword [eax - 2], esi
mov edi, dword [edi*4 + 0x4ea7f8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4ea7f8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4eb3f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4ebbf8]
movzx edi, byte [eax + 4]
mov edi, dword [edi*4 + 0x4ea7f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4eb7f8]
movzx edi, byte [eax + 7]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ea7f8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4ebff8]
mov ecx, dword [eax + 6]
mov dword [eax + 2], esi
mov edi, dword [edi*4 + 0x4ea7f8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4ea7f8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4eb3f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4ebbf8]
movzx edi, byte [eax + 8]
mov edi, dword [edi*4 + 0x4ea7f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4eb7f8]
movzx edi, byte [eax + 0xb]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ea7f8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4ebff8]
mov ecx, dword [eax + 0xa]
mov dword [eax + 6], esi
mov edi, dword [edi*4 + 0x4ea7f8]
mov esi, ecx
shr esi, 0x18
mov esi, dword [esi*4 + 0x4ea7f8]
and esi, 0xff
mov esi, dword [esi*4 + 0x4eb3f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4ebbf8]
movzx edi, byte [eax + 0xc]
mov edi, dword [edi*4 + 0x4ea7f8]
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ea7f8]
and edi, 0xff
xor esi, dword [edi*4 + 0x4eb7f8]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4ebff8]
inc edx
mov dword [eax + 0xa], esi
cmp edx, dword [ebx + 0xf0]
jl 0x44b761
pop edi
xor eax, eax
pop esi
ret
Function at 0x44c460
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
mov edi, eax
cmp edi, 3
mov esi, edx
jl 0x44c4f1
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx + edx*2]
sub edi, eax
push ebx
mov edi, edi
movzx eax, byte [esi]
shr eax, 2
movsx eax, byte [eax + 0x4ea330]
mov word [ecx], ax
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
movsx eax, byte [eax + 0x4ea330]
mov word [ecx + 2], ax
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
add ecx, 2
and eax, 0xf
add eax, eax
add eax, eax
shr ebx, 6
or eax, ebx
movsx eax, byte [eax + 0x4ea330]
add ecx, 2
mov word [ecx], ax
movzx eax, byte [esi + 2]
and eax, 0x3f
movsx eax, byte [eax + 0x4ea330]
add ecx, 2
mov word [ecx], ax
add ecx, 2
add esi, 3
sub edx, 1
jne 0x44c480
pop ebx
test edi, edi
jle 0x44c562
movzx edx, byte [esi]
shr edx, 2
movsx ax, byte [edx + 0x4ea330]
mov word [ecx], ax
mov al, byte [esi]
and al, 3
add ecx, 2
shl al, 4
cmp edi, 1
jle 0x44c51d
mov dl, byte [esi + 1]
shr dl, 4
or al, dl
movzx eax, al
movsx dx, byte [eax + 0x4ea330]
mov word [ecx], dx
add ecx, 2
cmp edi, 2
jge 0x44c53a
mov eax, 0x3d
jmp 0x44c549
movzx eax, byte [esi + 1]
and eax, 0xf
movsx eax, byte [eax*4 + 0x4ea330]
mov word [ecx], ax
add ecx, 2
mov edx, 0x3d
mov word [ecx], dx
add ecx, 2
xor eax, eax
pop edi
mov word [ecx], ax
pop esi
ret
xor edx, edx
pop edi
mov word [ecx], dx
pop esi
ret

Function at 0x44c570
Capabilities:
Encode data using base64

Disassembly:
push esi
push edi
mov edi, eax
cmp edi, 3
mov esi, edx
jl 0x44c5f5
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
lea eax, [edx + edx*2]
sub edi, eax
push ebx
lea ebx, [ebx]
movzx eax, byte [esi]
shr eax, 2
movzx eax, byte [eax + 0x4ea330]
mov byte [ecx], al
movzx eax, byte [esi]
movzx ebx, byte [esi + 1]
and eax, 3
shl eax, 4
shr ebx, 4
or eax, ebx
movzx eax, byte [eax + 0x4ea330]
mov byte [ecx + 1], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi + 2]
inc ecx
and eax, 0xf
add eax, eax
add eax, eax
shr ebx, 6
or eax, ebx
movzx eax, byte [eax + 0x4ea330]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
movzx eax, byte [eax + 0x4ea330]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
sub edx, 1
jne 0x44c590
pop ebx
test edi, edi
jle 0x44c655
movzx edx, byte [esi]
shr edx, 2
movzx eax, byte [edx + 0x4ea330]
mov byte [ecx], al
mov al, byte [esi]
and al, 3
inc ecx
shl al, 4
cmp edi, 1
jle 0x44c61d
mov dl, byte [esi + 1]
shr dl, 4
or al, dl
movzx eax, al
mov dl, byte [eax + 0x4ea330]
mov byte [ecx], dl
inc ecx
cmp edi, 2
jge 0x44c63f
mov eax, 0x3d
mov byte [ecx], al
inc ecx
mov byte [ecx], al
inc ecx
pop edi
mov byte [ecx], 0
pop esi
ret
movzx eax, byte [esi + 1]
and eax, 0xf
movsx eax, byte [eax*4 + 0x4ea330]
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
pop edi
mov byte [ecx], 0
pop esi
ret
Function at 0x44c7d0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x5c
push ebx
push esi
mov esi, eax
xor eax, eax
cmp esi, eax
jne 0x44c7e2
mov esi, 0x54b380
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x70]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.0044a760
add esp, 4
lea ebx, [esp + 8]
mov eax, esi
call fcn.0044aa00
mov eax, esi
pop esi
pop ebx
add esp, 0x5c
ret
Function at 0x44de50
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c2f18
mov eax, dword fs:[0]
push eax
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], 0x5219b8
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], 0x4a39a2
mov dword [eax + 0x24], 0x4a3cd1
mov dword [eax + 0x28], fcn.004a38c5
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], 0x52109c
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8

Function at 0x44fa10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4c2f18
mov eax, dword fs:[0]
push eax
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], 0x4a39a2
mov dword [eax + 0x24], 0x4a3cd1
mov dword [eax + 0x28], fcn.004a38c5
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax], 0x521888
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 0xc
Function at 0x457840
Capabilities:
Write file on windows

Disassembly:
push edi
push 4
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004b3653
add esp, 0x10
cmp eax, 4
je 0x45786c
call fcn.004aba59
mov ecx, dword [eax]
push ecx
call fcn.004ab8f8
add esp, 4
xor al, al
ret 8
push ebp
xor ebp, ebp
cmp dword [esp + 0xc], ebp
jle 0x4578e6
push ebx
push esi
mov esi, dword [esp + 0x10]
add esi, 4
mov edi, edi
mov eax, dword [esi - 4]
movsx ecx, word [eax]
mov edx, dword [esi]
movzx ebx, word [edx]
push edi
add ecx, 2
push ecx
push 1
push eax
call fcn.004b3653
mov eax, dword [esi]
movsx edx, bx
push edi
add edx, 2
push edx
push 1
push eax
call fcn.004b3653
push edi
push 2
lea ecx, [esi + 4]
push 1
push ecx
call fcn.004b3653
push edi
push 2
lea edx, [esi + 6]
push 1
push edx
call fcn.004b3653
add esp, 0x40
push edi
push 4
lea eax, [esi + 8]
push 1
push eax
call fcn.004b3653
inc ebp
add esp, 0x10
add esi, 0x10
cmp ebp, dword [esp + 0x14]
jl 0x457880
pop esi
pop ebx
push edi
call fcn.004ac569
add esp, 4
mov al, 1
pop ebp
ret 8

Function at 0x457900
Capabilities:
Write file on windows

Disassembly:
push edi
push 4
lea eax, [esp + 0x10]
push 1
push eax
call fcn.004b3653
add esp, 0x10
cmp eax, 4
je 0x45792c
call fcn.004aba59
mov ecx, dword [eax]
push ecx
call fcn.004ab8f8
add esp, 4
xor al, al
ret 8
push ebp
xor ebp, ebp
cmp dword [esp + 0xc], ebp
jle 0x4579c5
push ebx
push esi
mov esi, dword [esp + 0x10]
add esi, 0x82
jmp 0x457950
movsx edx, word [esi - 0x82]
movzx ebx, word [esi]
lea eax, [esi - 0x82]
push edi
add edx, 2
push edx
push 1
push eax
call fcn.004b3653
movsx eax, bx
push edi
add eax, 2
push eax
push 1
push esi
call fcn.004b3653
push edi
push 2
lea ecx, [esi + 0x84]
push 1
push ecx
call fcn.004b3653
push edi
push 2
lea edx, [esi + 0x86]
push 1
push edx
call fcn.004b3653
add esp, 0x40
push edi
push 4
lea eax, [esi + 0x8a]
push 1
push eax
call fcn.004b3653
inc ebp
add esp, 0x10
add esi, 0x114
cmp ebp, dword [esp + 0x14]
jl 0x457950
pop esi
pop ebx
push edi
call fcn.004ac569
add esp, 4
mov al, 1
pop ebp
ret 8
Function at 0x4579e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x34
push edi
push 4
push esi
call fcn.004b34d9
add esp, 8
cmp eax, 0xffffffff
jne 0x457a0d
call fcn.004aba59
mov eax, dword [eax]
push eax
call fcn.004ab8f8
add esp, 4
xor al, al
pop edi
add esp, 0x34
ret 4
lea ecx, [esp + 8]
push ecx
push esi
call fcn.004b37af
add esp, 8
cmp eax, 0xffffffff
jne 0x457a39
call fcn.004aba59
mov edx, dword [eax]
push edx
call fcn.004ab8f8
add esp, 4
xor al, al
pop edi
add esp, 0x34
ret 4
mov eax, dword [esp + 0x1c]
push eax
call fcn.004aada2
add esp, 4
mov dword [esi + 0x104], eax
test eax, eax
jne 0x457a69
call fcn.004aba59
mov ecx, dword [eax]
push ecx
call fcn.004ab8f8
add esp, 4
xor al, al
pop edi
add esp, 0x34
ret 4
push 0x5227fc
push esi
call fcn.004b25ef
mov edi, eax
add esp, 8
test edi, edi
je 0x457a20
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x104]
push edi
push eax
push 1
push ecx
call fcn.004ac4d5
add esp, 0x10
cmp eax, dword [esp + 0x1c]
je 0x457ab9
call fcn.004aba59
mov edx, dword [eax]
push edx
call fcn.004ab8f8
push edi
call fcn.004ac569
add esp, 8
xor al, al
pop edi
add esp, 0x34
ret 4
push edi
call fcn.004ac569
mov eax, dword [esp + 0x40]
add esp, 4
push eax
mov eax, esi
call fcn.00457c50
pop edi
add esp, 0x34
ret 4

Function at 0x45a440
Capabilities:
Create thread

Disassembly:
mov eax, dword [esi + 0xa60]
test eax, eax
je 0x45a461
mov ecx, dword [esi + 0xa60]
push ecx
call dword [0x4d6098]
mov dword [esi + 0xa60], 0
push 0
push 0
push esi
push 0x453320
push 0
push 0
call fcn.004af9f0
mov dword [esi + 0xa60], eax
add esp, 0x18
mov al, 1
ret
Function at 0x463170
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [esp + 0x18]
cmp word [ebp + 0x10], 1
push edi
mov edi, eax
jne 0x46318a
pop edi
mov al, 1
pop ebp
add esp, 0x10
ret
test ecx, ecx
jne 0x4631a6
call fcn.004aba59
mov eax, dword [eax]
push eax
call fcn.004ab8f8
add esp, 4
pop edi
xor al, al
pop ebp
add esp, 0x10
ret
lea eax, [ecx + 0x20]
test eax, eax
jne 0x4631c5
call fcn.004aba59
mov ecx, dword [eax]
push ecx
call fcn.004ab8f8
add esp, 4
pop edi
xor al, al
pop ebp
add esp, 0x10
ret
push esi
mov esi, dword [ebp]
cmp esi, dword [eax + 0x50]
jb 0x4631e7
call fcn.004aba59
mov edx, dword [eax]
push edx
call fcn.004ab8f8
add esp, 4
pop esi
pop edi
xor al, al
pop ebp
add esp, 0x10
ret
add esi, ecx
push 0
mov edx, esi
call fcn.00462f40
add esp, 4
test al, al
jne 0x463212
call fcn.004aba59
mov eax, dword [eax]
push eax
call fcn.004ab8f8
add esp, 4
pop esi
pop edi
xor al, al
pop ebp
add esp, 0x10
ret
push ebx
mov edx, edi
mov eax, ebp
call fcn.00463140
movzx edx, ax
movzx eax, word [esi]
add esi, 2
and edi, 0x80000007
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
mov ebx, esi
jns 0x46323c
dec edi
or edi, 0xfffffff8
inc edi
cmp byte [esp + 0x2c], 1
movzx ecx, di
mov dword [esp + 0x1c], ecx
jne 0x46328d
movzx ecx, ax
shr ecx, 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x10], ecx
test ecx, ecx
jle 0x46328d
nop
movzx edi, word [ebx]
call fcn.00423030
call fcn.0045dfa0
cmp ax, 0xffff
je 0x4632e6
mov eax, dword [esp + 0x24]
inc eax
add ebx, 2
cmp eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
jl 0x463260
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
movzx eax, ax
shr eax, 1
test eax, eax
jle 0x4632b5
movzx ecx, word [esp + 0x1c]
jmp 0x4632a0
mov di, word [esi]
xor di, dx
rol di, cl
add esi, 2
sub eax, 1
mov word [esi - 2], di
jne 0x4632a0
movzx edx, word [ebp + 8]
mov eax, dword [esp + 0x28]
mov esi, dword [ebp + 0xc]
mov ecx, dword [0x54d874]
mov ecx, dword [ecx]
add edx, eax
add esi, eax
shl esi, cl
shl edx, cl
pop ebx
mov eax, 1
mov word [ebp + 0x10], ax
add edx, esi
xor dword [ebp], edx
pop esi
pop edi
pop ebp
add esp, 0x10
ret
mov edx, dword [0x54d874]
mov ecx, dword [edx]
movzx edx, word [ebp + 8]
mov eax, dword [esp + 0x28]
mov esi, dword [ebp + 0xc]
add edx, eax
add esi, eax
shl esi, cl
shl edx, cl
pop ebx
mov eax, 1
mov word [ebp + 0x10], ax
add edx, esi
xor dword [ebp], edx
pop esi
pop edi
xor al, al
pop ebp
add esp, 0x10
ret
Function at 0x463320
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
cmp word [ebp + 0x10], 0
push esi
mov esi, eax
jne 0x463336
pop esi
mov al, 1
pop ebp
pop ecx
ret
test esi, esi
jne 0x463350
call fcn.004aba59
mov eax, dword [eax]
push eax
call fcn.004ab8f8
add esp, 4
pop esi
xor al, al
pop ebp
pop ecx
ret
lea eax, [esi + 0x20]
test eax, eax
jne 0x46336d
call fcn.004aba59
mov ecx, dword [eax]
push ecx
call fcn.004ab8f8
add esp, 4
pop esi
xor al, al
pop ebp
pop ecx
ret
mov ecx, dword [0x54d874]
mov ecx, dword [ecx]
push ebx
mov ebx, dword [ebp + 0xc]
add ebx, dword [esp + 0x18]
push edi
movzx edi, word [ebp + 8]
add edi, dword [esp + 0x1c]
shl ebx, cl
shl edi, cl
add edi, ebx
xor edi, dword [ebp]
cmp edi, dword [eax + 0x4c]
jb 0x4633ac
call fcn.004aba59
mov edx, dword [eax]
push edx
call fcn.004ab8f8
add esp, 4
pop edi
pop ebx
pop esi
xor al, al
pop ebp
pop ecx
ret
movzx ebx, word [esi + edi]
add esi, edi
add esi, 2
test bx, bx
jle 0x46341f
mov eax, 0x82
cmp bx, ax
jae 0x46341f
mov eax, ebp
call fcn.00463140
and edx, 0x80000007
movzx ecx, ax
mov dword [esp + 0x10], ecx
jns 0x4633df
dec edx
or edx, 0xfffffff8
inc edx
movzx edx, dx
movsx eax, bx
mov dword [esp + 0x18], edx
cdq
sub eax, edx
sar eax, 1
test eax, eax
jle 0x46340e
mov dx, word [esi]
mov cx, word [esp + 0x18]
ror dx, cl
add esi, 2
xor dx, word [esp + 0x10]
sub eax, 1
mov word [esi - 2], dx
jne 0x4633f2
mov dword [ebp], edi
pop edi
pop ebx
xor eax, eax
mov word [ebp + 0x10], ax
pop esi
mov al, 1
pop ebp
pop ecx
ret
call fcn.004aba59
mov ecx, dword [eax]
push ecx
call fcn.004ab8f8
add esp, 4
pop edi
pop ebx
pop esi
xor al, al
pop ebp
pop ecx
ret
Function at 0x463440
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, eax
movzx eax, word [esi + 0x10]
push edi
mov edi, ecx
cmp ax, 1
jne 0x463472
mov eax, dword [0x54d874]
mov ecx, dword [eax]
movzx eax, word [esi + 8]
mov ebx, dword [esi + 0xc]
add eax, edx
add ebx, edx
shl eax, cl
shl ebx, cl
add eax, ebx
xor eax, dword [esi]
jmp 0x46347d
test ax, ax
jne 0x463545
mov eax, dword [esi]
lea ecx, [edi + 0x20]
test ecx, ecx
jne 0x46349b
call fcn.004aba59
mov ecx, dword [eax]
push ecx
call fcn.004ab8f8
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
cmp eax, dword [ecx + 0x4c]
jb 0x4634b7
call fcn.004aba59
mov edx, dword [eax]
push edx
call fcn.004ab8f8
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
movzx ecx, word [eax + edi]
add eax, edi
test cx, cx
jle 0x463535
mov edx, 0x82
cmp cx, dx
jae 0x463535
mov edx, dword [esp + 0x14]
movsx edi, cx
lea ecx, [edi + 2]
push ecx
push eax
push edx
call fcn.004ad8e0
add esp, 0xc
cmp word [esi + 0x10], 0
je 0x46352e
mov edx, ebp
mov eax, esi
call fcn.00463140
mov esi, dword [esp + 0x14]
add esi, 2
and ebp, 0x80000007
movzx ebx, ax
jns 0x463508
dec ebp
or ebp, 0xfffffff8
inc ebp
mov eax, edi
cdq
sub eax, edx
sar eax, 1
movzx ebp, bp
test eax, eax
jle 0x46352e
mov dx, word [esi]
mov cx, bp
ror dx, cl
add esi, 2
xor dx, bx
sub eax, 1
mov word [esi - 2], dx
jne 0x463516
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
ret
call fcn.004aba59
mov eax, dword [eax]
push eax
call fcn.004ab8f8
add esp, 4
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret
Function at 0x4697d0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esi + 0xe40]
push edi
test eax, eax
jne 0x4697e3
cmp dword [esi + 0xe38], eax
je 0x4697f5
mov edi, 1
cmp eax, edi
jne 0x4697fa
cmp dword [esi + 0xe44], 0
jne 0x4697fa
or eax, 0xffffffff
pop edi
ret
mov dword [esi + 0x604], 0
mov eax, dword [esi + 0xe40]
test eax, eax
jne 0x469836
mov eax, dword [esi + 0xe38]
mov ecx, dword [esi + 0x604]
push eax
push edi
lea edx, [esi + ecx*2 + 0x204]
push 2
push edx
call fcn.004ac4d5
add esp, 0x10
cmp eax, edi
je 0x469867
mov eax, edi
pop edi
ret
cmp eax, edi
jne 0x469867
cmp dword [esi + 0xe48], edi
jle 0x469832
mov eax, dword [esi + 0xe44]
mov dx, word [eax]
mov ecx, dword [esi + 0x604]
mov word [esi + ecx*2 + 0x204], dx
add dword [esi + 0xe44], 2
add dword [esi + 0xe48], 0xfffffffe
mov ecx, dword [esi + 0x604]
test ecx, ecx
jne 0x46988f
movzx eax, word [esi + 0x204]
cmp ax, 0xa
je 0x469884
cmp ax, 0xd
jne 0x46988f
add dword [esi + 0xe3c], edi
jmp 0x469804
lea eax, [ecx + 1]
cmp eax, 0x200
mov dword [esi + 0x604], eax
jge 0x4697f5
movzx ecx, word [esi + eax*2 + 0x202]
cmp cx, 0xa
je 0x4698bb
cmp cx, 0xd
jne 0x469804
xor ecx, ecx
mov word [esi + eax*2 + 0x202], cx
add dword [esi + 0xe3c], edi
xor eax, eax
pop edi
ret

Function at 0x4699c0
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, eax
push 0
push ebx
mov dword [esi + 0xe40], 0
call fcn.004b34d9
add esp, 8
test eax, eax
je 0x4699e1
or eax, 0xffffffff
pop esi
ret
push edi
push 0x5227fc
lea edi, [esi + 0xe38]
push ebx
push edi
call fcn.004b2606
mov edi, dword [edi]
add esp, 0xc
test edi, edi
jne 0x469a03
lea eax, [edi - 2]
pop edi
pop esi
ret
mov eax, dword [esi + 0x604]
push edi
push 1
lea ecx, [esi + eax*2 + 0x204]
add al, byte [eax]
add byte [edx + 2], ch

Function at 0x469a60
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [esi + 0xe40]
test eax, eax
jne 0x469a73
cmp dword [esi + 0xe38], eax
je 0x469a81
cmp eax, 1
jne 0x469a86
cmp dword [esi + 0xe44], 0
jne 0x469a86
or eax, 0xffffffff
pop ecx
ret
push edi
test eax, eax
jne 0x469b0d
mov eax, dword [esi + 0xe38]
push ebx
push eax
call fcn.004b41fc
mov ecx, dword [esi + 0xe38]
add byte [eax], al
cmp eax, 1
jne 0x469b53
mov eax, dword [esi + 0xe48]
mov ecx, dword [esi + 0xe44]
xor edi, edi
cmp eax, 1
jle 0x469b48
lea edx, [eax - 2]
shr edx, 1
inc edx
jmp 0x469b30
movzx eax, word [ecx]
cmp ax, 0xa
je 0x469b3f
cmp ax, 0xd
jne 0x469b40
inc edi
add ecx, 2
sub edx, 1
jne 0x469b30
mov eax, dword [esi + 0xe3c]
add eax, edi
pop edi
pop ecx
ret
or eax, 0xffffffff
pop edi
pop ecx
ret
Function at 0x46bed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4c6260
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53856c]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
lea eax, [esi + 0xc]
cmp byte [esi + 0x11c], bl
jne 0x46bf09
mov eax, dword [esi + 8]
add eax, 4
push eax
call dword [0x4d6194]
cmp eax, 0xffffffff
je 0x46bf61
shr eax, 4
not al
and al, 1
je 0x46bf61
mov dword [esp + 0x20], 0x5296a0
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
push ebx
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 0x4c]
push eax
mov ecx, esi
call fcn.0048daa0
test al, al
jne 0x46bf68
mov eax, dword [esp + 0x24]
test eax, eax
je 0x46bf61
push eax
call fcn.004aacc5
add esp, 4
xor al, al
jmp 0x46bff2
mov esi, dword [esp + 0x28]
lea ebp, [esi + 0x400000]
cmp ebp, 0x403938
jge 0x46bf7f
mov ebp, 0x403938
mov ecx, dword [esp + 0x40]
push ebp
call fcn.00409710
mov edi, eax
test edi, edi
je 0x46bfb1
push esi
push edi
mov ecx, ebx
push ecx
lea ecx, [esp + 0x2c]
call fcn.0048df50
cmp esi, 0x3938
jge 0x46bfbe
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov dword [edx], edi
mov dword [eax], ebp
lea ecx, [esp + 0x20]
call fcn.0048da60
xor al, al
jmp 0x46bff2
mov bl, 1
mov byte [esp + 0x38], bl
mov dword [esp + 0x1c], esi
lea esi, [esp + 0x18]
mov dword [esp + 0x18], edi
call fcn.0046d3f0
test al, al
jne 0x46bfdb
xor bl, bl
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [ecx], edi
lea ecx, [esp + 0x20]
mov dword [edx], ebp
call fcn.0048da60
mov al, bl
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret 0x10
Function at 0x47fe10
Capabilities:
Write file on windows

Disassembly:
push ecx
push 0x523a70
push eax
lea ecx, [esp + 8]
push ecx
call fcn.004ac1e2
add esp, 0xc
test eax, eax
je 0x47fe3b
push 0x528c20
call fcn.004b3b83
add esp, 4
xor al, al
pop ecx
ret 8
mov ecx, dword [esp]
mov edx, dword [edi + 0x110]
push ecx
lea eax, [edi + 0x110]
push 1
not edx
push 4
push eax
mov dword [eax], edx
call fcn.004b3653
add esp, 0x10
cmp eax, 1
je 0x47fe7e
push str._d._d._d._d
call fcn.004b3b83
mov edx, dword [esp + 4]
push edx
call fcn.004ac569
add esp, 8
xor al, al
pop ecx
ret 8
mov eax, dword [esp]
push esi
push eax
push 1
lea esi, [edi + 0x10c]
push 4
push esi
call fcn.004b3653
add esp, 0x10
cmp eax, 1
je 0x47feb9
push 0x528c5c
call fcn.004b3b83
mov ecx, dword [esp + 8]
push ecx
call fcn.004ac569
add esp, 8
xor al, al
pop esi
pop ecx
ret 8
mov edx, dword [esp + 4]
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push edx
push 1
push eax
push ecx
call fcn.004b3653
add esp, 0x10
cmp eax, 1
jne 0x47fef1
mov eax, dword [esp + 4]
mov ecx, dword [edi + 0x104]
push eax
push 1
push ecx
push ebx
call fcn.004b3653
add esp, 0x10
cmp eax, 1
je 0x47ff0f
push 0x528c78
call fcn.004b3b83
mov edx, dword [esp + 8]
push edx
call fcn.004ac569
add esp, 8
xor al, al
pop esi
pop ecx
ret 8
mov eax, dword [esp + 4]
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0xc]
push eax
push ecx
push 1
push edx
call fcn.004b3653
add esp, 0x10
cmp eax, dword [ebx + 8]
je 0x47ff4a
push 0x528c90
call fcn.004b3b83
mov eax, dword [esp + 8]
push eax
call fcn.004ac569
add esp, 8
xor al, al
pop esi
pop ecx
ret 8
mov ecx, dword [esp + 4]
push ecx
call fcn.004ac569
add esp, 4
mov al, 1
pop esi
pop ecx
ret 8