Function at 0x4154b0
Capabilities:
Compare security identifiers
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x6654f0
push 0x47c0e0
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x66f33c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
call fcn.00454993
test al, al
je 0x41550f
push esi
push edi
push ecx
pop edi
push eax
pop ebx
pop esp
push esp
pop esp
pop edi
push ebx
pop edx
push esi
pop esp
push eax
push eax
pop ebx
pop ecx
push esp
pop ebp
pop esi
pop edx
push ecx
call fcn.004547b0
test al, al
je 0x415537
push ebx
push edx
pop edx
push ebx
pop ebx
pop ecx
push eax
pop eax
pop esp
push edx
pop edx
pop ecx
push eax
pop esp
pop esp
push esp
push ebx
push esi
pop ebx
push edx
pop ebp
push ecx
push esp
push edx
pop edx
pop esp
pop edx
push ebx
push edx
pop esp
push ecx
call fcn.0045483a
test al, al
je 0x415550
push eax
push esp
pop edi
push esi
push edi
pop ebp
push ebx
push edx
pop ecx
push edi
push esp
pop esi
pop edx
pop ebx
pop esi
pop ebp
call fcn.0045494e
test al, al
je 0x41556c
push esp
push edi
push ebx
pop ebp
pop esi
pop eax
pop ebx
push esi
pop ebx
push esi
push edx
push edi
push ebp
pop ebx
pop edx
pop ebx
pop esp
pop esp
push edi
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x54], 0
call fcn.00454a62
test al, al
je 0x4155a4
push esi
push edx
push eax
pop ebp
pop edx
pop edx
push edx
pop ebx
push ebp
pop eax
pop ebp
push eax
push esi
pop eax
pop esp
pop ecx
pop ecx
pop ebx
push ebp
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
call fcn.00454543
test al, al
je 0x4155d2
pop ecx
pop eax
pop edx
pop esi
pop ebx
push edi
push esi
push esi
pop edx
pop eax
pop esp
push ebx
pop ecx
pop ebx
pop ebp
pop edx
push ebx
pop eax
pop eax
pop ebp
push eax
pop ebp
push esi
call fcn.004544b9
test al, al
je 0x4155ec
pop esi
push edx
push edx
pop edi
pop esi
pop eax
pop esi
push edi
push esi
pop edx
pop edi
push ebx
pop esp
push edi
pop ecx
push eax
pop edx
call fcn.0045483a
test al, al
je 0x41560f
push edx
pop edi
push esp
push eax
push eax
pop esp
pop ebp
pop edi
pop eax
push edx
pop edx
push esi
push ecx
push eax
push edx
push ebp
pop edi
push ebx
pop edi
pop eax
push esi
pop edx
pop edx
pop esp
pop ebp
push edi
call fcn.004549d8
test al, al
je 0x415632
push eax
push edi
pop edi
push ecx
pop ebx
push edi
pop edi
pop eax
pop esp
pop eax
pop edx
push eax
pop ebp
pop esp
pop ecx
push esi
pop edx
pop ebx
push edi
pop ebx
push eax
pop ecx
push ebx
pop edi
push esi
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
call fcn.00454a62
test al, al
je 0x41565c
push ecx
push ebp
push eax
pop esp
pop ecx
push edx
pop esp
pop ebp
pop ecx
push esp
push ebx
push edx
pop edi
pop esp
pop ebp
pop edx
push edx
push ecx
pop ecx
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
call fcn.00454543
test al, al
je 0x415690
pop ebp
push ebx
push edx
pop esp
push edi
push eax
pop edx
pop edi
pop edi
push edi
pop esp
pop ebp
pop ebp
push edx
push edi
pop eax
pop eax
push ebp
push ebp
pop edi
push esp
pop ebp
pop esi
pop eax
pop eax
push ebp
pop ebx
push ebx
pop ebp
call fcn.0045483a
test al, al
je 0x4156ad
pop ebp
push ecx
pop eax
push ebp
push ecx
push edx
push esp
pop ebx
push ebp
push ebx
pop esp
push ebp
pop eax
push esi
pop ebp
push ebx
push edi
pop ebx
pop eax
pop edi
mov dword [ebp - 0x5c], 0
call fcn.004546e1
test al, al
je 0x4156da
push ecx
push esi
pop eax
pop eax
pop esi
pop ecx
push eax
push edx
pop edx
push ebp
pop esp
push ebx
pop edi
push ebx
pop ebp
push edi
push ecx
pop eax
push eax
pop ebx
push edx
push ebp
push edi
push ecx
pop edi
push ecx
push esp
pop eax
pop esi
mov dword [ebp - 4], 0
call fcn.004547b0
test al, al
je 0x4156fa
pop eax
push esi
pop eax
pop esp
pop edx
pop ebp
pop ebx
push edi
push edx
push edi
pop edx
push edx
push ebp
push eax
push ebp
push edx
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push 0
push dword [ebp - 0x44]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x415e5c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x7a
je 0x41573f
call esi
push eax
push str.LookupAccountName___failed._Error__d_n
call fcn.00415f40
add esp, 8
jmp 0x415e5c
call fcn.004546e1
test al, al
je 0x415760
push esp
pop esp
pop ecx
pop eax
pop ecx
push esi
pop esp
push edx
push esi
pop ecx
pop eax
pop ebp
pop edx
push edx
pop esi
push ebx
pop edx
pop ecx
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call fcn.004546e1
test al, al
je 0x415789
push ecx
push ebx
pop ecx
pop eax
pop eax
push ebp
push ebp
push ebp
push eax
pop eax
push ebx
pop ecx
pop ebx
pop edx
pop edx
pop edi
push edx
push edx
push eax
push eax
push edi
push ecx
pop ebx
pop eax
pop ebp
pop ecx
push eax
pop ecx
pop esp
push eax
pop esp
pop edi
call fcn.0045483a
test al, al
je 0x4157a5
pop ebx
pop ecx
push eax
pop edx
push edx
push edx
pop edx
pop eax
pop ecx
push esp
push esi
pop ecx
pop edi
push ecx
push ebx
push esp
push esp
push ebx
pop ebp
push dword [ebp - 0x54]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x2c], edi
test edi, edi
jne 0x4157d5
call esi
push eax
push str.HeapAlloc___failed._Error__d_n
call fcn.00415f40
add esp, 8
jmp 0x415e5c
call fcn.004543ea
test al, al
je 0x4157ee
push edi
pop esi
push ebx
push esi
push ebx
pop eax
push esi
push esp
push ebp
push edi
pop esi
push ebx
pop esp
pop esi
pop ebp
push esp
call fcn.00454726
test al, al
je 0x41580a
push ebp
push ebx
push ebp
pop ebx
pop esi
push edi
pop edi
push edx
pop edi
pop eax
push edi
pop ebp
pop esp
pop esp
push edi
pop ecx
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x50]
add eax, eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x64], esi
test esi, esi
jne 0x415843
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.HeapAlloc___failed._Error__d_n
call fcn.00415f40
add esp, 8
jmp 0x415e5c
call fcn.00454a62
test al, al
je 0x41585f
push edx
push ecx
pop ecx
pop ecx
push ecx
push esp
push esi
pop ebp
pop ebp
push ebp
pop ecx
pop eax
push ecx
push eax
push edi
push eax
pop ebx
pop ebx
push esp
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
push esi
lea eax, [ebp - 0x54]
push eax
push edi
push dword [ebp - 0x44]
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
test eax, eax
jne 0x415897
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.LookupAccountName___failed._Error__d_n
call fcn.00415f40
add esp, 8
jmp 0x415e5c
call fcn.00454a62
test al, al
je 0x4158b3
push esi
push edx
push eax
pop ebp
pop edx
pop edx
push edx
pop ebx
push ebp
pop eax
pop ebp
push eax
push esi
pop eax
pop esp
pop ecx
pop ecx
pop ebx
push ebp
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 4
push dword [ebp - 0x58]
mov ebx, dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
call ebx
test eax, eax
jne 0x415e5c
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 0x7a
je 0x4158f2
call esi
push eax
push str.GetFileSecurity___failed._Error__d_n
call fcn.00415f40
add esp, 8
jmp 0x415e5c
call fcn.004549d8
test al, al
je 0x41591b
push eax
push edi
pop edi
push ecx
pop ebx
push edi
pop edi
pop eax
pop esp
pop eax
pop edx
push eax
pop ebp
pop esp
pop ecx
push esi
pop edx
pop ebx
push edi
pop ebx
push eax
pop ecx
push ebx
pop edi
push esi
push eax
mov ebx, dword [sym.imp.ADVAPI32.dll_GetFileSecurityW]
push dword [ebp - 0x48]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x4157c0
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x48]
push edi
push 4
push dword [ebp - 0x58]
call ebx
test eax, eax
jne 0x41595a
call esi
push eax
push str.GetFileSecurity___failed._Error__d_n
jmp 0x4157c8
call fcn.00454a62
test al, al
je 0x415979
push ecx
push ebp
push eax
pop esp
pop ecx
push edx
pop esp
pop ebp
pop ecx
push esp
push ebx
push edx
pop edi
pop esp
pop ebp
pop edx
push edx
push ecx
pop ecx
mov edi, dword [ebp - 0x4c]
push 1
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
jne 0x415999
call esi
push eax
push str.InitializeSecurityDescriptor___failed.Error__d_n
jmp 0x4157c8
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorDacl]
test eax, eax
jne 0x4159bd
call esi
push eax
push str.GetSecurityDescriptorDacl___failed._Error__d_n
jmp 0x4157c8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 8
mov eax, dword [ebp - 0x34]
xor ecx, ecx
cmp dword [ebp - 0x38], ecx
cmove eax, ecx
mov dword [ebp - 0x34], eax
call fcn.004546e1
test al, al
je 0x415a0c
push ecx
push esi
pop eax
pop eax
pop esi
pop ecx
push eax
push edx
pop edx
push ebp
pop esp
push ebx
pop edi
push ebx
pop ebp
push edi
push ecx
pop eax
push eax
pop ebx
push edx
push ebp
push edi
push ecx
pop edi
push ecx
push esp
pop eax
pop esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x34], 0
je 0x415a34
push 2
push 0xc
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_GetAclInformation]
test eax, eax
jne 0x415a34
call esi
push eax
push str.GetAclInformation___failed._Error__d_n
jmp 0x4157c8
push dword [ebp - 0x2c]
call dword [sym.imp.ADVAPI32.dll_GetLengthSid]
mov edi, dword [ebp - 0x24]
add edi, 8
add edi, eax
call fcn.004547b0
test al, al
je 0x415a5e
pop eax
push esi
pop eax
pop esp
pop edx
pop ebp
pop ebx
push edi
push edx
push edi
pop edx
push edx
push ebp
push eax
push ebp
push edx
push edi
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x4157c0
push 2
push edi
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeAcl]
test eax, eax
jne 0x415a94
call esi
push eax
push str.InitializeAcl___failed._Error__d_n
jmp 0x4157c8
call fcn.004546e1
test al, al
je 0x415aaf
push esp
pop esp
pop ecx
pop eax
pop ecx
push esi
pop esp
push edx
push esi
pop ecx
pop eax
pop ebp
pop edx
push edx
pop esi
push ebx
pop edx
pop ecx
call fcn.004546e1
test al, al
je 0x415ad8
push ecx
push ebx
pop ecx
pop eax
pop eax
push ebp
push ebp
push ebp
push eax
pop eax
push ebx
pop ecx
pop ebx
pop edx
pop edx
pop edi
push edx
push edx
push eax
push eax
push edi
push ecx
pop ebx
pop eax
pop ebp
pop ecx
push eax
pop ecx
pop esp
push eax
pop esp
pop edi
call fcn.0045483a
test al, al
je 0x415af4
pop ebx
pop ecx
push eax
pop edx
push edx
push edx
pop edx
pop eax
pop ecx
push esp
push esi
pop ecx
pop edi
push ecx
push ebx
push esp
push esp
push ebx
pop ebp
xor esi, esi
mov dword [ebp - 0x6c], esi
cmp dword [ebp - 0x34], esi
je 0x415b94
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x415b94
xor ebx, ebx
mov dword [ebp - 0x60], ebx
mov edi, dword [sym.imp.ADVAPI32.dll_EqualSid]
mov dword [ebp - 0x40], ebx
cmp ebx, eax
jae 0x415b94
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x415b44
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.GetAce___failed._Error__d_n
jmp 0x4157c8
mov eax, dword [ebp - 0x3c]
test byte [eax + 1], 0x10
jne 0x415b94
add eax, 8
push eax
push dword [ebp - 0x2c]
call edi
test eax, eax
jne 0x415b8b
mov ecx, dword [ebp - 0x3c]
movzx eax, word [ecx + 2]
push eax
push ecx
push 0xffffffffffffffff
push 2
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_AddAce]
test eax, eax
jne 0x415b87
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.AddAce___failed._Error__d_n
jmp 0x4157c8
inc esi
mov dword [ebp - 0x6c], esi
inc ebx
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp - 0x28]
jmp 0x415b18
call fcn.004543ea
test al, al
je 0x415bad
push edi
pop esi
push ebx
push esi
push ebx
pop eax
push esi
push esp
push ebp
push edi
pop esi
push ebx
pop esp
pop esi
pop ebp
push esp
call fcn.00454726
test al, al
je 0x415bc6
push ebp
push ebx
push ebp
pop ebx
pop esi
push edi
pop edi
push edx
pop edi
pop eax
push edi
pop ebp
pop esp
pop esp
push edi
pop ecx
push str.AddAccessAllowedAceEx
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
push dword [ebp + 0x10]
test eax, eax
je 0x415c08
push 3
push 2
push esi
call eax
test eax, eax
jne 0x415c28
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.AddAccessAllowedAceEx___failed._Error__d_n
jmp 0x4157c8
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_AddAccessAllowedAce]
test eax, eax
jne 0x415c28
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.AddAccessAllowedAce___failed._Error__d_n
jmp 0x4157c8
cmp dword [ebp - 0x34], 0
je 0x415c95
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x415c95
mov ebx, dword [ebp - 0x40]
cmp ebx, eax
jae 0x415c95
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp - 0x38]
call dword [sym.imp.ADVAPI32.dll_GetAce]
test eax, eax
jne 0x415c61
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.GetAce___failed._Error__d_n
jmp 0x4157c8
mov ecx, dword [ebp - 0x3c]
movzx eax, word [ecx + 2]
push eax
push ecx
push 0xffffffffffffffff
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_AddAce]
test eax, eax
jne 0x415c8c
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.AddAce___failed._Error__d_n
jmp 0x4157c8
inc ebx
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp - 0x28]
jmp 0x415c38
call fcn.00454543
test al, al
je 0x415cb5
pop ecx
pop eax
pop edx
pop esi
pop ebx
push edi
push esi
push esi
pop edx
pop eax
pop esp
push ebx
pop ecx
pop ebx
pop ebp
pop edx
push ebx
pop eax
pop eax
pop ebp
push eax
pop ebp
push esi
call fcn.004544b9
test al, al
je 0x415ccf
pop esi
push edx
push edx
pop edi
pop esi
pop eax
pop esi
push edi
push esi
pop edx
pop edi
push ebx
pop esp
push edi
pop ecx
push eax
pop edx
call fcn.0045483a
test al, al
je 0x415cf2
push edx
pop edi
push esp
push eax
push eax
pop esp
pop ebp
pop edi
pop eax
push edx
pop edx
push esi
push ecx
push eax
push edx
push ebp
pop edi
push ebx
pop edi
pop eax
push esi
pop edx
pop edx
pop esp
pop ebp
push edi
push 0
push dword [ebp - 0x30]
push 1
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
jne 0x415d1d
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.SetSecurityDescriptorDacl___failed._Error__d_n
jmp 0x4157c8
push str.SetSecurityDescriptorControl
push str.advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x415daf
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x4c]
call dword [sym.imp.ADVAPI32.dll_GetSecurityDescriptorControl]
test eax, eax
jne 0x415d70
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.GetSecurityDescriptorControl___failed.Error__d_n
jmp 0x4157c8
mov eax, dword [ebp - 0x44]
test eax, 0x400
je 0x415d81
mov eax, 0x500
jmp 0x415d8d
test eax, 0x1000
je 0x415daf
mov eax, 0x1000
push eax
push eax
lea eax, [ebp - 0x84]
push eax
call esi
test eax, eax
jne 0x415daf
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.SetSecurityDescriptorControl___failed.Error__d_n
jmp 0x4157c8
call fcn.00454993
test al, al
je 0x415dcf
push esi
push edi
push ecx
pop edi
push eax
pop ebx
pop esp
push esp
pop esp
pop edi
push ebx
pop edx
push esi
pop esp
push eax
push eax
pop ebx
pop ecx
push esp
pop ebp
pop esi
pop edx
push ecx
call fcn.004547b0
test al, al
je 0x415df7
push ebx
push edx
pop edx
push ebx
pop ebx
pop ecx
push eax
pop eax
pop esp
push edx
pop edx
pop ecx
push eax
pop esp
pop esp
push esp
push ebx
push esi
pop ebx
push edx
pop ebp
push ecx
push esp
push edx
pop edx
pop esp
pop edx
push ebx
push edx
pop esp
push ecx
call fcn.0045483a
test al, al
je 0x415e10
push eax
push esp
pop edi
push esi
push edi
pop ebp
push ebx
push edx
pop ecx
push edi
push esp
pop esi
pop edx
pop ebx
pop esi
pop ebp
call fcn.0045494e
test al, al
je 0x415e2c
push esp
push edi
push ebx
pop ebp
pop esi
pop eax
pop ebx
push esi
pop ebx
push esi
push edx
push edi
push ebp
pop ebx
pop edx
pop ebx
pop esp
pop esp
push edi
lea eax, [ebp - 0x84]
push eax
push 4
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_SetFileSecurityW]
test eax, eax
jne 0x415e55
mov ecx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ecx
push eax
push str.SetFileSecurity___failed._Error__d_n
jmp 0x4157c8
mov dword [ebp - 0x5c], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.00415ebb
call fcn.004543ea
test al, al
je 0x415e81
push edi
pop esi
push ebx
push esi
push ebx
pop eax
push esi
push esp
push ebp
push edi
pop esi
push ebx
pop esp
pop esi
pop ebp
push esp
call fcn.00454726
test al, al
je 0x415e9a
push ebp
push ebx
push ebp
pop ebx
pop esi
push edi
pop edi
push edx
pop edi
pop eax
push edi
pop ebp
pop esp
pop esp
push edi
pop ecx
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0045132d
mov esp, ebp
pop ebp
ret 0xc