joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fa75
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x40fa80
xor eax, eax
ret
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [esp + 0x14]
not eax
mov ecx, 0xff
cmp edi, 8
jb 0x40fb3b
mov esi, edi
shr esi, 3
push ebx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4404c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4404c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4404c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4404c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4404c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4404c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4404c8]
inc edx
movzx ebx, byte [edx]
xor ebx, eax
and ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x4404c8]
inc edx
sub edi, 8
dec esi
jne 0x40faa0
pop ebx
test edi, edi
je 0x40fb54
movzx esi, byte [edx]
xor esi, eax
and esi, ecx
shr eax, 8
xor eax, dword [esi*4 + 0x4404c8]
inc edx
dec edi
jne 0x40fb3f
pop edi
not eax
pop esi
ret

Function at 0x40ff96
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
imul edi, dword [ebp + 0x10]
cmp byte [esi], 0
je 0x40ffca
push 0
lea eax, [ebp + 0x10]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40ffc5
mov byte [esi + 8], 1
mov eax, dword [ebp + 0x10]
jmp 0x40fff2
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
lea edx, [ecx + edi]
cmp edx, eax
jbe 0x40ffdb
sub eax, ecx
mov edi, eax
mov eax, dword [esi + 0x10]
push edi
add eax, ecx
push eax
push dword [ebp + 8]
call fcn.0042d140
add esp, 0xc
add dword [esi + 0x18], edi
mov eax, edi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebp
ret

Function at 0x410d6a
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x410dfe
mov al, byte [esi]
test al, al
je 0x410dfe
push edi
mov edi, esi
mov ecx, esi
cmp al, 0x2f
je 0x410d9c
cmp al, 0x5c
jne 0x410d9e
mov edi, ecx
inc ecx
mov al, byte [ecx]
test al, al
jne 0x410d94
cmp edi, esi
je 0x410dd1
sub edi, esi
push edi
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0042cf20
lea eax, [ebp - 0x108]
push eax
push ebx
mov byte [ebp + edi - 0x108], 0
call fcn.00410d6a
add esp, 0x14
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042bfd0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.0042bfe0
add esp, 0x10
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042a2b0
leave
ret
Function at 0x412282
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x4122fd
cmp dword [esi + 4], 0xffffffff
jne 0x4122fd
push edi
lea edi, [esi + 0x138]
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x440ac4
push edi
call fcn.0042bfe0
cmp dword [ebp + 0x10], 1
pop ecx
pop ecx
pop edi
jne 0x4122cf
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileType]
cmp eax, 1
je 0x4122cf
mov eax, 0x2000000
jmp 0x412302
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040fdac
add esp, 0x10
test eax, eax
jne 0x4122ed
mov eax, dword [ebp + 0x10]
jmp 0x412302
push eax
call fcn.00411e7e
mov dword [esi], eax
mov eax, dword [0x44c1f4]
pop ecx
jmp 0x412302
mov eax, 0x1000000
pop esi
pop ebp
ret 0xc
Function at 0x425fa7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
push edi
mov edi, eax
and edi, 7
je 0x425fcc
cmp eax, edi
jge 0x425fc4
mov eax, esi
call fcn.0042595b
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
xor ecx, ecx
cmp dword [esi + 8], ecx
jle 0x425fee
mov al, byte [esi + 0xc]
shr dword [esi + 0xc], 8
add dword [esi + 8], 0xfffffff8
mov byte [ebp + ecx - 4], al
inc ecx
cmp dword [esi + 8], 0
jg 0x425fd3
cmp ecx, 4
jge 0x42600d
mov edi, dword [esi + 4]
mov eax, dword [esi]
cmp eax, edi
jb 0x425ffb
xor eax, eax
jmp 0x426003
mov dl, byte [eax]
inc eax
mov dword [esi], eax
movzx eax, dl
mov byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 4
jl 0x425ff1
movzx edi, byte [ebp - 3]
movzx eax, byte [ebp - 4]
movzx ecx, byte [ebp - 2]
shl edi, 8
add edi, eax
movzx eax, byte [ebp - 1]
shl eax, 8
add eax, ecx
mov ecx, edi
xor ecx, 0xffff
cmp eax, ecx
je 0x42603f
mov eax, str.zlib_corrupt
call fcn.00423578
jmp 0x42607a
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x42604f
mov eax, str.read_past_buffer
jmp 0x426038
mov eax, dword [esi + 0x10]
add eax, edi
cmp eax, dword [esi + 0x18]
jbe 0x426064
mov ecx, edi
call fcn.00425986
test eax, eax
je 0x42607a
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.0042d140
add dword [esi], edi
add dword [esi + 0x10], edi
xor eax, eax
add esp, 0xc
inc eax
pop edi
pop esi
leave
ret

Function at 0x42a2b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44acac]
jne 0x42a2ba
repz ret
jmp fcn.0042f42c
Function at 0x4389ad
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00432369
and dword [ebp - 4], 0
cmp dword [0x44cd10], 0
mov ebx, eax
jne 0x438a5e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x438b0f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x438b0f
push eax
call fcn.004322f7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44cd10], eax
call esi
push eax
call fcn.004322f7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x44cd14], eax
call esi
push eax
call fcn.004322f7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44cd18], eax
call esi
push eax
call fcn.004322f7
pop ecx
mov dword [0x44cd20], eax
test eax, eax
je 0x438a5e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004322f7
pop ecx
mov dword [0x44cd1c], eax
mov eax, dword [0x44cd1c]
cmp eax, ebx
je 0x438ab6
cmp dword [0x44cd20], ebx
je 0x438ab6
push eax
call fcn.00432372
push dword [0x44cd20]
mov esi, eax
call fcn.00432372
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x438ab6
test edi, edi
je 0x438ab6
call esi
test eax, eax
je 0x438aad
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x438aad
test byte [ebp - 0xc], 1
jne 0x438ab6
or dword [ebp + 0x10], 0x200000
jmp 0x438aef
mov eax, dword [0x44cd14]
cmp eax, ebx
je 0x438aef
push eax
call fcn.00432372
pop ecx
test eax, eax
je 0x438aef
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x438aef
mov eax, dword [0x44cd18]
cmp eax, ebx
je 0x438aef
push eax
call fcn.00432372
pop ecx
test eax, eax
je 0x438aef
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44cd10]
call fcn.00432372
pop ecx
test eax, eax
je 0x438b0f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x438b11
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001b00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.ucrtbase.dll_strlen]
add esp, 4
test eax, eax
je 0x10001b4d
mov esi, eax
xor eax, eax
cmp byte [edi + esi - 1], 0xa
je 0x10001b2a
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov ecx, 0x1000d0ec
lock xchg dword [ecx], eax
push 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
add esp, 4
push eax
push esi
push 1
push edi
call dword [sym.imp.ucrtbase.dll_fwrite]
add esp, 0x10
jmp 0x10001b4f
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x100022f0
Capabilities:
Extract resource via kernel32 functions
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov edi, dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp + 0x10]
push edi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov esi, eax
push eax
push edi
call dword [sym.imp.kernel32.dll_LoadResource]
mov ebx, eax
push esi
push edi
call dword [sym.imp.kernel32.dll_SizeofResource]
mov esi, eax
xor eax, eax
test ebx, ebx
je 0x10002478
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 0x14]
cmp dword [ebx], 0
jne 0x100023a5
mov eax, dword [0x1000d0f8]
test eax, eax
je 0x10002442
push ebx
call eax
mov dword [ebx + 8], eax
test eax, eax
js 0x10002397
lea ebx, [ebp - 0x220]
push 0x104
push ebx
push edi
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
push ebx
push str.MODULE
push eax
call dword [ecx + 0xc]
push 0x104
push ebx
push str.SystemRoot
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
mov ecx, dword [eax]
push ebx
mov ebx, dword [ebp + 0x14]
push str.SystemRoot
push eax
call dword [ecx + 0xc]
cmp dword [ebx], 0
mov eax, 0
je 0x10002478
push 0
push 0
push esi
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x18]
push esi
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov edi, eax
mov eax, dword fs:[0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [eax + 0x30]
lea ecx, [edi*2 + 2]
push ecx
push 0
push dword [eax + 0x18]
call dword [sym.imp.kernel32.dll_HeapAlloc]
test eax, eax
je 0x10002436
mov ebx, eax
mov eax, edi
inc eax
push eax
push ebx
push dword [ebp - 0x10]
push esi
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
mov word [ebx + edi*2], 0
xor eax, eax
mov esi, dword [ebp + 0x14]
cmp dword [esi + 4], 0
sete al
mov ecx, dword [esi]
mov edx, dword [ecx]
push ebx
push ecx
call dword [edx + eax*4 + 0x24]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x30]
push ebx
push 0
push dword [eax + 0x18]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [esi + 8]
not eax
shr eax, 0x1f
jmp 0x10002478
mov eax, dword [ebp + 0x14]
mov dword [eax + 8], 0x8007000e
jmp 0x10002476
push str.atl100.dll
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov dword [0x1000d0fc], eax
test eax, eax
je 0x1000246f
push str.AtlCreateRegistrar
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
mov dword [0x1000d0f8], eax
test eax, eax
jne 0x10002344
mov dword [ebx + 8], 0x80004002
xor eax, eax
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
Function at 0x42acf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x58d9ca
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x1c], edi
mov dword [edi], vtable.TCDCustomerQueue.0
mov esi, dword [edi + 0x7c]
cmp esi, dword [edi + 0x80]
lea ebx, [edi + 0x78]
mov dword [esp + 0x28], 4
jbe 0x42ad40
call fcn.0055d776
mov edi, edi
mov ebp, dword [ebx + 8]
cmp dword [ebx + 4], ebp
jbe 0x42ad4d
call fcn.0055d776
cmp ebx, ebx
je 0x42ad56
call fcn.0055d776
cmp esi, ebp
je 0x42ad81
cmp esi, dword [ebx + 8]
jb 0x42ad64
call fcn.0055d776
mov ecx, dword [esi]
test ecx, ecx
je 0x42ad72
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
cmp esi, dword [ebx + 8]
jb 0x42ad7c
call fcn.0055d776
add esi, 4
jmp 0x42ad40
mov ebp, dword [ebx + 8]
cmp dword [ebx + 4], ebp
jbe 0x42ad8e
call fcn.0055d776
mov esi, dword [ebx + 4]
cmp esi, dword [ebx + 8]
jbe 0x42ad9b
call fcn.0055d776
cmp esi, ebp
je 0x42adcc
mov eax, dword [ebx + 8]
sub eax, ebp
sar eax, 2
test eax, eax
lea ecx, [eax*4]
lea edx, [ecx + esi]
mov dword [esp + 0x14], edx
jle 0x42adc5
push ecx
push ebp
push ecx
push esi
call fcn.0055d4e3
add esp, 0x10
mov eax, dword [esp + 0x14]
mov dword [ebx + 8], eax
mov ecx, dword [edi + 0x8c]
mov ebp, dword [ecx + 4]
cmp byte [ebp + 0x41], 0
lea esi, [edi + 0x88]
mov dword [esp + 0x14], ebp
jne 0x42ae0a
mov edx, dword [ebp + 8]
push edx
mov ecx, esi
call fcn.00429020
mov eax, dword [esp + 0x14]
mov ebp, dword [ebp]
push eax
call fcn.0055d39b
add esp, 4
cmp byte [ebp + 0x41], 0
mov dword [esp + 0x14], ebp
je 0x42ade5
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
xor ebp, ebp
mov dword [esi + 8], ebp
mov dword [eax], eax
mov eax, dword [esi + 4]
mov dword [eax + 8], eax
mov ecx, dword [edi + 0xa0]
mov eax, dword [ecx]
mov dword [ecx], ecx
mov ecx, dword [edi + 0xa0]
mov dword [ecx + 4], ecx
cmp eax, dword [edi + 0xa0]
mov dword [edi + 0xa4], ebp
je 0x42ae5c
mov ecx, dword [eax]
push eax
mov dword [esp + 0x18], ecx
call fcn.0055d39b
mov eax, dword [esp + 0x18]
add esp, 4
cmp eax, dword [edi + 0xa0]
jne 0x42ae41
mov eax, dword [edi + 0xa0]
push eax
call fcn.0055d39b
add esp, 4
mov dword [edi + 0xa0], ebp
mov eax, dword [esi + 4]
mov ecx, dword [eax]
push eax
push esi
push ecx
push esi
lea edx, [esp + 0x24]
push edx
mov ecx, esi
mov byte [esp + 0x3c], 2
call fcn.0042a3c0
mov eax, dword [esi + 4]
push eax
call fcn.0055d39b
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov eax, dword [ebx + 4]
add esp, 4
cmp eax, ebp
je 0x42aead
push eax
call fcn.0055d39b
add esp, 4
mov dword [ebx + 4], ebp
mov dword [ebx + 8], ebp
mov dword [ebx + 0xc], ebp
mov eax, dword [edi + 0x6c]
cmp eax, ebp
je 0x42aec6
push eax
call fcn.0055d39b
add esp, 4
mov ecx, edi
mov dword [edi + 0x6c], ebp
mov dword [edi + 0x70], ebp
mov dword [edi + 0x74], ebp
mov dword [esp + 0x28], 0xffffffff
call fcn.00403cf0
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x44f6d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59126b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esi], vtable.TCDFXButton.0
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.config_curves_fx_button.xml
mov dword [esp + 0x34], ebx
mov dword [esi + 0xc], ebx
call fcn.00496da0
mov byte [esp + 0x30], 1
call fcn.0047d770
mov ecx, eax
mov byte [esp + 0x30], bl
call fcn.0047d7b0
sub esp, 8
mov dword [esp + 0x20], esp
mov edi, esp
push ecx
mov ecx, esp
mov dword [esp + 0x24], esp
push str.restaurants_stove_button_effect
mov dword [esi + 0xc], eax
call fcn.00496da0
push edi
mov byte [esp + 0x3c], 2
call fcn.0047d770
mov ecx, eax
mov byte [esp + 0x3c], bl
call fcn.0047dc70
lea eax, [esp + 0x24]
push 0x2c6
push eax
call fcn.004a6f90
add esp, 0x10
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov ebp, dword [eax + 4]
cmp ebp, dword [esi + 8]
mov byte [esp + 0x2c], 3
je 0x44f7c5
cmp ebp, ebx
je 0x44f797
add dword [ebp + 4], 1
mov edi, dword [esi + 8]
cmp edi, ebx
je 0x44f7c2
add dword [edi + 4], 0xffffffff
cmp dword [edi + 4], ebx
jne 0x44f7c2
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
add dword [edi + 8], 0xffffffff
cmp dword [edi + 8], ebx
jne 0x44f7c2
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov dword [esi + 8], ebp
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x2c], bl
je 0x44f7f6
mov edi, eax
add eax, 4
add dword [eax], 0xffffffff
jne 0x44f7f6
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
add dword [edi + 8], 0xffffffff
cmp dword [edi + 8], ebx
jne 0x44f7f6
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x34]
fld dword [ecx]
sub esp, 8
fstp dword [eax + 0x38]
mov eax, dword [esi + 4]
fld dword [ecx + 4]
mov ecx, esp
fstp dword [eax + 0x3c]
mov eax, dword [esi + 4]
fldz
mov dword [esp + 0x3c], esp
fstp dword [eax + 0x5c]
mov eax, dword [esi + 4]
mov dword [eax + 0x74], ebx
mov edx, dword [esi + 4]
mov dword [ecx], edx
mov eax, dword [esi + 8]
cmp eax, ebx
mov dword [ecx + 4], eax
je 0x44f835
add dword [eax + 4], 1
mov byte [esp + 0x34], 4
call fcn.00488e70
mov ecx, eax
mov byte [esp + 0x34], bl
call fcn.004893c0
mov ecx, dword [esi + 4]
push ebx
call fcn.004a5ee0
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x45e3a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x592c39
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], 0
mov eax, dword [esi + 0x14]
push eax
lea ecx, [esp + 0x10]
push str.frame_d
push ecx
call fcn.00497f10
add esp, 0xc
push 0
push 0x5ab628
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x40], 1
call fcn.00496ed0
mov ecx, dword [esi + 0x10]
push eax
call fcn.004ab820
mov ecx, eax
call fcn.004ab970
push ecx
mov ecx, esp
mov byte [esp + 0x38], 2
mov dword [esp + 0x18], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x3c], 3
mov dword [esp + 0x20], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x40], 4
mov dword [esp + 0x28], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x44], 5
mov dword [esp + 0x30], esp
call fcn.00496d90
push ecx
mov ecx, esp
mov byte [esp + 0x48], 6
mov dword [esp + 0x38], esp
call fcn.00496d90
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x40], esp
push eax
mov byte [esp + 0x50], 7
call fcn.004971d0
mov esi, dword [esp + 0x54]
push esi
mov byte [esp + 0x50], 8
call fcn.004988c0
mov ecx, eax
call fcn.004987f0
mov ecx, eax
mov byte [esp + 0x50], 2
call fcn.004aa000
lea ecx, [esp + 8]
mov dword [esp + 0x10], 1
mov byte [esp + 0x34], 1
call fcn.00497320
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 0
call fcn.00497320
mov eax, esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x30
ret 4

Function at 0x469c10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x594109
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x10], edi
mov dword [edi], vtable.TSHShopObject.0
mov ebx, 1
mov dword [esp + 0x20], ebx
call fcn.00488e70
test eax, eax
je 0x469c84
mov eax, dword [edi + 0x28]
sub esp, 8
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [edi + 0x2c]
test eax, eax
mov dword [esp + 0x1c], esp
mov dword [ecx + 4], eax
je 0x469c6f
add dword [eax + 4], ebx
mov byte [esp + 0x28], 2
call fcn.00488e70
mov ecx, eax
mov byte [esp + 0x28], bl
call fcn.00489000
mov esi, dword [edi + 0x2c]
or ebx, 0xffffffff
test esi, esi
mov byte [esp + 0x20], 0
je 0x469cb7
add dword [esi + 4], ebx
cmp dword [esi + 4], 0
jne 0x469cb7
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
add dword [esi + 8], ebx
cmp dword [esi + 8], 0
jne 0x469cb7
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
push fcn.00401370
push 3
push 8
add edi, 0xc
push edi
mov dword [esp + 0x30], ebx
call fcn.0055d958
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret
Function at 0x46f8d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x594fe4
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.004bf3a0
lea edi, [esi + 0x80]
mov ecx, edi
mov dword [esp + 0x2c], 0
mov dword [esi], vtable.TCustomTextEdit.0
call fcn.004bd4d0
lea ecx, [esi + 0x94]
mov byte [esp + 0x2c], 1
call fcn.004aea80
lea ecx, [esi + 0xa5c]
call fcn.00496d90
lea eax, [esp + 0x10]
push eax
mov ecx, edi
mov byte [esp + 0x30], 2
mov dword [esp + 0x14], str.audio_sfx_menu_sfx_typing_01.ogg_group1000
mov dword [esp + 0x18], str.audio_sfx_menu_sfx_typing_02.ogg_group1000
mov dword [esp + 0x1c], str.audio_sfx_menu_sfx_typing_03.ogg_group1000
mov dword [esp + 0x20], str.audio_sfx_menu_sfx_typing_04.ogg_group1000
mov dword [esp + 0x24], 0
call fcn.004be920
mov byte [esi + 0xa58], 1
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x24
ret
Function at 0x491710
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x598db9
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x60aecc]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x20], ebx
call fcn.004c3740
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 8], vtable.TAsset.0
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
mov eax, dword [esp + 0x2c]
mov dword [esi], vtable.TExtendedSound.1.0
mov dword [esi + 8], vtable.TExtendedSound.0
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ebp
je 0x491776
add dword [ebp + 4], 1
lea edi, [esi + 0x2c]
mov ecx, edi
mov byte [esp + 0x20], 3
mov dword [esi + 0x1c], ebx
call fcn.004913d0
mov dword [edi + 4], eax
mov dword [edi + 8], ebx
mov edi, dword [esp + 0x28]
push 0
push str.max_instances
lea ecx, [esp + 0x30]
push ecx
mov bl, 4
mov ecx, edi
mov byte [esp + 0x2c], bl
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0x20], 5
call fcn.00497000
lea ecx, [esp + 0x28]
mov dword [esi + 0x28], eax
mov byte [esp + 0x20], bl
call fcn.00497320
push 0
push str.volume
lea edx, [esp + 0x30]
push edx
mov ecx, edi
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0x20], 6
call fcn.00497020
fstp dword [esi + 0x20]
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], bl
call fcn.00497320
push 0
push 0x5b2ca8
lea eax, [esp + 0x30]
push eax
mov ecx, edi
call fcn.004ab970
mov ecx, eax
mov byte [esp + 0x20], 7
call fcn.00497000
lea ecx, [esp + 0x28]
mov dword [esi + 0x24], eax
mov byte [esp + 0x20], bl
call fcn.00497320
or edi, 0xffffffff
test ebp, ebp
mov dword [esp + 0x20], edi
je 0x49184e
add dword [ebp + 4], edi
jne 0x49184e
mov edx, dword [ebp]
mov eax, dword [edx + 4]
mov ecx, ebp
call eax
add dword [ebp + 8], edi
jne 0x49184e
mov edx, dword [ebp]
mov eax, dword [edx + 8]
mov ecx, ebp
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc