joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a3c01
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
push esi
push edi
je 0x4a3d64
cmp dword [ebp + 0xc], 0
je 0x4a3d64
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4a3d64
mov edi, dword [eax]
test edi, edi
jne 0x4a3c36
push 9
jmp 0x4a3d66
push dword [ebp + 0xc]
push str.SELECT_collectionID__collectionPayloadID__tsInstalled__tsModified_FROM_ribs_collection_WHERE_collectionID___q
call fcn.004a600d
cmp dword [edi], 0
pop ecx
pop ecx
je 0x4a3c51
push 8
jmp 0x4a3d66
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp + 8]
push ecx
push eax
push dword [edi + 4]
call fcn.004a563f
add esp, 0x18
test eax, eax
je 0x4a3c7d
push eax
call fcn.004a4bd4
pop ecx
jmp 0x4a3d67
cmp dword [ebp - 0xc], 1
jge 0x4a3c96
push 8
pop esi
push dword [ebp + 8]
call fcn.004a5608
pop ecx
mov eax, esi
jmp 0x4a3d67
cmp dword [ebp - 8], 4
je 0x4a3ca0
push 0xc
jmp 0x4a3c85
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x10]
push ebx
add edi, 0xc
call fcn.00488880
pop ecx
inc eax
push eax
mov ecx, edi
call fcn.004a50b5
push ebx
push eax
mov dword [ebp - 4], eax
call fcn.0048a5f0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + ecx*4 + 4]
push ebx
call fcn.00488880
add esp, 0xc
inc eax
push eax
mov ecx, edi
call fcn.004a50b5
push ebx
push eax
mov dword [ebp - 4], eax
call fcn.0048a5f0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + ecx*4 + 8]
push ebx
call fcn.00488880
add esp, 0xc
inc eax
push eax
mov ecx, edi
call fcn.004a50b5
push ebx
push eax
mov dword [ebp - 4], eax
call fcn.0048a5f0
push dword [ebp - 4]
call fcn.0048a9d7
mov ecx, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
mov ebx, dword [eax + ecx*4 + 0xc]
push ebx
call fcn.00488880
add esp, 0x10
inc eax
push eax
mov ecx, edi
call fcn.004a50b5
mov edi, eax
push ebx
push edi
call fcn.0048a5f0
push edi
call fcn.0048a9d7
push dword [ebp + 8]
mov dword [esi + 0xc], eax
call fcn.004a5608
add esp, 0x10
xor eax, eax
pop ebx
jmp 0x4a3d67
push 0xa
pop eax
pop edi
pop esi
leave
ret

Function at 0x4a3d6b
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x4a3da3
cmp dword [ebp + 0xc], ecx
je 0x4a3da3
cmp dword [ebp + 0x14], ecx
je 0x4a3da3
cmp dword [ebp + 0x18], ecx
je 0x4a3da3
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_value_FROM_collection_data_WHERE_collectionID___q_AND_domain___d_AND_key___q
push dword [ebp + 0x18]
push dword [eax]
call fcn.004a5257
add esp, 0x18
pop ebp
ret
push 0xa
pop eax
pop ebp
ret
Function at 0x4a3da8
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x10
test eax, eax
push esi
push edi
je 0x4a3f2c
cmp dword [ebp + 0xc], 0
je 0x4a3f2c
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4a3f2c
mov edi, dword [eax]
test edi, edi
jne 0x4a3ddd
push 9
jmp 0x4a3f2e
push dword [ebp + 0xc]
push str.SELECT_payloadID__productFamily__productName__version__signature_FROM_ribs_payload_WHERE_payloadID___q
call fcn.004a600d
cmp dword [edi], 0
pop ecx
pop ecx
je 0x4a3df8
push 8
jmp 0x4a3f2e
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push eax
push dword [edi + 4]
call fcn.004a563f
add esp, 0x18
test eax, eax
je 0x4a3e24
push eax
call fcn.004a4bd4
pop ecx
jmp 0x4a3f2f
cmp dword [ebp - 0xc], 1
jge 0x4a3e3d
push 8
pop esi
push dword [ebp - 4]
call fcn.004a5608
pop ecx
mov eax, esi
jmp 0x4a3f2f
cmp dword [ebp - 8], 5
je 0x4a3e47
push 0xc
jmp 0x4a3e2c
mov eax, dword [ebp - 4]
push ebx
mov ebx, dword [eax + 0x14]
push ebx
add edi, 0xc
call fcn.00488880
pop ecx
inc eax
push eax
mov ecx, edi
call fcn.004a50b5
push ebx
push eax
mov dword [ebp + 8], eax
call fcn.0048a5f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [esi], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + ecx*4 + 4]
push ebx
call fcn.00488880
add esp, 0xc
inc eax
push eax
mov ecx, edi
call fcn.004a50b5
push ebx
push eax
mov dword [ebp + 8], eax
call fcn.0048a5f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [esi + 4], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + ecx*4 + 8]
push ebx
call fcn.00488880
add esp, 0xc
inc eax
push eax
mov ecx, edi
call fcn.004a50b5
push ebx
push eax
mov dword [ebp + 8], eax
call fcn.0048a5f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [esi + 8], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + ecx*4 + 0xc]
push ebx
call fcn.00488880
add esp, 0xc
inc eax
push eax
mov ecx, edi
call fcn.004a50b5
push ebx
push eax
mov dword [ebp + 8], eax
call fcn.0048a5f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
mov ebx, dword [eax + ecx*4 + 0x10]
push ebx
call fcn.00488880
add esp, 0xc
inc eax
push eax
mov ecx, edi
call fcn.004a50b5
mov edi, eax
push ebx
push edi
call fcn.0048a5f0
push dword [ebp - 4]
mov dword [esi + 0x10], edi
call fcn.004a5608
add esp, 0xc
xor eax, eax
pop ebx
jmp 0x4a3f2f
push 0xa
pop eax
pop edi
pop esi
leave
ret

Function at 0x4a3f33
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp eax, ecx
je 0x4a3f6b
cmp dword [ebp + 0xc], ecx
je 0x4a3f6b
cmp dword [ebp + 0x14], ecx
je 0x4a3f6b
cmp dword [ebp + 0x18], ecx
je 0x4a3f6b
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push str.SELECT_value_FROM_payload_data_WHERE_payloadID___q_AND_domain___d_AND_key___q
push dword [ebp + 0x18]
push dword [eax]
call fcn.004a5257
add esp, 0x18
pop ebp
ret
push 0xa
pop eax
pop ebp
ret
Function at 0x4a3f70
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
push esi
je 0x4a3fc5
cmp dword [ebp + 0xc], 0
je 0x4a3fc5
cmp dword [ebp + 0x10], 0
je 0x4a3fc5
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x4a3fc5
push edi
push dword [ebp + 0x10]
lea ecx, [ebp + 8]
push dword [ebp + 0xc]
push str.SELECT_installState_FROM_ribs_collection_payload_WHERE_collectionID___q_AND_payloadID___q
push ecx
push dword [eax]
call fcn.004a5257
add esp, 0x14
cmp dword [ebp + 8], 0
mov edi, eax
je 0x4a3fbd
push dword [ebp + 8]
call fcn.0048a9d7
pop ecx
mov dword [esi], eax
jmp 0x4a3fc0
and dword [esi], 0
mov eax, edi
pop edi
jmp 0x4a3fc8
push 0xa
pop eax
pop esi
pop ebp
ret

Function at 0x4a402d
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
cmp edi, esi
je 0x4a40f0
cmp dword [ebp + 0xc], esi
je 0x4a40f0
push ebx
lea eax, [ebp + 8]
push eax
push dword [ebp + 0xc]
push 4
push edi
call fcn.004a3b0a
add esp, 0x10
cmp eax, esi
jne 0x4a40d0
mov ecx, dword [ebp + 8]
add ecx, esi
xor ebx, ebx
cmp dword [ecx], ebx
je 0x4a40d7
lea eax, [ebp - 4]
push eax
push dword [ecx]
push 4
push edi
call fcn.004a3aaf
add esp, 0x10
test eax, eax
jne 0x4a40c7
mov ecx, dword [ebp - 4]
cmp dword [ecx], eax
je 0x4a40c7
inc ebx
cmp dword [ecx + ebx*4], 0
jne 0x4a4088
cmp ebx, 1
jne 0x4a40c7
mov eax, dword [ebp + 8]
push dword [esi + eax]
lea eax, [ebp - 8]
push str.SELECT_payloadIDOriginal_FROM_upgraded_payloads_WHERE_payloadIDUpgraded___q
push eax
push dword [edi]
call fcn.004a50de
add esp, 0x10
cmp eax, 8
jne 0x4a40c7
mov eax, dword [ebp + 8]
push dword [esi + eax]
push str.DELETE_FROM_ribs_payload_WHERE_payloadID___q
push dword [edi]
call fcn.004a4e09
add esp, 0xc
add esi, 4
test eax, eax
je 0x4a4061
jmp 0x4a40d7
cmp eax, 8
jne 0x4a40d7
xor eax, eax
test eax, eax
pop ebx
jne 0x4a40f3
push dword [ebp + 0xc]
push str.DELETE_FROM_ribs_collection_WHERE_collectionID___q
push dword [edi]
call fcn.004a4e09
add esp, 0xc
jmp 0x4a40f3
push 0xa
pop eax
pop edi
pop esi
leave
ret
Function at 0x4a5308
Capabilities:
Reference sql statements

Disassembly:
push 0x28
mov eax, 0x585b13
call fcn.004890c6
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.004017b6
lea eax, [ebp - 0x2c]
push eax
lea eax, [esi + 0x38]
push eax
lea edi, [esi + 0x1c]
push edi
mov dword [ebp - 4], ebx
call fcn.004234e5
add esp, 0xc
test al, al
jne 0x4a5358
push 0xa
pop esi
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004031b4
mov eax, esi
jmp 0x4a545f
lea eax, [ebp - 0x2c]
push eax
call fcn.0042321f
test al, al
pop ecx
jne 0x4a5388
lea eax, [ebp - 0x2c]
push eax
call fcn.00423099
test al, al
pop ecx
je 0x4a5379
xor esi, esi
inc esi
jmp 0x4a5346
push edi
call fcn.004a4fb9
cmp eax, ebx
pop ecx
je 0x4a5388
mov esi, eax
jmp 0x4a5346
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x4a5394
lea eax, [ebp - 0x28]
lea edi, [esi + 4]
push edi
push eax
call fcn.004a68d5
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x30], eax
je 0x4a53c4
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov dword [edi], ebx
call fcn.004031b4
push dword [ebp - 0x30]
call fcn.004a4bd4
add esp, 4
jmp 0x4a545f
push 0x7d0
push dword [edi]
call fcn.004a6480
push str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_version
lea eax, [ebp - 0x34]
push eax
push esi
mov dword [esi], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
call fcn.004a5257
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x4a5428
push dword [ebp - 0x34]
call fcn.0048a9d7
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
mov dword [esp], str.SELECT_value_FROM_pcd_meta_WHERE_key__schema_compatibility_version
push eax
push esi
call fcn.004a5257
mov edi, eax
add esp, 0xc
cmp edi, ebx
jne 0x4a5428
push dword [ebp - 0x34]
call fcn.0048a9d7
cmp eax, 1
pop ecx
jle 0x4a5428
push 0xd
pop edi
jmp 0x4a5447
mov ebx, dword [ebp - 0x30]
jmp 0x4a543b
push ebx
mov ecx, esi
call fcn.004a4ebb
mov edi, eax
test edi, edi
jne 0x4a5445
inc ebx
cmp ebx, 1
jle 0x4a542d
test edi, edi
je 0x4a5450
xor ebx, ebx
mov ecx, esi
call fcn.004a4d1f
jmp 0x4a5452
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004031b4
mov eax, edi
call fcn.00489149
ret

Function at 0x4b039b
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push ebp
call fcn.004b02e0
and dword [esp + 0x14], 0
mov ebx, eax
test ebx, ebx
pop ecx
je 0x4b03e5
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x4b03d3
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp eax, 3
jge 0x4b03dc
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call edi
mov esi, eax
test esi, esi
je 0x4b03be
push ebx
call fcn.004a7338
pop ecx
jmp 0x4b040b
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x4b0402
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
cmp eax, 3
jge 0x4b040b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call edi
mov esi, eax
test esi, esi
je 0x4b03ed
pop edi
mov eax, esi
neg eax
pop esi
sbb eax, eax
pop ebp
and eax, 0xa
pop ebx
pop ecx
ret
Function at 0x4b041a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
call fcn.004b02e0
mov esi, eax
test esi, esi
pop ecx
je 0x4b0446
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
push esi
mov edi, ecx
call fcn.004a7338
pop ecx
jmp 0x4b045a
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov edi, ecx
mov eax, edi
pop edi
pop esi
ret

Function at 0x4b045f
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3a8
mov eax, dword [0x61f060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x639910]
test eax, eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
je 0x4b049c
push 0x118
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0056c9a0
add esp, 0xc
mov byte [ebp - 0x24], 0
jmp 0x4b04fa
call fcn.004b0283
test eax, eax
je 0x4b04e8
lea eax, [ebp - 0x3a8]
push eax
mov esi, 0x118
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x3a8]
push eax
call fcn.004b033d
mov ebx, eax
test ebx, ebx
pop ecx
je 0x4b04fa
push esi
lea eax, [ebp - 0x13c]
push ebx
push eax
call fcn.0056c9a0
push ebx
mov byte [ebp - 0x24], 0
call fcn.004a7338
add esp, 0x10
jmp 0x4b04fa
lea eax, [ebp - 0x13c]
push eax
push 0x118
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x13c]
push eax
call fcn.00488880
test eax, eax
pop ecx
jle 0x4b051d
lea ecx, [ebp - 0x13c]
dec ecx
cmp byte [ecx + eax], 0x5c
jne 0x4b051d
dec eax
test eax, eax
jg 0x4b0512
mov byte [ebp + eax - 0x13c], 0
lea eax, [ebp - 0x13c]
push eax
push str._s_sqlite_
push edi
call fcn.0048966d
push edi
call fcn.00488880
mov esi, eax
lea eax, [edi + esi]
push eax
push 0xf
call fcn.004c0c05
add esp, 0x18
push 0xf
pop ecx
movzx eax, byte [edi + esi]
xor edx, edx
push 0x3e
pop ebx
div ebx
mov al, byte [edx + str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789]
mov byte [edi + esi], al
inc esi
dec ecx
jne 0x4b0550
push edi
mov byte [edi + esi], 0
call fcn.004b041a
test eax, eax
pop ecx
jne 0x4b0525
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488a42
leave
ret
Function at 0x4b0b43
Capabilities:
Allocate thread local storage
Get thread local storage value
Set thread local storage value

Disassembly:
push esi
xor esi, esi
cmp dword [0x639920], esi
jne 0x4b0b83
call fcn.004b0ab6
cmp dword [0x639920], esi
jne 0x4b0b7e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [0x6398e8], eax
jne 0x4b0b74
call fcn.004b0b0c
xor eax, eax
pop esi
ret
mov dword [0x639920], 1
call fcn.004b0b0c
push ebx
push dword [0x6398e8]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [esp + 0xc], esi
mov ebx, eax
jle 0x4b0bc5
cmp ebx, esi
jne 0x4b0bf9
push 0xc
call fcn.0048cf16
mov ebx, eax
cmp ebx, esi
pop ecx
je 0x4b0bf9
push edi
mov esi, 0x5c3e14
mov edi, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebx
push dword [0x6398e8]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
jmp 0x4b0bf9
cmp ebx, esi
je 0x4b0bf9
cmp dword [esp + 0xc], esi
jge 0x4b0bf9
push 0xc
push 0x5c3e14
push ebx
call fcn.004871f7
add esp, 0xc
test eax, eax
jne 0x4b0bf9
push ebx
call fcn.0048898a
pop ecx
push esi
push dword [0x6398e8]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
ret

Function at 0x4b3ea7
Capabilities:
Reference sql statements

Disassembly:
cmp edi, 2
jge 0x4b3eb0
push 0x14
pop eax
ret
movzx eax, byte [ebx + edi - 1]
movzx eax, byte [eax + 0x5c3380]
movzx ecx, byte [ebx]
imul eax, eax, 3
movzx ecx, byte [ecx + 0x5c3380]
shl ecx, 2
xor eax, ecx
push esi
xor eax, edi
push 0x7f
cdq
pop ecx
idiv ecx
movzx esi, byte [edx + str.TF_O]
jmp 0x4b3f0e
movzx eax, byte [esi + 0x5c44e0]
cmp eax, edi
jne 0x4b3f07
movzx eax, word [esi*2 + 0x5c4548]
push edi
add eax, str.ABORTABLEFTEMPORARYAFTERAISELECTHENDATABASEACHECKEYANALYZELSESCAPEXCEPTRANSACTIONATURALIKEXCLUSIVEXISTSTATEMENTRIGGEREFERENCESANDEFAULTATTACHAVINGLOBEFOREIGNOREGEXPRIMARYBEGINDEXBETWEENOTNULLIMITBYCASCADEFERRABLECASECASTCOLLATECOMMITCONFLICTCONSTRAINTERSECTCREATECROSSCURRENT_DATECURRENT_TIMESTAMPDEFERREDELETEDESCDETACHDISTINCTDROPFAILFROMATCHFULLGROUPDATEIFIMMEDIATEINITIALLYINNEREPLACEINSERTINSTEADINTOFFSETISNULLJOINORDERESTRICTOUTERIGHTROLLBACKROWHENUNIONUNIQUEUSINGVACUUMVALUESWHERE
push ebx
push eax
call fcn.004a74ac
add esp, 0xc
test eax, eax
je 0x4b3f16
movzx esi, byte [esi + 0x5c4478]
dec esi
jns 0x4b3ee0
push 0x14
pop eax
pop esi
ret
movzx eax, byte [esi + 0x5c4618]
pop esi
ret
Function at 0x4ce460
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x5868c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov esi, ecx
mov eax, dword [esi + 0x10]
cmp eax, 6
push edi
jne 0x4ce4e4
call fcn.00519d80
mov esi, eax
test esi, esi
je 0x4ce49a
lea edi, [esi + 8]
jmp 0x4ce49c
xor edi, edi
mov ecx, dword [edi]
test ecx, ecx
mov dword [esp + 0x38], edi
je 0x4ce4ab
call fcn.00520b70
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
mov ecx, esi
mov dword [esp + 0x30], 0
call edx
mov eax, dword [eax]
mov ecx, dword [0x639ab4]
add eax, 0xc
push eax
call fcn.004d3570
mov ecx, dword [edi]
test ecx, ecx
mov ebx, eax
mov dword [esp + 0x30], 0xffffffff
je 0x4ce506
call fcn.00520b80
jmp 0x4ce506
cmp eax, 4
je 0x4ce4f0
push 0xa
call fcn.00519ac0
mov esi, dword [esi + 0xc]
mov eax, dword [esi]
mov ecx, dword [0x639ab4]
add eax, 0xc
push eax
call fcn.004d3570
mov ebx, eax
mov eax, dword [ebp]
mov edx, dword [eax + 0xa4]
push 0
push ebx
mov ecx, ebp
call edx
test eax, eax
je 0x4ce55e
test dword [eax + 0xc], 0x1000000
je 0x4ce538
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret
mov edx, dword [eax]
push 1
mov ecx, eax
mov eax, dword [edx + 0xc]
push ebp
call eax
cmp dword [eax + 0x10], 5
jne 0x4ce55e
mov esi, dword [eax + 8]
test esi, esi
je 0x4ce55e
cmp dword [esi + 0x4e], 0x2000008d
je 0x4ce5e4
push 0x86
call fcn.00514090
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov dword [esp + 0x30], 1
je 0x4ce58d
mov edx, dword [ebp + 0x4a]
push 0
push ebx
push edx
mov ecx, eax
call fcn.004f0ea0
mov esi, eax
jmp 0x4ce58f
xor esi, esi
or edi, 0xffffffff
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], edi
call fcn.004e8570
mov eax, dword [esi + 0xc]
test eax, 0xfff00000
mov dword [esp + 0x30], 2
jne 0x4ce5c3
add eax, 0xffffffff
mov dword [esi + 0xc], eax
jne 0x4ce5c3
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov edx, dword [ebp]
mov edx, dword [edx + 0x30]
push 7
push 1
lea eax, [esp + 0x18]
push eax
push ebx
mov ecx, ebp
call edx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], edi
call fcn.0051ac60
mov ecx, dword [esp + 0x28]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4d13f9
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x586c25
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push edi
call edx
push eax
lea ecx, [esp + 0x14]
call fcn.0051d1c0
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x38], ebx
call edx
mov ecx, dword [esp + 0x44]
mov eax, dword [esi]
mov edx, dword [eax + 0xfc]
push ebx
push ebx
push ecx
mov ecx, esi
call edx
push eax
lea ecx, [esp + 0x10]
call fcn.004d2e70
mov edi, dword [esp + 0xc]
cmp edi, ebx
mov byte [esp + 0x38], 1
je 0x4d1528
mov eax, dword [edi]
mov edx, dword [eax + 4]
push ebp
mov ecx, edi
call edx
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov word [esp + 0x30], bx
mov eax, dword [esi]
mov edx, dword [eax + 0xf8]
push ebx
push edi
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
mov byte [esp + 0x48], 2
call edx
lea ecx, [esp + 0x48]
call fcn.0051e6b0
mov eax, dword [esi + 0x1c]
mov ebp, dword [esi + 0xec]
mov edi, eax
movzx eax, ah
push ebx
mov ecx, esi
mov byte [esp + 0x40], 3
and edi, 0xff
mov dword [esp + 0x1c], eax
call fcn.004c6a40
push ebx
mov ecx, esi
call fcn.004c6a80
mov ecx, dword [esp + 0x4c]
xor eax, eax
cmp dword [esp + 0x2c], 5
push 0x2710
setne al
push 0x40
push ecx
mov ecx, dword [esp + 0x50]
lea edx, [esp + 0x54]
push edx
push ecx
sub eax, 1
and eax, dword [esp + 0x38]
mov ecx, esi
push eax
push 0x43
call fcn.004cf680
push edi
mov ecx, esi
mov dword [esi + 0xec], ebp
call fcn.004c6a40
mov edx, dword [esp + 0x18]
push edx
mov ecx, esi
call fcn.004c6a80
lea ecx, [esp + 0x48]
mov byte [esp + 0x3c], 2
call fcn.0051ecc0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.0051ac60
pop ebp
jmp 0x4d1534
mov eax, dword [esp + 0x48]
push eax
mov ecx, esi
call fcn.004cedc0
mov edx, dword [esi]
mov eax, dword [edx + 0x34]
mov ecx, esi
call eax
mov eax, dword [eax]
cmp dword [eax], ebx
jne 0x4d1547
xor edi, edi
jmp 0x4d154c
mov ecx, dword [eax]
mov edi, dword [ecx + 0x26]
mov edx, dword [esi]
mov edx, dword [edx + 0xc8]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call edx
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], bl
call fcn.004d2e90
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.0051e120
mov ecx, dword [esp + 0x30]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x30
ret 0xc
Function at 0x4d9360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x587939
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x20]
xor ecx, ecx
cmp edi, ecx
mov dword [esi], vtable.InfoData.0
mov dword [esp + 0x18], ecx
mov dword [esi + 4], edi
je 0x4d93a6
mov eax, dword [edi + 0xc]
test eax, 0xfff00000
jne 0x4d93a6
add eax, 1
mov dword [edi + 0xc], eax
mov dword [esi + 8], ecx
lea ebx, [esi + 0xc]
mov ecx, ebx
mov byte [esp + 0x18], 1
call fcn.00514470
mov eax, dword [esp + 0x24]
push eax
lea ecx, [esi + 0x10]
mov byte [esp + 0x1c], 2
call fcn.00515680
mov ecx, dword [esp + 0x30]
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x2c]
mov dword [esi + 0x14], ecx
mov byte [esi + 0x19], al
mov byte [esi + 0x18], dl
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
push ebx
mov ecx, edi
mov byte [esp + 0x1c], 3
call eax
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x14
Function at 0x4ede60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x589386
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], edi
call fcn.004ea6b0
test al, al
je 0x4edeb1
mov ecx, dword [esi + 0x7c]
mov eax, dword [esi + 0x34]
mov edx, dword [ecx + 0x1e]
or eax, 0x10000
push 1
mov ecx, esi
mov dword [edx + 0x38], eax
call fcn.004ed0b0
mov edi, eax
cmp byte [esi + 0x78], 0
jne 0x4ededf
cmp byte [esi + 0xf8], 0
je 0x4ededf
mov eax, dword [esi + 0x84]
sub eax, 0x4000007d
neg eax
sbb eax, eax
and eax, 0xfffffffb
push 0
add eax, 0xd
push eax
mov ecx, esi
call fcn.004eaa80
test edi, edi
jne 0x4edf1f
push 0x26
call fcn.00514090
mov ecx, eax
add esp, 4
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov byte [ebp - 4], 1
je 0x4edf12
lea edx, [esi + 0x84]
push edx
call fcn.00507400
mov ecx, dword [esi + 0x7c]
mov byte [ebp - 4], 0
mov dword [ecx + 0x26], eax
jmp 0x4edf25
mov ecx, dword [esi + 0x7c]
xor eax, eax
mov byte [ebp - 4], al
mov dword [ecx + 0x26], eax
jmp 0x4edf25
mov edx, dword [esi + 0x7c]
mov dword [edx + 0x26], edi
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0xaa]
mov dword [eax + 0x22], ecx
mov eax, dword [esi + 0x7c]
mov ecx, dword [eax + 0x1e]
lea edx, [esi + 0x14]
push edx
add ecx, 8
call fcn.00514cd0
mov eax, dword [esi + 0x10]
cmp dword [eax], 0
je 0x4ee01c
mov ecx, dword [0x639ab4]
add eax, 0xc
push eax
call fcn.004d3570
mov ecx, dword [esi + 0x7c]
mov edx, dword [ecx + 0x1e]
mov dword [edx + 0x30], eax
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x7c]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret