Function at 0x511917
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 3
je 0x511d3b
cmp dword [ebp - 0x1c], 3
ja 0x511d35
cmp dword [ebp - 0x1c], 2
je 0x511b5a
cmp dword [ebp - 0x1c], 2
ja 0x511d35
cmp dword [ebp - 0x1c], 0
je 0x511b44
cmp dword [ebp - 0x1c], 1
jne 0x511d35
mov eax, dword [ebp + 0x58]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x38]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x6c]
mov ebx, dword [eax]
mov dword [ebp - 0x34], ebx
mov eax, dword [ebp + 0x30]
mov esi, dword [eax]
mov dword [ebp - 0x38], esi
mov eax, dword [ebp + 0x5c]
mov edi, dword [eax]
mov dword [ebp - 0x3c], edi
mov eax, dword [ebp + 0x1c]
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp + 0x70]
mov ebx, dword [eax]
mov dword [ebp - 0x48], ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x4c], esi
mov eax, dword [ebp + 0x40]
fld qword [eax]
mov eax, dword [ebp + 0x20]
mov edi, dword [eax]
mov dword [ebp - 0x50], edi
mov eax, dword [ebp + 0x34]
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 0x60]
mov ecx, dword [eax]
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp + 0x4c]
mov ebx, dword [eax]
mov dword [ebp - 0x5c], ebx
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov dword [ebp - 0x60], esi
mov eax, dword [ebp + 0x24]
mov edi, dword [eax]
mov dword [ebp - 0x64], edi
mov eax, dword [ebp + 0x68]
fld qword [eax]
mov eax, dword [ebp + 0x24]
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 0x68]
fld qword [eax]
mov eax, dword [ebp + 0x4c]
mov ebx, dword [eax]
mov dword [ebp - 0x70], ebx
mov eax, dword [ebp + 0x54]
mov edi, dword [eax]
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 0x1c]
mov esi, dword [eax]
mov eax, dword [ebp + 0x5c]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x70]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x64]
mov edx, dword [eax]
mov eax, dword [ebp + 0x50]
fld qword [eax]
fxch st(7)
mov dword [esp + 0xa8], str.BraveSoftware_
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x98], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x94], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x90], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x88], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x84], eax
fstp qword [esp + 0x7c]
fxch st(5)
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x78], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x70], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x64], eax
fstp qword [esp + 0x5c]
fxch st(3)
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x58], eax
fstp qword [esp + 0x50]
fxch st(1)
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x4c], eax
fstp qword [esp + 0x44]
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], str.Local_
fstp qword [esp + 0x30]
mov dword [esp + 0x2c], str.User_Data
fstp qword [esp + 0x24]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], str.User_Data
fstp qword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
fstp qword [esp]
call sym._RemoveAndReplace
mov edx, dword [ebp + 0x78]
mov dword [edx], eax
mov dword [ebp - 0x1c], 0
jmp 0x511d36
mov eax, dword [ebp + 0x78]
mov edx, dword [eax]
mov eax, dword [ebp + 0x74]
mov dword [eax], edx
mov dword [ebp - 0x1c], 2
jmp 0x511d36
mov eax, dword [ebp + 0x5c]
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x38]
mov esi, dword [eax]
mov dword [ebp - 0x30], esi
mov eax, dword [ebp + 0x70]
mov edi, dword [eax]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp + 0x4c]
mov ebx, dword [eax]
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp + 0x5c]
mov edx, dword [eax]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp + 0x34]
mov esi, dword [eax]
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 0x6c]
mov edi, dword [eax]
mov dword [ebp - 0x48], edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 0x50]
fld qword [eax]
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
mov dword [ebp - 0x50], ebx
mov eax, dword [ebp + 0x34]
mov edx, dword [eax]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp + 0x54]
mov esi, dword [eax]
mov dword [ebp - 0x58], esi
mov eax, dword [ebp + 0x28]
mov edi, dword [eax]
mov dword [ebp - 0x5c], edi
mov eax, dword [ebp + 0x58]
mov ecx, dword [eax]
mov dword [ebp - 0x60], ecx
mov eax, dword [ebp + 0x14]
mov ebx, dword [eax]
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp + 0x18]
fld qword [eax]
mov eax, dword [ebp + 0x3c]
mov edx, dword [eax]
mov dword [ebp - 0x68], edx
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax]
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x28]
mov edi, dword [eax]
mov dword [ebp - 0x70], edi
mov eax, dword [ebp + 0x54]
mov edi, dword [eax]
mov eax, dword [ebp + 0x2c]
fld qword [eax]
mov eax, dword [ebp + 0x68]
fld qword [eax]
mov eax, dword [ebp + 0x4c]
mov esi, dword [eax]
mov eax, dword [ebp + 0x44]
mov ebx, dword [eax]
mov eax, dword [ebp + 0x48]
fld qword [eax]
mov eax, dword [ebp + 0x6c]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x54]
mov edx, dword [eax]
mov eax, dword [ebp + 0x40]
fld qword [eax]
fxch st(7)
mov dword [esp + 0xa8], str.User_Data_
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0xa4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 0xa0], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 0x9c], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 0x98], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 0x94], eax
mov eax, dword [ebp - 0x40]
mov dword [esp + 0x90], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 0x8c], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 0x88], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 0x84], eax
fstp qword [esp + 0x7c]
fxch st(5)
mov eax, dword [ebp - 0x50]
mov dword [esp + 0x78], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x74], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 0x70], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp + 0x6c], eax
mov eax, dword [ebp - 0x60]
mov dword [esp + 0x68], eax
mov eax, dword [ebp - 0x64]
mov dword [esp + 0x64], eax
fstp qword [esp + 0x5c]
fxch st(3)
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x58], eax
fstp qword [esp + 0x50]
fxch st(1)
mov eax, dword [ebp - 0x6c]
mov dword [esp + 0x4c], eax
fstp qword [esp + 0x44]
mov eax, dword [ebp - 0x70]
mov dword [esp + 0x40], eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], str.User_Data_
fstp qword [esp + 0x30]
mov dword [esp + 0x2c], 0x57f078
fstp qword [esp + 0x24]
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0x57f078
fstp qword [esp + 0x10]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
fstp qword [esp]
call sym._RemoveAndReplace
mov edx, dword [ebp + 0x7c]
mov dword [edx], eax
mov dword [ebp - 0x1c], 3
jmp 0x511d36
nop
jmp 0x51192a
nop
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret