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

Disassembly:
push 0xffffffffffffffff
push 0x4b3ec6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
lea ebp, [esi + 4]
mov ecx, ebp
call fcn.00515c44
mov al, byte [esp + 0x2c]
mov cl, byte [esp + 0x2c]
xor ebx, ebx
push 0x18
mov dword [esp + 0x28], ebx
mov byte [esi + 8], al
mov byte [esi + 9], cl
mov byte [esi + 0x10], bl
call fcn.00515c92
mov edi, eax
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [edi + 4], ebx
mov dword [edi + 0x14], 1
call dword [fcn.004b7dbc]
cmp dword [0x56f0fc], ebx
jne 0x52d106
mov dword [0x56f0fc], edi
mov dword [edi], ebx
mov edx, dword [0x56f0fc]
mov dword [esp + 0x10], ebx
mov dword [edx + 8], ebx
mov edx, dword [0x56f0f8]
lea ecx, [esp + 0x14]
inc edx
mov dword [0x56f0f8], edx
call dword [fcn.004b7eec]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x52d12e
push eax
call fcn.00515c1a
add esp, 4
mov edi, dword [0x56f0fc]
push 0x18
call fcn.00515c92
mov dword [eax + 4], edi
mov dword [eax + 0x14], ebx
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [eax], eax
mov eax, dword [esi + 0xc]
add esp, 4
mov dword [eax + 8], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push ecx
mov ecx, ebp
mov byte [esp + 0x28], 1
mov dword [esi], eax
call fcn.00515cb0
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x533892
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
xor ebp, ebp
push esi
cmp ebx, 1
push edi
jl 0x5338ad
cmp ebx, 8
jg 0x5338ad
mov eax, 1
jmp 0x5338af
xor eax, eax
mov esi, dword [esp + 0x14]
push 0x527a60
push eax
push esi
call fcn.00532112
mov eax, dword [esi + 0x6af70]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af78], ebp
jne 0x5338e6
mov dword [esi + 0x6af78], 1
mov dword [esi + 0x6af70], 0x10000
mov ecx, 0x7fff
xor eax, eax
lea edi, [esi + 0x4af70]
mov dword [esi + 0x6af6c], ebp
rep stosd dword es:[edi], eax
mov ax, word [ebx*8 + 0x503f42]
xor ecx, ecx
mov dword [esi + 0x6af98], eax
mov cx, word [ebx*8 + 0x503f40]
xor edx, edx
mov dword [esi + 0x6af9c], ecx
mov dx, word [ebx*8 + 0x503f44]
xor eax, eax
mov dword [esi + 0x6afa0], edx
mov ax, word [ebx*8 + 0x503f46]
cmp ebx, 2
mov dword [esi + 0x6af94], eax
jg 0x533947
mov eax, dword [esp + 0x1c]
or byte [eax], 4
jmp 0x533953
cmp ebx, 8
jl 0x533953
mov eax, dword [esp + 0x1c]
or byte [eax], 2
lea edi, [esi + 0x1af70]
push 0x10000
push edi
push esi
mov dword [esi + 0x6af84], ebp
mov dword [esi + 0x6af74], ebp
call dword [esi + 0xc]
add esp, 0xc
cmp eax, ebp
mov dword [esi + 0x6af90], eax
je 0x5339cc
cmp eax, 0xffffffff
je 0x5339cc
cmp eax, 0x106
mov dword [esi + 0x6af8c], ebp
jae 0x533997
push esi
call fcn.00533be2
add esp, 4
mov dword [esi + 0x6af7c], ebp
xor eax, eax
mov edx, dword [esi + 0x6af7c]
xor ecx, ecx
mov cl, byte [edi + eax]
and edx, 0x3ff
and ecx, 0x7fff
shl edx, 5
xor ecx, edx
inc eax
cmp eax, 2
mov dword [esi + 0x6af7c], ecx
jb 0x53399f
pop edi
pop esi
pop ebp
pop ebx
ret
mov dword [esi + 0x6af8c], 1
mov dword [esi + 0x6af90], ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x533d32
Capabilities:
Encode data using xor

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
xor ebp, ebp
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x533f76
push ebx
cmp eax, 3
jb 0x533dad
mov ecx, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
xor eax, eax
and edx, 0x3ff
mov al, byte [ecx + esi + 0x1af72]
and eax, 0x7fff
shl edx, 5
xor eax, edx
and ecx, 0x7fff
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
test ebp, ebp
je 0x533def
mov edx, dword [esi + 0x6af84]
sub edx, ebp
cmp edx, 0x7efa
ja 0x533def
mov eax, dword [esi + 0x6af90]
mov ecx, dword [esi + 0x6afa0]
cmp ecx, eax
jbe 0x533dd7
mov dword [esi + 0x6afa0], eax
push ebp
push esi
call fcn.005339e2
mov edi, eax
mov eax, dword [esi + 0x6af90]
add esp, 8
cmp edi, eax
jbe 0x533def
mov edi, eax
cmp edi, 3
jb 0x533ee8
mov ecx, dword [esi + 0x6af84]
mov ebx, dword [esi + 0x6af88]
lea eax, [edi - 3]
sub ecx, ebx
push eax
push ecx
push esi
call fcn.005330e2
mov edx, dword [esi + 0x6af90]
mov ecx, dword [esi + 0x6af98]
add esp, 0xc
sub edx, edi
mov ebx, eax
cmp edi, ecx
mov dword [esi + 0x6af90], edx
mov eax, edx
ja 0x533e96
cmp eax, 3
jb 0x533e96
dec edi
mov ebp, dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af7c]
inc ebp
xor eax, eax
mov ecx, ebp
mov dword [esi + 0x6af84], ebp
and edx, 0x3ff
mov al, byte [esi + ecx + 0x1af72]
and ecx, 0x7fff
and eax, 0x7fff
shl edx, 5
xor eax, edx
dec edi
mov dword [esi + 0x6af7c], eax
mov ebp, dword [esi + eax*4 + 0x4af70]
mov dword [esi + ecx*4 + 0x2af70], ebp
mov eax, dword [esi + 0x6af7c]
mov ecx, dword [esi + 0x6af84]
mov dword [esi + eax*4 + 0x4af70], ecx
jne 0x533e36
jmp 0x533f12
mov edx, dword [esi + 0x6af84]
xor eax, eax
add edx, edi
push 0x527abc
mov dword [esi + 0x6af84], edx
push 1
mov al, byte [edx + esi + 0x1af70]
lea ecx, [edx + esi]
xor edx, edx
mov dword [esi + 0x6af7c], eax
mov dl, byte [ecx + 0x1af71]
and eax, 0x3ff
and edx, 0x7fff
push esi
shl eax, 5
xor edx, eax
xor edi, edi
mov dword [esi + 0x6af7c], edx
call fcn.00532112
add esp, 0xc
jmp 0x533f18
mov eax, dword [esi + 0x6af84]
xor ecx, ecx
mov cl, byte [eax + esi + 0x1af70]
push ecx
push 0
push esi
call fcn.005330e2
mov ecx, dword [esi + 0x6af90]
add esp, 0xc
dec ecx
mov ebx, eax
mov dword [esi + 0x6af90], ecx
inc dword [esi + 0x6af84]
test ebx, ebx
je 0x533f52
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x533f2f
lea ecx, [eax + esi + 0x1af70]
jmp 0x533f31
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00532ea2
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x533f67
push esi
call fcn.00533be2
add esp, 4
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x533d56
pop ebx
mov eax, dword [esi + 0x6af74]
test eax, eax
jl 0x533f89
lea ecx, [eax + esi + 0x1af70]
jmp 0x533f8b
xor ecx, ecx
mov edx, dword [esi + 0x6af84]
push 1
sub edx, eax
push edx
push ecx
push esi
call fcn.00532ea2
add esp, 0x10
pop edi
pop esi
pop ebp
ret
Function at 0x534c62
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x534c6d
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x534d70
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x503f90]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x503f90]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x503f90]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x503f90]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x503f90]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x503f90]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x503f90]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x503f90]
xor eax, edx
inc ecx
dec edi
jne 0x534c88
pop edi
test esi, esi
je 0x534d92
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x503f90]
xor eax, edx
inc ecx
dec esi
jne 0x534d74
pop esi
pop ebx
not eax
ret

Function at 0x534da2
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x503f90]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x503f90]
xor eax, edx
mov dword [ecx + 8], eax
ret
Function at 0x538352
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x53835d
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x538460
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x503f90]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x503f90]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x503f90]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x503f90]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x503f90]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x503f90]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x503f90]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x503f90]
xor eax, edx
inc ecx
dec edi
jne 0x538378
pop edi
test esi, esi
je 0x538482
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x503f90]
xor eax, edx
inc ecx
dec esi
jne 0x538464
pop esi
pop ebx
not eax
ret

Function at 0x538492
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov edx, dword [ecx]
and esi, 0xff
mov eax, edx
and eax, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x503f90]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [ecx], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 8]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 4], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x503f90]
xor eax, edx
mov dword [ecx + 8], eax
ret
Function at 0x539bc2
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
cmp edi, ebx
jne 0x539bde
pop edi
pop esi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x18], ebx
jne 0x539bef
pop edi
pop esi
mov eax, 0xffffff9a
pop ebx
add esp, 8
ret
cmp dword [edi + 0x7c], ebx
je 0x539bfd
push edi
call fcn.00539fe2
add esp, 4
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
push edi
call fcn.005399c2
add esp, 0x10
test eax, eax
je 0x539c25
pop edi
pop esi
mov eax, 0xffffff99
pop ebx
add esp, 8
ret
push 0x84
call fcn.00515c92
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x539c44
pop edi
pop esi
mov eax, 0xffffff98
pop ebx
add esp, 8
ret
push 0x4000
call fcn.00515c92
mov dword [esi], eax
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x44], ecx
mov edx, dword [esp + 0x10]
add esp, 4
cmp eax, ebx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
jne 0x539c7d
push esi
call fcn.00515c1a
add esp, 4
mov eax, 0xffffff98
pop edi
pop esi
pop ebx
add esp, 8
ret
mov dword [esi + 0x40], ebx
mov edx, dword [edi + 0x34]
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp edx, ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
sete al
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
cmp eax, ebx
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
jne 0x539ccb
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
push eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00538742
add esp, 4
test eax, eax
jne 0x539ccb
mov dword [esi + 0x40], 1
mov ecx, dword [edi + 0x40]
mov dword [esi + 0x58], ecx
mov edx, dword [edi + 0x44]
mov dword [esi + 0x5c], edx
mov al, byte [edi + 0x30]
and al, 1
mov byte [esi + 0x6c], al
mov ecx, dword [edi + 0x30]
shr ecx, 3
test cl, 1
je 0x539cf8
mov edx, dword [edi + 0x38]
shr edx, 8
mov byte [esi + 0x80], dl
jmp 0x539d04
mov eax, dword [edi + 0x3c]
shr eax, 0x18
mov byte [esi + 0x80], al
mov cl, byte [esi + 0x6c]
push ebp
mov ebp, dword [esp + 0x20]
lea ebx, [esi + 0x70]
neg cl
sbb ecx, ecx
mov dword [ebx], 0x12345678
and ecx, 0xc
mov dword [esi + 0x74], 0x23456789
test ebp, ebp
mov dword [esi + 0x7c], ecx
mov dword [esi + 0x78], 0x34567890
je 0x539d45
mov al, byte [ebp]
test al, al
je 0x539d45
push eax
push ebx
call fcn.00538492
add esp, 8
inc ebp
jne 0x539d31
mov edx, dword [edi + 0x78]
mov eax, dword [esp + 0x14]
mov dword [esi + 8], 0
pop ebp
lea ecx, [edx + eax + 0x1e]
xor eax, eax
mov dword [esi + 0x3c], ecx
mov dword [edi + 0x7c], esi
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x53c0f2
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4b47bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.00515c44
mov ebp, dword [esp + 0x2c]
mov ebx, dword [fcn.004b72dc]
push 0
push 0
push 0xffffffffffffffff
push ebp
push 0
push 0x3b6
mov dword [esp + 0x38], 1
call ebx
mov edi, eax
lea eax, [edi + edi + 2]
push eax
call fcn.00515c92
add esp, 4
mov esi, eax
push edi
push esi
push 0xffffffffffffffff
push ebp
push 0
push 0x3b6
call ebx
mov ebx, dword [0x4b72d4]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push esi
push 0
push 0x3a8
call ebx
mov ebp, eax
lea ecx, [ebp + 1]
push ecx
call fcn.00515c92
add esp, 4
mov edi, eax
push 0
push 0
push ebp
push edi
push 0xffffffffffffffff
push esi
push 0
push 0x3a8
call ebx
push edi
lea ecx, [esp + 0x14]
call fcn.00515d10
push esi
call fcn.00515c1a
push edi
call fcn.00515c1a
mov esi, dword [esp + 0x30]
add esp, 8
lea edx, [esp + 0x10]
mov ecx, esi
push edx
call fcn.00515c2c
mov dword [esp + 0x14], 1
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call fcn.00515c26
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x53ce72
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b4951
push eax
mov eax, 0x1090
mov dword fs:[0], esp
call fcn.00516a12
push ebx
push esi
xor esi, esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], esi
call fcn.00515c44
mov eax, dword [esp + 0x10b0]
lea ecx, [esp + 0xc]
push eax
mov ebx, 1
push 0x5231cc
push ecx
mov dword [esp + 0x10b0], ebx
call fcn.00515c3e
add esp, 0xc
push 0x80000002
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x52e640
call fcn.00515dfa
push ecx
lea edx, [esp + 0x1c]
mov edi, esp
mov dword [esp + 0x2c], esp
push ecx
mov byte [esp + 0x10b8], 2
mov ecx, esp
mov dword [esp + 0x30], esp
push edx
call fcn.00515c2c
push edi
call fcn.0053cad2
add esp, 8
lea ecx, [esp + 0x34]
mov byte [esp + 0x10b4], bl
call fcn.005170f2
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
mov byte [esp + 0x10a8], 3
call fcn.00517462
lea ecx, [esp + 0x14]
mov byte [esp + 0x10a4], 4
push ecx
lea ecx, [esp + 0x14]
call fcn.00515c2c
lea ecx, [esp + 0x14]
mov byte [esp + 0x10a4], 6
call fcn.00515c26
mov edx, dword [esp + 0x10]
push 0x52e640
push edx
call dword [fcn.004b8060]
add esp, 8
test eax, eax
jne 0x53cf86
mov esi, dword [esp + 0x10ac]
push 0x52e640
mov ecx, esi
call fcn.00515dfa
mov dword [esp + 0x18], ebx
jmp 0x53cfd8
mov eax, dword [0x56f394]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
lea ecx, [esp + 0x1c]
mov eax, dword [eax - 8]
push ecx
push eax
push esi
mov ecx, 0x56f394
call fcn.00515c98
push eax
lea ecx, [esp + 0x50]
call fcn.00524962
push esi
push ecx
lea edx, [esp + 0x18]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
call fcn.00515c2c
mov esi, dword [esp + 0x10b4]
lea ecx, [esp + 0x4c]
push esi
call fcn.00525c82
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x10]
mov byte [esp + 0x10a4], 3
call fcn.00515c26
lea ecx, [esp + 0x24]
mov byte [esp + 0x10a4], bl
call fcn.00517272
lea ecx, [esp + 0xc]
mov byte [esp + 0x10a4], 0
call fcn.00515c26
mov ecx, dword [esp + 0x109c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x109c
ret
Function at 0x545082
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b519b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x505f30
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x545112
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x5450d9
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [fcn.004b7070]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x545103
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00516022
jmp 0x545118
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.00516022
jmp 0x545118
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4b8bd4
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.00515f6e
mov ecx, esi
mov dword [edi], 0x4b86c8
mov dword [esp + 0x1c], 0xffffffff
call fcn.00516004
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x546be2
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5321
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov al, byte [esp + 0x30]
push ebx
push ebp
push esi
mov dword [esp + 0xc], ecx
xor ebx, ebx
push edi
push ebx
lea ecx, [esp + 0x18]
mov byte [esp + 0x18], al
call dword [fcn.004b7ef4]
mov edi, 0x52e640
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x3c], ebx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call dword [fcn.004b7eb4]
test al, al
je 0x546c61
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov edx, ecx
mov esi, 0x52e640
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 dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov esi, dword [esp + 0x40]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 1
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
mov dword [esp + 0x40], 1
call dword [fcn.004b7eb4]
test al, al
je 0x546cb7
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 + 0x10]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], ebx
mov edi, dword [ecx + 0xbc]
lea esi, [ecx + 0xb8]
mov ecx, esi
mov edx, dword [edi + 4]
push edx
push edi
call fcn.00548ab2
mov dword [edi + 4], eax
mov ecx, dword [eax + 4]
lea edx, [esp + 0x14]
mov dword [ecx], eax
add eax, 8
push edx
push eax
call fcn.00548ae2
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
add esp, 8
inc edx
mov dword [esi + 8], edx
mov esi, dword [eax + 0xc0]
dec esi
cmp ecx, ebx
je 0x546d2e
mov al, byte [ecx - 1]
cmp al, bl
je 0x546d24
cmp al, 0xff
je 0x546d24
dec al
mov byte [ecx - 1], al
jmp 0x546d2e
dec ecx
push ecx
call fcn.00515c1a
add esp, 4
mov ecx, dword [esp + 0x30]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x5548c2
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4b5bb1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov al, byte [esp + 0x3c]
push ebx
xor ebx, ebx
push esi
mov esi, ecx
mov byte [esp + 0x10], al
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [esp + 0x44]
push ebx
mov dword [esp + 0x40], ebx
mov byte [esp + 0x28], al
mov edx, dword [ecx]
lea ecx, [esp + 0x28]
mov dword [esp + 0x24], edx
call dword [fcn.004b7ef4]
mov eax, dword [0x4b7eb8]
lea edx, [esp + 0x10]
mov ecx, dword [eax]
push ecx
push ebx
push edx
lea ecx, [esp + 0x30]
call dword [fcn.004b7ebc]
lea eax, [esp + 0x20]
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x44], 1
call fcn.00555742
mov esi, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x28]
cmp eax, ebx
mov dword [esp + 0xc], edx
je 0x55496d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x554964
cmp al, 0xff
je 0x554964
dec al
mov byte [ecx], al
jmp 0x55496d
push ecx
call fcn.00515c1a
add esp, 4
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], ebx
cmp eax, ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
je 0x55499e
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x554995
cmp al, 0xff
je 0x554995
dec al
mov byte [ecx], al
jmp 0x55499e
push ecx
call fcn.00515c1a
add esp, 4
mov ecx, dword [esp + 0x34]
lea eax, [esi + 0x10]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4